Files
@ e1f233b069b0
Branch filter:
Location: kallithea/init.d/supervisord.conf
e1f233b069b0
2.6 KiB
text/plain
db: refactor to clarify that we always invoke SA create_all with checkfirst=False
create_all(checkfirst=True) would skip creating tables that already exist,
potentially leaving them with wrong schema.
We are strict and want a successful create_all to leave all the tables in a
fully known state. We thus want it to fail if any tables already are present.
Existing tables should not silently be accepted.
create_all(checkfirst=True) would skip creating tables that already exist,
potentially leaving them with wrong schema.
We are strict and want a successful create_all to leave all the tables in a
fully known state. We thus want it to fail if any tables already are present.
Existing tables should not silently be accepted.