Changes for SQL::Translator
+ * Fix DROP TABLE in SQL Server Producer
+
0.11018 2013-10-31 🎃
* Revert "Fix AUTOINCREMENT in SQLite"
}
sub drop_tables {
- my ($self, $schema) = shift;
+ my ($self, $schema) = @_;
if ($self->add_drop_table) {
my @tables = sort { $b->order <=> $a->order } $schema->get_tables;
my $translator = shift;
SQL::Translator::Generator::DDL::SQLServer->new(
add_comments => !$translator->no_comments,
- add_drop_tables => $translator->add_drop_table,
+ add_drop_table => $translator->add_drop_table,
)->schema($translator->schema)
}