Change SQLAlchemy columns to TEXT and add NOT NULL constraints
Closes #303 (closed). Improvement of !132 (closed).
- Changes
String()
toText()
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