diff options
| author | cedricnjanga | 2017-11-30 14:15:43 +0100 | 
|---|---|---|
| committer | cedricnjanga | 2017-12-05 15:39:08 +0100 | 
| commit | 03df723a37dc53ab73fc6539a85c9a0c892e7c99 (patch) | |
| tree | cae942e3f51bc5c15db8b8bd00d2fc31b266e78c /db | |
| parent | bb5fc4ea0755c2b7fd16d31e9d31d2a0967fe5cb (diff) | |
| download | chouette-core-03df723a37dc53ab73fc6539a85c9a0c892e7c99.tar.bz2 | |
Refs #5127 Add two new endpoints to the API
ComplianceCheckSet#notify_parent
NetexImport#notify_parent
Diffstat (limited to 'db')
| -rw-r--r-- | db/migrate/20171130131328_add_notify_parent_at_to_compliance_check_sets.rb | 5 | ||||
| -rw-r--r-- | db/schema.rb | 1 | 
2 files changed, 6 insertions, 0 deletions
diff --git a/db/migrate/20171130131328_add_notify_parent_at_to_compliance_check_sets.rb b/db/migrate/20171130131328_add_notify_parent_at_to_compliance_check_sets.rb new file mode 100644 index 000000000..3bf6b8aa1 --- /dev/null +++ b/db/migrate/20171130131328_add_notify_parent_at_to_compliance_check_sets.rb @@ -0,0 +1,5 @@ +class AddNotifyParentAtToComplianceCheckSets < ActiveRecord::Migration +  def change +    add_column :compliance_check_sets, :notified_parent_at, :datetime +  end +end diff --git a/db/schema.rb b/db/schema.rb index 4650d8812..c94b43da1 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -195,6 +195,7 @@ ActiveRecord::Schema.define(version: 20171128112629) do      t.string   "name"      t.datetime "started_at"      t.datetime "ended_at" +    t.datetime "notified_parent_at"    end    add_index "compliance_check_sets", ["compliance_control_set_id"], name: "index_compliance_check_sets_on_compliance_control_set_id", using: :btree  | 
