11 lines
162 B
SQL
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;
|