|
10 | 10 | # |
11 | 11 | # It's strongly recommended that you check this file into your version control system. |
12 | 12 |
|
13 | | -ActiveRecord::Schema[7.1].define(version: 2025_06_04_195946) do |
| 13 | +ActiveRecord::Schema[7.1].define(version: 2025_06_05_204408) do |
14 | 14 | # These are extensions that must be enabled in order to support this database |
15 | 15 | enable_extension "pgcrypto" |
16 | 16 | enable_extension "plpgsql" |
|
68 | 68 | t.string "state_province_name" |
69 | 69 | t.string "postal_code" |
70 | 70 | t.string "country_name" |
71 | | - t.string "privacy", limit: 50, default: "unlisted", null: false |
| 71 | + t.string "privacy", limit: 50, default: "private", null: false |
72 | 72 | t.uuid "contact_detail_id" |
73 | 73 | t.boolean "primary_flag", default: false, null: false |
74 | 74 | t.index ["contact_detail_id", "primary_flag"], name: "index_bt_addresses_on_contact_detail_id_and_primary", unique: true, where: "(primary_flag IS TRUE)" |
|
189 | 189 | t.string "identifier", limit: 100, null: false |
190 | 190 | t.boolean "host", default: false, null: false |
191 | 191 | t.boolean "protected", default: false, null: false |
192 | | - t.string "privacy", limit: 50, default: "public", null: false |
| 192 | + t.string "privacy", limit: 50, default: "private", null: false |
193 | 193 | t.string "slug" |
194 | 194 | t.uuid "creator_id" |
195 | 195 | t.string "type", default: "BetterTogether::Community", null: false |
|
227 | 227 | t.jsonb "media_settings", default: {}, null: false |
228 | 228 | t.jsonb "content_data", default: {} |
229 | 229 | t.uuid "creator_id" |
230 | | - t.string "privacy", limit: 50, default: "unlisted", null: false |
| 230 | + t.string "privacy", limit: 50, default: "private", null: false |
231 | 231 | t.boolean "visible", default: true, null: false |
232 | 232 | t.jsonb "content_area_settings", default: {}, null: false |
233 | 233 | t.index ["creator_id"], name: "by_better_together_content_blocks_creator" |
|
282 | 282 | t.datetime "updated_at", null: false |
283 | 283 | t.string "email", null: false |
284 | 284 | t.string "label", null: false |
285 | | - t.string "privacy", limit: 50, default: "unlisted", null: false |
| 285 | + t.string "privacy", limit: 50, default: "private", null: false |
286 | 286 | t.uuid "contact_detail_id", null: false |
287 | 287 | t.boolean "primary_flag", default: false, null: false |
288 | 288 | t.index ["contact_detail_id", "primary_flag"], name: "index_bt_email_addresses_on_contact_detail_id_and_primary", unique: true, where: "(primary_flag IS TRUE)" |
|
765 | 765 | t.text "meta_description" |
766 | 766 | t.string "keywords" |
767 | 767 | t.datetime "published_at" |
768 | | - t.string "privacy", default: "public", null: false |
| 768 | + t.string "privacy", default: "private", null: false |
769 | 769 | t.string "layout" |
770 | 770 | t.string "template" |
771 | 771 | t.uuid "sidebar_nav_id" |
|
784 | 784 | t.string "slug" |
785 | 785 | t.uuid "community_id", null: false |
786 | 786 | t.jsonb "preferences", default: {}, null: false |
787 | | - t.string "privacy", limit: 50, default: "unlisted", null: false |
| 787 | + t.string "privacy", limit: 50, default: "private", null: false |
788 | 788 | t.index ["community_id"], name: "by_person_community" |
789 | 789 | t.index ["identifier"], name: "index_better_together_people_on_identifier", unique: true |
790 | 790 | t.index ["privacy"], name: "by_better_together_people_privacy" |
|
823 | 823 | t.datetime "updated_at", null: false |
824 | 824 | t.string "number", null: false |
825 | 825 | t.string "label", null: false |
826 | | - t.string "privacy", limit: 50, default: "unlisted", null: false |
| 826 | + t.string "privacy", limit: 50, default: "private", null: false |
827 | 827 | t.uuid "contact_detail_id", null: false |
828 | 828 | t.boolean "primary_flag", default: false, null: false |
829 | 829 | t.index ["contact_detail_id", "primary_flag"], name: "index_bt_phone_numbers_on_contact_detail_id_and_primary", unique: true, where: "(primary_flag IS TRUE)" |
|
889 | 889 | t.string "identifier", limit: 100, null: false |
890 | 890 | t.boolean "host", default: false, null: false |
891 | 891 | t.boolean "protected", default: false, null: false |
892 | | - t.string "privacy", limit: 50, default: "public", null: false |
| 892 | + t.string "privacy", limit: 50, default: "private", null: false |
893 | 893 | t.string "slug" |
894 | 894 | t.uuid "community_id" |
895 | 895 | t.string "url", null: false |
|
968 | 968 | t.string "platform", null: false |
969 | 969 | t.string "handle", null: false |
970 | 970 | t.string "url" |
971 | | - t.string "privacy", limit: 50, default: "public", null: false |
| 971 | + t.string "privacy", limit: 50, default: "private", null: false |
972 | 972 | t.uuid "contact_detail_id", null: false |
973 | 973 | t.index ["contact_detail_id", "platform"], name: "index_bt_sma_on_contact_detail_and_platform", unique: true |
974 | 974 | t.index ["contact_detail_id"], name: "idx_on_contact_detail_id_6380b64b3b" |
|
1021 | 1021 | t.datetime "updated_at", null: false |
1022 | 1022 | t.string "url", null: false |
1023 | 1023 | t.string "label", null: false |
1024 | | - t.string "privacy", limit: 50, default: "unlisted", null: false |
| 1024 | + t.string "privacy", limit: 50, default: "private", null: false |
1025 | 1025 | t.uuid "contact_detail_id", null: false |
1026 | 1026 | t.index ["contact_detail_id"], name: "index_better_together_website_links_on_contact_detail_id" |
1027 | 1027 | t.index ["privacy"], name: "by_better_together_website_links_privacy" |
|
0 commit comments