diff options
author | Trojal <trojal@gmail.com> | 2013-01-10 20:09:39 -0800 |
---|---|---|
committer | Trojal <trojal@gmail.com> | 2013-01-10 20:32:02 -0800 |
commit | 83e7a4954437c13aec639b0b512252cc20a8f36c (patch) | |
tree | b7f6d11b2058248d026f2d9944e8f4b6ac288d50 /sql-files/upgrades/upgrade_svn17080.sql | |
parent | 51bfeb38eb139e97e0e1c096c85c15fba234f35b (diff) | |
parent | 38e583df21eccd9e4f31d38acaae32579c6f0d27 (diff) | |
download | hercules-83e7a4954437c13aec639b0b512252cc20a8f36c.tar.gz hercules-83e7a4954437c13aec639b0b512252cc20a8f36c.tar.bz2 hercules-83e7a4954437c13aec639b0b512252cc20a8f36c.tar.xz hercules-83e7a4954437c13aec639b0b512252cc20a8f36c.zip |
Merge rathena repository to form Hercules initial commit.
Diffstat (limited to 'sql-files/upgrades/upgrade_svn17080.sql')
-rw-r--r-- | sql-files/upgrades/upgrade_svn17080.sql | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/sql-files/upgrades/upgrade_svn17080.sql b/sql-files/upgrades/upgrade_svn17080.sql new file mode 100644 index 000000000..cfbe5dfe0 --- /dev/null +++ b/sql-files/upgrades/upgrade_svn17080.sql @@ -0,0 +1,16 @@ +CREATE TABLE IF NOT EXISTS `interreg` ( + `varname` varchar(11) NOT NULL, + `value` varchar(20) NOT NULL, + PRIMARY KEY (`varname`) +) ENGINE=InnoDB; +INSERT INTO `interreg` (`varname`, `value`) VALUES +('nsiuid', '0'); + +ALTER TABLE `auction` ADD `nsiuid` BIGINT NOT NULL DEFAULT '0'; +ALTER TABLE `cart_inventory` ADD `nsiuid` BIGINT NOT NULL DEFAULT '0'; +ALTER TABLE `guild_storage` ADD `nsiuid` BIGINT NOT NULL DEFAULT '0'; +ALTER TABLE `inventory` ADD `nsiuid` BIGINT NOT NULL DEFAULT '0'; +ALTER TABLE `mail` ADD `nsiuid` BIGINT NOT NULL DEFAULT '0'; +ALTER TABLE `storage` ADD `nsiuid` BIGINT NOT NULL DEFAULT '0'; + +ALTER TABLE `picklog` ADD `nsiuid` BIGINT NOT NULL DEFAULT '0' AFTER `card3`; |