Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
V
ven-job
  • 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
  • Trịnh Hoàng Phúc
  • ven-job
  • Merge Requests
  • !1

Merged
Opened Mar 30, 2020 by Trịnh Hoàng Phúc@phucth 
  • Report abuse
Report abuse

Migrate database, rake task crawler

×

Check out, review, and merge locally

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

git fetch origin
git checkout -b feature/rake_task_crawler origin/feature/rake_task_crawler

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 feature/rake_task_crawler

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 4
  • Commits 2
  • Pipelines 2
  • Changes 24
{{ resolvedDiscussionCount }}/{{ discussionCount }} {{ resolvedCountText }} resolved
  • Van Hau Le
    @haulv started a discussion on the diff Mar 31, 2020
    Last updated by Van Hau Le Mar 31, 2020
    app/models/favorite.rb 0 → 100644
    1 class Favorite < ApplicationRecord
    2 belongs_to :user
    3 belongs_to :job
    • Van Hau Le @haulv commented Mar 31, 2020

      @phucth Favorite job với apply job sử dụng chung data user và job. Sao em ko gom chung nó lại thành 1 bảng relationship. Rồi thêm cái cờ apply at / favorite at để đánh dấu nó là apply hay favorite hay cả 2? Thêm nữa database thiếu thông tin lưu trữ những job đã xem kìa em? Em tính dùng session hả?

      Edited Mar 31, 2020 by Van Hau Le
      @phucth Favorite job với apply job sử dụng chung data user và job. Sao em ko gom chung nó lại thành 1 bảng relationship. Rồi thêm cái cờ apply at / favorite at để đánh dấu nó là apply hay favorite hay cả 2? Thêm nữa database thiếu thông tin lưu trữ những job đã xem kìa em? Em tính dùng session hả?
    • Trịnh Hoàng Phúc @phucth commented Mar 31, 2020
      Master

      Favorite job với apply job sử dụng chung data user và job => phần này bữa em cũng có tham khảo cách của Nghĩa, là tạo chung 1 bảng sau đó thêm 1 boolean để check là apply hay favorite.Do em muốn làm quen với cách tạo migration, quan hệ trong database nên mới tách riêng á anh.

      Thêm nữa database thiếu thông tin lưu trữ những job đã xem kìa em => phần này em tính dùng session hoặc cookie do chỉ show những job mà user đã xem ạ, nếu cần thiết thì em thêm 1 table để lưu việc này cũng được ạ

      Favorite job với apply job sử dụng chung data user và job => phần này bữa em cũng có tham khảo cách của Nghĩa, là tạo chung 1 bảng sau đó thêm 1 boolean để check là apply hay favorite.Do em muốn làm quen với cách tạo migration, quan hệ trong database nên mới tách riêng á anh. Thêm nữa database thiếu thông tin lưu trữ những job đã xem kìa em => phần này em tính dùng session hoặc cookie do chỉ show những job mà user đã xem ạ, nếu cần thiết thì em thêm 1 table để lưu việc này cũng được ạ
    • Van Hau Le @haulv commented Mar 31, 2020

      @phucth okie boy!

      @phucth okie boy!
    Please register or sign in to reply
  • Van Hau Le
    @haulv started a discussion on the diff Mar 31, 2020
    db/migrate/20200317073905_create_cities.rb 0 → 100644
    1 class CreateCities < ActiveRecord::Migration[6.0]
    • Van Hau Le @haulv commented Mar 31, 2020

      @phucth thiếu thông tin country??

      @phucth thiếu thông tin country??
    Please register or sign in to reply
  • Trịnh Hoàng Phúc @phucth

    added 1 commit

    • 36ba17f0 - Fix review, customize rake task crawler

    Compare with previous version

    Apr 01, 2020

    added 1 commit

    • 36ba17f0 - Fix review, customize rake task crawler

    Compare with previous version

    added 1 commit * 36ba17f0 - Fix review, customize rake task crawler [Compare with previous version](https://gitlab.zigexn.vn/phucth/ven-job/merge_requests/1/diffs?diff_id=4765&start_sha=a63a3e75871bde84dcace2794165017c967158be)
    Toggle commit list
  • Trịnh Hoàng Phúc @phucth

    mentioned in commit 459a3629

    Apr 03, 2020

    mentioned in commit 459a3629

    mentioned in commit 459a36293ed41b7925046f063a3b4ff5948029f3
    Toggle commit list
  • Trịnh Hoàng Phúc @phucth

    merged

    Apr 03, 2020

    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: phucth/ven-job!1
×

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.