Skip to content

Commit 593bb8c

Browse files
authored
Set recordTimeStamp default to current timestamp (#278)
1 parent b254303 commit 593bb8c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
INSERT IGNORE INTO SchemaStatus (scriptName, schemaStatus) VALUES ('2025_05_14_BLSamplePosition_recordTimeStamp_default.sql', 'ONGOING');
2+
3+
ALTER TABLE BLSamplePosition MODIFY COLUMN recordTimeStamp datetime DEFAULT current_timestamp;
4+
5+
UPDATE SchemaStatus SET schemaStatus = 'DONE' WHERE scriptName = '2025_05_14_BLSamplePosition_recordTimeStamp_default.sql';

0 commit comments

Comments
 (0)