Commit 6abc22ae by nnnghia98

edit table user_jobs

parent 5a376069
Pipeline #237 canceled with stages
in 0 seconds
......@@ -4,7 +4,8 @@ class CreateUserJobs < ActiveRecord::Migration[6.0]
t.references :user, null: false, foreign_key: true
t.references :job, null: false, foreign_key: true
t.datetime :applied_at
t.integer :relation
t.datetime :viewed_at
t.datetime :favorited_at
t.timestamps
end
......
......@@ -81,7 +81,8 @@ ActiveRecord::Schema.define(version: 2019_11_26_083335) do
t.bigint "user_id", null: false
t.bigint "job_id", null: false
t.datetime "applied_at"
t.integer "relation"
t.datetime "viewed_at"
t.datetime "favorited_at"
t.datetime "created_at", precision: 6, null: false
t.datetime "updated_at", precision: 6, null: false
t.index ["job_id"], name: "index_user_jobs_on_job_id"
......
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 to comment