diff options
Diffstat (limited to 'sql-files')
-rw-r--r-- | sql-files/main.sql | 4 | ||||
-rw-r--r-- | sql-files/upgrades/2014-02-19--17-57.sql | 4 | ||||
-rw-r--r-- | sql-files/upgrades/index.txt | 3 |
3 files changed, 2 insertions, 9 deletions
diff --git a/sql-files/main.sql b/sql-files/main.sql index 654eee9f0..4a91aeef8 100644 --- a/sql-files/main.sql +++ b/sql-files/main.sql @@ -468,8 +468,7 @@ CREATE TABLE IF NOT EXISTS `sc_data` ( `val3` int(11) NOT NULL default '0', `val4` int(11) NOT NULL default '0', KEY (`account_id`), - KEY (`char_id`), - PRIMARY KEY (`account_id`,`char_id`,`type`) + KEY (`char_id`) ) ENGINE=MyISAM; -- @@ -662,7 +661,6 @@ INSERT INTO `sql_updates` (`timestamp`) VALUES (1384763034); -- 2013-11-18--08-2 INSERT INTO `sql_updates` (`timestamp`) VALUES (1387844126); -- 2013-12-24--00-15.sql INSERT INTO `sql_updates` (`timestamp`) VALUES (1388854043); -- 2014-01-04--16-47.sql INSERT INTO `sql_updates` (`timestamp`) VALUES (1389028967); -- 2014-01-06--17-22.sql -INSERT INTO `sql_updates` (`timestamp`) VALUES (1392832626); -- 2014-02-19--17-57.sql -- -- Table structure for table `sstatus` diff --git a/sql-files/upgrades/2014-02-19--17-57.sql b/sql-files/upgrades/2014-02-19--17-57.sql deleted file mode 100644 index ebebe6665..000000000 --- a/sql-files/upgrades/2014-02-19--17-57.sql +++ /dev/null @@ -1,4 +0,0 @@ -#1392832626 -DELETE FROM `sc_data` WHERE `tick` = '-1'; -ALTER TABLE `sc_data` ADD PRIMARY KEY (`account_id`,`char_id`,`type`); -INSERT INTO `sql_updates` (`timestamp`) VALUES (1392832626);
\ No newline at end of file diff --git a/sql-files/upgrades/index.txt b/sql-files/upgrades/index.txt index 39fbd0070..bf404d919 100644 --- a/sql-files/upgrades/index.txt +++ b/sql-files/upgrades/index.txt @@ -17,5 +17,4 @@ 2013-11-18--08-23.sql 2013-12-24--00-15.sql 2014-01-04--16-47.sql -2014-01-06--17-22.sql -2014-02-19--17-57.sql
\ No newline at end of file +2014-01-06--17-22.sql
\ No newline at end of file |