mirror of
https://github.com/Hestia-Homes/assessment-model.git
synced 2026-06-08 11:37:25 +00:00
adding index to allow multiple organidations to be mapped to a project
This commit is contained in:
parent
0eec1d8499
commit
7b45aa669d
3 changed files with 9397 additions and 0 deletions
2
src/app/db/migrations/0197_bumpy_firebird.sql
Normal file
2
src/app/db/migrations/0197_bumpy_firebird.sql
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
ALTER TABLE "portfolio_organisation" DROP CONSTRAINT "portfolio_organisation_portfolio_id_unique";--> statement-breakpoint
|
||||
ALTER TABLE "portfolio_organisation" ADD CONSTRAINT "portfolio_organisation_portfolio_id_organisation_id_unique" UNIQUE("portfolio_id","organisation_id");
|
||||
9381
src/app/db/migrations/meta/0197_snapshot.json
Normal file
9381
src/app/db/migrations/meta/0197_snapshot.json
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -1373,6 +1373,20 @@
|
|||
"when": 1778078457355,
|
||||
"tag": "0195_jittery_harry_osborn",
|
||||
"breakpoints": true
|
||||
},
|
||||
{
|
||||
"idx": 196,
|
||||
"version": "7",
|
||||
"when": 1778144686568,
|
||||
"tag": "0196_fantastic_bastion",
|
||||
"breakpoints": true
|
||||
},
|
||||
{
|
||||
"idx": 197,
|
||||
"version": "7",
|
||||
"when": 1778157212969,
|
||||
"tag": "0197_bumpy_firebird",
|
||||
"breakpoints": true
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue