mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 22:43:33 +08:00
FIX: Restorer was not extracting the patch version in dump file.
This commit is contained in:
@ -262,7 +262,7 @@ module BackupRestore
|
|||||||
failure_message: "Failed to check version of pg_dump used to generate the dump file"
|
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
|
end
|
||||||
|
|
||||||
def can_restore_into_different_schema?
|
def can_restore_into_different_schema?
|
||||||
|
Reference in New Issue
Block a user