7 Commits (ac6d756acb8ebec5f75ec7db529474e743c3b31b)

Author SHA1 Message Date
anna ac6d756acb
use newtypes for clear and hashed passwords 1 year ago
anna 4be3bdda0c
add public/private keys for users 1 year ago
anna a0d2dc4151
refactor model IDs to use safe types
This is a major refactor that introduces a new
generic type Id<T, I> for tagging any ID with the
model they reference without any runtime overhead.
From now on, it should be pretty much impossible
to pass e.g. a note ID to a function that expects,
say, an account ID.

Furthermore, the follow and like tables have been
simplified to use the two IDs that define the
relationship as a composite primary key.

Finally, likes now have a memory cache.
1 year ago
anna 8ea3ebda54
data: add in-memory cache 1 year ago
anna 776cbe6d52
add even more fields to user schema 1 year ago
anna 81be3b4e7b
rewrite Into<Id> as From<T> 1 year ago
anna 50dab32391
add users table 1 year ago