Commit 2c2da16f authored by yched's avatar yched

#112551 - missing 'display_settings' column in install db scheme - patch by quicksketch

parent 223d6f86
......@@ -32,6 +32,7 @@ function content_install() {
label varchar(255) NOT NULL default '',
widget_type varchar(32) NOT NULL default '',
widget_settings mediumtext NOT NULL,
display_settings mediumtext NOT NULL,
description mediumtext NOT NULL,
PRIMARY KEY (field_name,type_name)
) /*!40100 DEFAULT CHARACTER SET utf8 */");
......@@ -62,6 +63,7 @@ function content_install() {
label varchar(255) NOT NULL default '',
widget_type varchar(32) NOT NULL default '',
widget_settings text NOT NULL,
display_settings text NOT NULL,
description text NOT NULL,
PRIMARY KEY (field_name,type_name)
)");
......@@ -256,7 +258,6 @@ function content_update_9() {
case 'mysql':
case 'mysqli':
// TODO : why not db_add_column ?
$ret[] = update_sql("ALTER TABLE {node_field_instance} ADD COLUMN display_settings mediumtext NOT NULL");
break;
}
......
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