mirror of
https://github.com/chaitin/MonkeyCode.git
synced 2026-02-01 22:33:30 +08:00
- Added WorkspaceFileHandler for handling workspace file operations including create, update, delete, and list functionalities. - Introduced WorkspaceFileRepo for database interactions related to workspace files. - Created WorkspaceFileUsecase to encapsulate business logic for workspace file management. - Implemented API endpoints for workspace file operations with appropriate request and response structures. - Added database migrations for creating workspaces and workspace_files tables with necessary constraints and indexes. - Enhanced user authentication and authorization for workspace file operations.
6 lines
217 B
SQL
6 lines
217 B
SQL
-- Drop workspace_files table first (due to foreign key dependency)
|
|
DROP TABLE IF EXISTS workspace_files CASCADE;
|
|
|
|
-- Drop workspaces table and all its constraints and indexes
|
|
DROP TABLE IF EXISTS workspaces CASCADE;
|