Skip to content

Fix/alembic ignore bigquery #220

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 29 commits into from
May 14, 2025
Merged

Fix/alembic ignore bigquery #220

merged 29 commits into from
May 14, 2025

Conversation

MiNeves00
Copy link
Collaborator

@MiNeves00 MiNeves00 commented May 13, 2025

LLMstudio Version X.X.X

What was done in this PR:

  • Applying Alembic migrations is ignored and not act if the DB_TYPE is BigQuery since its not supported. Generating migrations for BigQuery raises an error
  • Corrected a bug with the auto running alembic upgrade head path on tracker server startup

How it was tested:

  1. change env var LLMSTUDIO_TRACKING_URI="bigquery:///./llmstudio_mgmt.db"
  2. poetry run alembic upgrade head
    Should be skipped
  3. poetry run alembic revision --autogenerate -m "describe your change"
    Should raise an error
  • Passed all integration tests

MiNeves00 added 22 commits May 5, 2025 12:13
…just upgraded it ignores - as its not supported by alembic.
@MiNeves00 MiNeves00 self-assigned this May 13, 2025
@MiNeves00 MiNeves00 marked this pull request as ready for review May 13, 2025 15:56
@MiNeves00 MiNeves00 requested a review from diogoncalves May 13, 2025 15:56
@MiNeves00 MiNeves00 removed the request for review from diogoncalves May 14, 2025 13:00
@MiNeves00 MiNeves00 merged commit e3ab87a into develop May 14, 2025
6 checks passed
@MiNeves00 MiNeves00 deleted the fix/alembic-ignore-bigquery branch May 14, 2025 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant