UNPKG

@jungvonmatt/sb-migrate

Version:

CLI tool for managing Storyblok schema and content migrations

17 lines (15 loc) 534 B
import { defineMigration } from "@jungvonmatt/sb-migrate"; export default defineMigration({ type: "update-datasource", description: "{{migrationName}}", // Can be either a numeric ID or a slug id: "example-datasource", datasource: { // Update the datasource name (optional) name: "Updated Datasource Name", // Update the datasource slug (optional) // slug: "updated-datasource-slug", }, // Add new entries or update existing ones (optional) entries: [{ name: "New Option", value: "new-option" }], });