Sha256: 3af5106d05f3b5cd9fb4d1a252129d78f6bb6672d829e6b2686e2e0cf96c8327

Contents?: true

Size: 410 Bytes

Versions: 6

Compression:

Stored size: 410 Bytes

Contents

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

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

    desc 'RocketCMS migration generator'
    def install
      migration_template "migration.rb", "db/migrate/create_thecore_settings.rb"
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
thecore_settings-2.0.7 lib/generators/thecore_settings/migration_generator.rb
thecore_settings-2.0.6 lib/generators/thecore_settings/migration_generator.rb
thecore_settings-2.0.5 lib/generators/thecore_settings/migration_generator.rb
thecore_settings-2.0.4 lib/generators/thecore_settings/migration_generator.rb
thecore_settings-2.0.3 lib/generators/rails_admin_settings/migration_generator.rb
thecore_settings-2.0.2 lib/generators/rails_admin_settings/migration_generator.rb