Revision 574
Added by Aaron Marcuse-Kubitza almost 13 years ago
lib/PostgreSQL-MySQL.csv | ||
---|---|---|
1 | 1 |
"PostgreSQL","MySQL","Comments" |
2 | 2 |
"^--(?=\S)","\g<0> ", |
3 | 3 |
"""([^""]*?)""","`\1`", |
4 |
"(?<=DEFAULT )(\d+|'[^']*')::\w+(?: \w+)*","\1", |
|
5 |
"(\d+|'[^']*')::(\w+(?: \w+)*)","CAST(\1 AS \2)", |
|
4 | 6 |
"\bserial( NOT NULL\b)?","int(11)\1 AUTO_INCREMENT", |
5 | 7 |
"Integer","int(11)", |
6 | 8 |
"Boolean","int(1)", |
Also available in: Unified diff
PostgreSQL-MySQL.csv: Deal with PostgreSQL-style :: casts