Added foreign key support on every transaction - seems like that was necessary to properly cascade deletes.
Had to change UUID mixin to support python builtin uuids, for some reason hex serialization of UUIDs was not acceptable to sqlite (but works fine in Postgres).
Added repos and services for conversations and connections.
Refactored conversation business logic into repos, services, and routers.
Updated frontend to send conversation IDs as an integer instead of as a string.
Updated base repository functions to spell out UUID to accommodate the special model (conversations) which has an ID of integer.
Still lacking migrating messages, but that should be done later.
Closes #128 partially.
Added foreign key support on every transaction - seems like that was necessary to properly cascade deletes.
Had to change UUID mixin to support python builtin uuids, for some reason hex serialization of UUIDs was not acceptable to sqlite (but works fine in Postgres).
Added repos and services for conversations and connections.
Refactored conversation business logic into repos, services, and routers.
Updated frontend to send conversation IDs as an integer instead of as a string.
Updated base repository functions to spell out UUID to accommodate the special model (conversations) which has an ID of integer.
Still lacking migrating messages, but that should be done later.