Add database setup script

This commit is contained in:
2022-07-02 17:03:26 +02:00
parent e1ec4b9a8d
commit e8958ef966
2 changed files with 58 additions and 0 deletions

View File

@ -9,6 +9,7 @@ const DBHOST = 'localhost'; // Database host
const DBUSER = 'postfix'; // Database user
const DBPASS = 'YOUR_PASSWORD'; // Database password
const DBNAME = 'postfix'; // Database
const DBVERSION = 1; // Database schema version
const PERSISTENT = true; // persistent database connection
const CAPTCHA_DIFFICULTY = 1; // captcha difficulty from 0 to 3