aboutsummaryrefslogtreecommitdiffstats
path: root/db/migrate/20171212152452_create_merges.rb
blob: 7915bd91b3388e518e2423c6a7832233d160f94e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
class CreateMerges < ActiveRecord::Migration
  def change
    create_table :merges do |t|
      t.bigint :workbench_id, index: true, foreign_key: true
      t.bigint :referential_ids, array: true

      t.string :creator
      t.string :status

      t.datetime :started_at
      t.datetime :ended_at

      t.timestamps null: false
    end
  end
end