Revision history for Perl extension DBIx::Class::Schema::Loader
- - added 'qualify_objects' option to prepend db_schema to table names
+0.07000 2010-05-22 23:40:15
+ - added qualify_objects option to prepend db_schema to table names
- fix for negative numeric default values
- sequence is detected for Oracle
- fix for SQLite is_auto_increment detection when table is empty (hobbs)
$table_name = \ $self->_quote_table_name($table_name);
}
- $self->_dbic_stmt($table_class, 'table', ($self->qualify_objects ? ($self->db_schema . '.') : '') . $table_name);
+ my $full_table_name = ($self->qualify_objects ? ($self->db_schema . '.') : '') . (ref $table_name ? $$table_name : $table_name);
+
+ # be careful to not create refs Data::Dump can "optimize"
+ $full_table_name = \do {"".$full_table_name} if ref $table_name;
+
+ $self->_dbic_stmt($table_class, 'table', $full_table_name);
my $cols = $self->_table_columns($table);
my $col_info = $self->__columns_info_for($table);
password => $odbc_password,
} : ()),
],
+ preserve_case_mode_is_exclusive => 1,
+ quote_char => [ qw/[ ]/ ],
data_types => {
# http://msdn.microsoft.com/en-us/library/ms187752.aspx