xCloud

clear_development_database

Clear an application's development database: drop it with every table and row in it, and create it again empty under the same role. The development credential and the connection string in your environment file keep working. Then call `restart_application` on development, or deploy, so the application's migrations rebuild the tables. Production's database is never cleared. Destructive: completes only after a person approves it in the browser.

Remote turnzero/cloud

Remote (network-hosted)

Other tools also called clear_development_database? See providers with this name

Input Schema


            {
  "type": "object",
  "properties": {
    "request_id": {
      "type": "string",
      "description": "Your request identity for this pending action: any string you choose. Repeating the call with the same request_id, from the same account, while the earlier pending action is still live — requested, approved, or executing — answers that pending action again and creates no second one. Once it has completed, failed, been declined, or expired, the same request_id starts a new one. Omitted, every call creates a new pending action."
    },
    "application": {
      "type": "string",
      "description": "The application id, from `list_applications`."
    },
    "environment": {
      "type": "string",
      "pattern": "^(development|production)$",
      "description": "`development` alone; `production` is refused `invalid_request`, because no action clears production's database."
    }
  }
}
          

Provider

xCloud →