feat(forklifts): added backend forklift stuff and frontend companies
This commit is contained in:
4
migrations/0032_eminent_james_howlett.sql
Normal file
4
migrations/0032_eminent_james_howlett.sql
Normal file
@@ -0,0 +1,4 @@
|
||||
ALTER TABLE "forklifts" DROP CONSTRAINT "forklifts_plant_serverData_server_id_fk";
|
||||
--> statement-breakpoint
|
||||
ALTER TABLE "serverData" ADD CONSTRAINT "serverData_name_unique" UNIQUE("name");
|
||||
ALTER TABLE "forklifts" ADD CONSTRAINT "forklifts_plant_serverData_name_fk" FOREIGN KEY ("plant") REFERENCES "public"."serverData"("name") ON DELETE set null ON UPDATE no action;--> statement-breakpoint
|
||||
Reference in New Issue
Block a user