# Doorlock Migration

{% embed url="<https://www.youtube.com/watch?v=UHprY1TGExw>" %}

***

## Supported Doorlock Migrations

A reference guide describing the compatibility levels used across all supported resources.

| Resource Name                                                  | Compatibility                                                                           | Notes |
| -------------------------------------------------------------- | --------------------------------------------------------------------------------------- | ----- |
| [ox\_doorlock](https://github.com/overextended/ox_doorlock)    | <mark style="color:$success;background-color:$info;">**Built-In (cd\_doorlock)**</mark> |       |
| [qb-doorlock](https://github.com/qbcore-framework/qb-doorlock) | <mark style="color:$success;background-color:$info;">**Built-In (cd\_doorlock)**</mark> |       |

***

### Ox Doorlock

For **ox\_doorlock**, you have two migration options:\
the script can automatically read the door data directly from the ox\_doorlock database table, or you can paste a SQL query or JSON export into the migration tool.

### QB Doorlock

For **qb-doorlock**, you can migrate your data by letting the script read directly from `Config.DoorList`, or by pasting the door data manually into the migration tool.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.codesign.pro/paid-scripts/door-lock/doorlock-migration.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
