[NixOS] Remove initialization for postgres

This commit is contained in:
Ivan Malison 2024-01-04 20:02:11 -07:00
parent 0c685bee88
commit 8b83c429d1

View File

@ -18,11 +18,11 @@ makeEnable config "modules.postgres" false {
createdb = true;
};
}) realUsers;
initialScript = pkgs.writeText "init-sql-script" ''
CREATE DATABASE IF NOT EXISTS railbird;
\c railbird
CREATE SCHEMA IF NOT EXISTS railbird;
'';
# initialScript = pkgs.writeText "init-sql-script" ''
# CREATE DATABASE IF NOT EXISTS railbird;
# \c railbird
# CREATE SCHEMA IF NOT EXISTS railbird;
# '';
};
services.pgadmin = {
enable = true;