fix some mysql timestamps default value

UbitUmarov [2019-10-29 22:55:51]
fix some mysql timestamps default value
Filename
OpenSim/Data/MySQL/Resources/HGTravelStore.migrations
OpenSim/Data/MySQL/Resources/os_groups_Store.migrations
diff --git a/OpenSim/Data/MySQL/Resources/HGTravelStore.migrations b/OpenSim/Data/MySQL/Resources/HGTravelStore.migrations
index b4e4422..91a01c8 100644
--- a/OpenSim/Data/MySQL/Resources/HGTravelStore.migrations
+++ b/OpenSim/Data/MySQL/Resources/HGTravelStore.migrations
@@ -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;
+
diff --git a/OpenSim/Data/MySQL/Resources/os_groups_Store.migrations b/OpenSim/Data/MySQL/Resources/os_groups_Store.migrations
index 1a8b565..96f001a 100644
--- a/OpenSim/Data/MySQL/Resources/os_groups_Store.migrations
+++ b/OpenSim/Data/MySQL/Resources/os_groups_Store.migrations
@@ -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;
ViewGit