summaryrefslogtreecommitdiffstats
path: root/migrations/2018-02-25-154922_create_tells/up.sql
diff options
context:
space:
mode:
Diffstat (limited to 'migrations/2018-02-25-154922_create_tells/up.sql')
-rw-r--r--migrations/2018-02-25-154922_create_tells/up.sql7
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
+)