mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 22:58:34 +00:00
Fix for null columns in books.language crash
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
alter table books add language int default 0;
|
||||
alter table books add language int not null default 0;
|
||||
|
||||
drop table if exists reading_is_fundamental;
|
||||
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
UPDATE `books` SET `language` = '0' WHERE `language` IS NULL;
|
||||
|
||||
ALTER TABLE `books` MODIFY COLUMN `language` INT NOT NULL DEFAULT '0';
|
||||
|
||||
Reference in New Issue
Block a user