fix some mysql timestamps default value
parent
defa235859
commit
9d6a1e01f9
|
@ -16,3 +16,9 @@ CREATE TABLE `hg_traveling_data` (
|
||||||
|
|
||||||
COMMIT;
|
COMMIT;
|
||||||
|
|
||||||
|
:VERSION 2 # --------------------------
|
||||||
|
|
||||||
|
ALTER TABLE `hg_traveling_data` MODIFY `TMStamp` timestamp NOT NULL default CURRENT_TIMESTAMP;
|
||||||
|
|
||||||
|
COMMIT;
|
||||||
|
|
||||||
|
|
|
@ -118,6 +118,6 @@ COMMIT;
|
||||||
|
|
||||||
ALTER TABLE `os_groups_invites`
|
ALTER TABLE `os_groups_invites`
|
||||||
|
|
||||||
MODIFY `TMStamp` timestamp NOT NULL, default CURRENT_TIMESTAMP;
|
MODIFY `TMStamp` timestamp NOT NULL default CURRENT_TIMESTAMP;
|
||||||
|
|
||||||
COMMIT;
|
COMMIT;
|
||||||
|
|
Loading…
Reference in New Issue