Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
VeNJOB
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nguyen Hoang Mai Phuong
VeNJOB
Commits
0cf394d3
Commit
0cf394d3
authored
Jul 09, 2021
by
Nguyen Hoang Mai Phuong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
complete database
parent
5383b554
Pipeline
#1348
failed with stages
in 0 seconds
Changes
6
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
6 additions
and
6 deletions
+6
-6
app/models/apply_job.rb
+1
-1
app/models/city.rb
+1
-1
app/models/favorite_job.rb
+1
-1
app/models/history_job.rb
+1
-1
app/models/job.rb
+1
-1
config/database.yml
+1
-1
No files found.
app/models/apply_job.rb
View file @
0cf394d3
class
ApplyJob
<
ApplicationRecord
belongs_to
:user
belongs_to
:job
s
belongs_to
:job
end
app/models/city.rb
View file @
0cf394d3
class
City
<
ApplicationRecord
belongs_to
:region
s
belongs_to
:region
has_and_belongs_to_many
:jobs
has_and_belongs_to_many
:companies
end
app/models/favorite_job.rb
View file @
0cf394d3
class
FavoriteJob
<
ApplicationRecord
belongs_to
:user
belongs_to
:job
s
belongs_to
:job
end
app/models/history_job.rb
View file @
0cf394d3
class
HistoryJob
<
ApplicationRecord
belongs_to
:user
belongs_to
:job
s
belongs_to
:job
end
app/models/job.rb
View file @
0cf394d3
class
Job
<
ApplicationRecord
belongs_to
:compan
ies
belongs_to
:compan
y
has_many
:apply_jobs
has_many
:favorite_jobs
has_many
:history_jobs
...
...
config/database.yml
View file @
0cf394d3
...
...
@@ -14,7 +14,7 @@ default: &default
development
:
<<
:
*default
username
:
root
password
:
password
:
lalili1005
database
:
VeNJOB_development
production
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment