add revoked at to experts_procedures
This commit is contained in:
parent
d6bed42a3e
commit
60c06b6d8c
3 changed files with 7 additions and 0 deletions
|
@ -4,6 +4,7 @@
|
|||
#
|
||||
# id :bigint not null, primary key
|
||||
# allow_decision_access :boolean default(FALSE), not null
|
||||
# revoked_at :datetime
|
||||
# created_at :datetime not null
|
||||
# updated_at :datetime not null
|
||||
# expert_id :bigint not null
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
class AddRevokedAtToExpertsProcedures < ActiveRecord::Migration[6.1]
|
||||
def change
|
||||
add_column :experts_procedures, :revoked_at, :datetime
|
||||
end
|
||||
end
|
|
@ -345,6 +345,7 @@ ActiveRecord::Schema.define(version: 2021_04_02_163003) do
|
|||
t.boolean "allow_decision_access", default: false, null: false
|
||||
t.datetime "created_at", precision: 6, null: false
|
||||
t.datetime "updated_at", precision: 6, null: false
|
||||
t.datetime "revoked_at"
|
||||
t.index ["expert_id", "procedure_id"], name: "index_experts_procedures_on_expert_id_and_procedure_id", unique: true
|
||||
t.index ["expert_id"], name: "index_experts_procedures_on_expert_id"
|
||||
t.index ["procedure_id"], name: "index_experts_procedures_on_procedure_id"
|
||||
|
|
Loading…
Reference in a new issue