This commit is contained in:
Ian Walls 2023-03-25 05:31:16 +13:00 committed by GitHub
commit a7e6648925
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 0 deletions

View File

@ -1248,6 +1248,17 @@ class PostgreSQLSchemaManager extends DBSchemaManager
{
return "decimal(4,0)";
}
/*
* Return a JSON Binary field type (better for searching than a plain JSON type)
*
* @param array $values Contains a tokenised list of info about this data type
* @return string
*/
public function json($values)
{
return "jsonb";
}
/**
* Create a fulltext search datatype for PostgreSQL