main
 1# This file is auto-generated from the current state of the database. Instead
 2# of editing this file, please use the migrations feature of Active Record to
 3# incrementally modify your database, and then regenerate this schema definition.
 4#
 5# This file is the source Rails uses to define your schema when running `bin/rails
 6# db:schema:load`. When creating a new database, `bin/rails db:schema:load` tends to
 7# be faster and is potentially less error prone than running all of your
 8# migrations from scratch. Old migrations may fail to apply correctly if those
 9# migrations use external dependencies or application code.
10#
11# It's strongly recommended that you check this file into your version control system.
12
13ActiveRecord::Schema.define(version: 2021_05_06_021417) do
14
15  create_table "sparkles", force: :cascade do |t|
16    t.string "reason"
17    t.integer "sparkler_id", null: false
18    t.integer "sparklee_id", null: false
19    t.datetime "created_at", precision: 6, null: false
20    t.datetime "updated_at", precision: 6, null: false
21    t.index ["sparklee_id"], name: "index_sparkles_on_sparklee_id"
22    t.index ["sparkler_id"], name: "index_sparkles_on_sparkler_id"
23  end
24
25  create_table "users", force: :cascade do |t|
26    t.string "handle", null: false
27    t.datetime "created_at", precision: 6, null: false
28    t.datetime "updated_at", precision: 6, null: false
29    t.index ["handle"], name: "index_users_on_handle", unique: true
30  end
31
32end