Add ltree column support

This commit is contained in:
neko-neko 2021-01-06 18:45:14 +09:00
parent 7cae89a9ef
commit 4f1a07bfac
2 changed files with 4 additions and 0 deletions

View File

@ -428,6 +428,7 @@ export default class PostgresDriver extends AbstractDriver {
case "hstore":
case "geography":
case "geometry":
case "ltree":
ret.sqlType = udtName;
break;
default:

View File

@ -189,4 +189,7 @@ export class Post {
@Column("geography")
geography: string;
@Column("ltree")
ltree: string;
}