Sha256: 008d4475bd50ee9a92506d6765e33a2543aed705a568936f4548ce159299808d
Contents?: true
Size: 593 Bytes
Versions: 5
Compression:
Stored size: 593 Bytes
Contents
module WiceGrid #:nodoc: module Generators #:nodoc: class AddMigrationForSerializedQueriesGenerator < Rails::Generators::Base 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
5 entries across 5 versions & 1 rubygems