[migrations] Add unique index on numbers code