Skip to content

Commit 1738a24

Browse files
authored
Bunch of QOL improvements (#202)
This PR introduces several quality of life (QOL) improvements to enhance code maintainability and efficiency. ## Database Schema Adjustments: Removed Columns: - max_attendees from events table. (We'll handle it with ticket amounts) - payment_status from user_tickets table. (it's passed through from the OC) Eliminated redundant checks to streamline logic. We don't create by default OCs in approved status. Defaulting on fetcher sorting logic to work with dataloaders.
1 parent 7ab9e8b commit 1738a24

27 files changed

Lines changed: 2455 additions & 204 deletions
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
ALTER TABLE "events" DROP COLUMN IF EXISTS "max_attendees";--> statement-breakpoint
2+
ALTER TABLE "user_tickets" DROP COLUMN IF EXISTS "payment_status";

0 commit comments

Comments
 (0)