The @CeManualMigration annotation is used to mark manually created database migrations. Applying this annotation to a class ensures that the migration is automatically registered and included in the database migration process.


Parameters:


Example Usage:

kotlin
КопироватьРедактировать
@CeManualMigration(version = 3)
class AddNewFieldsMigration {
    // Migration logic for database version 3
}


Key Benefits:


Migration Note

This annotation replaces the deprecated @DatabaseMigration.

If you currently use @DatabaseMigration, update it to @CeManualMigration to avoid compilation errors.