--- title: 'Sync Schema' description: 'Schema changes made to database from outside NocoDB GUI can be synced' --- ## How to sync schema changes to NocoDB NocoDB allows you to sync schema changes if you have made changes outside NocoDB GUI. However, it has to be noted then you will have to bring your own schema migrations for moving from one environment to other. Below are the steps to sync schema changes. ### 1. From the `Project menu`, click `Team & Settings` image ### 2. Click `Data Source` under SETTINGS, click `Sync Metadata` on the target base ![image](https://user-images.githubusercontent.com/35857179/219831352-e6692ba5-5c94-4331-94ce-5796e57f87a1.png) ![image](https://user-images.githubusercontent.com/35857179/219831634-bbb6f256-45fb-4224-9f82-bc1bed6082db.png) ### 3. Changes carried outside GUI, identified by NocoDB are listed under `Sync state` - If changes made to the database are not visible, click `Reload` - Identified schema changes are identified for each table in `red` - `Sync now` button gets activated, if Schema changes are identified by NocoDB ![image](https://user-images.githubusercontent.com/35857179/219831855-bcac229c-41b6-4689-b7e1-c3cdfe23a0a1.png) ### 4. Click `Sync Now` to complete Schema sync procedure #### Notes 1. Column rename operation will be treated like `column delete` & `column create` operation. 2. Only table schema changes identified will be listed under `Sync state`. Any changes to records are automatically synchronized.