database

Provision and connect PostgreSQL, Redis, MySQL, and MongoDB databases on Railway.

Updated Feb 11, 2026
One-click install
npx skills add https://github.com/wichops/racha --skill database-wichops
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: database
Source: https://github.com/wichops/racha/tree/main/.agents/skills/database
Command: npx skills add https://github.com/wichops/racha --skill database-wichops

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill simplifies the process of adding and connecting essential database services like PostgreSQL, Redis, MySQL, and MongoDB to your projects, eliminating complex setup and configuration.

Core Features & Use Cases

  • Database Provisioning: Quickly deploy official, pre-configured database templates.
  • Connection Management: Automatically handles environment variables for seamless service integration.
  • Use Case: When starting a new web application, you can use this Skill to add a PostgreSQL database and then connect your backend service to it using the provided connection string.

Quick Start

Use the database skill to add a postgres database to your project.

Frequently Asked Questions about database

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I provision a PostgreSQL database on Railway for my project?

Provisioning a PostgreSQL database on Railway involves deploying a pre-configured database template via CLI or API calls. This automatically checks for existing instances and wires connection variables to other services.

Can I add Redis and MongoDB instances to my Railway backend services?

Yes, you can add Redis and MongoDB instances to Railway backend services. The process deploys official templates and automatically handles environment variables for seamless service integration.

Does Railway database provisioning support MySQL connection management?

Yes, Railway database provisioning supports MySQL connection management. It automatically handles environment variables and connection strings, allowing backend services to seamlessly integrate with the new MySQL database.

What is the best way to connect an existing backend to a newly added database on Railway?

The best way to connect a backend to a newly added database on Railway is through automatic environment variable wiring. The service provisions connection strings and maps them directly to dependent services.

How do I check for existing database instances before adding a new one?

To check for existing database instances before adding a new one, the process runs an automated check via CLI or API calls. This prevents duplicate database deployments within your Railway project.