Version 11.0 to 12.0
To migrate from version 11.0 to version 12.0 you will need to replace all the files. No data from the database will be lost in the process but any changes you made on our previous code will be replaced. If those codes are necessary please keep a backup of it before replacing the files.
To migrate follow the following steps:
Open the control panel
navigate to file manager
open the public_html folder
From the downloaded zip file look for the zip file named 'digital-hr-file-migration-12. Upload this zip file to the public_html file
Unzip the file and make sure you replace all the files
Once you have successfully replaced the files, go back to your cPanel and
Open terminal
type the following commands
cd public_html <or to the folder where you have installed our script>
Once you are at the above path, run these commands:
php artisan migrate
php artisan db:seed --class=UpdateLeaveDepartmentSeeder
php artisan db:seed --class=FeatureSeeder
php artisan db:seed --class=AppSettingSeeder
php artisan cache:clear
php artisan route:clear
php artisan config:clear
php artisan optimize:clear
php artisan optimize
You're all done. Enjoy all our new features. Optional Step: In the .env file located in the main file, you can add the variable: NEPALI_DATE = false Do this step to hide these two features from the general settings: Date in BS and Reset Leave Count on 1st Shrawan


Note: We understand that these features are nuisance to users who does not need Nepali date on their system so to disable it please add the above variable to the .env file. You can place the variable anywhere in the .env file and save it.
Last updated