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
ofac-1.2.3 generators/ofac_migration/ofac_migration_generator.rb
ofac-1.2.2 generators/ofac_migration/ofac_migration_generator.rb
ofac-1.2.1 generators/ofac_migration/ofac_migration_generator.rb
ofac-1.2.0 generators/ofac_migration/ofac_migration_generator.rb
ofac-1.1.12 generators/ofac_migration/ofac_migration_generator.rb
ofac-1.1.11 generators/ofac_migration/ofac_migration_generator.rb