Sha256: dbd101ccc18c39844e88200295f1e8cc850cd913e78614b81739649b66c1214a

Contents?: true

Size: 337 Bytes

Versions: 8

Compression:

Stored size: 337 Bytes

Contents

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

module Plutus
  class UpgradePlutusGenerator < BaseGenerator
    def create_migration_file
      migration_template 'update_migration.rb', 'db/migrate/update_plutus_tables.rb'
    end
  end
end

Version data entries

8 entries across 8 versions & 3 rubygems

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