Update main.sql (#2006)
* Added SQL table creation checks for db_roulette, clan, and clan_alliance tables. Thanks to @ex0ample!
This commit is contained in:
parent
8f82d046c0
commit
61ff2512e6
@ -70,7 +70,7 @@ CREATE TABLE IF NOT EXISTS `auction` (
|
||||
-- Table structure for `db_roulette`
|
||||
--
|
||||
|
||||
CREATE TABLE `db_roulette` (
|
||||
CREATE TABLE IF NOT EXISTS `db_roulette` (
|
||||
`index` int(11) NOT NULL default '0',
|
||||
`level` smallint(5) unsigned NOT NULL,
|
||||
`item_id` smallint(5) unsigned NOT NULL,
|
||||
@ -287,7 +287,7 @@ CREATE TABLE IF NOT EXISTS `charlog` (
|
||||
--
|
||||
-- Table structure for table `clan`
|
||||
--
|
||||
CREATE TABLE `clan` (
|
||||
CREATE TABLE IF NOT EXISTS `clan` (
|
||||
`clan_id` int(11) unsigned NOT NULL AUTO_INCREMENT,
|
||||
`name` varchar(24) NOT NULL DEFAULT '',
|
||||
`master` varchar(24) NOT NULL DEFAULT '',
|
||||
@ -307,7 +307,7 @@ INSERT INTO `clan` VALUES ('4', 'Crossbow Clan', 'Shaam Rumi', 'payon', '500');
|
||||
-- ----------------------------
|
||||
-- Table structure for `clan_alliance`
|
||||
-- ----------------------------
|
||||
CREATE TABLE `clan_alliance` (
|
||||
CREATE TABLE IF NOT EXISTS `clan_alliance` (
|
||||
`clan_id` int(11) unsigned NOT NULL DEFAULT '0',
|
||||
`opposition` int(11) unsigned NOT NULL DEFAULT '0',
|
||||
`alliance_id` int(11) unsigned NOT NULL DEFAULT '0',
|
||||
|
Loading…
x
Reference in New Issue
Block a user