Complete tasks 3.2-3.3: Data models and DynamoDB table schemas

- Defined all 8 data models (Page, Widget, Bookmark, Note, TagAssociation, Group, Share, Preferences)
- Implemented DynamoDB table creation for all tables with proper schemas
- Added GSIs for efficient querying (UserBookmarksIndex, UserNotesIndex, TagItemsIndex, UserSharesIndex)
- Comprehensive test coverage for all table schemas
- Updated init-db command to create all tables
This commit is contained in:
2026-02-18 22:55:06 -05:00
parent 7175ff14ba
commit 9f07b0c6f9
13 changed files with 1363 additions and 6 deletions

View File

@@ -81,7 +81,7 @@ Each task references specific requirements from the requirements document and in
- Implement batch operations (BatchGet, BatchWrite)
- _Requirements: 8.1, 8.8_
- [~] 3.2 Define all data models
- [x] 3.2 Define all data models
- Create Page model struct
- Create Widget model struct with type enum
- Create Bookmark model struct with version field
@@ -92,7 +92,7 @@ Each task references specific requirements from the requirements document and in
- Create Preferences model struct
- _Requirements: 2.1, 4.2, 5.2, 8.3, 8.4, 8.5_
- [~] 3.3 Create DynamoDB table schemas
- [x] 3.3 Create DynamoDB table schemas
- Implement Pages table creation with composite key
- Implement Widgets table creation
- Implement Bookmarks table creation with UserBookmarksIndex GSI