* removed name field from screenshots table

* updated db to version 7
This commit is contained in:
slawkens
2017-08-28 17:18:47 +02:00
parent eecdcfbabe
commit 430351aee3
3 changed files with 6 additions and 3 deletions

View File

@@ -205,7 +205,6 @@ CREATE TABLE `myaac_pages`
CREATE TABLE `myaac_screenshots`
(
`id` INT(11) NOT NULL AUTO_INCREMENT,
`name` VARCHAR(30) NOT NULL,
`comment` VARCHAR(255) NOT NULL DEFAULT '',
`image` VARCHAR(255) NOT NULL,
`thumb` VARCHAR(255) NOT NULL,
@@ -215,7 +214,7 @@ CREATE TABLE `myaac_screenshots`
PRIMARY KEY (`id`)
) ENGINE = MyISAM;
INSERT INTO `myaac_screenshots` (`id`, `ordering`, `name`, `comment`, `image`, `thumb`, `author`) VALUES (NULL, 1, 'Demon', 'Demon', 'images/screenshots/demon.jpg', 'images/screenshots/demon_thumb.gif', 'MyAAC');
INSERT INTO `myaac_screenshots` (`id`, `ordering`, `comment`, `image`, `thumb`, `author`) VALUES (NULL, 1, 'Demon', 'images/screenshots/demon.jpg', 'images/screenshots/demon_thumb.gif', 'MyAAC');
CREATE TABLE `myaac_spells`
(