chore: add pnpm workspace configuration with package definitions and overrides

This commit is contained in:
snoozescript
2026-08-14 23:35:45 +05:30
parent ae2cb896a6
commit bcb302ac7d
389 changed files with 65206 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
CREATE TABLE `member_gallery_photo` (
`id` text PRIMARY KEY NOT NULL,
`user_id` text NOT NULL,
`slot` integer NOT NULL,
`object_key` text NOT NULL,
`original_name` text NOT NULL,
`mime_type` text NOT NULL,
`size` integer NOT NULL,
`uploaded_by_user_id` text,
`created_at` integer DEFAULT (cast(unixepoch('subsecond') * 1000 as integer)) NOT NULL,
FOREIGN KEY (`user_id`) REFERENCES `user`(`id`) ON UPDATE no action ON DELETE cascade,
FOREIGN KEY (`uploaded_by_user_id`) REFERENCES `user`(`id`) ON UPDATE no action ON DELETE set null
);
--> statement-breakpoint
CREATE UNIQUE INDEX `member_gallery_photo_user_slot_uidx` ON `member_gallery_photo` (`user_id`,`slot`);--> statement-breakpoint
CREATE UNIQUE INDEX `member_gallery_photo_object_key_uidx` ON `member_gallery_photo` (`object_key`);--> statement-breakpoint
CREATE INDEX `member_gallery_photo_user_created_idx` ON `member_gallery_photo` (`user_id`,`created_at`);