Skip to content

Commit 6fd19fd

Browse files
committed
need change_column even when SchemaCreation is used (closes #475)
1 parent 0f8b380 commit 6fd19fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/arjdbc/mysql/adapter.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ def change_column(table_name, column_name, type, options = {})
417417
add_column_options!(change_column_sql, options)
418418
add_column_position!(change_column_sql, options)
419419
execute(change_column_sql)
420-
end unless const_defined? :SchemaCreation
420+
end
421421

422422
# @override
423423
def rename_column(table_name, column_name, new_column_name)

0 commit comments

Comments
 (0)