Pistos/diaspora — pull request #6 by Pistos (2011-12-13 03:58:09+00:00)
Title: Fix from-scratch migration on PostgreSQL with a non-root DB user

You get problems like:

ERROR: permission denied: "RI_ConstraintTrigger_506060" is a system trigger

This change is necessary or else nobody will be able to install Diaspora with PostgreSQL.