diff --git a/setup/db_structure.sql b/setup/db_structure.sql index 57a413dd..a50def6d 100644 --- a/setup/db_structure.sql +++ b/setup/db_structure.sql @@ -542,8 +542,8 @@ DROP TABLE IF EXISTS `aowow_dbversion`; CREATE TABLE `aowow_dbversion` ( `date` int(10) unsigned NOT NULL DEFAULT '0', `part` tinyint(3) unsigned NOT NULL DEFAULT '0', - `sql` text NOT NULL, - `build` text NOT NULL + `sql` text NULL, + `build` text NULL ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2456,7 +2456,7 @@ UNLOCK TABLES; LOCK TABLES `aowow_dbversion` WRITE; /*!40000 ALTER TABLE `aowow_dbversion` DISABLE KEYS */; -INSERT INTO `aowow_dbversion` VALUES (1446293928,0,NULL,NULL); +INSERT INTO `aowow_dbversion` VALUES (1446917082,0,NULL,NULL); /*!40000 ALTER TABLE `aowow_dbversion` ENABLE KEYS */; UNLOCK TABLES; diff --git a/setup/updates/1446917082_01.sql b/setup/updates/1446917082_01.sql new file mode 100644 index 00000000..a82aebdb --- /dev/null +++ b/setup/updates/1446917082_01.sql @@ -0,0 +1,3 @@ +ALTER TABLE `aowow_dbversion` + CHANGE COLUMN `sql` `sql` TEXT NULL AFTER `part`, + CHANGE COLUMN `build` `build` TEXT NULL AFTER `sql`;