diff --git a/openbis/source/sql/postgresql/migration/migration-053-054.sql b/openbis/source/sql/postgresql/migration/migration-053-054.sql index 47144fa900cc1031e4920cd9b9d326a2765624e1..2a80aaca889ebbc8a52ad6457743428ede065146 100644 --- a/openbis/source/sql/postgresql/migration/migration-053-054.sql +++ b/openbis/source/sql/postgresql/migration/migration-053-054.sql @@ -140,7 +140,7 @@ BEGIN 'GENE','Inhibited gene','Gene', (select id from data_types where code = 'MATERIAL'), (select id from persons where user_id ='system'), - (select id from database_instances where code = 'SYSTEM_DEFAULT'), + (select id from database_instances where is_original_source = 'T'), (select id from material_types where code = 'GENE') );