commit/galaxy-central: natefoo: Set the HDA purged column to false upon creation. If you already upgraded to database >= 78 please do this by hand (UPDATE history_dataset_association SET purged=false WHERE purged IS NULL).
1 new changeset in galaxy-central: http://bitbucket.org/galaxy/galaxy-central/changeset/720455407d1c/ changeset: 720455407d1c user: natefoo date: 2011-06-23 17:03:45 summary: Set the HDA purged column to false upon creation. If you already upgraded to database >= 78 please do this by hand (UPDATE history_dataset_association SET purged=false WHERE purged IS NULL). affected #: 1 file (90 bytes) --- a/lib/galaxy/model/migrate/versions/0078_add_columns_for_disk_usage_accounting.py Wed Jun 22 08:36:48 2011 -0400 +++ b/lib/galaxy/model/migrate/versions/0078_add_columns_for_disk_usage_accounting.py Thu Jun 23 11:03:45 2011 -0400 @@ -33,6 +33,7 @@ c = Column( "purged", Boolean, index=True, default=False ) c.create( HistoryDatasetAssociation_table ) assert c is HistoryDatasetAssociation_table.c.purged + db_session.execute(HistoryDatasetAssociation_table.update().values(purged=False)) except Exception, e: print "Adding purged column to history_dataset_association table failed: %s" % str( e ) log.debug( "Adding purged column to history_dataset_association table failed: %s" % str( e ) ) Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
Bitbucket