Data Migrations In The OmniBlocks® API
![city technology architecture luxury](https://i0.wp.com/docs.omniblocks.app/wp-content/uploads/2022/06/pexels-photo-5068332.jpeg?fit=800%2C1000&ssl=1)
Data migrations are handled via the Knex migration system. Migrations provide a managed and version-control-backed method for modifying the data structures that support the API. Adding A Migration yarn add-migration <newMigrationName> creates a duplicate of migration.stub.ts that includes -the needed module-alias import and -a standard/initial TS up/down export setup. Running A Migration You’ll first need […]