From ede1f906d97b03bf508aa366685b9ef5cb59e8b5 Mon Sep 17 00:00:00 2001
From: brinn <brinn>
Date: Mon, 26 Jul 2010 08:57:15 +0000
Subject: [PATCH] fix: migration from 053 to 054

SVN: 17196
---
 openbis/source/sql/postgresql/migration/migration-053-054.sql | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/openbis/source/sql/postgresql/migration/migration-053-054.sql b/openbis/source/sql/postgresql/migration/migration-053-054.sql
index 2a80aaca889..c2ab2bcb872 100644
--- a/openbis/source/sql/postgresql/migration/migration-053-054.sql
+++ b/openbis/source/sql/postgresql/migration/migration-053-054.sql
@@ -166,7 +166,7 @@ BEGIN
 	--------------------------------------------------
 
 	insert into sample_properties(id, samp_id, stpt_id, mate_prop_id, pers_id_registerer) (
-		select 	nextval('sample_id_seq') id, 
+		select 	nextval('sample_property_id_seq') id, 
 			well.id samp_id, 
 			(select stpt.id from sample_type_property_types stpt, property_types props where stpt.prty_id = props.id and props.code='GENE') stpt_id,
 			nested_well_material.id mate_prop_id,
-- 
GitLab