Sha256: 10224f1932cbcef248d12be12c3138efa9519739974f4e068aa0d94d8fb45f4b

Contents?: true

Size: 425 Bytes

Versions: 13

Compression:

Stored size: 425 Bytes

Contents

require 'rails/generators'
require 'rails/generators/active_record'

module RailsAdminSettings
  class MigrationGenerator < Rails::Generators::Base
    include ActiveRecord::Generators::Migration
    source_root File.expand_path('../templates', __FILE__)

    desc 'RailsAdminSettings migration generator'
    def install
      migration_template "migration.rb", "db/migrate/create_rails_admin_settings.rb"
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
ack_rails_admin_settings-1.2.3.3 lib/generators/rails_admin_settings/migration_generator.rb
ack_rails_admin_settings-1.2.3.2 lib/generators/rails_admin_settings/migration_generator.rb
ack_rails_admin_settings-1.2.3.1 lib/generators/rails_admin_settings/migration_generator.rb
ack_rails_admin_settings-1.2.3 lib/generators/rails_admin_settings/migration_generator.rb
ack_rails_admin_settings-1.2.2.1 lib/generators/rails_admin_settings/migration_generator.rb
ack_rails_admin_settings-1.2.2 lib/generators/rails_admin_settings/migration_generator.rb
ack_rails_admin_settings-1.2.1.3 lib/generators/rails_admin_settings/migration_generator.rb
ack_rails_admin_settings-1.2.1.2 lib/generators/rails_admin_settings/migration_generator.rb
ack_rails_admin_settings-1.2.1.1 lib/generators/rails_admin_settings/migration_generator.rb
ack_rails_admin_settings-1.2.1 lib/generators/rails_admin_settings/migration_generator.rb
ack_rails_admin_settings-1.2.0.2 lib/generators/rails_admin_settings/migration_generator.rb
ack_rails_admin_settings-1.2.0.1 lib/generators/rails_admin_settings/migration_generator.rb
ack_rails_admin_settings-1.1.5 lib/generators/rails_admin_settings/migration_generator.rb