Database Models
The kit comes with a few database models to store the renders and projects.
Render
The render model is used to store the renders. It has the following fields:
renderId
- The ID of the render.status
- The status of the render.userId
- The ID of the user.teamId
- The ID of the team.projectId
- The ID of the project.
Project
Project is a generic data model that can be used to store the projects/videos that your user creates. It has the following fields:
id
- The ID of the project.name
- The name of the project.userId
- The ID of the user.teamId
- The ID of the team.props
- The input props for the composition.
You can extend this model as per your requirement.