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:

  1. Open the control panel

  2. navigate to file manager

  3. open the public_html folder

  4. 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

  5. Unzip the file and make sure you replace all the files

Once you have successfully replaced the files, go back to your cPanel and

  1. Open terminal

  2. type the following commands

  3. cd public_html

  4. composer update

  5. php artisan migrate

  6. php artisan db:seed --class=RoleTableSeeder

  7. php artisan db:seed --class=PermissionSeeder

  8. php artisan db:seed --class=CompanySeeder

  9. php artisan db:seed --class=AppSettingSeeder

  10. php artisan db:seed --class=GeneralSettingSeeder

  11. php artisan db:seed --class=LeaveTypeSeeder

  12. php artisan db:seed --class=FeatureSeeder

  13. php artisan db:seed --class=EmployeeCodeSeeder

  14. php artisan db:seed --class=ProjectSlugSeeder

  15. 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

  1. Navigate to public_html or the folder where you have installed our script

  2. open public folder

  3. click on the upload button

  4. upload the .zip file

  5. 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