Tasks
StubberDB Create Migration Task
Creates a new SQL migration for a configured StubberDB
WARNING
This task and feature is still in early access and may be subject to change. Please reach out to your Stubber representative if you are interested in using or learning more about this task.
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.