fix some mysql timestamps default value

0.9.1.1
UbitUmarov 2019-10-29 22:55:51 +00:00
parent defa235859
commit 9d6a1e01f9
2 changed files with 7 additions and 1 deletions

View File

@ -16,3 +16,9 @@ CREATE TABLE `hg_traveling_data` (
COMMIT;
:VERSION 2 # --------------------------
ALTER TABLE `hg_traveling_data` MODIFY `TMStamp` timestamp NOT NULL default CURRENT_TIMESTAMP;
COMMIT;

View File

@ -118,6 +118,6 @@ COMMIT;
ALTER TABLE `os_groups_invites`
MODIFY `TMStamp` timestamp NOT NULL, default CURRENT_TIMESTAMP;
MODIFY `TMStamp` timestamp NOT NULL default CURRENT_TIMESTAMP;
COMMIT;