module Godmode::Generators::MigrationHelpers::ClassMethods

Public Instance Methods

next_migration_number(path) click to toggle source
# File lib/generators/godmode/migration_helpers.rb, line 7
def next_migration_number(path)
  @migration_number = Time.now.utc.strftime("%Y%m%d%H%M%S").to_i.to_s
end