Sha256: 442a4f8debc6c015c1862c54305c6a031b2c9b53fd0eb7ab2f74279885c41e57
Contents?: true
Size: 666 Bytes
Versions: 8
Compression:
Stored size: 666 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("info", "ADDING PROXY/TRANSFER-RELATED SUFIA MODELS", :blue) 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
8 entries across 8 versions & 1 rubygems