projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
pass the remote IP address along with signup requests, for some gateways
[freeside.git]
/
bin
/
dbdef-create
diff --git
a/bin/dbdef-create
b/bin/dbdef-create
index
e0e7df7
..
5063a3c
100755
(executable)
--- a/
bin/dbdef-create
+++ b/
bin/dbdef-create
@@
-9,10
+9,11
@@
use FS::Schema;
my $user = shift or die &usage;
$FS::Schema::setup_hack = 1;
my $user = shift or die &usage;
$FS::Schema::setup_hack = 1;
+$FS::CurrentUser::upgrade_hack = 1;
my($dbh)=adminsuidsetup $user;
#needs to match FS::Record
my($dbh)=adminsuidsetup $user;
#needs to match FS::Record
-my($dbdef_file) = "
/usr/local/etc/freeside
/dbdef.". datasrc;
+my($dbdef_file) = "
%%%FREESIDE_CONF%%%
/dbdef.". datasrc;
my $dbdef = new_native DBIx::DBSchema $dbh;
my $dbdef = new_native DBIx::DBSchema $dbh;