public
Description: Rails schema browser plugin: proof of concept
Homepage: http://tomtenthij.co.uk/2008/2/12/rails-schema-browser-plugin-proof-of-concept
Clone URL: git://github.com/tomtt/schema-browser.git
Click here to lend your support to: schema-browser and make a donation at www.pledgie.com !
Tom ten Thij (author)
Wed Apr 23 07:26:22 -0700 2008
commit  9c4eab78ec6ca3e868b5cb4d8024de15b54c7295
tree    08bbe88023a34c90bf8f78511754bf719ef9f9db
parent  83f36e873fe731cd6257ca43841dea2d418ffeae parent  19cec3a91eefc2077d2052330298796f0dc3b026
README
SchemaBrowser
=============

This plugin will allow the database structure and model relations to
be viewed in an interactive graphical interface. The interface used heavily based
on http://ondras.zarovi.cz/sql/

Please note that this is just a proof of concept at this stage and
that it will be in constant state of rewrite over the next few
weeks. Be prepared for everything changing on a whim.

To install run script/generate schema_browser. This creates a
controller called schema_browser, views generating the interface and
the xml representation of the database schema and model relations. It
also adds routes for this and copies required files to public/

Todo
====
* Support polymorphic relations
* Modify layout page to be more suited for just browsing the schema
* Smarter default placement of tables
* Ability to store position of tables in database, stored remotely after drag event in interface
* Allow name of controller (and schema view) to be specified to generator
* Disable by default in production mode
* More support in interface for untangling relations
* Provide option to not show certain tables
* Allow different views of the schema (with tables having different properties/positions for each view)
* Create whitelist and blacklist implementation to determine which table to show
* Allow table to be collapsed (interface + store in database)
* Fix issue where some tables do not show PK for their id

Copyright (c) 2008 [Tom ten Thij], released under the MIT license