@@ -0,0 +1,467 @@
+%22%22%22set submitted at for old brief responses%0A%0ARevision ID: 770%0ARevises: 760%0ACreate Date: 2016-10-25 11:10:53.245586%0A%0A%22%22%22%0A%0A# revision identifiers, used by Alembic.%0Arevision = '770'%0Adown_revision = '760'%0A%0Afrom alembic import op%0Aimport sqlalchemy as sa%0Afrom sqlalchemy.dialects import postgresql%0A%0Adef upgrade():%0A%09op.execute(%22%22%22%0A        UPDATE brief_responses %0A%09%09SET submitted_at = created_at%0A%09%09WHERE submitted_at IS NULL%0A    %22%22%22)%0A%0A%0Adef downgrade():%0A%09# No downgrade%0A%09pass%0A

Add migration that sets `submitted_at` for old brief responses