Commit 43e55941 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Merge upgrades

parent d3adf10c
......@@ -1222,11 +1222,9 @@ function xmldb_core_upgrade($oldversion=0) {
}
if ($oldversion < 2008081100) {
if ($oldversion < 2008081101) {
execute_sql("ALTER TABLE {view} ADD COLUMN institution CHARACTER VARYING(255);");
execute_sql("ALTER TABLE {view} ADD CONSTRAINT {view_ins_fk} FOREIGN KEY (institution) REFERENCES {institution}(name);");
}
if ($oldversion < 2008081101) {
execute_sql("ALTER TABLE {view} ADD COLUMN template SMALLINT NOT NULL DEFAULT 0;");
}
......
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