Skip to content
Snippets Groups Projects
Commit e81d5578 authored by Monika Komorowska's avatar Monika Komorowska
Browse files

Added db_release field to the unique index.

parent 4293fa01
No related branches found
No related tags found
No related merge requests found
# patch_61_62_c.sql # patch_61_62_c.sql
# #
# Title: Index for db_name. # Title: Index for db_name and db_release.
# #
# Description: # Description:
# Add unique index to db_name field in external_db table. # Add unique index to db_name and db_release fields in external_db table.
CREATE UNIQUE INDEX db_name_idx ON external_db(db_name); CREATE UNIQUE INDEX db_name_db_release_idx ON external_db(db_name,db_release);
# Patch identifier # Patch identifier
INSERT INTO meta (species_id, meta_key, meta_value) INSERT INTO meta (species_id, meta_key, meta_value)
VALUES (NULL, 'patch', 'patch_61_62_c.sql|db_name_idx'); VALUES (NULL, 'patch', 'patch_61_62_c.sql|db_name_db_release_idx');
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