{"repo":"fabianlindfors/reshape","free":true,"listed":false,"github":"https://github.com/fabianlindfors/reshape","clone":"git clone https://github.com/fabianlindfors/reshape.git","description":"An easy-to-use, zero-downtime schema migration tool for Postgres","language":"Rust","stars":1849,"topics":["postgresql","migrations"],"license":"MIT","category":"databases-storage","readme_excerpt":"Reshape If you like Postgres, you might also be interested in pgfdb. pgfdb is an experimental project that turns Postgres into a distributed and horizontally scalable database. Reshape is an easy-to-use, zero-downtime schema migration tool for Postgres. It automatically handles complex migrations that would normally require downtime or manual multi-step changes. During a migration, Reshape ensures both the old and new schema are available at the same time, allowing you to gradually roll out your application. It will also perform all changes without excessive locking, avoiding downtime caused by blocking other queries. For a more thorough introduction to Reshape, check out the introductory blog post. Designed for Postgres 12 and later. - How it works - Getting started - Installation - Creating your first migration - Preparing your application - Running your migration - Using during development - Using with coding agents - Writing migrations - Basics - Tables - Create table - Rename table - Remove table - Add foreign key - Remove foreign key - Columns - Add column - Alter column - Remove column - Indices - Add index - Remove index - Enums - Create enum - Remove enum - Custom - Complex changes across tables - Commands and options - reshape migration start - reshape migration complete - reshape migration abort - reshape status - reshape schema-query - reshape docs - Connection options - License How it works Reshape works by creating views that encapsulate the underlying tables, w","default_branch":null,"files":null,"tree":[],"storefront":"/r/fabianlindfors","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/fabianlindfors/reshape/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}