Ajout du model expert
Co-authored-by: Kara Diaby <kdiaby.pro@gmail.com>
This commit is contained in:
parent
f698dc798c
commit
29e9f2dd32
5 changed files with 35 additions and 1 deletions
11
app/models/expert.rb
Normal file
11
app/models/expert.rb
Normal file
|
@ -0,0 +1,11 @@
|
|||
# == Schema Information
|
||||
#
|
||||
# Table name: experts
|
||||
#
|
||||
# id :bigint not null, primary key
|
||||
# created_at :datetime not null
|
||||
# updated_at :datetime not null
|
||||
#
|
||||
class Expert < ApplicationRecord
|
||||
has_one :user
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue