@@ -0,0 +1,576 @@
+%22%22%22 Enforce the nocase collation on the email table%0A%0ARevision ID: 049fed905da7%0ARevises: 49d77a93118e%0ACreate Date: 2018-04-21 13:23:56.571524%0A%0A%22%22%22%0A%0A# revision identifiers, used by Alembic.%0Arevision = '049fed905da7'%0Adown_revision = '49d77a93118e'%0A%0Afrom alembic import op%0Aimport sqlalchemy as sa%0A%0A%0Adef upgrade():%0A    with op.batch_alter_table('user') as batch:%0A        batch.alter_column('email', type_=sa.String(length=255, collation=%22NOCASE%22))%0A%0A%0Adef downgrade():%0A    with op.batch_alter_table('user') as batch:%0A        batch.alter_column('email', type_=sa.String(length=255))%0A%0A

Enforce the nocase collation on the email table