Sha256: ffde051e754f83b917225f69884af058fc456597bead4632d72fa10c58685871
Contents?: true
Size: 671 Bytes
Versions: 16
Compression:
Stored size: 671 Bytes
Contents
require_relative 'abstract_migration_generator' class Sufia::Models::ProxiesGenerator < Sufia::Models::AbstractMigrationGenerator source_root File.expand_path('../templates', __FILE__) desc """ This generator adds proxies and transfers to your application: 1. Creates several database migrations if they do not exist in /db/migrate """ def banner say_status("warning", "ADDING PROXY/TRANSFER-RELATED SUFIA MODELS", :yellow) end # Setup the database migrations def copy_migrations [ 'create_proxy_deposit_rights.rb', 'create_proxy_deposit_requests.rb' ].each do |file| better_migration_template file end end end
Version data entries
16 entries across 16 versions & 2 rubygems