mirror of
https://github.com/aasm/aasm
synced 2023-03-27 23:22:41 -04:00
add current Rails version to migration
This commit is contained in:
parent
91c446581c
commit
1ef5c17c41
1 changed files with 1 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
class Add<%= column_name.camelize %>To<%= table_name.camelize %> < ActiveRecord::Migration
|
class Add<%= column_name.camelize %>To<%= table_name.camelize %> < ActiveRecord::Migration[<%= ActiveRecord::Migration.current_version %>]
|
||||||
def change
|
def change
|
||||||
add_column :<%= table_name %>, :<%= column_name %>, :string
|
add_column :<%= table_name %>, :<%= column_name %>, :string
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue