influitive/apartment — pull request #120 by veljkodragsic (2014-03-13 20:32:23+00:00)
Title: Postgresql schema sql

Postgres adapter that creates new tenants by dumping default database schema (with `pg_dump`) and importing it into newly created schema.

The advantage of this approach, instead of using `schema.rb`, is that it handles well specific database features that cannot be preserved in `schema.rb`, like (materialized) views, etc.