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 3c2ee3f commit 812bf67
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,9 @@ jobs:

- name: Building
run: |
git reset --hard # make sure only migrations from repo exist
git reset --hard
git ls-files . --exclude-standard --others | grep 'migrations' | xargs --no-run-if-empty rm
echo "${{ steps.version.outputs.TAG_NAME }}" > VERSION
python3 -m build
Expand Down
17 changes: 17 additions & 0 deletions src/ansibleguy-webui/aw/migrations/0004_v0_0_15.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Generated by Django 5.0.2 on 2024-03-03 09:27

from django.db import migrations, models


class Migration(migrations.Migration):
dependencies = [
("aw", "0003_v0_0_14"),
]

operations = [
migrations.AlterField(
model_name="systemconfig",
name="timezone",
field=models.CharField(default="UTC", max_length=300),
),
]

0 comments on commit 812bf67

Please sign in to comment.