Skip to content

enhancement: atlas versioned migrations support #221

@migmartri

Description

@migmartri

As part of #201 there are advanced schema changes that our current DB migration mechanism doesn't support.

For example, it's likely we'll need database table renames and existing schema updates (similar to seed data). This can be achieved with atlas versioned migrations

Versioned migrations gives more control during code review and schema updates on the actual DB but it has some additional work to be done.

$ atlas migrate apply --dir "file://migrations" \ 
  --url "postgres://REDACTED@REDACTED:5432/controlplane" \
  --baseline 20230706165452

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions