Sha256: d4fab0dbc8b0817687e5d8ae52d6d6b1ed8f77f68781cebad2b1fd8ee80f19e1
Contents?: true
Size: 803 Bytes
Versions: 112
Compression:
Stored size: 803 Bytes
Contents
class CreateItems < ActiveRecord::Migration def change create_table :items do |t| #t.integer :manifestation_id t.string :call_number t.string :item_identifier t.timestamps t.datetime :deleted_at t.integer :shelf_id, :default => 1, :null => false t.boolean :include_supplements, :default => false, :null => false t.text :note t.string :url t.integer :price t.integer :lock_version, :default => 0, :null => false t.integer :required_role_id, :default => 1, :null => false t.string :state t.integer :required_score, :default => 0, :null => false end #add_index :items, :manifestation_id add_index :items, :shelf_id add_index :items, :item_identifier add_index :items, :required_role_id end end
Version data entries
112 entries across 112 versions & 14 rubygems