1
0
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:
cuihaikuo
2018-07-05 11:58:33 +08:00
parent fe76dd1468
commit 6eab55e149
9 changed files with 37 additions and 5 deletions

View File

@@ -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);