多维表格

42 lines
1.9 KiB

---
title: 'Sync Schema'
description: 'Schema changes made to database from outside nocodb GUI can be synced'
position: 70
category: 'Usage'
menuTitle: 'Sync Schema'
---
## 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 environment to other.
Below are the steps to sync schema changes.
## Example
- Please note there are 3 tables in schema.
![Screen Shot 2021-09-18 at 14 33 56](https://user-images.githubusercontent.com/5435402/133891286-211be50f-e899-4d44-8158-33ce6e7ac4e6.png)
- And NocoDB has just 2 tables.
![Screen Shot 2021-09-18 at 14 42 02](https://user-images.githubusercontent.com/5435402/133891290-43dbfea6-58d1-4712-b3e5-29cc78f1b957.png)
![Screen Shot 2021-09-18 at 14 42 09](https://user-images.githubusercontent.com/5435402/133891292-821da97f-0192-4dcd-b21b-0b5cfc8f5598.png)
![Screen Shot 2021-09-18 at 14 42 16](https://user-images.githubusercontent.com/5435402/133891324-32516700-da7b-4b17-a9dd-db54f0b3c3b2.png)
![Screen Shot 2021-09-18 at 14 42 22](https://user-images.githubusercontent.com/5435402/133891327-3fcae301-4d19-410c-a31b-5b1031c5adf3.png)
![Screen Shot 2021-09-18 at 14 42 31](https://user-images.githubusercontent.com/5435402/133891333-3fe574b2-5110-44b6-9b68-9132c3019675.png)
![Screen Shot 2021-09-18 at 14 42 42](https://user-images.githubusercontent.com/5435402/133891336-d04e592d-245c-4e75-b7f0-06e4277b7d29.png)
![Screen Shot 2021-09-18 at 14 42 51](https://user-images.githubusercontent.com/5435402/133891340-ebc86e53-6032-48cc-a3ad-0cc58ee50cc9.png)
![Screen Shot 2021-09-18 at 14 42 59](https://user-images.githubusercontent.com/5435402/133891342-e2f9421f-0e19-4668-a841-55efbc6bf8b2.png)
![Screen Shot 2021-09-18 at 14 43 06](https://user-images.githubusercontent.com/5435402/133891348-77269ff5-fe5b-4d60-836b-3b028b36a3a2.png)