This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
Hi, I have create a plugin in my localhost .. Here i can run this command php artisan plugin:refresh TheCodeLover.Timers for install database table .. But when i will add this on live server by ftp , then How i install database table ?
My version.yaml file: 1.0.1:
- First version of ThecodeLover Timer plugin
- create_timer_table.php
- seed_the_database.php
In production server (or development), just upload the entire plugin folder. Them go to backend panel, if you are logged in, just logout and login. The plugin manager read the yaml settings and run the migration scripts.
Remember to have the right version.yaml
syntax
1.0.1:
- First version of ThecodeLover Timer plugin
- create_timer_table.php
- seed_the_database.php
If the plugin was installed without the create_timer_table.php
or seed_the_database.php
, move this lines to a 1.0.2 version. But always write a description before the migration scripts. Like - First version of ThecodeLover Timer plugin
.
Sorry my english.
Last updated
1-5 of 5