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