updated table AngelTypes in update script

main
Jan-Philipp Litza 13 years ago
parent 0d37e85f34
commit 36354d307e

@ -1,3 +1,9 @@
<?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
");
?>

Loading…
Cancel
Save