mirror of
https://github.com/Hestia-Homes/assessment-model.git
synced 2026-06-30 12:55:02 +00:00
Merge pull request #267 from Hestia-Homes/feature/magicplan-tables
Some checks are pending
Test Suite / unit-tests (push) Waiting to run
Some checks are pending
Test Suite / unit-tests (push) Waiting to run
Make magicplan uid column unique
This commit is contained in:
commit
4460795fca
4 changed files with 9406 additions and 1 deletions
1
src/app/db/migrations/0200_new_beast.sql
Normal file
1
src/app/db/migrations/0200_new_beast.sql
Normal file
|
|
@ -0,0 +1 @@
|
|||
ALTER TABLE "magic_plan_plan" ADD CONSTRAINT "magic_plan_plan_magic_plan_uid_unique" UNIQUE("magic_plan_uid");
|
||||
9397
src/app/db/migrations/meta/0200_snapshot.json
Normal file
9397
src/app/db/migrations/meta/0200_snapshot.json
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -1401,6 +1401,13 @@
|
|||
"when": 1778249728162,
|
||||
"tag": "0199_rich_mandroid",
|
||||
"breakpoints": true
|
||||
},
|
||||
{
|
||||
"idx": 200,
|
||||
"version": "7",
|
||||
"when": 1778600522440,
|
||||
"tag": "0200_new_beast",
|
||||
"breakpoints": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -7,6 +7,6 @@ export const magicPlanPlan = pgTable(
|
|||
name: text("name"),
|
||||
address: text("address"),
|
||||
postcode: text("postcode"),
|
||||
magicPlanUid: text("magic_plan_uid"),
|
||||
magicPlanUid: text("magic_plan_uid").unique(),
|
||||
},
|
||||
);
|
||||
Loading…
Add table
Reference in a new issue