feat: add puzzle component and image upload functionality
All checks were successful
Migrate supabase / migrate (push) Successful in 16s
All checks were successful
Migrate supabase / migrate (push) Successful in 16s
- Introduced a new Puzzle component for interactive puzzle gameplay. - Updated StepForm to include fields for puzzle image and number of pieces. - Implemented image upload handling in the server-side logic for steps. - Enhanced database schema to store image URLs and puzzle piece counts. - Added file upload utilities for managing uploaded images. - Created routes for serving uploaded images securely. - Updated game play routes to handle puzzle completion logic. - Improved error handling for image uploads and puzzle configurations.
This commit is contained in:
2
drizzle/0002_naive_loa.sql
Normal file
2
drizzle/0002_naive_loa.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
ALTER TABLE "step" ADD COLUMN "image_url" text;--> statement-breakpoint
|
||||
ALTER TABLE "step" ADD COLUMN "puzzle_pieces" integer;
|
||||
Reference in New Issue
Block a user