> For the complete documentation index, see [llms.txt](https://changelog.airship.co.uk/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://changelog.airship.co.uk/december-2024/04-12-2024-opentable-migration-framework.md).

# 04/12/2024 Opentable Migration (Framework)

## :wrench: TS Can now alter data stored against contacts by account, provider and data model

### Framework

1. New route, controller and services acts as a framework for this and future migrations
2. Alter table rows by account.
3. User specifies account, provider and the data model ( booking )
4. Developer only has to create the query file on the next data fix

### For Opentable

1. Value from `booking_data.dataelement_01` to `booking.reference`
2. Set the provider id to opentable provider ID

:man\_technologist: Lee
