- Run the following command in your iR Engine repo:
cd packages/server-core
- Run the following command to generate a
TIMESTAMP_NAME.ts
migration file (eg:20230418102549_eks-column.ts
) in your inserver-core
folder:
npm run migrate:make -- {NAME}
eg:
npm run migrate:make -- eks-column
- Move the migration file to your service's
migrations
folder.
ie.packages/server-core/src/setting/aws-setting/migrations
- Update that file with code to match your needs.
Our server is set up with Swagger documentation to automatically generate from most endpoints.
A few custom routes are not documented, but most of the basic stuff is.
You can see the OpenAPI docs in on our dev cluster, or locally for a running iR Engine instance at:
https://localhost:3030/openapi