Browse Source

Update DB schema

Skylar Ittner 5 months ago
parent
commit
febd98c0eb
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      database_upgrade/v1.1_1.2.sql

+ 3
- 1
database_upgrade/v1.1_1.2.sql View File

@@ -26,4 +26,6 @@ CREATE TABLE IF NOT EXISTS `images` (
26 26
     ON DELETE NO ACTION
27 27
     ON UPDATE NO ACTION)
28 28
 ENGINE = InnoDB
29
-DEFAULT CHARACTER SET = utf8
29
+DEFAULT CHARACTER SET = utf8;
30
+
31
+ALTER TABLE `images` ADD COLUMN `primary` TINYINT(1) NOT NULL DEFAULT 0 AFTER `imagename`;

Loading…
Cancel
Save