|
10 | 10 | # |
11 | 11 | # It's strongly recommended that you check this file into your version control system. |
12 | 12 |
|
13 | | -ActiveRecord::Schema[7.2].define(version: 2025_11_20_160356) do |
| 13 | +ActiveRecord::Schema[7.2].define(version: 2025_11_25_142646) do |
14 | 14 | # These are extensions that must be enabled in order to support this database |
15 | 15 | enable_extension "pg_catalog.plpgsql" |
16 | 16 | enable_extension "pgcrypto" |
|
1007 | 1007 | t.string "layout" |
1008 | 1008 | t.string "template" |
1009 | 1009 | t.uuid "sidebar_nav_id" |
| 1010 | + t.uuid "creator_id" |
| 1011 | + t.index ["creator_id"], name: "index_better_together_pages_on_creator_id" |
1010 | 1012 | t.index ["identifier"], name: "index_better_together_pages_on_identifier", unique: true |
1011 | 1013 | t.index ["privacy"], name: "by_page_privacy" |
1012 | 1014 | t.index ["published_at"], name: "by_page_publication_date" |
|
1535 | 1537 | add_foreign_key "better_together_navigation_items", "better_together_navigation_areas", column: "navigation_area_id" |
1536 | 1538 | add_foreign_key "better_together_navigation_items", "better_together_navigation_items", column: "parent_id" |
1537 | 1539 | add_foreign_key "better_together_pages", "better_together_navigation_areas", column: "sidebar_nav_id" |
| 1540 | + add_foreign_key "better_together_pages", "better_together_people", column: "creator_id" |
1538 | 1541 | add_foreign_key "better_together_people", "better_together_communities", column: "community_id" |
1539 | 1542 | add_foreign_key "better_together_person_blocks", "better_together_people", column: "blocked_id" |
1540 | 1543 | add_foreign_key "better_together_person_blocks", "better_together_people", column: "blocker_id" |
|
0 commit comments