Skip to content

Change SQLAlchemy columns to TEXT and add NOT NULL constraints

Hugo Kerstens requested to merge hotfix/sqlalchemy-text-column into master

Closes #303 (closed). Improvement of !132 (closed).

  • Changes String() to Text() in the migration script and the database specification
  • Adds 2 missing NOT NULL constraints
  • Fixes scan.exam_id to correct data type (Integer)
  • Ensures database schema in database.py and the database created by the migration script are exactly the same.
Edited by Hugo Kerstens

Merge request reports