mirror of
https://github.com/sismics/docs.git
synced 2024-11-22 05:57:57 +01:00
pgsql compatibility
This commit is contained in:
parent
868a74c184
commit
d935e07990
@ -48,8 +48,11 @@ public class DialectUtil {
|
||||
sql = sql.replaceAll("(cached|memory) table", "table");
|
||||
sql = sql.replaceAll("datetime", "timestamp");
|
||||
sql = sql.replaceAll("longvarchar", "text");
|
||||
sql = sql.replaceAll("bit not null", "bool not null");
|
||||
sql = sql.replaceAll("bit default 1", "bool default true");
|
||||
sql = sql.replaceAll("bit default 0", "bool default false");
|
||||
sql = sql.replaceAll("bit not null default 1", "bool not null default true");
|
||||
sql = sql.replaceAll("bit not null default 0", "bool not null default false");
|
||||
sql = sql.replaceAll("bit not null", "bool not null");
|
||||
return sql;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user