Skip to content

Instantly share code, notes, and snippets.

@greveritt
Created April 21, 2022 15:20
Show Gist options
  • Save greveritt/6dba973b4be246050704927f1c34eba3 to your computer and use it in GitHub Desktop.
Save greveritt/6dba973b4be246050704927f1c34eba3 to your computer and use it in GitHub Desktop.
Oneline script for generating new timestamps for Rails migrations
#!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