Commit Graph

7 Commits

Author SHA1 Message Date
dal 4730b78284
commit up update user 2025-03-04 13:09:54 -07:00
dal dc0c316051
update to db and new seed. 2025-03-04 11:51:05 -07:00
dal e5f25a6356
some updates to better align with types 2025-03-04 10:47:16 -07:00
dal 6604b9789e
updates for chats instead of threads 2025-02-28 09:41:44 -07:00
dal 51b6d00159
message fkey error still propagating. 2025-02-14 08:32:06 -07:00
dal 22d75ae0b6
refactor: Update messages table schema and database references
- Renamed existing messages table to `messages_deprecated`
- Created new `messages` table with updated schema and additional indexes
- Updated Diesel schema to reflect new table structure and relationships
- Added new foreign key constraints for threads and users
- Prepared for migration of existing message data
2025-01-28 12:03:11 -07:00
dal 9624bc33ad
feat: Add file junction table and update database schema
- Created `messages_to_files` junction table to link messages with dashboard and metric files
- Added foreign key constraints and indexes for efficient file-message relationships
- Updated Diesel schema to include new `messages_to_files`, `dashboard_files`, and `metric_files` tables
- Removed unnecessary timestamp triggers from migration files
2025-01-28 11:21:51 -07:00