[Bast-commits] r5082 - DBIx-Class/0.08/trunk/maint
ribasushi at dev.catalyst.perl.org
ribasushi at dev.catalyst.perl.org
Sun Nov 9 15:27:40 GMT 2008
Author: ribasushi
Date: 2008-11-09 15:27:40 +0000 (Sun, 09 Nov 2008)
New Revision: 5082
Modified:
DBIx-Class/0.08/trunk/maint/gen-schema.pl
Log:
SQLT behaves sanely in scalar context, no need for stupid version detections (ribasushi--)
Modified: DBIx-Class/0.08/trunk/maint/gen-schema.pl
===================================================================
--- DBIx-Class/0.08/trunk/maint/gen-schema.pl 2008-11-09 13:35:57 UTC (rev 5081)
+++ DBIx-Class/0.08/trunk/maint/gen-schema.pl 2008-11-09 15:27:40 UTC (rev 5082)
@@ -7,13 +7,5 @@
use DBICTest::Schema;
use SQL::Translator;
-my $sql_join_str = '';
-if (SQL::Translator->VERSION >= 0.09001) {
- $sql_join_str .= ";";
-}
-if (SQL::Translator->VERSION >= 0.09) {
- $sql_join_str .= "\n";
-}
-
my $schema = DBICTest::Schema->connect;
-print join ($sql_join_str,$schema->storage->deployment_statements($schema, 'SQLite') );
+print scalar ($schema->storage->deployment_statements($schema, 'SQLite'));
More information about the Bast-commits
mailing list