Class: CreateCacheJobs
- Inherits:
-
ActiveRecord::Migration
- Object
- ActiveRecord::Migration
- CreateCacheJobs
- Defined in:
- lib/rails/generators/shopifydev/templates/cache_job_migration.rb
Instance Method Summary collapse
Instance Method Details
#change ⇒ Object
2 3 4 5 6 7 8 9 |
# File 'lib/rails/generators/shopifydev/templates/cache_job_migration.rb', line 2 def change create_table :cache_jobs do t.string :jid, index: true t.integer :new_ids, array: true, default: [] t.integer :updated_ids, array: true, default: [] t.string :state, default: 'requested' end end |