ALTER TABLE file_storage MODIFY COLUMN createYearMonth VARCHAR(7) GENERATED ALWAYS AS (DATE_FORMAT(createTime, '%Y-%m')) STORED;