This commit is contained in:
@@ -2,8 +2,9 @@ from services.db import Base, engine
|
||||
from orm.shout import Shout
|
||||
from orm.community import Community
|
||||
|
||||
|
||||
def init_tables():
|
||||
Base.metadata.create_all(engine)
|
||||
Community.init_table()
|
||||
Shout.init_table()
|
||||
Community.init_table()
|
||||
print("[orm] tables initialized")
|
||||
|
Reference in New Issue
Block a user