diff options
| author | Xinhui | 2016-11-14 14:35:43 +0100 | 
|---|---|---|
| committer | Xinhui | 2016-11-14 16:04:52 +0100 | 
| commit | 5127276d9a9ca17165d36b1feec71792b3338e5c (patch) | |
| tree | 5e2ab040a0c8c48cdf93882518f22982cd4154ee /db/migrate | |
| parent | 23e9efc8e07920b50a3f86c26c19e4e6ea340f13 (diff) | |
| download | chouette-core-5127276d9a9ca17165d36b1feec71792b3338e5c.tar.bz2 | |
Wip refactoring cleanup model
Refs #1933
Diffstat (limited to 'db/migrate')
| -rw-r--r-- | db/migrate/20161114134518_create_clean_ups.rb | 18 | 
1 files changed, 18 insertions, 0 deletions
diff --git a/db/migrate/20161114134518_create_clean_ups.rb b/db/migrate/20161114134518_create_clean_ups.rb new file mode 100644 index 000000000..3fa60d484 --- /dev/null +++ b/db/migrate/20161114134518_create_clean_ups.rb @@ -0,0 +1,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  | 
