Sha256: 63b51803c5d771109ac850ddf3ebdd3c6b80301b37dbdf6b28e3a040e0f05b10

Contents?: true

Size: 331 Bytes

Versions: 8

Compression:

Stored size: 331 Bytes

Contents

# lib/generators/plutus/plutus_generator.rb
require 'rails/generators'
require 'rails/generators/migration'
require_relative 'base_generator'

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

Version data entries

8 entries across 8 versions & 3 rubygems

Version Path
plutus-0.17 lib/generators/plutus/tenancy_generator.rb
plutus-0.16 lib/generators/plutus/tenancy_generator.rb
plutus-0.15 lib/generators/plutus/tenancy_generator.rb
plutus-0.14 lib/generators/plutus/tenancy_generator.rb
tyche-0.14 lib/generators/plutus/tenancy_generator.rb
odania_plutus-0.13 lib/generators/plutus/tenancy_generator.rb
plutus-0.13 lib/generators/plutus/tenancy_generator.rb
plutus-0.12.2 lib/generators/plutus/tenancy_generator.rb