By pedrofaria on
I did a little module for MySQL Workbench (Mysql database modeler) to export tables scheme to Drupal Scheme.
You can download the Workbench module at:
http://www.eusouopedro.com/sites/eusouopedro.com/files/wb_drupal6_schema...
Of course, you need to remove _.txt at the end of file name.
fill free for make questions or patches....
cya
Comments
I think this plugin is very
I think this plugin is very nice but I have problems with making it work... I've installed MySQL Workbench and installed the plugin by going to Scripting -> Install Plugin/Module. It said everything was ok and that I need to restart. I did that but than I cannot find how to actually use it. A little help would be great.
Thanks you!
How do you use this?
I'm with zeusent. I was able to successfully install this into MySQL workbench but I have no idea how to invoke it. I would LOVE a hint!
updated the module for 5.2 MWB compatibility
after installing, find it under Plugins> Catalog
bug fix & misc edits
Found an updated version of this for Drupal 7
It is not exactly obvious how to use it once the script is installed as a plugin in MySQL Workbench.
To get it to work on MySQL Workbench for windows 5.2.42 CE I need to click on "Create New EER Model" follow through on sensible defaults. Then on the file menu for the MySQL Model window or the EER Diagram window click plugins / Catalog / Generate Drupal Schema
Line 223, replace with : #
Line 223, replace with :
Another plugin
I created a MySQL Workbench plugin that makes it easier when testing/writing queries during drupal module development. After installing the plugin, it adds two menu options (In the SQL Editor View):
The first command removes the curly braces from around table names. eg.
SELECT * FROM {users}; => SELECT * FROM users;The second command does the opposite and copies the result to the clipboard:
SELECT * FROM users; => SELECT * FROM {users};Known limitations:
You can grab my plugin, as well as the schema dump plugin here: https://github.com/ttk/mysql-workbench-plugins
The schema dump plugin in
The schema dump plugin in your repository is a bit outdated, you can find an updated version on my website: http://www.mvaprojects.be/en/open-source/drupal-schema-generator-voor-my...
I updated the repository with
I updated the repository with your new version. Thanks!