diff --git a/scripts/regenerate-schema b/scripts/regenerate-schema
index e2d46d142187ebf39e0090b82bdb84c6baa7c858..65c73a8116a29321a184ebde701cacebcdf654db 100755
--- a/scripts/regenerate-schema
+++ b/scripts/regenerate-schema
@@ -33,6 +33,7 @@ class SchemaRegenerator
       checkout_clean_schema
       hide_migrations
       remove_schema_migration_files
+      stop_spring
       reset_db
       unhide_migrations
       migrate
@@ -148,6 +149,12 @@ class SchemaRegenerator
     run(git_command).chomp.split("\n")
   end
 
+  ##
+  # Stop spring before modifying the database
+  def stop_spring
+    run %q[bin/spring stop]
+  end
+
   ##
   # Run rake task to reset the database.
   def reset_db