mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-04 10:43:49 +00:00
Fix. Create database scheme before trying insert record to v_database (#2965)
Problem that `create_database_pgsql` does not create actual scheme but `create_odbc_database_connection` try insert record to v_database and installation fails.
This commit is contained in:
committed by
FusionPBX
parent
b26ffca76f
commit
d84bebc1d5
@@ -378,7 +378,7 @@ include "root.php";
|
||||
//add the database structure
|
||||
require_once "resources/classes/schema.php";
|
||||
$schema = new schema;
|
||||
//echo $schema->schema();
|
||||
echo $schema->schema();
|
||||
|
||||
//get the contents of the sql file
|
||||
if (file_exists('/usr/share/examples/fusionpbx/sql/pgsql.sql')){
|
||||
|
||||
Reference in New Issue
Block a user