11 lines
455 B
SQL
11 lines
455 B
SQL
/*
|
|
Warnings:
|
|
|
|
- Added the required column `refServiceId` to the `QuotationService` table without a default value. This is not possible if the table is not empty.
|
|
|
|
*/
|
|
-- AlterTable
|
|
ALTER TABLE "QuotationService" ADD COLUMN "refServiceId" TEXT NOT NULL;
|
|
|
|
-- AddForeignKey
|
|
ALTER TABLE "QuotationService" ADD CONSTRAINT "QuotationService_refServiceId_fkey" FOREIGN KEY ("refServiceId") REFERENCES "Service"("id") ON DELETE RESTRICT ON UPDATE CASCADE;
|