From 8f668d28d952722420db91eec7ab5663f597d14c Mon Sep 17 00:00:00 2001 From: fan-tastic Date: Mon, 11 Dec 2023 16:33:10 +0800 Subject: [PATCH] fix: generate config database_url error --- src/template/config/config.hbs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/template/config/config.hbs b/src/template/config/config.hbs index a1b180d..973129a 100644 --- a/src/template/config/config.hbs +++ b/src/template/config/config.hbs @@ -7,7 +7,7 @@ cors_allow_origin=["https://salvo.rs"] [database] {{#if is_sea_orm_or_sqlx}} {{#if is_postgres}} -database_url=postgresql://liufankai:1@localhost/salvo_demo +database_url="postgresql://liufankai:1@localhost/salvo_demo" {{/if}} {{#if is_sqlite}} database_url="sqlite:data/demo.db"