diff options
author | ivan <ivan> | 2006-09-03 03:12:00 +0000 |
---|---|---|
committer | ivan <ivan> | 2006-09-03 03:12:00 +0000 |
commit | c894b2ceaedc7e12dc176ce5a3ce0c24d48357c5 (patch) | |
tree | 7ddea7311abadae6c290c98013fdac29d6406bda /bin | |
parent | 1f8e09fe3d48302b68d07f774d700cb4d8cad061 (diff) |
don't error out trying to create a dbdef file from scratch
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/dbdef-create | 2 |
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 |