You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* feat: add user_canvases table and related functionality
- Created a new table "user_canvases" to store user-specific canvas data including scale, x, and y coordinates.
- Implemented row-level security and foreign key constraints for user and canvas references.
- Added migration to copy existing canvas data to the new user_canvases table.
- Updated project and canvas routers to handle user canvas retrieval and updates.
- Introduced utility functions for creating default user canvas entries.
- Adjusted relevant components to utilize user canvas data instead of general canvas data.
* feat: add project invitations and roles
- Introduced a new "project_invitations" table with fields for inviter, invitee, status, role, and expiration.
- Created ENUM types for "invitation_status" and "project_role".
- Updated "user_projects" to include a role field and set default values for existing records.
- Added foreign key constraints for project and user references in invitations.
- Implemented row-level security for the new invitations table.
- Updated relevant schemas and seed data to accommodate new functionality.
0 commit comments