|
10 | 10 | # |
11 | 11 | # It's strongly recommended that you check this file into your version control system. |
12 | 12 |
|
13 | | -ActiveRecord::Schema.define(version: 2020_11_19_010515) do |
| 13 | +ActiveRecord::Schema.define(version: 2020_12_21_082655) do |
14 | 14 |
|
15 | 15 | # These are extensions that must be enabled in order to support this database |
16 | 16 | enable_extension "plpgsql" |
|
37 | 37 | t.index ["provider", "uid"], name: "index_authorizations_on_provider_and_uid" |
38 | 38 | end |
39 | 39 |
|
| 40 | + create_table "commentable_pages", force: :cascade do |t| |
| 41 | + t.string "name" |
| 42 | + t.integer "user_id" |
| 43 | + t.integer "comments_count", default: 0, null: false |
| 44 | + t.datetime "created_at", precision: 6, null: false |
| 45 | + t.datetime "updated_at", precision: 6, null: false |
| 46 | + end |
| 47 | + |
40 | 48 | create_table "comments", id: :serial, force: :cascade do |t| |
41 | 49 | t.text "body", null: false |
42 | 50 | t.integer "user_id", null: false |
|
75 | 83 | t.index ["name"], name: "index_locations_on_name" |
76 | 84 | end |
77 | 85 |
|
| 86 | + create_table "monkeys", force: :cascade do |t| |
| 87 | + t.string "name" |
| 88 | + t.integer "user_id" |
| 89 | + t.integer "comments_count" |
| 90 | + t.datetime "created_at", precision: 6, null: false |
| 91 | + t.datetime "updated_at", precision: 6, null: false |
| 92 | + end |
| 93 | + |
78 | 94 | create_table "nodes", id: :serial, force: :cascade do |t| |
79 | 95 | t.string "name", null: false |
80 | 96 | t.string "summary" |
|
283 | 299 | t.index ["user_id"], name: "index_team_users_on_user_id" |
284 | 300 | end |
285 | 301 |
|
| 302 | + create_table "test_documents", force: :cascade do |t| |
| 303 | + t.integer "user_id" |
| 304 | + t.integer "reply_to_id" |
| 305 | + t.integer "mentioned_user_ids", default: [], array: true |
| 306 | + t.text "body" |
| 307 | + t.datetime "created_at", precision: 6, null: false |
| 308 | + t.datetime "updated_at", precision: 6, null: false |
| 309 | + end |
| 310 | + |
286 | 311 | create_table "topics", id: :serial, force: :cascade do |t| |
287 | 312 | t.integer "user_id", null: false |
288 | 313 | t.integer "node_id", null: false |
|
362 | 387 | t.string "perishable_token", default: "", null: false |
363 | 388 | t.integer "topics_count", default: 0, null: false |
364 | 389 | t.integer "replies_count", default: 0, null: false |
365 | | - t.integer "follower_ids", default: [], array: true |
366 | 390 | t.string "type", limit: 20 |
367 | 391 | t.integer "failed_attempts", default: 0, null: false |
368 | 392 | t.string "unlock_token" |
|
378 | 402 | t.index ["unlock_token"], name: "index_users_on_unlock_token", unique: true |
379 | 403 | end |
380 | 404 |
|
| 405 | + create_table "walking_deads", force: :cascade do |t| |
| 406 | + t.string "name" |
| 407 | + t.string "tag" |
| 408 | + t.datetime "deleted_at" |
| 409 | + t.datetime "created_at", precision: 6, null: false |
| 410 | + t.datetime "updated_at", precision: 6, null: false |
| 411 | + end |
| 412 | + |
381 | 413 | end |
0 commit comments