mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-03 00:47:53 +00:00
32a9949559d37c3d088ca8bda0c0cd350f1727ea
storyteller-web
This is our main user account monolith that we'll also bake other pieces into.
Local development
Database migrations
To reset the entire database (drop, migrate), run:
diesel database reset
To migrate at the current step and beyond:
diesel migration run
To undo migrations at the current step:
diesel migration redo
TODO
- Make all "token" types correct
- Use correct collation for all tables
- Install indexes on all foreign keys
- Make sure unique indexes are correct
Notes / TODOs:
-
Examples for good Actix+Sqlx Tests: https://stackoverflow.com/questions/65370752/how-do-i-create-an-actix-web-server-that-accepts-both-sqlx-database-pools-and-tr
-
Actix/sqlx runtime compat: https://github.com/launchbadge/sqlx/issues/1117#issuecomment-801237734
Languages
Rust
59.4%
TypeScript
39.3%
JavaScript
0.7%
Python
0.3%
CSS
0.2%
Other
0.1%