Skip to content

Commit

Permalink
fix: generate config template database_url error
Browse files Browse the repository at this point in the history
  • Loading branch information
fan-tastic-z committed Dec 11, 2023
1 parent c2285a7 commit c0fdaeb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/template/config/config.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -29,7 +29,7 @@ database_url="mysql://root:[email protected]: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"
Expand Down

0 comments on commit c0fdaeb

Please sign in to comment.