Commit Graph

36 Commits

Author SHA1 Message Date
6f4e5b0fa3 allow alembic to also connect with tls 2024-11-16 10:58:13 +07:00
5f3d62d84a fix: aiomysql only takes an SSLContext object 2024-11-16 09:31:52 +07:00
d7d3dbac59 properly support connecting with SSL on aiomysql 2024-11-16 09:14:44 +07:00
4df9edd551 fix on linux 2024-11-16 08:41:32 +07:00
789d50c406 use AsyncSession directly
see the warnings in https://docs.sqlalchemy.org/en/14/orm/extensions/asyncio.html#using-asyncio-scoped-session
2024-11-14 13:10:14 +07:00
bc7524c8fc fix: make database async 2024-11-14 12:36:22 +07:00
b7a006f7ee core: pushing changes regarding MySQL ssl toggle that is now mandatory 2024-11-12 10:53:02 -05:00
1072a9d63b database: fix create_revision_auto 2024-04-02 16:43:13 -04:00
b63c2c2d12 dbutils: add autocreate option to revision 2024-03-11 21:24:57 -04:00
c4deff9d1c add database downgrading 2024-03-04 00:50:51 -05:00
bd97428166 frontend: fix account and owner creation (fixes #108) 2024-03-02 17:48:48 -05:00
fc3f0900b3 dbutils: add create-revision command 2024-01-11 20:48:27 -05:00
19fd008598 fix legacy upgrade script 2024-01-11 20:39:29 -05:00
261d09aaef dbutils: add legacy migration 2024-01-09 17:11:49 -05:00
edd3ce8ead move to alembic 2024-01-09 13:57:59 -05:00
88a1462304 logger: change from warn to warning 2023-08-08 10:17:56 -04:00
b943807904 core: add columns to machine table, bump to v5 2023-07-23 22:21:41 -04:00
2f13596885 fix db ignoring port in config, createing database no longer runs over version 2023-07-15 00:15:14 -04:00
6c155a5e48 database: add static variables to prevent having multiple sessions 2023-07-08 00:01:52 -04:00
858b101a36 dbutils: add command to show versions 2023-06-24 13:14:40 -04:00
238d437519 reformat with black in preperation for merge to master 2023-04-23 21:04:52 -04:00
0dc96f33e1 database: don't set schema version if autoupdate fails 2023-04-15 03:13:14 -04:00
4102ba21fc database: remove print 2023-04-15 03:07:15 -04:00
9895068125 database: fix autoupdate 2023-04-15 01:31:52 -04:00
a416fb09e1 dbutils: version can now be left black to auto-upgrade to latest 2023-04-15 00:13:04 -04:00
188be2dfc1 database: add autoupgrade command 2023-03-18 02:12:58 -04:00
a791142f95 database: add check for current_schema_version 2023-03-12 22:37:44 -04:00
ea14f105d5 database: skip games that lack a database member 2023-03-12 00:26:48 -05:00
a76bb94eb1 let black do it's magic 2023-03-09 11:38:58 -05:00
f5d4f519d3 database: add create-owner, migrate-card, and cleanup commands 2023-03-04 00:04:47 -05:00
279f48dc0c frontend: fix login, remove frontend_session in favor of twisted sessions 2023-03-03 21:31:23 -05:00
2a6842db24 remove db old-to-new migration 2023-03-03 17:03:19 -05:00
db6b950c29 add partial frontend 2023-02-19 15:40:25 -05:00
97d16365df carry over database functions from megaime 2023-02-19 14:52:20 -05:00
f18e939dd0 change to using txroutes 2023-02-16 17:13:41 -05:00
32879491f4 Begin the process of transitioning from megaime 2023-02-16 00:06:42 -05:00