Version 3.0 to 4.0
To migrate from version 3.0 to version 4.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-admin-v34. 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
composer update
php artisan migrate
php artisan db:seed --class=RoleTableSeeder
php artisan db:seed --class=PermissionSeeder
php artisan db:seed --class=CompanySeeder
php artisan db:seed --class=AppSettingSeeder
php artisan db:seed --class=GeneralSettingSeeder
php artisan db:seed --class=LeaveTypeSeeder
php artisan db:seed --class=FeatureSeeder
php artisan db:seed --class=EmployeeCodeSeeder
php artisan db:seed --class=ProjectSlugSeeder
php artisan db:seed --class=EmployeeAccountSeeder
You're all done. Enjoy all our new features. Note: All your employees will require to log out and log in back in after this update.
Please Note that you might may have to update the Roles and Permissions of the roles you previously created once you have migrated. This may not be needed for some but please make sure to check the roles and permissions of roles and update it if needed.
Once you have migrated the above files you will need to replace the assets folder as well. We have added assets.zip file in the update folder as well. To replace the assets folder, open file manager from your cpanel and
Navigate to public_html or the folder where you have installed our script
open public folder
click on the upload button
upload the .zip file
extract the zip file on your public folder and it will be replaced since it has the same name.
That's it. Enjoy all of our new designs as well.
Last updated