Scan-o-Matic / scanomatic

Scanomatic
GNU General Public License v3.0
10 stars 4 forks source link

Add scans and scan jobs to the database #303

Closed gdetrez closed 6 years ago

gdetrez commented 6 years ago

This also changes the way the database schema is defined: instead of defining the schema twice, once in the migration scripts and once in tables.py, use sqlalchemy reflection abilities to get the schema from the database itself. Now we can remove tables.py.

codecov-io commented 6 years ago

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@d40f3cc). Click here to learn what that means. The diff coverage is 98.68%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #303   +/-   ##
=========================================
  Coverage          ?   37.84%           
=========================================
  Files             ?      168           
  Lines             ?    16391           
  Branches          ?     2908           
=========================================
  Hits              ?     6203           
  Misses            ?     9767           
  Partials          ?      421
Impacted Files Coverage Δ
scanomatic/ui_server/serialization.py 89.28% <ø> (ø)
scanomatic/io/scanning_store.py 51.66% <ø> (ø)
scanomatic/ui_server/scan_jobs_api.py 94.66% <100%> (ø)
scanomatic/ui_server/scans_api.py 100% <100%> (ø)
scanomatic/data/scanjobstore.py 100% <100%> (ø)
scanomatic/ui_server/database.py 100% <100%> (ø)
scanomatic/data/scannerstore.py 100% <100%> (ø)
scanomatic/ui_server/scanners_api.py 98.48% <100%> (ø)
scanomatic/data/scanstore.py 100% <100%> (ø)
...ations/versions/da56e259f2e6_create_scans_table.py 90.9% <90.9%> (ø)
... and 1 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update d40f3cc...8dfd580. Read the comment docs.