Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/validate_migration_timestamps')
-rwxr-xr-xscripts/validate_migration_timestamps2
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