FeatureFuel
7

Allow Customization of /migrations Directory in config.toml for Supabase Migrations and Shadow Database

Source: supabase/supabase#33257 · opened by @redegade
Feature Request Summary Currently, Supabase enforces the /migrations directory as the fixed location for storing SQL schema migration files. This setting is not configurable, and developers cannot change it in config.toml. Additionally, the shadow database—created when running supabase db diff—also strictly uses the /migrations directory, without an option to customize its location. Problem Statement Many development teams have unique project structures and workflows that require flexibility in where migration files are stored. Being forced to use /migrations can cause conflicts in monorepos, CI/CD pipelines, and certain deployment setups. Proposed Solution Introduce an option in config.toml—likely under the [db] section—to allow developers to specify a custom directory for migration files. Example: Benefits • Greater flexibility in project structure. • More control over versioning and organization of database migrations, especially when "diffi…

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests