The gql webhook tables, for instance, do not have corresponding sqlalchemy types, so they are not created when running -initd. Need to address this. How?
I'm not sure there is a way to do this with sqlalchemy. Maybe we could maintain a database schema separate from sqlalchemy for initialization purposes?
Alternatively, we can just run the necessary migrations from the initdb script.
Maybe we could maintain a database schema separate from sqlalchemy for initialization purposes?
Yes, I think this is the best option.
Are there any other tables that need to be added besides the GraphQL webhook tables?
Yeah: all of the other tables. Trying to move away from sqlalchemy and alembic so this is a good chance to establish a new authoritative source for the SQL schema.