set --safe bool

This commit is contained in:
long2ice 2020-06-08 18:07:41 +08:00
parent bf194ca8ce
commit 7413a05e19
2 changed files with 5 additions and 3 deletions

View File

@ -1,13 +1,15 @@
=========
ChangeLog
=========
0.1
0.2
===
0.2.0
-----
- Update model file find method.
- Set ``--safe`` bool.
0.1
===
0.1.9
-----
- Fix default_connection when upgrade

View File

@ -190,7 +190,7 @@ async def init(
@cli.command(help="Generate schema and generate app migrate location.")
@click.option(
"--safe",
is_flag=True,
type=bool,
default=True,
help="When set to true, creates the table only when it does not already exist.",
show_default=True,