-- Migration 011: add sort_order and display_label to thesis_files
-- Required by Database::getThesisFiles() which runs ORDER BY sort_order.
-- Absence of sort_order causes a fatal SQL error on every public TFE detail page.
ALTER TABLE thesis_files ADD COLUMN sort_order   INTEGER NOT NULL DEFAULT 0;
ALTER TABLE thesis_files ADD COLUMN display_label TEXT;
