Sha256: 49d662d668ea9372c1b1a75a0acc07dd9af7cad0dc6079d72631d427856a24a9
Contents?: true
Size: 387 Bytes
Versions: 423
Compression:
Stored size: 387 Bytes
Contents
class CreateCheckins < ActiveRecord::Migration def self.up create_table :checkins do |t| t.integer :item_id, :null => false t.integer :librarian_id t.integer :basket_id t.timestamps end add_index :checkins, :item_id add_index :checkins, :librarian_id add_index :checkins, :basket_id end def self.down drop_table :checkins end end
Version data entries
423 entries across 416 versions & 12 rubygems
Version | Path |
---|---|
enju_circulation-0.0.6 | db/migrate/032_create_checkins.rb |
enju_circulation-0.0.4 | db/migrate/032_create_checkins.rb |
enju_circulation-0.0.3 | db/migrate/032_create_checkins.rb |