diff options
Diffstat (limited to 'scripts/validate_migration_timestamps')
-rwxr-xr-x | scripts/validate_migration_timestamps | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/validate_migration_timestamps b/scripts/validate_migration_timestamps index d3722e7a4af..affcd2ad0a2 100755 --- a/scripts/validate_migration_timestamps +++ b/scripts/validate_migration_timestamps @@ -6,7 +6,7 @@ require 'time' MIGRATION_DIRS = %w[db/migrate db/post_migrate].freeze VERSION_DIGITS = 14 -MIGRATION_TIMESTAMP_REGEX = /\A(?<version>\d{#{VERSION_DIGITS}})_/.freeze +MIGRATION_TIMESTAMP_REGEX = /\A(?<version>\d{#{VERSION_DIGITS}})_/ maximum_timestamp = Time.now.utc.strftime('%Y%m%d%H%M%S').to_i |