20190103124649_create_scheduled_statuses.rb 268 B

123456789
  1. class CreateScheduledStatuses < ActiveRecord::Migration[5.2]
  2. def change
  3. create_table :scheduled_statuses do |t|
  4. t.belongs_to :account, foreign_key: { on_delete: :cascade }
  5. t.datetime :scheduled_at, index: true
  6. t.jsonb :params
  7. end
  8. end
  9. end