mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-26 06:04:08 -08:00
Merge pull request #14379 from chandanchowdhury/master
Fix #13515: Cannot restore backup
This commit is contained in:
commit
b3aba4ad99
|
@ -6,5 +6,5 @@ return array (
|
|||
'prerelease_version' => '',
|
||||
'hash_version' => 'g9a5c1b812',
|
||||
'full_hash' => 'v6.3.2-160-g9a5c1b812',
|
||||
'branch' => 'develop',
|
||||
'branch' => 'master',
|
||||
);
|
|
@ -17,16 +17,23 @@ else
|
|||
fi
|
||||
|
||||
# create data directories
|
||||
# Note: Keep in sync with expected directories by the app
|
||||
# https://github.com/snipe/snipe-it/blob/master/app/Console/Commands/RestoreFromBackup.php#L232
|
||||
for dir in \
|
||||
'data/private_uploads' \
|
||||
'data/private_uploads/assets' \
|
||||
'data/private_uploads/accessories' \
|
||||
'data/private_uploads/audits' \
|
||||
'data/private_uploads/components' \
|
||||
'data/private_uploads/consumables' \
|
||||
'data/private_uploads/eula-pdfs' \
|
||||
'data/private_uploads/imports' \
|
||||
'data/private_uploads/assetmodels' \
|
||||
'data/private_uploads/users' \
|
||||
'data/private_uploads/licenses' \
|
||||
'data/private_uploads/signatures' \
|
||||
'data/uploads/accessories' \
|
||||
'data/uploads/assets' \
|
||||
'data/uploads/avatars' \
|
||||
'data/uploads/barcodes' \
|
||||
'data/uploads/categories' \
|
||||
|
|
Loading…
Reference in a new issue