This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
otter-space-sdk/db/migrations/003_create_table_Post_2024_06_04.sql
SoXX 751f387b86 feat(db): finalizing migration statements
Signed-off-by: SoXX <soxx@fenpa.ws>
2024-06-04 13:06:38 +02:00

11 lines
162 B
SQL

-- +migrate Up
CREATE TABLE "Post"
(
id VARCHAR(25) PRIMARY KEY,
rating Rating,
created_at TIMESTAMP
);
-- +migrate Down
DROP TYPE Post;