On Sat, 22 Feb 2020 at 22:31:26, Frédéric Mangano-Tarumi wrote:
--- INSTALL | 4 +- TESTING | 3 +- alembic.ini | 86 +++++++++++++++++++++++++++++++++++++++ aurweb/initdb.py | 9 ++++ aurweb/schema.py | 8 ++++ migrations/README | 48 ++++++++++++++++++++++ migrations/env.py | 73 +++++++++++++++++++++++++++++++++ migrations/script.py.mako | 24 +++++++++++ 8 files changed, 252 insertions(+), 3 deletions(-) create mode 100644 alembic.ini create mode 100644 migrations/README create mode 100644 migrations/env.py create mode 100644 migrations/script.py.mako
Looks great, thanks! I merged this patch and the two followup patches into the pu branch. I will do some more testing and merge them to master if there are no issues. We should also think about phasing out the text files in the upgrading/ subdirectory. Maybe we should simply keep them for one or two releases and remove the directory entirely later? If anybody ever still needs them after they have been removed, they can still be recovered from the Git history...