Update core SQL tables with correct default time

now() has been replaced with clock_timestamp() to get accurarte create
date and update date on multiple updates
This commit is contained in:
Clemens Schwaighofer
2015-09-09 13:52:50 +09:00
parent b4d9b061af
commit c4c3b68ec7
3 changed files with 4 additions and 4 deletions

View File

@@ -9,7 +9,7 @@
-- DROP TABLE edit_generic;
CREATE TABLE edit_generic (
eg_status INT,
date_created TIMESTAMP WITHOUT TIME ZONE DEFAULT CURRENT_TIMESTAMP,
date_created TIMESTAMP WITHOUT TIME ZONE DEFAULT clock_timestamp(),
date_updated TIMESTAMP WITHOUT TIME ZONE,
user_created VARCHAR(25) DEFAULT CURRENT_USER,
user_updated VARCHAR(25)