mirror of
https://github.com/silverstripe/silverstripe-postgresql
synced 2024-06-26 14:39:20 +02:00
Merge 6b7eb1cc6b
into a60fc4cf24
This commit is contained in:
commit
a7e6648925
|
@ -1249,6 +1249,17 @@ class PostgreSQLSchemaManager extends DBSchemaManager
|
||||||
return "decimal(4,0)";
|
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
|
* Create a fulltext search datatype for PostgreSQL
|
||||||
* This will also return a trigger to be applied to this table
|
* This will also return a trigger to be applied to this table
|
||||||
|
|
Loading…
Reference in New Issue
Block a user