diff --git a/src/template/config/config.hbs b/src/template/config/config.hbs index 973129a..c14d952 100644 --- a/src/template/config/config.hbs +++ b/src/template/config/config.hbs @@ -18,7 +18,7 @@ database_url="mysql://root:981109@localhost/salvo_demo" {{/if}} {{#if is_diesel}} {{#if is_postgres}} -database_url=postgres://liufankai:1@localhost/diesel_example +database_url="postgres://liufankai:1@localhost/diesel_example" {{/if}} {{#if is_sqlite}} database_url="file:data/test.db" @@ -29,7 +29,7 @@ database_url="mysql://root:123@127.0.0.1:3306/diesel_example" {{/if}} {{#if is_rbatis}} {{#if is_postgres}} -database_url=postgres://liufankai:1@localhost/rbatis_example +database_url="postgres://liufankai:1@localhost/rbatis_example" {{/if}} {{#if is_sqlite}} database_url="data/rbatis_sqlite.db"