1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-09-02 07:54:27 +00:00

[scripts] Fix default datetime issue in 6.0

This commit is contained in:
zhengxie
2016-08-15 14:07:21 +08:00
committed by Jiaqiang Xu
parent 2fc372b082
commit 6aa2c9d5c7
2 changed files with 2 additions and 2 deletions

View File

@@ -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,