summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorivan <ivan>2006-09-03 03:12:00 +0000
committerivan <ivan>2006-09-03 03:12:00 +0000
commitc894b2ceaedc7e12dc176ce5a3ce0c24d48357c5 (patch)
tree7ddea7311abadae6c290c98013fdac29d6406bda /bin
parent1f8e09fe3d48302b68d07f774d700cb4d8cad061 (diff)
don't error out trying to create a dbdef file from scratch
Diffstat (limited to 'bin')
-rwxr-xr-xbin/dbdef-create2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/dbdef-create b/bin/dbdef-create
index fea02c8c5..e0e7df70f 100755
--- a/bin/dbdef-create
+++ b/bin/dbdef-create
@@ -4,9 +4,11 @@ use strict;
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