mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 17:53:44 +08:00
FIX: Restorer was not extracting the patch version in dump file.
This commit is contained in:
parent
158286287a
commit
da8e15f954
|
@ -262,7 +262,7 @@ module BackupRestore
|
|||
failure_message: "Failed to check version of pg_dump used to generate the dump file"
|
||||
)
|
||||
|
||||
output.match(/version (\d+(\.\d+)?)/)[1]
|
||||
output.match(/version (\d+(\.\d+)+)/)[1]
|
||||
end
|
||||
|
||||
def can_restore_into_different_schema?
|
||||
|
|
Loading…
Reference in New Issue
Block a user