create-all-tables-fix

This commit is contained in:
Untone 2024-10-15 19:50:17 +03:00
parent bf33cdc95c
commit 63ebf3af2d

12
main.py
View File

@ -46,20 +46,22 @@ async def start():
def create_all_tables(): def create_all_tables():
for model in [ for model in [
# user.User,
author.Author, author.Author,
author.AuthorRating,
author.AuthorFollower, author.AuthorFollower,
notification.Notification,
notification.NotificationSeen,
shout.Shout, shout.Shout,
shout.ShoutAuthor, shout.ShoutAuthor,
shout.ShoutTopic,
shout.ShoutCommunity,
topic.Topic, topic.Topic,
topic.TopicFollower, topic.TopicFollower,
shout.ShoutTopic,
reaction.Reaction, reaction.Reaction,
shout.ShoutReactionsFollower,
author.AuthorRating,
community.Community, community.Community,
shout.ShoutCommunity,
community.CommunityFollower, community.CommunityFollower,
notification.Notification,
notification.NotificationSeen,
# collection.Collection, collection.ShoutCollection, # collection.Collection, collection.ShoutCollection,
# invite.Invite # invite.Invite
]: ]: