From 06d903b4f6dfd0be61122cc54639e284aa788014 Mon Sep 17 00:00:00 2001 From: Parker Date: Thu, 3 Apr 2025 22:33:50 -0500 Subject: [PATCH] Set defaults for config options --- config.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/config.py b/config.py index 509ec43..1c44585 100644 --- a/config.py +++ b/config.py @@ -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"}, },