To enable for internal fitters...
1. Gain prod db access via Teleport
2. Find the internal fitters' resource ids in the appointment service
- Save these resource ids to a file for later date
3. Run a sql script **with a pairing partner** that looks something like this pseudo statement:
```sql
BEGIN TRANSACTION
UPDATE appointments
SET is_outcome_complete = TRUE
WHERE
start_date <= NOW()
AND id IN (
SELECT DISTINCT id
FROM appointments a
INNER JOIN appointment_resources ar
ON a.id = ar.appointment_id
WHERE ar.resource_id IN (...<resource ids>)
)
SELECT count(*) FROM appointments WHERE is_outcome_complete = TRUE
ROLLBACK TRANSACTION
--COMMIT TRANSACTION --See Gabriel for help around db transactions
```
4. Enable [the feature flag](https://app.launchdarkly.com/ta-team-america/production/features/77adc110-f644-4571-871f-400bd2b7c907/targeting) for the `Partner X - Internal Fitters` segment (*or whatever Jose tells you*)