Sha256: 17a45867324161c4243cca211f8e76141888482d00652b6d201df5fdbfdb9cce
Contents?: true
Size: 619 Bytes
Versions: 9
Compression:
Stored size: 619 Bytes
Contents
# encoding: utf-8 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
9 entries across 9 versions & 2 rubygems