AdaCore / gnatcoll-db

GNAT Components Collection – Database packages
Other
11 stars 22 forks source link

gnatcoll_all2ada has enough information to generate better readable schema #27

Open fdesp87 opened 2 years ago

fdesp87 commented 2 years ago

For example: gnatcoll_all2ada should have some parameters to generate: • if there is a table or view description that starts by (), the 3rd column for tables should be automatically generated as • if the name of the table or view ends in “s”, the 3rd column should be automatically generated using the name but removing the “s”. However, in some cases the result may not be corrected and should be modified by hand. Think in “currencies”. • To control producing comments or not. • To align columns. In addition, column alignment should be global to all tables.

For more explanations, you can read the report https://github.com/fdesp87/gnatcoll-db/examples/mytests/Report.odt