Skip to content

Commit

Permalink
fix schema
Browse files Browse the repository at this point in the history
  • Loading branch information
kara22 committed Aug 28, 2024
1 parent 78df115 commit f66ed79
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.

ActiveRecord::Schema[7.0].define(version: 2024_07_30_130933) do
ActiveRecord::Schema[7.0].define(version: 2024_08_26_130121) do
# These are extensions that must be enabled in order to support this database
enable_extension "pg_buffercache"
enable_extension "pg_stat_statements"
Expand Down Expand Up @@ -1098,7 +1098,7 @@
t.index ["unlock_token"], name: "index_super_admins_on_unlock_token", unique: true
end

create_table "targeted_user_links", id: :uuid, default: -> { "public.gen_random_uuid()" }, force: :cascade do |t|
create_table "targeted_user_links", id: :uuid, default: -> { "gen_random_uuid()" }, force: :cascade do |t|
t.datetime "created_at", null: false
t.string "target_context", null: false
t.bigint "target_model_id", null: false
Expand Down Expand Up @@ -1143,12 +1143,18 @@
t.text "description"
t.string "libelle"
t.boolean "mandatory", default: true
t.boolean "migrated_parent"
t.jsonb "options"
t.integer "order_place"
t.bigint "parent_id"
t.boolean "private", default: false, null: false
t.bigint "revision_id"
t.bigint "stable_id"
t.string "type_champ"
t.datetime "updated_at", precision: nil
t.index ["parent_id"], name: "index_types_de_champ_on_parent_id"
t.index ["private"], name: "index_types_de_champ_on_private"
t.index ["revision_id"], name: "index_types_de_champ_on_revision_id"
t.index ["stable_id"], name: "index_types_de_champ_on_stable_id"
end

Expand Down Expand Up @@ -1239,8 +1245,6 @@
add_foreign_key "bulk_messages", "procedures"
add_foreign_key "champs", "champs", column: "parent_id"
add_foreign_key "champs", "dossiers"
add_foreign_key "champs", "etablissements"
add_foreign_key "champs", "types_de_champ"
add_foreign_key "closed_mails", "procedures"
add_foreign_key "commentaires", "dossiers"
add_foreign_key "commentaires", "experts"
Expand All @@ -1260,7 +1264,6 @@
add_foreign_key "dossiers", "groupe_instructeurs"
add_foreign_key "dossiers", "procedure_revisions", column: "revision_id"
add_foreign_key "dossiers", "users"
add_foreign_key "etablissements", "dossiers"
add_foreign_key "experts", "users"
add_foreign_key "experts_procedures", "experts"
add_foreign_key "experts_procedures", "procedures"
Expand Down Expand Up @@ -1290,6 +1293,8 @@
add_foreign_key "targeted_user_links", "users"
add_foreign_key "traitements", "dossiers"
add_foreign_key "trusted_device_tokens", "instructeurs"
add_foreign_key "types_de_champ", "procedure_revisions", column: "revision_id"
add_foreign_key "types_de_champ", "types_de_champ", column: "parent_id"
add_foreign_key "users", "users", column: "requested_merge_into_id"
add_foreign_key "without_continuation_mails", "procedures"
add_foreign_key "zone_labels", "zones"
Expand Down

0 comments on commit f66ed79

Please sign in to comment.