diff options
| author | Xinhui | 2017-09-05 16:08:37 +0200 |
|---|---|---|
| committer | Xinhui | 2017-09-05 16:46:19 +0200 |
| commit | 26affe0da7bb7987e54c862e40acd4db8641d162 (patch) | |
| tree | 2ba948d850c0a403fdf4351372b79edca04f29b9 /db/migrate | |
| parent | 92703917b31cbaf7f4e5e1bafd009eee2d26c6a1 (diff) | |
| download | chouette-core-26affe0da7bb7987e54c862e40acd4db8641d162.tar.bz2 | |
Model ComplianceCheckBlock
Refs #4387
Diffstat (limited to 'db/migrate')
| -rw-r--r-- | db/migrate/20170905135646_create_compliance_check_blocks.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/db/migrate/20170905135646_create_compliance_check_blocks.rb b/db/migrate/20170905135646_create_compliance_check_blocks.rb new file mode 100644 index 000000000..c461e656b --- /dev/null +++ b/db/migrate/20170905135646_create_compliance_check_blocks.rb @@ -0,0 +1,11 @@ +class CreateComplianceCheckBlocks < ActiveRecord::Migration + def change + create_table :compliance_check_blocks do |t| + t.string :name + t.hstore :condition_attributes + t.references :compliance_check_set, index: true, foreign_key: true + + t.timestamps null: false + end + end +end |
