|
11 | 11 | # It's strongly recommended that you check this file into your version control system. |
12 | 12 |
|
13 | 13 | ActiveRecord::Schema[7.0].define(version: 2023_05_26_212613) do |
14 | | - # These are extensions that must be enabled in order to support this database |
15 | | - enable_extension "plpgsql" |
16 | | - |
17 | 14 | create_table "account_contacts", force: :cascade do |t| |
18 | 15 | t.integer "account_id" |
19 | 16 | t.integer "contact_id" |
|
55 | 52 | t.index ["user_id", "name", "deleted_at"], name: "index_accounts_on_user_id_and_name_and_deleted_at", unique: true |
56 | 53 | end |
57 | 54 |
|
| 55 | + create_table "action_text_rich_texts", force: :cascade do |t| |
| 56 | + t.string "name", null: false |
| 57 | + t.text "body" |
| 58 | + t.string "record_type", null: false |
| 59 | + t.bigint "record_id", null: false |
| 60 | + t.datetime "created_at", null: false |
| 61 | + t.datetime "updated_at", null: false |
| 62 | + t.index ["record_type", "record_id", "name"], name: "index_action_text_rich_texts_uniqueness", unique: true |
| 63 | + end |
| 64 | + |
58 | 65 | create_table "active_storage_attachments", force: :cascade do |t| |
59 | 66 | t.string "name", null: false |
60 | 67 | t.string "record_type", null: false |
|
247 | 254 | t.text "collection" |
248 | 255 | t.boolean "disabled" |
249 | 256 | t.boolean "required" |
250 | | - t.integer "maxlength" |
| 257 | + t.integer "maxlength", limit: 4 |
251 | 258 | t.datetime "created_at", precision: nil |
252 | 259 | t.datetime "updated_at", precision: nil |
253 | 260 | t.integer "pair_id" |
254 | 261 | t.text "settings" |
255 | | - t.integer "minlength", default: 0 |
| 262 | + t.integer "minlength", limit: 4, default: 0 |
256 | 263 | t.string "pattern" |
257 | 264 | t.string "autofocus" |
258 | 265 | t.string "autocomplete" |
|
417 | 424 |
|
418 | 425 | create_table "users", force: :cascade do |t| |
419 | 426 | t.string "username", limit: 32, default: "", null: false |
420 | | - t.string "email", limit: 254, default: "", null: false |
| 427 | + t.string "email", limit: 254 |
421 | 428 | t.string "first_name", limit: 32 |
422 | 429 | t.string "last_name", limit: 32 |
423 | 430 | t.string "title", limit: 64 |
|
448 | 455 | t.datetime "remember_created_at", precision: nil |
449 | 456 | t.string "authentication_token" |
450 | 457 | t.string "confirmation_token", limit: 255 |
451 | | - t.datetime "confirmed_at", precision: nil |
452 | | - t.datetime "confirmation_sent_at", precision: nil |
| 458 | + t.datetime "confirmed_at" |
| 459 | + t.datetime "confirmation_sent_at" |
453 | 460 | t.index ["authentication_token"], name: "index_users_on_authentication_token", unique: true |
454 | 461 | t.index ["confirmation_token"], name: "index_users_on_confirmation_token", unique: true |
455 | 462 | t.index ["email"], name: "index_users_on_email" |
|
461 | 468 | create_table "versions", force: :cascade do |t| |
462 | 469 | t.string "item_type", null: false |
463 | 470 | t.integer "item_id", null: false |
464 | | - t.string "event", limit: 512, null: false |
| 471 | + t.string "event", limit: 512 |
465 | 472 | t.string "whodunnit" |
466 | 473 | t.text "object" |
467 | 474 | t.datetime "created_at", precision: nil |
|
0 commit comments