Skip to content

Managing Breaking Changes (optional)

Migrate & Populate the database (mandatory)

Updates the state of the database in accordance with all current models and migrations. Populate your database with hundred of banned words and RSS sources related to Cyber Security.

docker compose down
docker compose run watcher bash
python manage.py migrate
python manage.py populate_db

If the release includes breaking changes, additional steps may be required. Here are the general steps to manage breaking changes:

  1. Review release notes or documentation: Check the release notes or documentation for any information about breaking changes and specific instructions on how to handle them.

  2. Backup data: Before proceeding with the update, it's advisable to backup any critical data to prevent loss in case of unexpected issues.

  3. Test in a staging environment: If possible, test the update in a staging environment to identify any potential issues or conflicts with existing configurations or customizations.

  4. Update configurations: Review and update any configurations or settings that may be affected by the breaking changes.

  5. Modify custom code: If you have any custom code or scripts that rely on the previous version's functionality, you may need to modify them to work with the new version.

  6. Run additional migration scripts: If provided, run any additional migration scripts or commands provided by the developers to handle specific breaking changes.

Always refer to the specific instructions provided with the update.