orgs
Creates, updates, deletes, gets or lists an orgs resource.
Overview
| Name | orgs |
| Type | Resource |
| Id | github.migrations.orgs |
Fields
The following fields are returned by SELECT queries:
SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
delete_archive_for_org | delete | org, migration_id | Deletes a previous migration archive. Migration archives are automatically deleted after seven days. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
migration_id | integer | The unique identifier of the migration. |
org | string | The organization name. The name is not case sensitive. |
DELETE examples
- delete_archive_for_org
Deletes a previous migration archive. Migration archives are automatically deleted after seven days.
DELETE FROM github.migrations.orgs
WHERE org = '{{ org }}' --required
AND migration_id = '{{ migration_id }}' --required
;