Any database artifacts that are needed to complete a software build should be stored in version control. If you have a relational database, then any database creation scripts, data manipulation scripts, SQL stored procedures, and database triggers should be stored in version control.
If, for example, you have a NoSQL database system, such as MongoDB (https://www.mongodb.com/), and are utilizing a RESTful API, then be sure to document API endpoints in a document. Remember that developers might need database-specific code to actually run a software build.