@@ -0,0 +1,1355 @@
+%22%22%22user_requests events on update cascade%0A%0ARevision ID: 8797e9a71f62%0ARevises: 85068c55138a%0ACreate Date: 2017-02-13 15:48:25.344003%0A%0A%22%22%22%0A%0A# revision identifiers, used by Alembic.%0Arevision = '8797e9a71f62'%0Adown_revision = '85068c55138a'%0A%0Afrom alembic import op%0Aimport sqlalchemy as sa%0A%0A%0Adef upgrade():%0A    ### commands auto generated by Alembic - please adjust! ###%0A    op.drop_constraint('events_user_guid_fkey', 'events', type_='foreignkey')%0A    op.create_foreign_key(None, 'events', 'users', %5B'user_guid', 'auth_user_type'%5D, %5B'guid', 'auth_user_type'%5D, onupdate='CASCADE')%0A    op.drop_constraint('user_requests_user_guid_fkey', 'user_requests', type_='foreignkey')%0A    op.create_foreign_key(None, 'user_requests', 'users', %5B'user_guid', 'auth_user_type'%5D, %5B'guid', 'auth_user_type'%5D, onupdate='CASCADE')%0A    ### end Alembic commands ###%0A%0A%0Adef downgrade():%0A    ### commands auto generated by Alembic - please adjust! ###%0A    op.drop_constraint(None, 'user_requests', type_='foreignkey')%0A    op.create_foreign_key('user_requests_user_guid_fkey', 'user_requests', 'users', %5B'user_guid', 'auth_user_type'%5D, %5B'guid', 'auth_user_type'%5D)%0A    op.drop_constraint(None, 'events', type_='foreignkey')%0A    op.create_foreign_key('events_user_guid_fkey', 'events', 'users', %5B'user_guid', 'auth_user_type'%5D, %5B'guid', 'auth_user_type'%5D)%0A    ### end Alembic commands ###%0A

add migration