Skip to content

Commit

Permalink
Merge pull request #111 from cfpb/fix/missing-migration
Browse files Browse the repository at this point in the history
Add missing migration for Crawl model ordering
chosak authored Oct 8, 2024
2 parents 112e694 + badbed4 commit bbdf89c
Showing 2 changed files with 19 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -28,6 +28,8 @@ jobs:
-r requirements/test.txt
- name: Check formatting
run: black . --check
- name: Check for missing migrations
run: ./manage.py makemigrations --check
- name: The test fixture should be kept in sync with the sample database
run: ./manage.py dumpdata --indent=4 crawler | diff crawler/fixtures/sample.json -
- name: Run Python tests
17 changes: 17 additions & 0 deletions crawler/migrations/0002_alter_crawl_options.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Generated by Django 4.2.15 on 2024-10-08 18:40

from django.db import migrations


class Migration(migrations.Migration):

dependencies = [
("crawler", "0001_initial"),
]

operations = [
migrations.AlterModelOptions(
name="crawl",
options={"ordering": ["-started"]},
),
]

0 comments on commit bbdf89c

Please sign in to comment.