Project

General

Profile

« Previous | Next » 

Revision 6309

my2pg: Also remove (#) after bigint

View differences:

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