Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add migration system to CLI (and http) #1648

Closed
Tracked by #1002
AndrewSisley opened this issue Jul 18, 2023 · 0 comments · Fixed by #1650
Closed
Tracked by #1002

Add migration system to CLI (and http) #1648

AndrewSisley opened this issue Jul 18, 2023 · 0 comments · Fixed by #1650
Assignees
Labels
area/api Related to the external API component area/cli Related to the CLI binary area/schema Related to the schema system feature New feature or request
Milestone

Comments

@AndrewSisley
Copy link
Contributor

AndrewSisley commented Jul 18, 2023

Part of #1002

schema migrations list (slightly less urgent)
schema migrations set [src] [dst] [cfg] (with -f/--file option for cfg) (assume db has access to lens path for now, later can send wat)
schema migrations reload (? - less urgent, maybe do later)
@AndrewSisley AndrewSisley added feature New feature or request area/schema Related to the schema system area/api Related to the external API component area/cli Related to the CLI binary labels Jul 18, 2023
@AndrewSisley AndrewSisley added this to the DefraDB v0.6 milestone Jul 18, 2023
@AndrewSisley AndrewSisley self-assigned this Jul 18, 2023
AndrewSisley added a commit that referenced this issue Jul 18, 2023
## Relevant issue(s)

Resolves #1648

## Description

Adds `schema migration set` and `schema migration get` commands to the
CLI, and the http API.

Command/endpoint assumes the db server has access to the file path(s)
provided in the lens cfg..
shahzadlone pushed a commit to shahzadlone/defradb that referenced this issue Feb 23, 2024
## Relevant issue(s)

Resolves sourcenetwork#1648

## Description

Adds `schema migration set` and `schema migration get` commands to the
CLI, and the http API.

Command/endpoint assumes the db server has access to the file path(s)
provided in the lens cfg..
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/api Related to the external API component area/cli Related to the CLI binary area/schema Related to the schema system feature New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant