mirror of
https://github.com/GSA/notifications-api.git
synced 2026-08-24 16:23:44 -04:00
fix native enum
This commit is contained in:
2
Makefile
2
Makefile
@@ -82,7 +82,7 @@ test: export NEW_RELIC_ENVIRONMENT=test
|
|||||||
test: ## Run tests and create coverage report
|
test: ## Run tests and create coverage report
|
||||||
poetry run black .
|
poetry run black .
|
||||||
poetry run flake8 .
|
poetry run flake8 .
|
||||||
poetry run isort --check-only ./app ./tests
|
poetry run isort ./app ./tests
|
||||||
poetry run coverage run --omit=*/migrations/*,*/tests/* -m pytest --maxfail=10
|
poetry run coverage run --omit=*/migrations/*,*/tests/* -m pytest --maxfail=10
|
||||||
|
|
||||||
## TODO set this back to 95 asap
|
## TODO set this back to 95 asap
|
||||||
|
|||||||
@@ -1385,7 +1385,6 @@ class Job(db.Model):
|
|||||||
index=True,
|
index=True,
|
||||||
nullable=False,
|
nullable=False,
|
||||||
default=JobStatus.PENDING,
|
default=JobStatus.PENDING,
|
||||||
native_enum=False,
|
|
||||||
)
|
)
|
||||||
archived = db.Column(db.Boolean, nullable=False, default=False)
|
archived = db.Column(db.Boolean, nullable=False, default=False)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user