def create_migration
      migration_version = Time.now.to_i
      dir = "/db/migrate/#{migration_version}_create_#{@scaffold_name}s.rb"
      unless File.exists?(File.join(Dir.pwd,dir))
        source = "#{@gem_path}/lib/modules/scaffold/migration.rb"
        FileUtils.cp(source,File.join(Dir.pwd,dir))
        config_migration(migration_version)
        $stdout.puts "\e[1;32m \tcreate\e[0m\t#{dir}"
      end
    end
def create_migration
      migration_version = Time.now.to_i
      dir = "/db/migrate/#{migration_version}_create_#{@scaffold_name}s.rb"
      unless File.exists?(File.join(Dir.pwd,dir))
        source = "#{@gem_path}/lib/modules/scaffold/migration.rb"
        FileUtils.cp(source,File.join(Dir.pwd,dir))
        config_migration(migration_version)
        $stdout.puts "\e[1;32m \tcreate\e[0m\t#{dir}"
      end
    end
=begin
Generates migration files for the scaffold.
=end