diff options
Diffstat (limited to 'migrations/2018-02-25-154922_create_tells/up.sql')
| -rw-r--r-- | migrations/2018-02-25-154922_create_tells/up.sql | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/migrations/2018-02-25-154922_create_tells/up.sql b/migrations/2018-02-25-154922_create_tells/up.sql new file mode 100644 index 0000000..9de037c --- /dev/null +++ b/migrations/2018-02-25-154922_create_tells/up.sql @@ -0,0 +1,7 @@ +CREATE TABLE tells ( + id SERIAL PRIMARY KEY, + sender VARCHAR(32) NOT NULL, + receiver VARCHAR(32) NOT NULL, + time TIMESTAMP NOT NULL, + message VARCHAR(512) NOT NULL +) |
