[freeside-commits] freeside/bin dbdef-create,1.8,1.9
Ivan,,,
ivan at wavetail.420.am
Sat Sep 2 20:12:03 PDT 2006
Update of /home/cvs/cvsroot/freeside/bin
In directory wavetail:/tmp/cvs-serv21752
Modified Files:
dbdef-create
Log Message:
don't error out trying to create a dbdef file from scratch
Index: dbdef-create
===================================================================
RCS file: /home/cvs/cvsroot/freeside/bin/dbdef-create,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- dbdef-create 7 Apr 2005 09:26:18 -0000 1.8
+++ dbdef-create 3 Sep 2006 03:12:00 -0000 1.9
@@ -4,9 +4,11 @@
use DBI;
use DBIx::DBSchema 0.26;
use FS::UID qw(adminsuidsetup datasrc driver_name);
+use FS::Schema;
my $user = shift or die &usage;
+$FS::Schema::setup_hack = 1;
my($dbh)=adminsuidsetup $user;
#needs to match FS::Record
More information about the freeside-commits
mailing list