Tasks
StubberDB Create Migration
Creates a new SQL migration for a configured StubberDB
Basic usage
Parameters
name required string
The migration name.
The name is normalized to snake_case before the migration is saved.
script required string
The SQL script to store for the migration.
stubberdbuuid required string
The StubberDB configuration UUID that the migration should be created for.
Result
Properties
message string
Confirms that the migration was created successfully.
payload object
The created migration record.
payload.name string
The saved migration name after normalization to snake_case.
payload.script string
The SQL script stored for the migration.
payload.stubberdbuuid string
The StubberDB UUID the migration belongs to.