[freeside-commits] freeside/FS/bin freeside-upgrade,1.34,1.35
Ivan,,,
ivan at wavetail.420.am
Sat Jan 9 00:21:47 PST 2010
Update of /home/cvs/cvsroot/freeside/FS/bin
In directory wavetail.420.am:/tmp/cvs-serv14038/FS/bin
Modified Files:
freeside-upgrade
Log Message:
undo damage from DBIx::DBSchema 0.37_03
Index: freeside-upgrade
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/bin/freeside-upgrade,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -d -r1.34 -r1.35
--- freeside-upgrade 29 Dec 2009 04:49:01 -0000 1.34
+++ freeside-upgrade 9 Jan 2010 08:21:45 -0000 1.35
@@ -60,9 +60,14 @@
#from 1.3 to 1.4... if not, it needs to be hooked into -upgrade here or
#you'll lose all the part_svc settings it migrates to part_svc_column
-my @statements =
+my @statements = dbdef->sql_update_schema( dbdef_dist(datasrc),
+ $dbh,
+ { 'nullify_default' => 1, },
+ );
+
+ at statements =
grep { $_ !~ /^CREATE +INDEX +h_queue/i } #useless, holds up queue insertion
- dbdef->sql_update_schema( dbdef_dist(datasrc), $dbh );
+ @statements;
unless ( driver_name =~ /^mysql/i ) {
#not necessary under non-mysql, takes forever on big db
More information about the freeside-commits
mailing list