Project

General

Profile

« Previous | Next » 

Revision 7534

my2pg: Remove COLLATE field attribute

View differences:

bin/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