Commit 59c07f6f authored by Robert Ricci's avatar Robert Ricci

Update database schema for the new ns_include column in

sitevariables.
parent 1b2ecd6f
......@@ -3133,6 +3133,7 @@ CREATE TABLE `sitevariables` (
`value` text,
`defaultvalue` text NOT NULL,
`description` text,
`ns_include` tinyint(0) NOT NULL default 0,
PRIMARY KEY (`name`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
......
use strict;
use libdb;
sub DoUpdate($$$)
{
my ($dbhandle, $dbname, $version) = @_;
#
# Add a new column to the sitevariables table
#
DBQueryFatal("alter table sitevariables add column ns_include " .
"tinyint(0) NOT NULL default 0");
return 0;
}
1;
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