Manages schema changes in Bknd apps including entity renaming, field type updates, and safe data migration workflows.
This skill provides specialized guidance for modifying existing database schemas within the Bknd.io ecosystem. It addresses the critical distinction between destructive and non-destructive changes, offering step-by-step patterns for renaming entities and fields without data loss. Whether working in UI or Code mode, the skill helps developers navigate complex tasks like tightening constraints on existing data, changing field types, and executing the sync workflow to ensure production database integrity and minimize deployment risks.
主要功能
01Explains the npx bknd sync workflow and preview options
02Distinguishes between destructive and non-destructive schema changes
031 GitHub stars
04Includes a reusable migration script template for complex transitions
05Provides safe data migration patterns for renaming entities and fields
06Guides users through changing field types and updating constraints safely
使用场景
01Converting an existing text field to a numeric type with data transformation
02Renaming a core database entity while preserving existing production data
03Safely adding 'required' or 'unique' constraints to columns that already contain data