You are here

public function GeofieldBackendPostgis::schema in Geofield 8

Provides the specific database schema for the specific backend.

Return value

array The schema value array.

Overrides GeofieldBackendPluginInterface::schema

File

src/Plugin/GeofieldBackend/GeofieldBackendPostgis.php, line 21

Class

GeofieldBackendPostgis
PostgreSQL/PostGIS Backend for Geofield.

Namespace

Drupal\geofield\Plugin\GeofieldBackend

Code

public function schema() {
  return [
    'type' => 'blob',
    'not null' => FALSE,
    'pgsql_type' => 'geometry',
  ];
}