• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

lucyparsons / OpenOversight / 13352949888
89%

Build:
DEFAULT BRANCH: develop
Ran 16 Feb 2025 07:39AM UTC
Jobs 1
Files 100
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

16 Feb 2025 07:36AM UTC coverage: 89.071%. Remained the same
13352949888

push

github

web-flow
Revert "Delete `create_db.py` (#1000)" (#1152)

## Fixes issue

#1000 unfortunately broke alembic's functionality to create migrations
that include new tables (Using `flask db migrate`). The issue is that
before alembic has a change to analyze the difference between existing
database and schema from database.py the `db.create_all()` command
automatically creates the tables making it so that they are not
registered for the migration.

I could not come up with a way to reasonably work around this issue, so
I think the best course of action is to revert the removal of the
create_db.py file.


## Description of Changes

This reverts that breaking commit. It is not a clean revert of #1000,
since that PR also included unrelated changes to tests and constants.
Those changes were not reverted.


## Notes for Deployment

I have verified the changes in my local environment and the tests are
passing, but I have not tested that the changes work as expected in a
completely fresh environment (which would use the create_db file)

## Tests and Linting
- [x] This branch is up-to-date with the `develop` branch.
- [ ] (N/A) Ran `make create_db_diagram` command.
- [x] `pytest` passes on my local development environment.
- [x] `pre-commit` passes on my local development environment.

---------

Co-authored-by: michplunkett <5885605+michplunkett@users.noreply.github.com>

8826 of 9909 relevant lines covered (89.07%)

0.89 hits per line

Jobs
ID Job ID Ran Files Coverage
1 13352949888.1 16 Feb 2025 07:39AM UTC 100
89.07
GitHub Action Run
Source Files on build 13352949888
  • Tree
  • List 100
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #13352949888
  • aab0cc66 on github
  • Prev Build on develop (#13272374775)
  • Next Build on develop (#13504844618)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc