5643677627
Consolidate dice and variable parsers under parser module.
de63fd914e
Move commands.rs to commands/mod.rs; move migrate_cli.rs.
e73ad118b2
Move some declaration-only modules to mod.rs files in folders.
3d5cda39c8
Consolidate dice module into logic module.
402f236ba7
Remove sled and all related crates from dependencies.
059538b95d
Remove remaining warnings.
4de273db4a
Remove sled code; promote sql to top level
Convert to SQLx and SQLite
5630b4ed20
Add sled migration utility.
6b6be06c89
Update sqlx offline json.
a3b39ee42c
Use ON CONFLICT and transactions where appropriate.
7eee16961e
Add tests for dbstate.
43d8f9574f
Allow 'upserts' in insert_room_info. Add a few more room db tests.
Convert to SQLx and SQLite
Convert to SQLx and SQLite
This PR is complete as-is, and the main database has been migrated to sqlite. The next step after the dicebot is running properly on sqlite will be to do some final cleanup bits:
- Remove Sled and…
7eee16961e
Add tests for dbstate.
43d8f9574f
Allow 'upserts' in insert_room_info. Add a few more room db tests.
e539dcac1f
Move migrations to sqlite directory. Remove in-memory temp db until refinery supports sqlx.