flarum: disable automatic DB creation

This commit is contained in:
Florian Agbuya 2024-09-03 16:18:45 +08:00
parent 249dacfaa8
commit 1032b5fa95

View File

@ -106,8 +106,14 @@ in {
createDatabaseLocally = mkOption {
type = types.bool;
default = true;
description = "Create the database and database user locally, and run installation.";
default = false;
description = ''
Create the database and database user locally, and run installation.
WARNING: Due to https://github.com/flarum/framework/issues/4018, this option is set
to false by default. The 'flarum install' command may delete existing database tables.
Only set this to true if you are certain you are working with a fresh, empty database.
'';
};
};