Class: CreateDunlopExecutionBatches

Inherits:
ActiveRecord::Migration
  • Object
show all
Defined in:
lib/generators/dunlop/install/base/templates/migrations/create_dunlop_execution_batches.rb

Instance Method Summary collapse

Instance Method Details

#changeObject



2
3
4
5
6
7
8
9
10
# File 'lib/generators/dunlop/install/base/templates/migrations/create_dunlop_execution_batches.rb', line 2

def change
  create_table :dunlop_execution_batches do |t|
    t.string :state
    t.string :sti_type
    t.string :identifier

    t.timestamps null: false
  end
end