diff options
author | ivan <ivan> | 2010-07-28 02:51:51 +0000 |
---|---|---|
committer | ivan <ivan> | 2010-07-28 02:51:51 +0000 |
commit | c16314e8e12b1e48d0871f935a72dee4b4f8f7c4 (patch) | |
tree | e2508db4e3b56cc2417cc5be99edb39d0aefc4ac /FS | |
parent | e1198f135f43ab607544790af6ad64320d1759cf (diff) |
fix unnecessary warnings on upgrade of remote Pg RADIUS db, RT#9178
Diffstat (limited to 'FS')
-rw-r--r-- | FS/FS/Upgrade.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/FS/FS/Upgrade.pm b/FS/FS/Upgrade.pm index aa77ce5ed..34fc3248c 100644 --- a/FS/FS/Upgrade.pm +++ b/FS/FS/Upgrade.pm @@ -186,7 +186,8 @@ sub upgrade_sqlradius { my $str2time = str2time_sql( $dbh->{Driver}->{Name} ); my $group = "UserName"; $group .= ",Realm" - if ( ref($part_export) =~ /withdomain/ ); + if ref($part_export) =~ /withdomain/ + || $dbh->{Driver}->{Name} =~ /^Pg/; #hmm my $sth_alter = $dbh->prepare( "ALTER TABLE radacct ADD COLUMN FreesideStatus varchar(32) NULL" |