aboutsummaryrefslogtreecommitdiff
path: root/migrations/sqls
diff options
context:
space:
mode:
Diffstat (limited to 'migrations/sqls')
-rw-r--r--migrations/sqls/20151031131941-last-timestamp-down.sql1
-rw-r--r--migrations/sqls/20151031131941-last-timestamp-up.sql2
2 files changed, 3 insertions, 0 deletions
diff --git a/migrations/sqls/20151031131941-last-timestamp-down.sql b/migrations/sqls/20151031131941-last-timestamp-down.sql
new file mode 100644
index 0000000..44f074e
--- /dev/null
+++ b/migrations/sqls/20151031131941-last-timestamp-down.sql
@@ -0,0 +1 @@
+/* Replace with your SQL commands */ \ No newline at end of file
diff --git a/migrations/sqls/20151031131941-last-timestamp-up.sql b/migrations/sqls/20151031131941-last-timestamp-up.sql
new file mode 100644
index 0000000..0268983
--- /dev/null
+++ b/migrations/sqls/20151031131941-last-timestamp-up.sql
@@ -0,0 +1,2 @@
+ALTER TABLE device_property
+ADD COLUMN last_timestamp TIMESTAMPTZ;