]> BookStack Code Mirror - bookstack/blobdiff - app/Config/database.php
Reverted shift change to old migration
[bookstack] / app / Config / database.php
index 7fb51a13bf0664c3994447d2df4cf20591dccdc8..0c696609526fa5fc02fca74e975f076f87ee6884 100644 (file)
@@ -69,7 +69,10 @@ return [
             'port'           => $mysql_port,
             'charset'        => 'utf8mb4',
             'collation'      => 'utf8mb4_unicode_ci',
-            'prefix'         => '',
+            // Prefixes are only semi-supported and may be unstable
+            // since they are not tested as part of our automated test suite.
+            // If used, the prefix should not be changed otherwise you will likely receive errors.
+            'prefix'         => env('DB_TABLE_PREFIX', ''),
             'prefix_indexes' => true,
             'strict'         => false,
             'engine'         => null,