Skip to content

Commit

Permalink
Merge pull request #19 from fan-tastic-z/fix-generate_config_database…
Browse files Browse the repository at this point in the history
…_url

fix: generate config template database_url error
  • Loading branch information
fankaiLiu authored Dec 11, 2023
2 parents c2285a7 + c0fdaeb commit 820e244
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 820e244

Please sign in to comment.