added id field on monsters, so you can delete in phpmyadmin

fixed adding some creatures with ' and "
This commit is contained in:
slawkens1
2017-06-06 23:19:15 +02:00
parent f393e525a6
commit 4fa32e79ce
5 changed files with 16 additions and 5 deletions

View File

@@ -116,6 +116,7 @@ CREATE TABLE `myaac_hooks`
) ENGINE = MyISAM;
CREATE TABLE `myaac_monsters` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`hide_creature` tinyint(1) NOT NULL default '0',
`name` varchar(255) NOT NULL,
`mana` int(11) NOT NULL,
@@ -129,7 +130,8 @@ CREATE TABLE `myaac_monsters` (
`convinceable` tinyint(1) NOT NULL,
`race` varchar(255) NOT NULL,
`gfx_name` varchar(255) NOT NULL,
`file_path` varchar(255) NOT NULL
`file_path` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE = MyISAM;
CREATE TABLE `myaac_movies`