]> BookStack Code Mirror - bookstack/blobdiff - app/Config/database.php
Allow to use DB tables prefix
[bookstack] / app / Config / database.php
index 7fb51a13bf0664c3994447d2df4cf20591dccdc8..9394439305a3b6839c886f2383dcbaea5141fe18 100644 (file)
@@ -69,7 +69,7 @@ return [
             'port'           => $mysql_port,
             'charset'        => 'utf8mb4',
             'collation'      => 'utf8mb4_unicode_ci',
-            'prefix'         => '',
+            'prefix'         => env('DB_TABLE_PREFIX', ''),
             'prefix_indexes' => true,
             'strict'         => false,
             'engine'         => null,