Sha256: fb9ec886d061085bddd84b3f085d3610b9d3f338c34cc2457145f6aeea7353d4
Contents?: true
Size: 401 Bytes
Versions: 67
Compression:
Stored size: 401 Bytes
Contents
class CreateProxyDepositRights < ActiveRecord::Migration<%= migration_version %> def change create_table :proxy_deposit_rights do |t| t.references :grantor t.references :grantee t.timestamps null: false end <% if migration_version.to_s < '5.1' %> add_index :proxy_deposit_rights, :grantor_id add_index :proxy_deposit_rights, :grantee_id <% end %> end end
Version data entries
67 entries across 67 versions & 1 rubygems