details:
http://www.bx.psu.edu/hg/galaxy/rev/cfb0776875c0
changeset: 3532:cfb0776875c0
user: jeremy goecks <jeremy.goecks(a)emory.edu>
date: Mon Mar 15 14:05:25 2010 -0400
description:
Fix migration script's default value for 'deleted' column in visualization
table. Because visualizations are not in use yet, effects are small, and manual fix is
easy, it's not necessary to use another migration script to fix this problem. Fix,
then, is largely for reference purposes.
diffstat:
lib/galaxy/model/migrate/versions/0043_visualization_sharing_tagging_annotating.py | 4
+---
1 files changed, 1 insertions(+), 3 deletions(-)
diffs (15 lines):
diff -r 3c124a19ae94 -r cfb0776875c0
lib/galaxy/model/migrate/versions/0043_visualization_sharing_tagging_annotating.py
---
a/lib/galaxy/model/migrate/versions/0043_visualization_sharing_tagging_annotating.py Mon
Mar 15 12:40:30 2010 -0400
+++
b/lib/galaxy/model/migrate/versions/0043_visualization_sharing_tagging_annotating.py Mon
Mar 15 14:05:25 2010 -0400
@@ -54,10 +54,8 @@
log.debug( "Creating visualization_user_share_association table failed:
%s" % str( e ) )
# Get default boolean value 'false' so that columns can be initialized.
- if migrate_engine.name == 'mysql':
+ if migrate_engine.name == 'mysql' or migrate_engine.name ==
'sqlite':
default_false = "0"
- elif migrate_engine.name == 'sqlite':
- default_false = "'false'"
elif migrate_engine.name == 'postgres':
default_false = "false"