Added DB creation [2]
This commit is contained in:
parent
85f726e84c
commit
8da2afc09d
@ -404,6 +404,9 @@ def get_balance():
|
||||
|
||||
@dbs_app.command("create")
|
||||
def dbs_create(passwd: str = typer.Option(..., help="DB password"), name: str = typer.Option(..., help="DB Name"), db_type: str = typer.Option(..., help="mysql5/mysql/postgres")):
|
||||
"""
|
||||
Create database
|
||||
"""
|
||||
# service_type == 341 - mysql
|
||||
# service_type == 357 - pgsql
|
||||
result = Dbaas.create(passwd=passwd, name=name, db_type=db_type)
|
||||
|
Loading…
Reference in New Issue
Block a user