updated table AngelTypes in update script

This commit is contained in:
Jan-Philipp Litza 2011-12-26 16:37:08 +01:00
parent 0d37e85f34
commit 36354d307e
1 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
<?php <?php
_rename_table("EngelType", "AngelTypes"); if(_rename_table("EngelType", "AngelTypes"))
sql_query("ALTER TABLE `AngelTypes`
CHANGE `TID` `id` INT NOT NULL AUTO_INCREMENT,
CHANGE `Name` `name` VARCHAR(25) NOT NULL DEFAULT '',
DROP `Man`,
ADD `restricted` INT(1) NOT NULL
");
?> ?>