Sha256: 128edd75a3f3505220ef8312840de376e1bbd845030768dbdf37bda705c02fd3

Contents?: true

Size: 335 Bytes

Versions: 3

Compression:

Stored size: 335 Bytes

Contents

# lib/generators/credere/credere_generator.rb
require 'rails/generators'
require 'rails/generators/migration'
require_relative 'base_generator'

module Credere
  class TenancyGenerator < BaseGenerator
    def create_migration_file
      migration_template 'tenant_migration.rb', 'db/migrate/tenant_credere_tables.rb'
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
credere-0.10.3 lib/generators/credere/tenancy_generator.rb
credere-0.10.2 lib/generators/credere/tenancy_generator.rb
credere-0.10.1 lib/generators/credere/tenancy_generator.rb