This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

saiful.apm38
saiful.apm38

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 ?

saiful.apm38
saiful.apm38

My version.yaml file: 1.0.1:

  • First version of ThecodeLover Timer plugin
  • create_timer_table.php
  • seed_the_database.php
chris10207
chris10207

Hi, did you find a solution to your plugin update problem ? im facing the same question

planetadeleste
planetadeleste

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

chris10207
chris10207

awesome ! thanks for this, i didnt know the trick with the logout ;)

1-5 of 5

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.