summaryrefslogtreecommitdiff
path: root/migrations
diff options
context:
space:
mode:
Diffstat (limited to 'migrations')
-rw-r--r--migrations/1_create_masses/up.sql4
1 files changed, 2 insertions, 2 deletions
diff --git a/migrations/1_create_masses/up.sql b/migrations/1_create_masses/up.sql
index f666e09..1f10915 100644
--- a/migrations/1_create_masses/up.sql
+++ b/migrations/1_create_masses/up.sql
@@ -1,5 +1,5 @@
CREATE TABLE masses (
id SERIAL PRIMARY KEY,
- name VARCHAR NOT NULL,
- mass VARCHAR NOT NULL
+ name TEXT UNIQUE NOT NULL,
+ mass TEXT NOT NULL
)