Added lastupdate column which will always use NOW() when doing a dbUpdate

This commit is contained in:
laf
2015-12-09 19:31:28 +00:00
parent bd03371699
commit c141efcd5e

1
sql-schema/081.sql Normal file
View File

@@ -0,0 +1 @@
ALTER TABLE `sensors` ADD `lastupdate` TIMESTAMP ON UPDATE CURRENT_TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP;