|
10 | 10 | # |
11 | 11 | # It's strongly recommended that you check this file into your version control system. |
12 | 12 |
|
13 | | -ActiveRecord::Schema[7.0].define(version: 2025_02_18_204807) do |
| 13 | +ActiveRecord::Schema[7.0].define(version: 2025_03_14_221852) do |
14 | 14 | # These are extensions that must be enabled in order to support this database |
15 | 15 | enable_extension "plpgsql" |
16 | 16 |
|
|
39 | 39 | t.string "content_type" |
40 | 40 | t.text "metadata" |
41 | 41 | t.bigint "byte_size", null: false |
42 | | - t.string "checksum", null: false |
| 42 | + t.string "checksum" |
43 | 43 | t.datetime "created_at", precision: nil, null: false |
44 | 44 | t.string "service_name", null: false |
45 | 45 | t.index ["key"], name: "index_active_storage_blobs_on_key", unique: true |
|
229 | 229 | t.datetime "updated_at", precision: nil, null: false |
230 | 230 | t.boolean "completed", default: false, null: false |
231 | 231 | t.integer "lock_version" |
232 | | - t.index ["form_id", "user_id"], name: "index_form_responses_on_form_id_and_user_id", unique: true |
| 232 | + t.index ["form_id", "user_id"], name: "index_form_responses_on_form_id_and_user_id_partial", unique: true, where: "(user_id <> 0)" |
233 | 233 | t.index ["user_id"], name: "index_form_responses_on_user_id" |
234 | 234 | end |
235 | 235 |
|
|
411 | 411 | t.datetime "created_at", precision: nil, null: false |
412 | 412 | t.datetime "updated_at", precision: nil, null: false |
413 | 413 | t.datetime "deleted_at", precision: nil |
414 | | - t.boolean "publicly_visible", default: false, null: false |
415 | 414 | t.bigint "author_id" |
416 | 415 | t.bigint "group_id" |
| 416 | + t.string "visibility", default: "members" |
417 | 417 | t.index ["author_id"], name: "index_photo_albums_on_author_id" |
418 | 418 | t.index ["deleted_at"], name: "index_photo_albums_on_deleted_at" |
419 | 419 | t.index ["group_id"], name: "index_photo_albums_on_group_id" |
|
558 | 558 | t.string "almanak_subscription_preference", default: "physical" |
559 | 559 | t.string "digtus_subscription_preference", default: "physical" |
560 | 560 | t.string "user_details_sharing_preference" |
561 | | - t.boolean "allow_tomato_sharing", default: false, null: false |
562 | | - t.string "webdav_secret_key" |
| 561 | + t.boolean "allow_sofia_sharing", default: false, null: false |
563 | 562 | t.string "nickname" |
564 | 563 | t.boolean "trailer_drivers_license", default: false, null: false |
565 | 564 | t.boolean "setup_complete", default: false, null: false |
|
0 commit comments