Revision 6309
Added by Aaron Marcuse-Kubitza about 12 years ago
bin/my2pg | ||
---|---|---|
18 | 18 |
-e 's/ longtext/ text/g' \ |
19 | 19 |
-e 's/ (int|mediumint|smallint|tinyint)([ (])/ integer\2/g' \ |
20 | 20 |
-e 's/ double/ double precision/g' \ |
21 |
-e 's/ (integer|double precision|float)(\([^)]*\))?( unsigned)?/ \1/g' \ |
|
21 |
-e 's/ (integer|bigint|double precision|float)(\([^)]*\))?( unsigned)?/ \1/g' \
|
|
22 | 22 |
-e "s/'0000-00-00'/'-infinity'/g" \ |
23 | 23 |
"$@" |
Also available in: Unified diff
my2pg: Also remove (#) after bigint