summaryrefslogtreecommitdiff
path: root/bin/dbdef-create
diff options
context:
space:
mode:
Diffstat (limited to 'bin/dbdef-create')
-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