Skip to content

Commit

Permalink
fix(caluma): update caluma
Browse files Browse the repository at this point in the history
Since caluma version 5.0.0, all apps and tables are prefixed with
`caluma_`.

This commit applies those changes.
  • Loading branch information
open-dynaMIX committed Feb 3, 2020
1 parent dca55ab commit 0a392e1
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
20 changes: 10 additions & 10 deletions caluma_interval/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,16 +127,16 @@ def cleanup_db():
cur = conn.cursor()
fmt_str = "DELETE FROM {};"
tables = [
"workflow_workitem",
"workflow_case",
"form_document",
"form_form",
"workflow_taskflow",
"workflow_flow",
"workflow_workflow_start_tasks",
"workflow_workflow_allow_forms",
"workflow_task",
"workflow_workflow",
"caluma_workflow_workitem",
"caluma_workflow_case",
"caluma_form_document",
"caluma_form_form",
"caluma_workflow_taskflow",
"caluma_workflow_flow",
"caluma_workflow_workflow_start_tasks",
"caluma_workflow_workflow_allow_forms",
"caluma_workflow_task",
"caluma_workflow_workflow",
]
for table in tables:
delete_sql = fmt_str.format(table)
Expand Down
6 changes: 3 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ services:
command: -p ${DATABASE_PORT:-5432}

caluma:
image: projectcaluma/caluma:latest@sha256:e281803cb8c6592889aca9c1bcd4b649f9f4c3f2aaba8d6698dd2af11e2076ac
image: projectcaluma/caluma:latest@sha256:5b0a2c2950a6a8c9ff6a6c0a85cf6cc67fc56948b1dec518dca69c6ee817b114
ports:
- "8000:8000"
depends_on:
Expand All @@ -27,8 +27,8 @@ services:
- SECRET_KEY=uuuuuu
- ALLOWED_HOSTS=*
- DATABASE_PASSWORD=caluma
- VISIBILITY_CLASSES=caluma.core.visibilities.Any
- PERMISSION_CLASSES=caluma.core.permissions.AllowAny
- VISIBILITY_CLASSES=caluma.caluma_core.visibilities.Any
- PERMISSION_CLASSES=caluma.caluma_core.permissions.AllowAny

volumes:
dbdata:

0 comments on commit 0a392e1

Please sign in to comment.