class Falcon::Generators::InstallGenerator

def self.current_time

def self.current_time
  @current_time ||= Time.now
  @current_time += 1.minute
end

def self.next_migration_number(dirname)

def self.next_migration_number(dirname)
  if ActiveRecord::Base.timestamped_migrations
    current_time.utc.strftime("%Y%m%d%H%M%S")
  else
    "%.3d" % (current_migration_number(dirname) + 1)
  end
end

def create_migrations

copy migration files
def create_migrations
  migration_template "migrate/create_encodings.rb", File.join('db/migrate', "falcon_create_encodings.rb")
end