37signals-migration

Community

UUID migrations for multi-tenant Rails apps

Authorjoshyorko
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Creates database migrations that use UUIDs as primary keys, add account_id for multi-tenancy, and intentionally avoid foreign key constraints to align with 37signals-style patterns.

Core Features & Use Cases

  • UUID-based primary keys for all tables to improve security and data portability.
  • Automatic multi-tenant scaffolding with account_id and composite/index patterns for common queries.
  • Reversible migrations with simple, explicit schemas for resources like cards, closures, assignments, and comments.

Quick Start

Generate a UUID-based migration for your multi-tenant tables and apply it with bin/rails db:migrate.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: 37signals-migration
Download link: https://github.com/joshyorko/agent-skills/archive/main.zip#37signals-migration

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.