mirror of
https://github.com/haiwen/seafile-server.git
synced 2025-09-17 23:59:44 +00:00
Add config option 'create_tables'.
This commit is contained in:
@@ -1356,6 +1356,9 @@ create_tables_pgsql (SeafRepoManager *mgr)
|
||||
static int
|
||||
create_db_tables_if_not_exist (SeafRepoManager *mgr)
|
||||
{
|
||||
if (!mgr->seaf->create_tables)
|
||||
return 0;
|
||||
|
||||
SeafDB *db = mgr->seaf->db;
|
||||
int db_type = seaf_db_type (db);
|
||||
|
||||
|
Reference in New Issue
Block a user