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
  • Nguyen Ngoc Nghia
  • VeNJOB
  • Merge Requests
  • !1

Merged
Opened Nov 26, 2019 by Nguyen Ngoc Nghia@nghiann 
  • Report abuse
Report abuse

Migrate database

×

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/migration origin/feature/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 feature/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 4
  • Commits 1
  • Pipelines 1
  • Changes 37
{{ resolvedDiscussionCount }}/{{ discussionCount }} {{ resolvedCountText }} resolved
  • Son Do Hong
    @sondh started a discussion on the diff Nov 26, 2019
    Last updated by Van Hau Le Nov 26, 2019
    app/models/crawl_url.rb 0 → 100644
    1 class CrawlUrl < ApplicationRecord
    • Son Do Hong @sondh commented Nov 26, 2019
      Master

      Thằng này có cần thiết phải kế thừa ApplicationRecord không

      Thằng này có cần thiết phải kế thừa `ApplicationRecord` không
    • Van Hau Le @haulv commented Nov 26, 2019
      Master

      @sondh này a nghĩ là cần vì sau này cũng phải query nên cũng cần kế thừa nhé Sơn!

      @sondh này a nghĩ là cần vì sau này cũng phải query nên cũng cần kế thừa nhé Sơn!
    Please register or sign in to reply
  • Son Do Hong
    @sondh started a discussion on the diff Nov 26, 2019
    Last updated by Nguyen Ngoc Nghia Nov 26, 2019
    db/migrate/20191126082849_create_users.rb 0 → 100644
    2 def change
    3 create_table :users do |t|
    4 t.string :first_name
    5 t.string :last_name
    6 t.string :email, unique: true
    7 t.string :username, unique: true
    8 t.integer :role
    9 t.string :password_digest
    10 t.string :reset_digest
    11 t.datetime :reset_sent_at
    12 t.string :remember_digest
    13 t.string :activation_digest
    14 t.datetime :activated_at
    15 t.boolean :activated
    16 t.string :cv_path
    17
    • Son Do Hong @sondh commented Nov 26, 2019
      Master

      xem xét đánh index vào các trường cần thiết, ví dụ email, username

      xem xét đánh index vào các trường cần thiết, ví dụ email, username
    • Nguyen Ngoc Nghia @nghiann commented Nov 26, 2019
      Master

      dạ ok a

      dạ ok a
    Please register or sign in to reply
  • Van Hau Le @haulv

    mentioned in commit 182e377a

    Nov 26, 2019

    mentioned in commit 182e377a

    mentioned in commit 182e377a9266667e9bfd020da5ce39622eae0ed5
    Toggle commit list
  • Van Hau Le @haulv

    merged

    Nov 26, 2019

    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
Nguyen Ngoc Nghia
Assignee
Nguyen Ngoc Nghia @nghiann
Assign to
None
Milestone
None
Assign milestone
Time tracking
3
3 participants
Reference: nghiann/VeNJOB!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.