From: anthonyforth Date: Tue, 21 Mar 2006 10:31:28 +0000 (+0000) Subject: Rename backup_ids_uk constraint to include prefix to allow easy installation of multi... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=88629fc41946d91ebd87579c369b82bcae652b31;p=moodle.git Rename backup_ids_uk constraint to include prefix to allow easy installation of multiple instances from one database. --- diff --git a/backup/db/postgres7.sql b/backup/db/postgres7.sql index 929f0a2c78..88d8413041 100644 --- a/backup/db/postgres7.sql +++ b/backup/db/postgres7.sql @@ -9,7 +9,7 @@ CREATE TABLE prefix_backup_files ( path varchar(255) NOT NULL default '', old_id integer default NULL, new_id integer default NULL, - CONSTRAINT backup_files_uk UNIQUE (backup_code, file_type, path) + CONSTRAINT prefix_backup_files_uk UNIQUE (backup_code, file_type, path) );