Skip to content

Commit 6ce2dc6

Browse files
committed
updates management commands
1 parent 0b52ebc commit 6ce2dc6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

services/server/manage.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@
88
cli = FlaskGroup(create_app=create_app)
99

1010

11-
@cli.command()
11+
@cli.command('recreate_db')
1212
def recreate_db():
1313
db.drop_all()
1414
db.create_all()
1515
db.session.commit()
1616

1717

18-
@cli.command()
18+
@cli.command('seed_db')
1919
def seed_db():
2020
"""Seeds the database."""
2121
db.session.add(Book(

0 commit comments

Comments
 (0)