gorm-goose/db-sample/migrations/002_next.sql
2016-09-09 15:12:30 +03:00

13 lines
202 B
SQL

-- +goose Up
CREATE TABLE fancier_post (
id int NOT NULL,
title text,
body text,
created_on timestamp without time zone,
PRIMARY KEY(id)
);
-- +goose Down
DROP TABLE fancier_post;