diff options
Diffstat (limited to 'migrations/2018-04-08-133240_create_posts/up.sql')
-rw-r--r-- | migrations/2018-04-08-133240_create_posts/up.sql | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/migrations/2018-04-08-133240_create_posts/up.sql b/migrations/2018-04-08-133240_create_posts/up.sql deleted file mode 100644 index 7cf601fa2c..0000000000 --- a/migrations/2018-04-08-133240_create_posts/up.sql +++ /dev/null @@ -1,13 +0,0 @@ -CREATE TABLE threads ( - id SERIAL PRIMARY KEY, - title VARCHAR NOT NULL, - body TEXT NOT NULL, - posted TIMESTAMPTZ NOT NULL -); - -CREATE TABLE posts ( - id SERIAL PRIMARY KEY, - thread SERIAL REFERENCES threads (id), - body TEXT NOT NULL, - posted TIMESTAMPTZ NOT NULL -); |