spec/dummy/db/schema.rb in enju_ndl-0.1.0.pre14 vs spec/dummy/db/schema.rb in enju_ndl-0.1.0.pre15
- old
+ new
@@ -153,31 +153,27 @@
add_index "import_requests", ["user_id"], :name => "index_import_requests_on_user_id"
create_table "items", :force => true do |t|
t.string "call_number"
t.string "item_identifier"
- t.integer "circulation_status_id", :default => 5, :null => false
- t.integer "checkout_type_id", :default => 1, :null => false
- t.datetime "created_at", :null => false
- t.datetime "updated_at", :null => false
+ t.datetime "created_at", :null => false
+ t.datetime "updated_at", :null => false
t.datetime "deleted_at"
- t.integer "shelf_id", :default => 1, :null => false
- t.boolean "include_supplements", :default => false, :null => false
+ 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.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
+ t.integer "required_score", :default => 0, :null => false
t.datetime "acquired_at"
t.integer "bookstore_id"
t.integer "budget_type_id"
end
add_index "items", ["bookstore_id"], :name => "index_items_on_bookstore_id"
- add_index "items", ["checkout_type_id"], :name => "index_items_on_checkout_type_id"
- add_index "items", ["circulation_status_id"], :name => "index_items_on_circulation_status_id"
add_index "items", ["item_identifier"], :name => "index_items_on_item_identifier"
add_index "items", ["required_role_id"], :name => "index_items_on_required_role_id"
add_index "items", ["shelf_id"], :name => "index_items_on_shelf_id"
create_table "languages", :force => true do |t|