Project

General

Profile

« Previous | Next » 

Revision 7535

my2pg: Replace datetime with timestamp

View differences:

bin/my2pg
20 20
-e 's/ (int|mediumint|smallint|tinyint)([ (])/ integer\2/g' \
21 21
-e 's/ double/ double precision/g' \
22 22
-e 's/ (integer|bigint|double precision|float)(\([^)]*\))?( unsigned)?/ \1/g' \
23
-e 's/ datetime/ timestamp/g' \
23 24
-e "s/'0000-00-00'/'-infinity'/g" \
24 25
"$@"

Also available in: Unified diff