Commit ae762838 authored by Dries's avatar Dries

- Patch #140218 by drewish: fixed MySQL 5 strict bug.

parent 6a1c36c3
......@@ -371,7 +371,7 @@ function system_install() {
description TEXT,
position varchar(255) NOT NULL default '',
weight int NOT NULL default 0,
file mediumtext NOT NULL default '',
file mediumtext,
PRIMARY KEY (path),
KEY fit (fit),
KEY tab_parent (tab_parent)
......@@ -892,7 +892,7 @@ function system_install() {
description TEXT,
position varchar(255) NOT NULL default '',
weight int NOT NULL default 0,
file text NOT NULL default '',
file text,
PRIMARY KEY (path)
)");
db_query("CREATE INDEX {menu_router}_fit_idx ON {menu_router} (fit)");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment