Merge pull request #318 from neko-neko/add-ltree-support
Add ltree type support for PostgreSQL
This commit is contained in:
commit
d71c13e9f9
@ -428,6 +428,7 @@ export default class PostgresDriver extends AbstractDriver {
|
||||
case "hstore":
|
||||
case "geography":
|
||||
case "geometry":
|
||||
case "ltree":
|
||||
ret.sqlType = udtName;
|
||||
break;
|
||||
default:
|
||||
|
@ -189,4 +189,7 @@ export class Post {
|
||||
|
||||
@Column("geography")
|
||||
geography: string;
|
||||
|
||||
@Column("ltree")
|
||||
ltree: string;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user