From ed11e1128a6c7fbd1453cb389b5bfde858153e68 Mon Sep 17 00:00:00 2001 From: Nicola Murino Date: Mon, 2 Mar 2020 10:34:31 +0100 Subject: [PATCH] docs: clarify the initprovider command is required for SQLite too --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c83897b3..3e558558 100644 --- a/README.md +++ b/README.md @@ -305,7 +305,7 @@ Before starting `sftpgo serve` please ensure that the configured dataprovider is SQL based data providers (SQLite, MySQL, PostgreSQL) requires the creation of a database containing the required tables. Memory and bolt data providers does not require an initialization. After configuring the data provider, using the configuration file, you can create the required database structure using the `initprovider` command. -For SQLite provider the database file will be auto created if missing. +For SQLite provider, `initprovider`command will auto create the database file, if missing, and the required tables. For PostgreSQL and MySQL providers you need to create the configured database, `initprovider` command will create the required tables. For example you can simply execute the following command from the configuration directory: