Sha256: 15e22680d5e73d4a1f105e5052cae01e55c029b9b8d65bf4695697034a51ceae
Contents?: true
Size: 630 Bytes
Versions: 15
Compression:
Stored size: 630 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.string :state 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
15 entries across 15 versions & 1 rubygems