
controllers, repositories, services and associated tests for: Deed types, Deed, Document types, Users and Customers --------- Co-authored-by: Vincent Alamelle <vincent.alamelle@smart-chain.fr> Co-authored-by: OxSaitama <arnaud.daubernatali@smart-chain.fr>
9 lines
304 B
SQL
9 lines
304 B
SQL
-- DropForeignKey
|
|
ALTER TABLE "users" DROP CONSTRAINT "users_office_uuid_fkey";
|
|
|
|
-- DropIndex
|
|
DROP INDEX "deed_deed_type_uuid_key";
|
|
|
|
-- AddForeignKey
|
|
ALTER TABLE "users" ADD CONSTRAINT "users_office_uuid_fkey" FOREIGN KEY ("office_uuid") REFERENCES "offices"("uuid") ON DELETE CASCADE ON UPDATE CASCADE;
|