Skip to content

feat: add env var for db migrations#1813

Draft
MarceloRobert wants to merge 1 commit intokernelci:mainfrom
MarceloRobert:feat/remove-auto-migration
Draft

feat: add env var for db migrations#1813
MarceloRobert wants to merge 1 commit intokernelci:mainfrom
MarceloRobert:feat/remove-auto-migration

Conversation

@MarceloRobert
Copy link
Collaborator

Removes the automatic migrations in favor of a more granular environment variable to allow migrations; that variable defaults to false so auto migrations are essentially disabled until set

How to test

Change the models with something, then start the backend with the new env var set as False and then True. It should only run the migrations when True.

Removes the automatic migrations in favor of a more granular environment variable to allow migrations; that variable defaults to false so auto migrations are essentially disabled until set
@MarceloRobert MarceloRobert self-assigned this Mar 18, 2026
@MarceloRobert MarceloRobert added Database Issue that alters only configs of a database itself CI/CD Most or all of the changes are about automated tests / Github's CI labels Mar 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI/CD Most or all of the changes are about automated tests / Github's CI Database Issue that alters only configs of a database itself

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant