Revision 7534
Added by Aaron Marcuse-Kubitza almost 12 years ago
my2pg | ||
---|---|---|
13 | 13 |
sed \ |
14 | 14 |
-e 's/^ ((UNIQUE|FULLTEXT) )?KEY "([^"]*)" \([^)]*\)/ "\3_index" boolean/' \ |
15 | 15 |
-e "s/\/\*.* (SET NAMES )([0-9A-Za-z_]+) \*\/;/\1'\2';/" \ |
16 |
-e 's/ CHARACTER SET [0-9A-Za-z_]+//g' \
|
|
16 |
-e 's/ (CHARACTER SET|COLLATE) [0-9A-Za-z_]+//g' \
|
|
17 | 17 |
-e "s/ COMMENT '[^']*'//g" \ |
18 | 18 |
-e 's/ blob/ bytea/g' \ |
19 | 19 |
-e 's/ longtext/ text/g' \ |
Also available in: Unified diff
my2pg: Remove COLLATE field attribute