Sha256: 76185ff32395dee62c235eb227947d119b08c163851ade96e4c3a706ea0f6a61
Contents?: true
Size: 425 Bytes
Versions: 2
Compression:
Stored size: 425 Bytes
Contents
class CreateCheckedItems < ActiveRecord::Migration[5.2] def self.up create_table :checked_items do |t| t.references :item, index: true, foreign_key: true, null: false t.references :basket, index: true, foreign_key: true, null: false t.references :librarian, index: true t.datetime :due_date, null: false t.timestamps end end def self.down drop_table :checked_items end end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
enju_inventory-0.4.0.rc.1 | spec/dummy/db/migrate/121_create_checked_items.rb |
enju_circulation-0.4.0.rc.1 | db/migrate/121_create_checked_items.rb |