Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
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
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Mai Hoang Thai Ha
  • VenJob
  • Merge Requests
  • !3

Merged
Opened Jul 06, 2021 by Mai Hoang Thai Ha@hamht 
  • Report abuse
Report abuse

Create migration, add option to model and install Active Record

From Task/3_create_database_migration into master

×

Check out, review, and merge locally

Step 1. Fetch and check out the branch for this merge request

git fetch origin
git checkout -b Task/3_create_database_migration origin/Task/3_create_database_migration

Step 2. Review the changes locally

Step 3. Merge the branch and fix any conflicts that come up

git checkout master
git merge --no-ff Task/3_create_database_migration

Step 4. Push the result of the merge to GitLab

git push origin master

Note that pushing to GitLab requires write access to this repository.

Tip: You can also checkout merge requests locally by following these guidelines.

  • Discussion 3
  • Commits 2
  • Changes 39
{{ resolvedDiscussionCount }}/{{ discussionCount }} {{ resolvedCountText }} resolved
  • Mai Hoang Thai Ha @hamht

    deleted source branch task/3_create_database_migration

    Jul 06, 2021

    deleted source branch task/3_create_database_migration

    deleted source branch `task/3_create_database_migration`
    Toggle commit list
  • phuctmZigexn
    @phuctm started a discussion on an old version of the diff Jul 19, 2021
    Last updated by Mai Hoang Thai Ha Jul 20, 2021
    db/migrate/20210706092623_cities_jobs.rb 0 → 100644
    1 class CitiesJobs < ActiveRecord::Migration[6.1]
    2 def change
    • phuctmZigexn @phuctm commented Jul 19, 2021
      Master

      sao migration này không có nội dung vậy em? Tương tự với cái này luôn nhé db/migrate/20210706092449_industries_jobs.rb

      https://guides.rubyonrails.org/association_basics.html#the-has-and-belongs-to-many-association

      sao migration này không có nội dung vậy em? Tương tự với cái này luôn nhé `db/migrate/20210706092449_industries_jobs.rb` https://guides.rubyonrails.org/association_basics.html#the-has-and-belongs-to-many-association
    • Mai Hoang Thai Ha @hamht

      changed this line in version 2 of the diff

      Jul 20, 2021

      changed this line in version 2 of the diff

      changed this line in [version 2 of the diff](https://gitlab.zigexn.vn/hamht/VenJob/merge_requests/3/diffs?diff_id=5333&start_sha=35560bfd9fa975895878a74cefe69067b7e53768#75090ba6917cc4a74565c616b0e6569358f8b7e7_2_0)
      Toggle commit list
    Please register or sign in to reply
  • phuctmZigexn
    @phuctm started a discussion on an old version of the diff Jul 19, 2021
    Last updated by Mai Hoang Thai Ha Jul 20, 2021
    app/models/company.rb 0 → 100644
    1 class Company < ApplicationRecord
    2 has_many :jobs
    • phuctmZigexn @phuctm commented Jul 19, 2021
      Master

      em chạy rubocop thì bị bắt thêm options dependent mà ta?

      https://guides.rubyonrails.org/association_basics.html#dependent

      em chạy rubocop thì bị bắt thêm options `dependent` mà ta? https://guides.rubyonrails.org/association_basics.html#dependent
    • Mai Hoang Thai Ha @hamht

      changed this line in version 2 of the diff

      Jul 20, 2021

      changed this line in version 2 of the diff

      changed this line in [version 2 of the diff](https://gitlab.zigexn.vn/hamht/VenJob/merge_requests/3/diffs?diff_id=5333&start_sha=35560bfd9fa975895878a74cefe69067b7e53768#4ab04472f3f0b7cd7940605c04009678fc22ae0b_2_2)
      Toggle commit list
    Please register or sign in to reply
  • phuctmZigexn
    @phuctm started a discussion on an old version of the diff Jul 19, 2021
    Last updated by Mai Hoang Thai Ha Jul 20, 2021
    app/models/user.rb 0 → 100644
    1 class User < ApplicationRecord
    2 has_many :apply_jobs
    • phuctmZigexn @phuctm commented Jul 19, 2021
      Master

      em chạy rubocop thì bị bắt thêm options dependent mà ta?

      https://guides.rubyonrails.org/association_basics.html#dependent

      Tương tự với những has_many khác nhé.

      em chạy rubocop thì bị bắt thêm options `dependent` mà ta? https://guides.rubyonrails.org/association_basics.html#dependent Tương tự với những has_many khác nhé.
    • Mai Hoang Thai Ha @hamht

      changed this line in version 2 of the diff

      Jul 20, 2021

      changed this line in version 2 of the diff

      changed this line in [version 2 of the diff](https://gitlab.zigexn.vn/hamht/VenJob/merge_requests/3/diffs?diff_id=5333&start_sha=35560bfd9fa975895878a74cefe69067b7e53768#4ed0c03b53dbc8320da88e7887465514cd9e90a4_2_2)
      Toggle commit list
    Please register or sign in to reply
  • Mai Hoang Thai Ha @hamht

    added 1 commit

    • 59fe41f7 - fixed association, add model option

    Compare with previous version

    Jul 20, 2021

    added 1 commit

    • 59fe41f7 - fixed association, add model option

    Compare with previous version

    added 1 commit * 59fe41f7 - fixed association, add model option [Compare with previous version](https://gitlab.zigexn.vn/hamht/VenJob/merge_requests/3/diffs?diff_id=5333&start_sha=35560bfd9fa975895878a74cefe69067b7e53768)
    Toggle commit list
  • phuctmZigexn @phuctm

    mentioned in commit ca4035a9

    Jul 20, 2021

    mentioned in commit ca4035a9

    mentioned in commit ca4035a93d38a9db0e89de57e76c074c77981ac3
    Toggle commit list
  • phuctmZigexn @phuctm

    merged

    Jul 20, 2021

    merged

    merged
    Toggle commit list
  • Write
  • Preview
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment
Assignee
No assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
2
2 participants
Reference: hamht/VenJob!3
×

Revert this merge request

Switch branch
Cancel
A new branch will be created in your fork and a new merge request will be started.
×

Cherry-pick this merge request

Switch branch
Cancel
A new branch will be created in your fork and a new merge request will be started.