Sha256: a46e17f8d1cdb93f03abd43775f5ba321551b23037c3ecef9ea677dcd5a43b51
Contents?: true
Size: 608 Bytes
Versions: 7
Compression:
Stored size: 608 Bytes
Contents
class CreateInterLibraryLoans < ActiveRecord::Migration def self.up create_table :inter_library_loans do |t| t.integer :item_id, :null => false t.integer :borrowing_library_id, :null => false t.timestamp :requested_at t.timestamp :shipped_at t.timestamp :received_at t.timestamp :return_shipped_at t.timestamp :return_received_at t.timestamp :deleted_at t.timestamps end add_index :inter_library_loans, :item_id add_index :inter_library_loans, :borrowing_library_id end def self.down drop_table :inter_library_loans end end
Version data entries
7 entries across 7 versions & 1 rubygems