Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
drush sqlq "select distinct concat('describe ', table_name, ';') as query from information_schema.tables where table_schema='<db_name_here>'"| xargs -I % drush sqlq "%" > ~/tables.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.