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