From 285346fcdac71c32566449a3ab1008af02670ce9 Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Thu, 29 Nov 2018 10:25:44 +1100 Subject: [PATCH] Update schema for latest migration I feel embarrased that this is the second follow up of my last migration: https://github.com/openfoodfoundation/openfoodnetwork/pull/3126 The last migration didn't change any database structure, but the schema still needs the latest migration version. Otherwise it will display pending migrations when setting up the database. This commit allows to run `bundle exec rake db:reset` in development without the following message: Run `rake db:migrate` to update your database then try again. You have 1 pending migrations: 20181123012635 AssociateCustomersToUsers The next pull request with a migration would have solved this problem as well. --- db/schema.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/schema.rb b/db/schema.rb index 49dae1fa6e..7f3b49ca3c 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -11,7 +11,7 @@ # # It's strongly recommended to check this file into your version control system. -ActiveRecord::Schema.define(:version => 20181106162211) do +ActiveRecord::Schema.define(:version => 20181123012635) do create_table "account_invoices", :force => true do |t| t.integer "user_id", :null => false