Skip to content

Commit

Permalink
Merge pull request #484 from multiflexi/fixes
Browse files Browse the repository at this point in the history
Fix migration and bump Python version
  • Loading branch information
Progress1 authored Jan 21, 2025
2 parents d6b7ccc + 8cbd1a8 commit 13e2371
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
2 changes: 0 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ updates:
directory: "/src/core"
schedule:
interval: "weekly"
ignore:
- dependency-name: "SQLAlchemy"
- package-ecosystem: "pip"
directory: "/src/presenters"
schedule:
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile.collectors
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ RUN python -m build



FROM python:3.12-alpine3.21 AS production
FROM python:3.13-alpine3.21 AS production

WORKDIR /app/

Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile.publishers
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ RUN python -m build



FROM python:3.12-alpine3.21 AS production
FROM python:3.13-alpine3.21 AS production

WORKDIR /app/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,9 @@ def upgrade():
stmt = collector_table.delete().where(collector_table.c.id == atom_collector_id)
conn.execute(stmt)

# delete Atom Collector Parameters
stmt = parameter_value_table.delete().where(parameter_value_table.c.parameter_id.in_(atom_collector_parameter_ids))
conn.execute(stmt)
# delete Atom Collector Parameter Values
stmt = parameter_value_table.delete().where(parameter_value_table.c.parameter_id.in_(atom_collector_parameter_ids))
conn.execute(stmt)


def downgrade():
Expand Down

0 comments on commit 13e2371

Please sign in to comment.