-
-
Save vu0tran/d506c04ec7790fc60359e19d08953cf3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# == Schema Information | |
# | |
# Table name: skips | |
# | |
# id :integer not null, primary key | |
# user_id :integer | |
# partner_id :integer | |
# created_at :datetime not null | |
# updated_at :datetime not null | |
# | |
class Skip < ActiveRecord::Base | |
belongs_to :user | |
end | |
# SCEHMA | |
create_table "skips", force: :cascade do |t| | |
t.integer "user_id" | |
t.integer "partner_id" | |
t.datetime "created_at", null: false | |
t.datetime "updated_at", null: false | |
end | |
add_index "skips", ["partner_id"], name: "index_skips_on_partner_id", using: :btree | |
add_index "skips", ["user_id"], name: "index_skips_on_user_id", using: :btree |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment