the Scheama
ActiveRecord::Schema.define(version: 2020_05_28_102844) do
create_table "access_tokens", force: :cascade do |t|
t.string "token", null: false
t.integer "user_id", null: false
t.datetime "created_at", precision: 6, null: false
t.datetime "updated_at", precision: 6, null: false
t.index ["user_id"], name: "index_access_tokens_on_user_id"
end
create_table "articles", force: :cascade do |t|
t.string "title"
t.text "content"
t.string "slug"
t.datetime "created_at", precision: 6, null: false
t.datetime "updated_at", precision: 6, null: false
end
create_table "users", force: :cascade do |t|
t.string "login", null: false
t.string "name"
t.string "url"
t.string "avatar_url"
t.string "provider"
t.datetime "created_at", precision: 6, null: false
t.datetime "updated_at", precision: 6, null: false
end
add_foreign_key "access_tokens", "users"
end