[hg] galaxy 2472: Fixed form_definition foreign key so that the ...
details: http://www.bx.psu.edu/hg/galaxy/rev/249f0037dea2 changeset: 2472:249f0037dea2 user: rc date: Fri Jul 10 13:52:20 2009 -0400 description: Fixed form_definition foreign key so that the unittest will pass. Nothing needed for migration script 1 file(s) affected in this change: lib/galaxy/model/mapping.py diffs (17 lines): diff -r b46f27137744 -r 249f0037dea2 lib/galaxy/model/mapping.py --- a/lib/galaxy/model/mapping.py Fri Jul 10 11:37:28 2009 -0400 +++ b/lib/galaxy/model/mapping.py Fri Jul 10 13:52:20 2009 -0400 @@ -535,7 +535,12 @@ Column( "update_time", DateTime, default=now, onupdate=now ), Column( "name", TrimmedString( 255 ), nullable=False ), Column( "desc", TEXT ), - Column( "form_definition_current_id", Integer, ForeignKey( "form_definition_current.id" ), index=True ), + Column( "form_definition_current_id", + Integer, + ForeignKey( "form_definition_current.id", + name='for_def_form_def_current_id_fk', + use_alter=True), + index=True ), Column( "fields", JSONType())) RequestType.table = Table('request_type', metadata,
participants (1)
-
Greg Von Kuster