Ask Your Question

How can I get a schema of database models for AskBot?

asked 2016-06-01 14:46:50 -0500

BanzaiTokyo's avatar

updated 2016-06-01 16:19:26 -0500

I am trying to understand the relationship of all the tables of AskBot and so far I am not getting very far. I don't see for example how exactly a Thread relates to a Post (just to name one relationship). Is there an existing database schema that explains these relationships? Or a tool that would allow me an easy to understand schema? Thank you for any help!

edit retag flag offensive close merge delete



There might be some tool like that, created for Django. Perhaps someone else can give a specific answer.

Evgeny's avatar Evgeny  ( 2016-06-13 05:53:07 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2016-06-13 15:11:56 -0500

BanzaiTokyo's avatar

I cannot attach images because I don't have enough points. But here's the link to the schema in SVG format that I generated with PyCharm.

But because it is auto-generated it gives too much information. I think it would be so much more helpful for new askbot developers to have a manually created schema that concentrates on the most important objects and their relationships (threads, posts, revisions, users, etc)

edit flag offensive delete link more


There is probably a better tool, maybe even something that inspects the SQL tables directly.

Evgeny's avatar Evgeny  ( 2016-06-15 05:50:34 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



Asked: 2016-06-01 14:46:50 -0500

Seen: 2,008 times

Last updated: Jun 13 '16