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
542eeda841
commit
91c446581c
1 changed files with 1 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
class AASMCreate<%= table_name.camelize %> < ActiveRecord::Migration
|
||||
class AASMCreate<%= table_name.camelize %> < ActiveRecord::Migration[<%= ActiveRecord::Migration.current_version %>]
|
||||
def change
|
||||
create_table(:<%= table_name %>) do |t|
|
||||
t.string :<%= column_name %>
|
||||
|
|
Loading…
Reference in a new issue