I would not recommend editing the database directly as any unintended changes could cause the database to suddenly not working with the Anki version (saw similar stuff happening as a developer with ‘advanced’ end users with a pro photo app). Or at least make a lot of backups.