mirror of
https://github.com/discourse/discourse.git
synced 2026-08-13 06:25:11 -05:00
FIX: Update database_restorer to avoid shell use (#12731)
Follow-up to 0ec5fd5262
This commit is contained in:
@@ -136,7 +136,7 @@ module BackupRestore
|
||||
"SKIP_OPTIMIZE_ICONS" => "1",
|
||||
"DISABLE_TRANSLATION_OVERRIDES" => "1"
|
||||
},
|
||||
"rake db:migrate",
|
||||
"rake", "db:migrate",
|
||||
failure_message: "Failed to migrate database.",
|
||||
chdir: Rails.root
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user