We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 33e3ad1 commit 52a8f00Copy full SHA for 52a8f00
Rakefile
@@ -5,3 +5,8 @@
5
require File.expand_path('../config/application', __FILE__)
6
7
Discourse::Application.load_tasks
8
+
9
+# this prevents crashes when migrating a database in production in certain
10
+# PostgreSQL configuations when trying to create structure.sql
11
+Rake::Task["db:structure:dump"].clear if Rails.env.production?
12
0 commit comments