Skip to content

Commit 93d60c7

Browse files
author
Bastian Gruber
committed
Add updated migrations
1 parent 02e8e3d commit 93d60c7

File tree

4 files changed

+3
-2
lines changed

4 files changed

+3
-2
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
DROP TABLE IF EXISTS questions;
File renamed without changes.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
DROP TABLE IF EXISTS answers;
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
-- Add migration script here
21
CREATE TABLE IF NOT EXISTS answers (
32
id serial PRIMARY KEY,
43
content TEXT NOT NULL,
54
created_on TIMESTAMP NOT NULL DEFAULT NOW(),
65
corresponding_question integer REFERENCES questions
7-
);
6+
);

0 commit comments

Comments
 (0)