mirror of
https://github.com/haiwen/seafile-server.git
synced 2025-09-02 16:04:26 +00:00
[scripts] Fix default datetime issue in 6.0
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
ALTER TABLE api2_tokenv2 ADD COLUMN wiped_at DATETIME DEFAULT NULL;
|
||||
ALTER TABLE api2_tokenv2 ADD COLUMN created_at DATETIME NOT NULL;
|
||||
ALTER TABLE api2_tokenv2 ADD COLUMN created_at DATETIME NOT NULL DEFAULT "1970-01-01 00:00:00";
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `base_filecomment` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
|
@@ -21,4 +21,4 @@ CREATE INDEX IF NOT EXISTS "invitations_invitation_94a08da1" ON "invitations_inv
|
||||
CREATE INDEX IF NOT EXISTS "invitations_invitation_d5dd16f8" ON "invitations_invitation" ("inviter");
|
||||
|
||||
ALTER TABLE api2_tokenv2 ADD COLUMN wiped_at datetime DEFAULT NULL;
|
||||
ALTER TABLE api2_tokenv2 ADD COLUMN created_at datetime NOT NULL DEFAULT '0000-00-00 00:00:00';
|
||||
ALTER TABLE api2_tokenv2 ADD COLUMN created_at datetime NOT NULL DEFAULT '1970-01-01 00:00:00';
|
||||
|
Reference in New Issue
Block a user