Dropped company email column, made link and description optional

This commit is contained in:
Om Lanke
2025-09-22 20:01:32 +05:30
parent 425475c027
commit 4e2bd94227
7 changed files with 1628 additions and 22 deletions

View File

@@ -0,0 +1,7 @@
ALTER TABLE "companies" ALTER COLUMN "link" DROP NOT NULL;--> statement-breakpoint
ALTER TABLE "students" ADD COLUMN "mothersEmail" text;--> statement-breakpoint
ALTER TABLE "students" ADD COLUMN "mothersPhone" varchar(10);--> statement-breakpoint
ALTER TABLE "students" ADD COLUMN "fathersName" varchar(255);--> statement-breakpoint
ALTER TABLE "students" ADD COLUMN "fathersEmail" text;--> statement-breakpoint
ALTER TABLE "students" ADD COLUMN "fathersPhone" varchar(10);--> statement-breakpoint
ALTER TABLE "companies" DROP COLUMN "email";