mirror of
https://github.com/versia-pub/server.git
synced 2026-04-27 20:59:15 +02:00
refactor: ♻️ Rewrite build system to fit the monorepo architecture
This commit is contained in:
parent
7de4b573e3
commit
90b6399407
217 changed files with 2143 additions and 1858 deletions
7
packages/kit/tables/migrations/0022_curly_the_call.sql
Normal file
7
packages/kit/tables/migrations/0022_curly_the_call.sql
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
ALTER TABLE "Emojis" ADD COLUMN "ownerId" uuid;--> statement-breakpoint
|
||||
ALTER TABLE "Emojis" ADD COLUMN "category" text;--> statement-breakpoint
|
||||
DO $$ BEGIN
|
||||
ALTER TABLE "Emojis" ADD CONSTRAINT "Emojis_ownerId_Users_id_fk" FOREIGN KEY ("ownerId") REFERENCES "public"."Users"("id") ON DELETE cascade ON UPDATE cascade;
|
||||
EXCEPTION
|
||||
WHEN duplicate_object THEN null;
|
||||
END $$;
|
||||
Loading…
Add table
Add a link
Reference in a new issue