GSA / GSA/data.gov

flask db check should pass without schema-drift

Open
#6,147 1 comment 0 reactions 1 assignee Claimed by @cody-seibert-gsa View on GitHub
bug
Dominant language
Python
Stars
1.1k
Forks
200
Avg merge
4h 56m
Merged PRs (30d)
5

Description

Running flask db check in the deployed environment reports differences between the SQLAlchemy models, Alembic migration history, and the live PostgreSQL schema.

## How to reproduce

`$ flask db check`

## Expected behavior

`flask db check`exits with status 0 and reports no schema changes.

## Actual behavior

schema-drift detected

## Sketch

[Notes or a checklist reflecting our understanding of the selected approach]

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.