Move DDL for #141 from branch.sql to schema.sql

I've run this against the production database.c