diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-07-19 17:16:28 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-07-19 17:16:28 +0300 |
commit | e4384360a16dd9a19d4d2d25d0ef1f2b862ed2a6 (patch) | |
tree | 2fcdfa7dcdb9db8f5208b2562f4b4e803d671243 /scripts/validate_migration_timestamps | |
parent | ffda4e7bcac36987f936b4ba515995a6698698f0 (diff) |
Add latest changes from gitlab-org/gitlab@16-2-stable-eev16.2.0-rc42
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 |