diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2023-11-30 13:29:08 -0500 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2023-11-30 13:29:08 -0500 |
commit | 0929719a845897cc8567cf972e07a69a71f0fa6f (patch) | |
tree | 2b6f69c1d906abb6e0abf8a0f1d51725bc78087d /db/schema.rb | |
parent | 01c1947537e4e23ded0c16812a7cd9d49ad88356 (diff) | |
download | wittle-0929719a845897cc8567cf972e07a69a71f0fa6f.tar.gz wittle-0929719a845897cc8567cf972e07a69a71f0fa6f.tar.bz2 wittle-0929719a845897cc8567cf972e07a69a71f0fa6f.zip |
Migrate to a full rails app
Diffstat (limited to 'db/schema.rb')
-rw-r--r-- | db/schema.rb | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/db/schema.rb b/db/schema.rb new file mode 100644 index 0000000..73725c5 --- /dev/null +++ b/db/schema.rb | |||
@@ -0,0 +1,32 @@ | |||
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 | |||
13 | ActiveRecord::Schema[7.1].define(version: 2023_11_30_173513) do | ||
14 | create_table "puzzles", force: :cascade do |t| | ||
15 | t.text "data" | ||
16 | t.text "solved_data" | ||
17 | t.string "category" | ||
18 | t.datetime "created_at", null: false | ||
19 | t.datetime "updated_at", null: false | ||
20 | end | ||
21 | |||
22 | create_table "scores", force: :cascade do |t| | ||
23 | t.integer "puzzle_id", null: false | ||
24 | t.string "name" | ||
25 | t.string "ip" | ||
26 | t.integer "seconds_taken" | ||
27 | t.datetime "created_at", null: false | ||
28 | t.datetime "updated_at", null: false | ||
29 | t.index ["puzzle_id"], name: "index_scores_on_puzzle_id" | ||
30 | end | ||
31 | |||
32 | end | ||