This file contains hidden or 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
UPDATE TABLE_NAME | |
SET COLUMN_NAME = REPLACE(COLUMN_NAME, 'string/to/find', 'string/to/replace') | |
# OPTIONAL: Replaces embedded strings | |
WHERE COLUMN_NAME LIKE ('%string_to_find%'); |
This file contains hidden or 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
# SEARCH DATABASE TABLES FOR COLUMN NAME | |
SELECT | |
table_name, | |
column_name, | |
data_type, | |
ordinal_position | |
FROM | |
INFORMATION_SCHEMA.COLUMNS | |
WHERE |
This file contains hidden or 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
<?php | |
/** | |
* EXAMPLES OF USE | |
************************************* | |
* | |
* Download and unzip your custom framework. Then create the database connection file. | |
* | |
* $install = new installer(); | |
* $install->download('http://your-domain.com/framework.zip'); |
OlderNewer