mirror of
https://github.com/discourse/discourse.git
synced 2024-12-17 01:23:43 +08:00
FIX: Restorer was not extracting the patch version in dump file.
This commit is contained in:
parent
833314f4b4
commit
e2f6d8b5ca
|
@ -260,7 +260,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?
|
||||||
|
|
Loading…
Reference in New Issue
Block a user