Based on the work on ThomWright's postgres migration package. Adds the ability to specify a schema and table name.