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:
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user