Sha256: 6688d8f922fda524cae7e774524f61a330ac283fd95f7bb32e136881fea5b88a

Contents?: true

Size: 252 Bytes

Versions: 26

Compression:

Stored size: 252 Bytes

Contents

class OfacMigrationGenerator < Rails::Generator::Base
  def manifest 
    record do |m|
      #m.directory File.join('db')
      m.migration_template 'migration.rb', 'db/migrate' 
    end 
  end
  
  def file_name
    "create_ofac_sdn_table"
  end
end

Version data entries

26 entries across 26 versions & 2 rubygems

Version Path
kevintyll-ofac-1.0.0 generators/ofac_migration/ofac_migration_generator.rb
kevintyll-ofac-1.1.0 generators/ofac_migration/ofac_migration_generator.rb
kevintyll-ofac-1.1.1 generators/ofac_migration/ofac_migration_generator.rb
kevintyll-ofac-1.1.10 generators/ofac_migration/ofac_migration_generator.rb
kevintyll-ofac-1.1.11 generators/ofac_migration/ofac_migration_generator.rb
kevintyll-ofac-1.1.2 generators/ofac_migration/ofac_migration_generator.rb
kevintyll-ofac-1.1.3 generators/ofac_migration/ofac_migration_generator.rb
kevintyll-ofac-1.1.4 generators/ofac_migration/ofac_migration_generator.rb
kevintyll-ofac-1.1.5 generators/ofac_migration/ofac_migration_generator.rb
kevintyll-ofac-1.1.6 generators/ofac_migration/ofac_migration_generator.rb
kevintyll-ofac-1.1.7 generators/ofac_migration/ofac_migration_generator.rb
kevintyll-ofac-1.1.8 generators/ofac_migration/ofac_migration_generator.rb
kevintyll-ofac-1.1.9 generators/ofac_migration/ofac_migration_generator.rb
ofac-2.0.1 generators/ofac_migration/ofac_migration_generator.rb
ofac-2.0.0 generators/ofac_migration/ofac_migration_generator.rb
ofac-1.3.2 generators/ofac_migration/ofac_migration_generator.rb
ofac-1.3.1 generators/ofac_migration/ofac_migration_generator.rb
ofac-1.3.0 generators/ofac_migration/ofac_migration_generator.rb
ofac-1.2.5 generators/ofac_migration/ofac_migration_generator.rb
ofac-1.2.4 generators/ofac_migration/ofac_migration_generator.rb