gorm-goose/db-sample/migrations/002_next.sql

13 lines
202 B
MySQL
Raw Permalink Normal View History

2016-09-09 14:12:30 +02:00
-- +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;