summaryrefslogtreecommitdiff
path: root/db/update.d/02_AngelTypes.php
blob: b5561402551e3cd697553e92640464fa313b4390 (plain)
1
2
3
4
5
6
7
8
9
<?php
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
    ");
?>