From 9e1cc5ab923492570a84ac35fe573d22c051f86b Mon Sep 17 00:00:00 2001
From: tom barrett <spalf0@gmail.com>
Date: Tue, 2 Apr 2019 04:53:54 -0500
Subject: added last_modified to database entry

---
 migrations/1_create_masses/up.sql | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'migrations/1_create_masses/up.sql')

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
 )
-- 
cgit v1.2.3

