Created
April 21, 2022 15:20
-
-
Save greveritt/6dba973b4be246050704927f1c34eba3 to your computer and use it in GitHub Desktop.
Oneline script for generating new timestamps for Rails migrations
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!env ruby | |
# frozen_string_literal: true | |
print Time.now.utc.strftime '%Y%m%d%H%M%S' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment