-
Notifications
You must be signed in to change notification settings - Fork 1
Database Creation and Expansion
Ophir Katz edited this page Jun 23, 2018
·
1 revision
The data in the Cognitivity system is stored in a MySQL database, hosted by an Azure server.
Cognitivity defines tables in that server for storing all the information saved for each data type.
The database definition setting is in the database/database.sql file of the backend code section.
You should copy and paste the content of the database settings file to a mysql console, either in the a docker or not.
You should add the fields to the existing tables, or create new tables with new fields for a new data type you want to maintain.
Remember to reinitialize the database with the new database settings file content.