database table HistoryDatasetAssociation
Hi, I am trying to modify the history_datset_association table in the database by adding one column, as per my requirement. I have changed the schema of the table but not able to add data for that column. Can anyone suggest how and where it can be done. Regards Harendra
Harendra chawla wrote:
Hi,
I am trying to modify the history_datset_association table in the database by adding one column, as per my requirement. I have changed the schema of the table but not able to add data for that column. Can anyone suggest how and where it can be done.
Hi Harendra, You'd need to modify the table definition and mapping in lib/galaxy/model/mapping.py. Our official database changes are propogated in lib/galaxy/model/migrate/versions, but if you were to write a migrate script, you'd have version conflicts with our own versions, so unfortunately the best solution is probably to change mapping.py and then add the column to your database manually. --nate
Regards Harendra
___________________________________________________________ Please keep all replies on the list by using "reply all" in your mail client. To manage your subscriptions to this and other Galaxy lists, please use the interface at:
participants (2)
-
Harendra chawla
-
Nate Coraor