Rename backup_ids_uk constraint to include prefix to allow easy installation of multiple instances from one database.

This commit is contained in:
anthonyforth 2006-03-21 10:31:28 +00:00
parent 581d27ff58
commit 88629fc419

View File

@ -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)
);