1. Tasks
  2. StubberDB Delete Migration

Tasks

StubberDB Delete Migration

Deletes a pending StubberDB migration that has not yet been applied

Basic usage

loading...

Parameters

stubberdbmigrationuuid
required
string

The migration UUID to delete.


stubberdbuuid
required
string

The StubberDB UUID that owns the migration.

NOTE

Only migrations that have not been applied to either draft or live can be deleted. If the migration was already applied, the task returns the conceptual error migration_already_applied.

Result

loading...

Properties

message
string

Confirms that the migration was deleted successfully.


payload
object

The deleted migration record.


payload.stubberdbmigrationuuid
string

The UUID of the deleted migration.


payload.stubberdbuuid
string

The StubberDB UUID the migration belonged to.


payload.name
string

The saved migration name.


payload.script
string

The SQL script that was stored for the migration.