PocketBase Migrations
원문: PocketBase Migrations
Schema migrations and versioning for PocketBase. Use when creating migrations, managing schema versions, syncing collections between environments, using automigrate, or creating collections programmatically. Covers migrate commands, migration file format, snapshot imports, and th
무엇을 하나요
PocketBase Migrations & Schema Versioning Overview PocketBase supports two approaches to schema management: 1. Auto migrate (default in dev) — Dashboard changes auto generate migration files in pb migrations/ 2. Manual migrations — write migration files by hand for full control CLI Commands Auto migrate Mode Enabled by default. When you change collections in the Dashboard, PocketBase auto generates migration files in pb migrations/ . Workflow : 1. Develop with auto migrate ON — use Dashboard to design schema 2. Migration files are auto generated in pb migrations/ 3. Commit these files to git 4. Deploy: migrations run automatically on serve start 5. In production: use automigrate=0 to prevent…
실행 시 본인 API 키(BYOK)로 동작하며, 모델 비용은 사용자 계정에서 직접 결제됩니다.