From 810c77ba30c65215c2d5e4b6f8a73f3b73e2b152 Mon Sep 17 00:00:00 2001 From: tom barrett Date: Mon, 1 Apr 2019 10:54:28 -0500 Subject: database backup and restore --- migrations/1_create_masses/up.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'migrations/1_create_masses') 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 ) -- cgit v1.2.3