aboutsummaryrefslogtreecommitdiffstats
path: root/db/migrate/20161114134518_create_clean_ups.rb
blob: 3fa60d484c92969b2f18952341fe53fcfdc79ecb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
class CreateCleanUps < ActiveRecord::Migration
  def change
    create_table :clean_ups do |t|
      t.string :status
      t.datetime :started_at
      t.datetime :ended_at
      t.references :referential, index: true
      t.boolean :keep_lines
      t.boolean :keep_stops
      t.boolean :keep_companies
      t.boolean :keep_networks
      t.boolean :keep_group_of_lines
      t.datetime :expected_date

      t.timestamps
    end
  end
end