Backport `rake db:structure:dump`