Sha256: d69a4a8c8c028542b142f70d67b4f3c3d1e1d1e4ebbddbcc9c6987745a2b8aa5
Contents?: true
Size: 645 Bytes
Versions: 8
Compression:
Stored size: 645 Bytes
Contents
class CreateReserves < ActiveRecord::Migration 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
8 entries across 8 versions & 2 rubygems