db: add constraints to role tables
This commit is contained in:
parent
768b577f1e
commit
017625207e
8 changed files with 60 additions and 7 deletions
|
@ -9,7 +9,7 @@
|
|||
# created_at :datetime
|
||||
# updated_at :datetime
|
||||
# agent_connect_id :string
|
||||
# user_id :bigint
|
||||
# user_id :bigint not null
|
||||
#
|
||||
class Instructeur < ApplicationRecord
|
||||
has_and_belongs_to_many :administrateurs
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue