about summary refs log tree commit diff stats
path: root/db/schema.rb
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2023-10-12 17:10:34 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2023-10-12 17:10:34 -0400
commit835af696703484208882a70cc5dd47c5838ecf58 (patch)
tree8174d5b8c6f2486da56569bad361dd10aa1183f8 /db/schema.rb
parentb24e6f58a525fc576e23ef9d498745e64c16cd6c (diff)
downloadthoughts-835af696703484208882a70cc5dd47c5838ecf58.tar.gz
thoughts-835af696703484208882a70cc5dd47c5838ecf58.tar.bz2
thoughts-835af696703484208882a70cc5dd47c5838ecf58.zip
Added blog post commenting
Diffstat (limited to 'db/schema.rb')
-rw-r--r--db/schema.rb16
1 files changed, 15 insertions, 1 deletions
diff --git a/db/schema.rb b/db/schema.rb index 5b61408..2a9b1df 100644 --- a/db/schema.rb +++ b/db/schema.rb
@@ -10,7 +10,7 @@
10# 10#
11# It's strongly recommended that you check this file into your version control system. 11# It's strongly recommended that you check this file into your version control system.
12 12
13ActiveRecord::Schema[7.0].define(version: 2022_12_10_175109) do 13ActiveRecord::Schema[7.0].define(version: 2023_10_12_190529) do
14 create_table "audits", force: :cascade do |t| 14 create_table "audits", force: :cascade do |t|
15 t.integer "auditable_id" 15 t.integer "auditable_id"
16 t.string "auditable_type" 16 t.string "auditable_type"
@@ -56,6 +56,19 @@ ActiveRecord::Schema[7.0].define(version: 2022_12_10_175109) do
56 t.index ["type"], name: "index_ckeditor_assets_on_type" 56 t.index ["type"], name: "index_ckeditor_assets_on_type"
57 end 57 end
58 58
59 create_table "comments", force: :cascade do |t|
60 t.integer "blog_id", null: false
61 t.string "username"
62 t.string "email"
63 t.string "website"
64 t.text "body"
65 t.string "status"
66 t.datetime "published_at"
67 t.datetime "created_at", null: false
68 t.datetime "updated_at", null: false
69 t.index ["blog_id"], name: "index_comments_on_blog_id"
70 end
71
59 create_table "games", force: :cascade do |t| 72 create_table "games", force: :cascade do |t|
60 t.string "title" 73 t.string "title"
61 t.string "status" 74 t.string "status"
@@ -345,6 +358,7 @@ ActiveRecord::Schema[7.0].define(version: 2022_12_10_175109) do
345 t.index ["reset_password_token"], name: "index_users_on_reset_password_token", unique: true 358 t.index ["reset_password_token"], name: "index_users_on_reset_password_token", unique: true
346 end 359 end
347 360
361 add_foreign_key "comments", "blogs"
348 add_foreign_key "pokeviewer_items", "pokeviewer_moves", column: "move_id" 362 add_foreign_key "pokeviewer_items", "pokeviewer_moves", column: "move_id"
349 add_foreign_key "pokeviewer_pokedex_entries", "pokeviewer_species", column: "species_id" 363 add_foreign_key "pokeviewer_pokedex_entries", "pokeviewer_species", column: "species_id"
350 add_foreign_key "pokeviewer_pokedex_entries", "pokeviewer_trainers", column: "trainer_id" 364 add_foreign_key "pokeviewer_pokedex_entries", "pokeviewer_trainers", column: "trainer_id"