Data migration for integrations table to set default organization_id
In #524675 (closed) we introduced organization_id on integrations table and setting organization_id on every new instance integration going forward.
In order to set the sharding key on integrations table we need to set organization_id on existing instance integration records.
Create a data migration that sets default organization id to existing instance integrations (instance: true) that don't have organization id set.
Edited by George Koltsov