ARCANEDEV / LaravelSettings

:open_file_folder: This package allows you to persists configs/settings for Laravel projects.
MIT License
75 stars 16 forks source link

Migration file not moved #10

Closed Themesfa closed 6 years ago

Themesfa commented 6 years ago

hi . i'm try to use database driver but in provider you do not include database migration option. that means the database file not automatically moved to laravel migration folder . pleas fix that .

Themesfa commented 6 years ago

i fix that by adding "!" on first of line 51 in SettingsServiceProvider.php file. like that: !SettingsManager::$runsMigrations ? $this->loadMigrations() : $this->publishMigrations(); after that i run vendor:publish again and now database file moved to laravel migration file .

arcanedev-maroc commented 6 years ago

If you want to move the migrations into the database folder.

Set the value of SettingsManager::$runsMigrations to false in your AppServiceProvider for example.