[freeside-commits] freeside/FS/bin freeside-upgrade, 1.31.2.3, 1.31.2.4
Ivan,,,
ivan at wavetail.420.am
Sat Jan 9 00:21:48 PST 2010
Update of /home/cvs/cvsroot/freeside/FS/bin
In directory wavetail.420.am:/tmp/cvs-serv14046/FS/bin
Modified Files:
Tag: FREESIDE_1_9_BRANCH
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.31.2.3
retrieving revision 1.31.2.4
diff -u -d -r1.31.2.3 -r1.31.2.4
--- freeside-upgrade 29 Dec 2009 04:49:02 -0000 1.31.2.3
+++ freeside-upgrade 9 Jan 2010 08:21:46 -0000 1.31.2.4
@@ -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