Revision 7796
Added by Aaron Marcuse-Kubitza over 11 years ago
bin/my2pg | ||
---|---|---|
20 | 20 |
-e 's/ (CHARACTER SET|COLLATE) [0-9A-Za-z_]+//g' \ |
21 | 21 |
-e "s/ COMMENT '[^']*'//g" \ |
22 | 22 |
-e 's/ (binary|blob)/ bytea/g' \ |
23 |
-e 's/ longtext/ text/g' \
|
|
23 |
-e 's/ (tinytext|mediumtext|longtext)/ text/g' \
|
|
24 | 24 |
-e 's/ (int|mediumint|smallint|tinyint)([ (])/ integer\2/g' \ |
25 | 25 |
-e 's/ double/ double precision/g' \ |
26 | 26 |
-e 's/ (integer|bigint|bytea|double precision|float)(\([^)]*\))?( unsigned)?/ \1/g' \ |
Also available in: Unified diff
my2pg: Replace tinytext, mediumtext with text