spec/dummy/db/schema.rb in document_number-0.0.1 vs spec/dummy/db/schema.rb in document_number-0.9.0
- old
+ new
@@ -13,10 +13,10 @@
ActiveRecord::Schema.define(version: 20140610093243) do
create_table "document_numbers", force: true do |t|
t.string "document"
- t.integer "number", null: false, default: 0
+ t.integer "number", null: false, default: 1
t.datetime "created_at"
end
add_index "document_numbers", ["document"], name: "index_document_numbers_on_document", unique: true