Merge pull request #2995 from happyhardik/master
Using Prefix from ENV variable during installation
This commit is contained in:
commit
f2fd54060a
@ -39,9 +39,10 @@ class Database extends Controller
|
||||
$database = $request['database'];
|
||||
$username = $request['username'];
|
||||
$password = $request['password'];
|
||||
$prefix = config("database.connections.$connection.prefix", null);
|
||||
|
||||
// Check database connection
|
||||
if (!Installer::createDbTables($host, $port, $database, $username, $password)) {
|
||||
if (!Installer::createDbTables($host, $port, $database, $username, $password, $prefix)) {
|
||||
$response = [
|
||||
'status' => null,
|
||||
'success' => false,
|
||||
|
Loading…
x
Reference in New Issue
Block a user