Comments bucgene started the conversationAugust 11, 2020 at 7:28amNew installation, when i try to run php artisan migrate, this error occours: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'sapphire.cities' doesn't exist (SQL: alter table `cities` add `slug` varchar(120) null, add `is_featured` tinyint not null default '0', add `image` varchar(255) null)Is there anything you can help 2,557Support repliedAugust 11, 2020 at 7:34amHi,Please change in platform/themes/flex-home/functions/functions.php line 14 app()->booted(function () { app('migrator')->path(__DIR__ . '/../database/migrations'); });to app()->booted(function () { if (is_plugin_active('location')) { app('migrator')->path(__DIR__ . '/../database/migrations'); } });Screenshot:Docs for installation: https://docs.botble.com/flex-home/2.x#install-locally-or-in-vpsThanks for your feedback!bucgene repliedAugust 13, 2020 at 4:15ambut the location plugin is activated. Its not removed. 2,557Support repliedAugust 13, 2020 at 4:17amDoes it work after change in platform/themes/flex-home/functions/functions.php?It's working fine for me. Plugin's status is saved into database so in the first migration, no plugins activated. Sign in to reply ...
New installation, when i try to run php artisan migrate, this error occours:
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'sapphire.cities' doesn't exist (SQL: alter table `cities` add `slug` varchar(120) null, add `is_featured` tinyint not null default '0', add `image` varchar(255) null)
Is there anything you can help
Hi,
Please change in platform/themes/flex-home/functions/functions.php line 14
to
Screenshot:
Docs for installation: https://docs.botble.com/flex-home/2.x#install-locally-or-in-vps
Thanks for your feedback!
but the location plugin is activated. Its not removed.
Does it work after change in platform/themes/flex-home/functions/functions.php?
It's working fine for me.
Plugin's status is saved into database so in the first migration, no plugins activated.