1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-30 04:23:11 +03:00

Updated default encoding and added conversion migration.

Also updated how DB port is defined so that the DB_PORT
env var can be used or it can be take from the host name.

Fixes #405
This commit is contained in:
Dan Brown
2017-07-02 17:20:05 +01:00
parent 7293ad7b24
commit 005f0eb4fc
3 changed files with 61 additions and 3 deletions

View File

@ -23,6 +23,9 @@ class AppServiceProvider extends ServiceProvider
\Blade::directive('icon', function($expression) {
return "<?php echo icon($expression); ?>";
});
// Allow longer string lengths after upgrade to utf8mb4
\Schema::defaultStringLength(191);
}
/**