mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
improve copy when restoring a backup
This commit is contained in:
parent
70f00e31df
commit
f22534ae28
1 changed files with 1 additions and 1 deletions
|
@ -236,7 +236,7 @@ module BackupRestore
|
||||||
end
|
end
|
||||||
|
|
||||||
def switch_schema!
|
def switch_schema!
|
||||||
log "Switching schemas..."
|
log "Switching schemas... try reloading the site in 5 minutes, if successful, then reboot and restore is complete."
|
||||||
|
|
||||||
sql = [
|
sql = [
|
||||||
"BEGIN;",
|
"BEGIN;",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue