Class: CreateAsyncSchemaMigrations
- Inherits:
-
Object
- Object
- CreateAsyncSchemaMigrations
- Defined in:
- lib/generators/rails_async_migrations/templates/create_async_schema_migrations.rb
Instance Method Summary collapse
Instance Method Details
#change ⇒ Object
2 3 4 5 6 7 8 9 10 |
# File 'lib/generators/rails_async_migrations/templates/create_async_schema_migrations.rb', line 2 def change create_table :async_schema_migrations do |t| t.string :version t.string :direction t.string :state t. end end |