diff options
Diffstat (limited to 'sql-files')
-rw-r--r-- | sql-files/main.sql | 5 | ||||
-rw-r--r-- | sql-files/upgrades/2013-04-16--02-15.sql | 4 |
2 files changed, 8 insertions, 1 deletions
diff --git a/sql-files/main.sql b/sql-files/main.sql index ae8fa7b03..0e9dc5b67 100644 --- a/sql-files/main.sql +++ b/sql-files/main.sql @@ -105,8 +105,9 @@ CREATE TABLE IF NOT EXISTS `char` ( `child` int(11) unsigned NOT NULL default '0', `fame` int(11) unsigned NOT NULL default '0', `rename` SMALLINT(3) unsigned NOT NULL default '0', - `delete_date` INT(11) UNSIGNED NOT NULL DEFAULT '0', + `delete_date` INT(11) unsigned NOT NULL DEFAULT '0', `slotchange` SMALLINT(3) unsigned NOT NULL default '0', + `char_opt` INT( 11 ) unsigned NOT NULL default '0', PRIMARY KEY (`char_id`), UNIQUE KEY `name_key` (`name`), KEY `account_id` (`account_id`), @@ -654,6 +655,8 @@ INSERT INTO `sql_updates` (`timestamp`) VALUES (1362445531); INSERT INTO `sql_updates` (`timestamp`) VALUES (1362528000); INSERT INTO `sql_updates` (`timestamp`) VALUES (1362794218); INSERT INTO `sql_updates` (`timestamp`) VALUES (1364409316); +INSERT INTO `sql_updates` (`timestamp`) VALUES (1366075474); +INSERT INTO `sql_updates` (`timestamp`) VALUES (1366078541); -- -- Table structure for table `sstatus` diff --git a/sql-files/upgrades/2013-04-16--02-15.sql b/sql-files/upgrades/2013-04-16--02-15.sql new file mode 100644 index 000000000..8d051421f --- /dev/null +++ b/sql-files/upgrades/2013-04-16--02-15.sql @@ -0,0 +1,4 @@ +#1366078541 +ALTER TABLE `char` ADD `char_opt` INT( 11 ) UNSIGNED NOT NULL; +INSERT INTO `sql_updates` (`timestamp`) VALUES (1366075474);#for the previous that missed it.. +INSERT INTO `sql_updates` (`timestamp`) VALUES (1366078541);
\ No newline at end of file |