Commit Graph

10 Commits

Author SHA1 Message Date
a8e80ed19d [main] fix startup when there's no db 2026-07-29 18:37:34 +02:00
3f20cdeed9 just_found_out_about_linters (#17)
This changed a bunch of code but no

Reviewed-on: #17
Co-authored-by: ahtlon <git@ahtlon.de>
Co-committed-by: ahtlon <git@ahtlon.de>
2026-07-29 02:46:50 +02:00
683cd9a545 [main.py] move settings stuff into its own import
also correct imports to use app namespace
2026-07-29 01:24:22 +02:00
54c7fe1ed2 [alembic] automaticly stamp new database with the "head" tag so migrations are easier.
also fix nix develop due to multiple top level folders
2026-07-28 16:14:33 +02:00
3d1893d84e Fix door check db session 2026-05-23 17:32:28 +02:00
f5a5cb378e Create and use get_session, add_and_refresh function 2026-04-25 14:51:35 +02:00
ab222533ed Make db creation a explicit on startup instead of import 2026-04-24 15:30:44 +02:00
22e57996c2 Finish sqlmodel migration
- merge card.py, user.py and dbmodels.py into models.py
- deduplicate
- change responsemodels in the manager functions
- correct inports
2026-04-23 22:41:48 +02:00
287235243a switch orm to sqlmodel 2026-04-18 23:40:44 +02:00
1434d6f541 change structure to make package build 2026-04-15 10:04:23 +02:00