Changes
- The `Category` model now uses a `Meta` class to specify the database configuration, instead of passing it to the `__init__` method. This change simplifies the model definition and makes it more readable.
- The `db_name` attribute in the `Meta` class is set to `DATABASE_CONFIG['sqlite']`, which specifies the SQLite database configuration for the model.
Upgrade Instructions
To upgrade to version 2.0.1, follow these steps:
1. Update your ORM package to the latest version.
2. In your code, replace the old `Category` model definition with the new one provided in the release notes.
3. Run your application as usual, and the updated `Category` model will be used for database operations.
Compatibility
This release is compatible with version 2.0.0 of the ORM package. No further changes are required to use the updated `Category` model.
Bug Fixes and Improvements
This release focuses on improving the code structure and readability of the `Category` model. No bug fixes or major new features are included in this update.
If you have any questions or encounter any issues, please contact our support team or submit a bug report on our issue tracker.