Loading lib/galaxy/model/migrations/alembic/versions_gxy/c63848676caf_update_username_column_schema_and_data.py +2 −2 Original line number Diff line number Diff line Loading @@ -49,5 +49,5 @@ def _generate_missing_usernames(): users = connection.execute(stmt).all() for id, email in users: new_username = username_from_email_with_connection(connection, email) stmt = update(User).where(User.id == id).values(username=new_username) connection.execute(stmt) update_stmt = update(User).where(User.id == id).values(username=new_username) connection.execute(update_stmt) Loading
lib/galaxy/model/migrations/alembic/versions_gxy/c63848676caf_update_username_column_schema_and_data.py +2 −2 Original line number Diff line number Diff line Loading @@ -49,5 +49,5 @@ def _generate_missing_usernames(): users = connection.execute(stmt).all() for id, email in users: new_username = username_from_email_with_connection(connection, email) stmt = update(User).where(User.id == id).values(username=new_username) connection.execute(stmt) update_stmt = update(User).where(User.id == id).values(username=new_username) connection.execute(update_stmt)