ALTER TABLE files
ALTER COLUMN hash bigint SET NOT NULL;