Sha256: 7b05714850ff7b5f6c315a073b1b560cabf4b2b0fac17165d0f8b8d1e671dcde
Contents?: true
Size: 560 Bytes
Versions: 11
Compression:
Stored size: 560 Bytes
Contents
require 'rails/generators/named_base' require 'rails/generators/migration' require 'rails/generators/active_model' module ActiveRecordSchema module Generators class Base < ::Rails::Generators::NamedBase include Rails::Generators::Migration def self.base_root File.dirname(__FILE__) end def self.next_migration_number(dirname) #:nodoc: next_migration_number = current_migration_number(dirname) + 1 ActiveRecord::Migration.next_migration_number(next_migration_number) end end end end
Version data entries
11 entries across 11 versions & 1 rubygems