]>
BookStack Code Mirror - bookstack/commitdiff
projects
/
bookstack
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
00af40a
)
Allow to use DB tables prefix
author
floviolleau
<redacted>
Sun, 19 Sep 2021 12:31:18 +0000
(14:31 +0200)
committer
GitHub
<redacted>
Sun, 19 Sep 2021 12:31:18 +0000
(14:31 +0200)
app/Config/database.php
patch
|
blob
|
history
diff --git
a/app/Config/database.php
b/app/Config/database.php
index 7fb51a13bf0664c3994447d2df4cf20591dccdc8..9394439305a3b6839c886f2383dcbaea5141fe18 100644
(file)
--- a/
app/Config/database.php
+++ b/
app/Config/database.php
@@
-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,