@@ -0,0 +1,747 @@
+%22%22%22%0A%0ARevision ID: 0253_set_template_postage%0ARevises: 0252_letter_branding_table%0ACreate Date: 2019-01-30 16:47:08.599448%0A%0A%22%22%22%0Afrom alembic import op%0Aimport sqlalchemy as sa%0A%0A%0Arevision = '0253_set_template_postage'%0Adown_revision = '0252_letter_branding_table'%0A%0A%0Adef upgrade():%0A    # ### commands auto generated by Alembic - please adjust! ###%0A    op.execute(%0A        %22%22%22UPDATE templates SET postage = services.postage%0A        FROM services WHERE template_type = 'letter' AND service_id = services.id%22%22%22%0A    )%0A    # ### end Alembic commands ###%0A%0A%0Adef downgrade():%0A    # ### commands auto generated by Alembic - please adjust! ###%0A    op.execute(%22UPDATE templates SET postage = null WHERE template_type = 'letter'%22)%0A    # ### end Alembic commands ###%0A

Set postage for all existing templates to service default