This commit is contained in:
parent
46e684b28d
commit
04dedaa3a3
|
@ -4,6 +4,6 @@ from orm.community import Community
|
||||||
|
|
||||||
def init_tables():
|
def init_tables():
|
||||||
Base.metadata.create_all(engine)
|
Base.metadata.create_all(engine)
|
||||||
Shout.init_table()
|
|
||||||
Community.init_table()
|
Community.init_table()
|
||||||
|
Shout.init_table()
|
||||||
print("[orm] tables initialized")
|
print("[orm] tables initialized")
|
||||||
|
|
|
@ -4,6 +4,7 @@ from resolvers.author import (
|
||||||
load_authors_by,
|
load_authors_by,
|
||||||
update_profile,
|
update_profile,
|
||||||
get_authors_all,
|
get_authors_all,
|
||||||
|
rate_author
|
||||||
)
|
)
|
||||||
|
|
||||||
from resolvers.reaction import (
|
from resolvers.reaction import (
|
||||||
|
@ -32,6 +33,7 @@ __all__ = [
|
||||||
"load_authors_by",
|
"load_authors_by",
|
||||||
"update_profile",
|
"update_profile",
|
||||||
"get_authors_all",
|
"get_authors_all",
|
||||||
|
"rate_author",
|
||||||
# reader
|
# reader
|
||||||
"load_shout",
|
"load_shout",
|
||||||
"load_shouts_by",
|
"load_shouts_by",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user