fixed migration deprecated constant