-
-
Save DevWL/cf712de6ac3a72fa805251e15f01b22d to your computer and use it in GitHub Desktop.
Useful SQL for finding relation with in PrestaShop database
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
First select databsae with USE keyword. Then: | |
SELECT TABLE_NAME, ENGINE, TABLE_COLLATION, CREATE_OPTIONS, TEMPORARY | |
FROM INFORMATION_SCHEMA.TABLES | |
WHERE TABLE_NAME LIKE '%product%' GROUP BY TABLE_NAME; | |
SELECT TABLE_NAME, ENGINE, TABLE_COLLATION, CREATE_OPTIONS, TEMPORARY | |
FROM INFORMATION_SCHEMA.TABLES | |
WHERE TABLE_NAME LIKE '%feature%' GROUP BY TABLE_NAME; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment