[Rt-commit] r3031 - in DBIx-SearchBuilder/trunk: . SearchBuilder
glasser at bestpractical.com
glasser at bestpractical.com
Wed Jun 1 18:20:15 EDT 2005
Author: glasser
Date: Wed Jun 1 18:20:14 2005
New Revision: 3031
Modified:
DBIx-SearchBuilder/trunk/ (props changed)
DBIx-SearchBuilder/trunk/SearchBuilder/SchemaGenerator.pm
Log:
r33687 at tin-foil: glasser | 2005-06-01 17:36:11 -0400
r33504 at tin-foil (orig r2988): glasser | 2005-05-30 22:55:04 -0400
r33503 at stratton-five-seventy: glasser | 2005-05-30 22:54:29 -0400
* Make schema generation an optional feature
* Provide a stub _Init in D::S::Record
* Change TableDescription to Schema
* fix the isa check in AddModel to actually instantiate
* add create_tables script
Modified: DBIx-SearchBuilder/trunk/SearchBuilder/SchemaGenerator.pm
==============================================================================
--- DBIx-SearchBuilder/trunk/SearchBuilder/SchemaGenerator.pm (original)
+++ DBIx-SearchBuilder/trunk/SearchBuilder/SchemaGenerator.pm Wed Jun 1 18:20:14 2005
@@ -83,7 +83,7 @@
sub CreateTableSQLStatements {
my $self = shift;
# The sort here is to make it predictable, so that we can write tests.
- return join "\n\n", map { "$_ ;" } sort $self->_db_schema->sql($self->handle->dbh);
+ return join "\n", map { "$_ ;\n" } sort $self->_db_schema->sql($self->handle->dbh);
}
=for private_doc _DBSchemaTableFromModel MODEL
More information about the Rt-commit
mailing list