Database Installer.
This commit is contained in:
13
trunk/dist/db_installer/sql/game/olympiad_fights.sql
vendored
Normal file
13
trunk/dist/db_installer/sql/game/olympiad_fights.sql
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
DROP TABLE IF EXISTS `olympiad_fights`;
|
||||
CREATE TABLE IF NOT EXISTS `olympiad_fights` (
|
||||
`charOneId` int(10) unsigned NOT NULL,
|
||||
`charTwoId` int(10) unsigned NOT NULL,
|
||||
`charOneClass` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
||||
`charTwoClass` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
||||
`winner` tinyint(1) unsigned NOT NULL DEFAULT '0',
|
||||
`start` bigint(13) unsigned NOT NULL DEFAULT '0',
|
||||
`time` bigint(13) unsigned NOT NULL DEFAULT '0',
|
||||
`classed` tinyint(1) unsigned NOT NULL DEFAULT '0',
|
||||
KEY `charOneId` (`charOneId`),
|
||||
KEY `charTwoId` (`charTwoId`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
Reference in New Issue
Block a user