From 87633111a25460db3150f24116e91d3f4c9509ff Mon Sep 17 00:00:00 2001 From: natdeanlewissoftwire <94526761+natdeanlewissoftwire@users.noreply.github.com> Date: Wed, 10 Aug 2022 17:04:56 +0100 Subject: [PATCH] Update remote schema.rb with migrations, main features for this ticket still incoming (#827) --- db/schema.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/db/schema.rb b/db/schema.rb index aa7304022..0baafd421 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -383,6 +383,7 @@ ActiveRecord::Schema[7.0].define(version: 2022_08_02_125711) do add_foreign_key "case_logs", "organisations", column: "owning_organisation_id", on_delete: :cascade add_foreign_key "case_logs", "schemes" add_foreign_key "locations", "schemes" + add_foreign_key "schemes", "organisations", column: "managing_organisation_id" add_foreign_key "schemes", "organisations", column: "owning_organisation_id", on_delete: :cascade add_foreign_key "users", "organisations", on_delete: :cascade end