Class: CreateBufferedJob
- Inherits:
-
ActiveRecord::Migration
- Object
- ActiveRecord::Migration
- CreateBufferedJob
- Defined in:
- lib/generators/buffered_job/templates/migration.rb
Instance Method Summary collapse
Instance Method Details
#change ⇒ Object
4 5 6 7 8 9 10 11 12 13 14 |
# File 'lib/generators/buffered_job/templates/migration.rb', line 4 def change create_table :buffered_jobs do |t| t.integer :user_id t.string :category t.string :receiver t.string :method t.string :merge_method t.string :target t. end end |