Mercurial > kallithea
comparison LICENSE.md @ 8590:e1f233b069b0
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.
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Fri, 19 Jun 2020 17:24:36 +0200 |
parents | 006d68c4d7b9 |
children |
comparison
equal
deleted
inserted
replaced
8589:7b0aafc6b7ca | 8590:e1f233b069b0 |
---|