Sha256: 81732aafb0e65c55a420b13b5bd68f820d69b653b919ccc6009f4e13ca062645
Contents?: true
Size: 650 Bytes
Versions: 56
Compression:
Stored size: 650 Bytes
Contents
class CreateReserves < ActiveRecord::Migration[4.2] def self.up create_table :reserves do |t| t.references :user, index: true, foreign_key: true, null: false t.references :manifestation, index: true, null: false t.references :item, index: true t.references :request_status_type, null: false t.datetime :checked_out_at t.timestamps t.datetime :canceled_at t.datetime :expired_at t.datetime :deleted_at t.boolean :expiration_notice_to_patron, default: false t.boolean :expiration_notice_to_library, default: false end end def self.down drop_table :reserves end end
Version data entries
56 entries across 56 versions & 4 rubygems