Skip to content

Commit

Permalink
Added SQL to return text used to create MySQL views
Browse files Browse the repository at this point in the history
  • Loading branch information
johncurrier committed Jun 12, 2009
1 parent 66fe0cb commit 59d1630
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/net/sourceforge/schemaspy/dbTypes/mysql.properties
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,7 @@ selectTableCommentsSql=select table_name, table_comment comments from informatio
# this should be significantly faster than the default implementation, but will be
# a rough estimate for InnoDB-based tables
# comment out this line if that's not appropriate for your situation
selectRowCountSql=select table_rows row_count from information_schema.tables where table_name=:table
selectRowCountSql=select table_rows row_count from information_schema.tables where table_name=:table

# return text of the specified :view
selectViewSql=select view_definition as text from information_schema.views where table_name=:view

0 comments on commit 59d1630

Please sign in to comment.