Procedure and expert link
This commit is contained in:
parent
29e9f2dd32
commit
d409a9a6c5
5 changed files with 59 additions and 1 deletions
11
db/migrate/20210112120658_create_experts_procedures.rb
Normal file
11
db/migrate/20210112120658_create_experts_procedures.rb
Normal file
|
@ -0,0 +1,11 @@
|
|||
class CreateExpertsProcedures < ActiveRecord::Migration[6.0]
|
||||
def change
|
||||
create_table :experts_procedures do |t|
|
||||
t.references :expert, null: false, foreign_key: true
|
||||
t.references :procedure, null: false, foreign_key: true
|
||||
t.boolean :allow_decision_access, default: false, null: false
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue