Make sure to use PostGIS

Create tables first:

```sql
CREATE TABLE IF NOT EXISTS bounds (
    id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
    entity_id INT NOT NULL,
    entity_type TEXT NOT NULL,
    geometry GEOMETRY(MULTIPOLYGON, 3857) NOT NULL,
    UNIQUE (entity_id, entity_type)
);
```

```sql
CREATE TABLE IF NOT EXISTS lines (
    id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
    object_id UUID NOT NULL,
    geometry GEOMETRY(LINESTRING, 3857) NOT NULL,
    created_at TIMESTAMP NOT NULL DEFAULT NOW(),
    updated_at TIMESTAMP DEFAULT NOW(),
    schema TEXT NOT NULL
);
```

```sql
CREATE TABLE IF NOT EXISTS shapes (
    id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
    object_id UUID NOT NULL,
    geometry GEOMETRY(POLYGON, 3857) NOT NULL,
    created_at TIMESTAMP NOT NULL DEFAULT NOW(),
    updated_at TIMESTAMP DEFAULT NOW(),
    schema TEXT NOT NULL
);
```