The design of this database is subject to update.
| Column |
Type |
Options |
| name |
string |
null: false |
| overview |
text |
|
| image |
string |
|
- has_many :recruitments
- has_many :users
| Column |
Type |
Options |
| name |
string |
null: false |
| email |
string |
null: false, unique: true |
| password |
string |
null: false |
| icon |
string |
|
| profile |
text |
|
| company_id |
references |
null: false, foreign_key: true |
- has_many :applications
- has_many :recruitments, through: :applications
- belongs_to :company
| Column |
Type |
Options |
| user_id |
references |
null: false, foreign_key: true |
| recruitment_id |
rederences |
null: false, foreign_key: true |
- belongs_to :user
- belongs_to :recruitment
| Column |
Type |
Options |
| name |
string |
null: false |
| content |
text |
null:false |
| company_id |
references |
null: false, foreign_key: true |
| category_id |
references |
null: false, foreign_key: true |
- belongs_to :company
- belongs_to :category
- has_many :images, dependent: destroy
- has_many :applications
- has_many :users, through: :applications
- has_many :recruitments_tags
- has_many :tags, through: :recruitments_tags
| Column |
Type |
Options |
| recruitment_id |
references |
null: false, foreign_key: true |
| tag_id |
references |
null: false, foreign_key: true |
- belongs_to :recruitment
- belongs_to :tag
| Column |
Type |
Options |
| name |
string |
null: false |
- has_many :recruitments_tags
- has_many :recruitments, through: :recruitments_tags
| Column |
Type |
Options |
| name |
string |
|
| recruitment_id |
references |
null: false, foreign_key: true |
| Column |
Type |
Options |
| name |
string |
null:false |
| ancestry |
string |
|
- has_many :recruitments
- has_ancestry