mybb / docs.mybb.com

The MyBB documentation.
https://docs.mybb.com
26 stars 75 forks source link

Table Documentation #168

Open dragonexpert opened 6 years ago

dragonexpert commented 6 years ago

Broke down all the tables to show the columns and what they are used for.

euantorano commented 6 years ago

This is a big one! I wonder if it might make sense to make the table names bold and differentiate the column names from the descriptions somehow - perhaps by making the column name italic, or maybe by using a HTML table to show each table?

dragonexpert commented 6 years ago

So maybe The table name on top. Then th for column name, column type, description? If so, it would be best to build a script to do that as it would take a lot longer to do manually.

euantorano commented 6 years ago

Yeah, something like that I’d say. A script would definitely be the best approach in my opinion as ideally the column type definitions would include all supported DBMS (MySQL, Postgres, SQLite).

On 12 Feb 2018, at 20:10, dragonexpert notifications@github.com wrote:

So maybe The table name on top. Then th for column name, column type, description? If so, it would be best to build a script to do that as it would take a lot longer to do manually.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

dragonexpert commented 6 years ago

Here is a preview of what I have: http://superlatios.com/forums/totable.html I think we should assign a fixed width for each table though. Just let me know what to put so I can generate it.

andrewjs18 commented 6 years ago

looks pretty good, @dragonexpert. I agree with you on a fixed width.

dragonexpert commented 6 years ago

Do you think 1000px would be sufficient? @euantorano @andrewjs18

andrewjs18 commented 6 years ago

probably would be fine...most people use a resolution above 1024 these days anyways.

dragonexpert commented 6 years ago

I'll generate the tables with a fixed width tomorrow then and update the PR.

Ben-MyBB commented 6 years ago

We should probably try to get this merged. @andrewjs18 @euantorano @justinsoltesz ?

euantorano commented 6 years ago

Yep, we should. I'm not sure how up to date this PR is, but we could merge it and update it I guess.

andrewjs18 commented 6 years ago

bump, @dragonexpert

Ben-MyBB commented 4 years ago

@dragonexpert any chance you could update this one?

Ben-MyBB commented 4 years ago

@yuliu is there any chance you can check the content here?

yuliu commented 4 years ago

@yuliu is there any chance you can check the content here?

Sure I'll take a look in this weekend. But what if the content is out of date? Database changes exist in recent version updates.

euantorano commented 4 years ago

It probably is out of date, but we can always merge then update or update the PR directly (it appears to be open to maintainers supplying changes directly).