Sha256: 543e7d39a5d7f110619cb8f29cd92bbae8e0a22c501ec80805faeb63127d609b
Contents?: true
Size: 601 Bytes
Versions: 18
Compression:
Stored size: 601 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
18 entries across 18 versions & 2 rubygems