[freeside-commits] freeside/FS/FS Record.pm,1.138,1.139
Ivan,,,
ivan at wavetail.420.am
Thu Jun 28 18:45:12 PDT 2007
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail:/tmp/cvs-serv26708
Modified Files:
Record.pm
Log Message:
last small fix for new DBIx::DBSchema
Index: Record.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/Record.pm,v
retrieving revision 1.138
retrieving revision 1.139
diff -u -d -r1.138 -r1.139
--- Record.pm 10 Mar 2007 00:16:51 -0000 1.138
+++ Record.pm 29 Jun 2007 01:45:10 -0000 1.139
@@ -9,7 +9,7 @@
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 @@
#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($_);
}
More information about the freeside-commits
mailing list