1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-13 17:12:07 +02:00

Fixes #2805 - News table update correction.

This commit is contained in:
Cameron 2017-10-10 13:04:07 -07:00
parent c37852f4b7
commit 36a087f1ce

View File

@ -318,7 +318,7 @@ CREATE TABLE news (
news_summary text NOT NULL,
news_thumbnail text NOT NULL,
news_sticky tinyint(3) unsigned NOT NULL default '0',
news_template varchar(50),
news_template varchar(50) default NULL,
PRIMARY KEY (news_id),
KEY news_category (news_category),
KEY news_start_end (news_start,news_end),
@ -344,7 +344,7 @@ CREATE TABLE news_category (
category_manager tinyint(3) unsigned NOT NULL default '254',
category_icon varchar(250) NOT NULL default '',
category_order tinyint(3) unsigned NOT NULL default '0',
category_template varchar(50),
category_template varchar(50) default NULL,
PRIMARY KEY (category_id),
KEY category_order (category_order)
) ENGINE=MyISAM;