Commit 1032b5fa authored by Florian Agbuya's avatar Florian Agbuya
Browse files

flarum: disable automatic DB creation

parent 249dacfa
Loading
Loading
Loading
Loading
+8 −2
Original line number Diff line number Diff line
@@ -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.
      '';
    };
  };