diff options
author | ivan <ivan> | 2007-06-29 01:45:10 +0000 |
---|---|---|
committer | ivan <ivan> | 2007-06-29 01:45:10 +0000 |
commit | fb53325987efe2e57ea4ba23483e0091527bc803 (patch) | |
tree | b92f1ef341fde78386bfd69c7cdfdd773641d1f5 | |
parent | f0547b5c6821995268ae3a68dbc80eef08885b77 (diff) |
last small fix for new DBIx::DBSchema
-rw-r--r-- | FS/FS/Record.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/FS/FS/Record.pm b/FS/FS/Record.pm index 0afe3ecd1..6bf124b4a 100644 --- a/FS/FS/Record.pm +++ b/FS/FS/Record.pm @@ -9,7 +9,7 @@ use Carp qw(carp cluck croak confess); use File::CounterFile; use Locale::Country; use DBI qw(:sql_types); -use DBIx::DBSchema 0.25; +use DBIx::DBSchema 0.33; use FS::UID qw(dbh getotaker datasrc driver_name); use FS::CurrentUser; use FS::Schema qw(dbdef); @@ -725,7 +725,7 @@ sub insert { #single-field unique keys are given a value if false #(like MySQL's AUTO_INCREMENT or Pg SERIAL) - foreach ( $self->dbdef_table->unique->singles ) { + foreach ( $self->dbdef_table->unique_singles ) { $self->unique($_) unless $self->getfield($_); } |