Synchronize your local entity schema definitions with your Base44 project. The command reads all .json and .jsonc files in your entities directory, validates them, and pushes them to Base44. By default the entities directory is base44/entities/, but you can customize the path in your project configuration.
Usage
Sync behavior
The command performs a full sync operation. For each entity, the action taken is determined by its state locally and remotely:
| Local state | Remote state | Result |
|---|
| Entity exists | Entity exists | Remote schema is replaced |
| Entity exists | Entity missing | New entity is created |
| Entity missing | Entity exists | Remote entity is removed. See the warning below |
Deleting an entity removes its schema from Base44. Existing data in that
entity is not automatically deleted, but the entity will no longer be
accessible through the SDK.
See also