set --safe bool
This commit is contained in:
parent
bf194ca8ce
commit
7413a05e19
@ -1,13 +1,15 @@
|
|||||||
=========
|
=========
|
||||||
ChangeLog
|
ChangeLog
|
||||||
=========
|
=========
|
||||||
|
0.2
|
||||||
0.1
|
|
||||||
===
|
===
|
||||||
0.2.0
|
0.2.0
|
||||||
-----
|
-----
|
||||||
- Update model file find method.
|
- Update model file find method.
|
||||||
|
- Set ``--safe`` bool.
|
||||||
|
|
||||||
|
0.1
|
||||||
|
===
|
||||||
0.1.9
|
0.1.9
|
||||||
-----
|
-----
|
||||||
- Fix default_connection when upgrade
|
- Fix default_connection when upgrade
|
||||||
|
@ -190,7 +190,7 @@ async def init(
|
|||||||
@cli.command(help="Generate schema and generate app migrate location.")
|
@cli.command(help="Generate schema and generate app migrate location.")
|
||||||
@click.option(
|
@click.option(
|
||||||
"--safe",
|
"--safe",
|
||||||
is_flag=True,
|
type=bool,
|
||||||
default=True,
|
default=True,
|
||||||
help="When set to true, creates the table only when it does not already exist.",
|
help="When set to true, creates the table only when it does not already exist.",
|
||||||
show_default=True,
|
show_default=True,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user