Sha256: a28db997b5d11fc6175da71606fb87306f7c29702b62ac8645549a9e6a5e46ca

Contents?: true

Size: 603 Bytes

Versions: 22

Compression:

Stored size: 603 Bytes

Contents

module WiceGrid #:nodoc:
  module Generators #:nodoc:

    class AddMigrationForSerializedQueriesGenerator < Rails::Generators::Base  #:nodoc:

      include Rails::Generators::Migration

      desc 'Add a migration which creates a table for serialized queries'

      source_root File.expand_path('../templates', __FILE__)

      def self.next_migration_number(path)
        Time.now.utc.strftime("%Y%m%d%H%M%S")
      end

      def create_model_file
        migration_template "create_wice_grid_serialized_queries.rb", "db/migrate/create_wice_grid_serialized_queries.rb"
      end
    end

  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
wice_grid-3.5.0 lib/generators/wice_grid/add_migration_for_serialized_queries_generator.rb
wice_grid-3.4.14 lib/generators/wice_grid/add_migration_for_serialized_queries_generator.rb
wice_grid-3.4.13 lib/generators/wice_grid/add_migration_for_serialized_queries_generator.rb
wice_grid-3.4.12 lib/generators/wice_grid/add_migration_for_serialized_queries_generator.rb
wice_grid-3.4.11 lib/generators/wice_grid/add_migration_for_serialized_queries_generator.rb
wice_grid-3.4.10 lib/generators/wice_grid/add_migration_for_serialized_queries_generator.rb
wice_grid-3.4.9 lib/generators/wice_grid/add_migration_for_serialized_queries_generator.rb
wice_grid-3.4.8 lib/generators/wice_grid/add_migration_for_serialized_queries_generator.rb
wice_grid-3.4.7 lib/generators/wice_grid/add_migration_for_serialized_queries_generator.rb
wice_grid-3.4.6 lib/generators/wice_grid/add_migration_for_serialized_queries_generator.rb
wice_grid-3.4.5 lib/generators/wice_grid/add_migration_for_serialized_queries_generator.rb
wice_grid-3.4.4 lib/generators/wice_grid/add_migration_for_serialized_queries_generator.rb
wice_grid-3.4.3 lib/generators/wice_grid/add_migration_for_serialized_queries_generator.rb
wice_grid-3.4.2 lib/generators/wice_grid/add_migration_for_serialized_queries_generator.rb
wice_grid-3.4.1 lib/generators/wice_grid/add_migration_for_serialized_queries_generator.rb
wice_grid-3.4.0 lib/generators/wice_grid/add_migration_for_serialized_queries_generator.rb
wice_grid-3.3.1 lib/generators/wice_grid/add_migration_for_serialized_queries_generator.rb
wice_grid-3.3.0 lib/generators/wice_grid/add_migration_for_serialized_queries_generator.rb
wice_grid-3.2.1 lib/generators/wice_grid/add_migration_for_serialized_queries_generator.rb
wice_grid-3.2.1.pre3 lib/generators/wice_grid/add_migration_for_serialized_queries_generator.rb