Skip to content

Commit

Permalink
fix for pip-install db-migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
ansibleguy committed Mar 3, 2024
1 parent f83a33b commit 3c2ee3f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ jobs:

- name: Building
run: |
git reset --hard # make sure only migrations from repo exist
echo "${{ steps.version.outputs.TAG_NAME }}" > VERSION
python3 -m build
Expand Down
2 changes: 1 addition & 1 deletion src/ansibleguy-webui/aw/model/system.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class SystemConfig(BaseModel):
path_run = models.CharField(max_length=500, default='/tmp/ansible-webui')
path_play = models.CharField(max_length=500, default=None)
path_log = models.CharField(max_length=500, default=None)
timezone = models.CharField(max_length=300, default=CONFIG_DEFAULTS['timezone'])
timezone = models.CharField(max_length=300, default='UTC') # UTC to keep model migrations static
run_timeout = models.PositiveIntegerField(default=CONFIG_DEFAULTS['run_timeout'])
session_timeout = models.PositiveIntegerField(default=CONFIG_DEFAULTS['session_timeout'])
path_ansible_config = models.CharField(max_length=500, **DEFAULT_NONE)
Expand Down

0 comments on commit 3c2ee3f

Please sign in to comment.