SQL/Arena: Fix some warnings with missing default values

This commit is contained in:
leak committed 2011-04-08 15:57:25 +02:00
1 parent 9f1cc4407a
commit 1e94fc530b
2 files changed
+5 -2

No files matched your search

+2 -2
View File
@@ -129,12 +129,12 @@ CREATE TABLE `arena_team` (
`name` varchar(24) NOT NULL,
`captainGuid` int(10) unsigned NOT NULL DEFAULT '0',
`type` tinyint(3) unsigned NOT NULL DEFAULT '0',
`rating` smallint(5) unsigned NOT NULL,
`rating` smallint(5) unsigned NOT NULL DEFAULT '0',
`seasonGames` smallint(5) unsigned NOT NULL DEFAULT '0',
`seasonWins` smallint(5) unsigned NOT NULL DEFAULT '0',
`weekGames` smallint(5) unsigned NOT NULL DEFAULT '0',
`weekWins` smallint(5) unsigned NOT NULL DEFAULT '0',
`rank` int(10) unsigned NOT NULL,
`rank` int(10) unsigned NOT NULL DEFAULT '0',
`backgroundColor` int(10) unsigned NOT NULL DEFAULT '0',
`emblemStyle` tinyint(3) unsigned NOT NULL DEFAULT '0',
`emblemColor` int(10) unsigned NOT NULL DEFAULT '0',
@@ -0,0 +1,3 @@
ALTER TABLE `arena_team`
CHANGE `rating` `rating` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
CHANGE `rank` `rank` INT(10) UNSIGNED NOT NULL DEFAULT '0';