From 2a8b1f9ec2ec488b32571a0eb316a75bc90b5683 Mon Sep 17 00:00:00 2001 From: Fly Man Date: Wed, 13 Jun 2018 01:36:31 +0200 Subject: [PATCH] Update photos_table.sql Fixing a DEFAULT that wasn't set --- php/database/photos_table.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/php/database/photos_table.sql b/php/database/photos_table.sql index 7ca913e..d81cdbb 100644 --- a/php/database/photos_table.sql +++ b/php/database/photos_table.sql @@ -24,8 +24,8 @@ CREATE TABLE IF NOT EXISTS `?` ( `album` bigint(20) unsigned NOT NULL, `checksum` char(40) DEFAULT NULL, `medium` tinyint(1) NOT NULL DEFAULT '0', - `position` tinyint(1) NOT NULL, + `position` tinyint(1) NOT NULL DEFAULT '0', PRIMARY KEY (`id`), KEY `Index_album` (`album`), KEY `Index_star` (`star`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; \ No newline at end of file +) ENGINE=MyISAM DEFAULT CHARSET=utf8;