From 17ab56a3c7d3dbb3d66edf380ab637a61cefe50c Mon Sep 17 00:00:00 2001 From: Dennis Fink Date: Tue, 27 Oct 2026 23:16:27 +0100 Subject: feat(core): add database CLI Make database initialization and upgrades explicit so new installations cannot silently modify an existing or unversioned schema. Keep Flask-Migrate commands available separately and package the migration environment with the application for reliable deployment. --- migrations/alembic.ini | 54 -------------------------------------------------- 1 file changed, 54 deletions(-) delete mode 100644 migrations/alembic.ini (limited to 'migrations/alembic.ini') diff --git a/migrations/alembic.ini b/migrations/alembic.ini deleted file mode 100644 index bdfa231..0000000 --- a/migrations/alembic.ini +++ /dev/null @@ -1,54 +0,0 @@ -; SPDX-FileCopyrightText: 2026 Dennis Fink -; -; SPDX-License-Identifier: BSD-3-Clause - -# A generic, single database configuration. - -[alembic] -# template used to generate migration files -# file_template = %%(rev)s_%%(slug)s - -# set to 'true' to run the environment during -# the 'revision' command, regardless of autogenerate -# revision_environment = false - - -# Logging configuration -[loggers] -keys = root,sqlalchemy,alembic,flask_migrate - -[handlers] -keys = console - -[formatters] -keys = generic - -[logger_root] -level = WARN -handlers = console -qualname = - -[logger_sqlalchemy] -level = WARN -handlers = -qualname = sqlalchemy.engine - -[logger_alembic] -level = INFO -handlers = -qualname = alembic - -[logger_flask_migrate] -level = INFO -handlers = -qualname = flask_migrate - -[handler_console] -class = StreamHandler -args = (sys.stderr,) -level = NOTSET -formatter = generic - -[formatter_generic] -format = %(levelname)-5.5s [%(name)s] %(message)s -datefmt = %H:%M:%S -- cgit v1.3.1