Commit graph

5 commits

Author SHA1 Message Date
justcool393
e040ed6708 Upgrade to SQLAlchemy 2.0
This has exposed an interesting amount of bugs and stopped throwing type errors every 5 seconds

It's worth noting that not all models are fully typed, that is, we
have `Mapped[Any]` in some places where a narrower type would be nice.

Upgrading to SQLA2 we don't *need* this, but it is helpful and
makes error checking reliable.
2023-08-09 02:27:55 -05:00
Viet Than
53c78c4536
🏦 Database Change: convert created utc to datetimez for usernotes (#669) 2023-08-02 21:46:48 -05:00
Ben Rog-Wilhelm
5271e7c943 Move 'deleted_utc' into 'state_user_deleted_utc' and change types. 2023-06-23 21:30:19 -05:00
Ben Rog-Wilhelm
94309ed257 Move tabulate import into local functions. 2023-04-30 02:14:55 -05:00
Ben Rog-Wilhelm
9d264dcf3a Implement mod-viewable janitor-generated badness stats. 2023-04-30 02:08:07 -05:00