Support postgis adapter

Tiny change to support postgis adapter in 2.0 migration.