diff options
author | Parker <contact@pkrm.dev> | 2025-04-03 22:33:50 -0500 |
---|---|---|
committer | Parker <contact@pkrm.dev> | 2025-04-03 22:33:50 -0500 |
commit | 06d903b4f6dfd0be61122cc54639e284aa788014 (patch) | |
tree | 0b8a2180641cdc6aa848ca60fcf0d9aea079848e | |
parent | 7ac5a8c0169d67f26db6a14f6a7c10fb8ed570a3 (diff) |
Set defaults for config options
-rw-r--r-- | config.py | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -57,8 +57,8 @@ schema = { "type": "object", "properties": { "name": {"type": "string", "default": "disarchive"}, - "host": {"type": "string"}, - "port": {"type": "integer"}, + "host": {"type": "string", "default": "localhost"}, + "port": {"type": "integer", "default": 3306}, "user": {"type": "string"}, "password": {"type": "string"}, }, @@ -74,8 +74,8 @@ schema = { "type": "object", "properties": { "name": {"type": "string", "default": "disarchive"}, - "host": {"type": "string"}, - "port": {"type": "integer"}, + "host": {"type": "string", "default": "localhost"}, + "port": {"type": "integer", "default": 5432}, "user": {"type": "string"}, "password": {"type": "string"}, }, |