Database.sql Generator
From Contao Community Documentation
I'm not a native English speaker. Please correct my mistakes.
Extension-Overview | |
---|---|
Name of the developer | Glen Langer (BugBuster) |
Developer Website | http://www.contao.glen-langer.de |
Version of the extension | 1.2.0 |
Compatibility with Contao Version | from 2.9 |
Compatibility with TYPOlight Version | 2.8 (not tested, but should work) |
Link to Extension Repository | http://www.contao.org/extension-list/view/dbsql_generator.en.html |
Donate the developer | Cappuccino |
Link to Tracker | http://dev.typolight-forge.org/projects/dbsqlgen/issues |
The database.sql Generator is a backend helper module for developers.
In the backend, there is a new menu item "Developer tools", including the point will "database.sql Generator" to be found.
After selecting the table, the corresponding SQL Create statement is generated and displayed.
Has an extension multiple tables with a common prefix, we can all be generated at a time. For this it is possible from version 1.2.0 to be able to enter in another field a table prefix.
To enter the prefix "tl_cal" would be, for example, generate the statements for the tables "tl_calendar" and "tl_calendar_events.
The output can then be displayed in separate window (view source) or copied to the clipboard. (copy to clipboard)¹
¹: "copy to clipboard" requires Flash
--BugBuster 13:53, 7 September 2010 (CEST)