GenerateD1MigrationsOptions
import type { GenerateD1MigrationsOptions } from "@pitlane/data-table-d1/migrations";What generateD1Migrations needs to know.
Properties
from?
optional from?: string;Directory holding the data-table migrations, one <id>_<name>/
directory per migration.
Default
"db/migrations"to
to: string;Where the generated .sql files land. Point
cf d1 migrations apply --dir at the same directory.