mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-27 01:39:22 +02:00
4 lines
178 B
PHP
4 lines
178 B
PHP
<?php
|
|
if(!fieldExist('id', TABLE_PREFIX . 'monsters'))
|
|
$db->query("ALTER TABLE `" . TABLE_PREFIX . "monsters` ADD `id` int(11) NOT NULL AUTO_INCREMENT primary key FIRST;");
|
|
?>
|