geldata / geldata/gel-cli

Annotation edgedb version that generates migration

Open
#983 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
175
Forks
32
PR merge metrics
No merged PRs in 30d

Description

At the start of migration add:
```
# Generated by EdgeDB version: v3.0-alpha.2
```

Then, when reading migrations do two things:
1. Warn if current edgedb version is lower than that
2. If migration cannot be applied, add the check to context of the error kinda:
```
ScheamDefinitionError: something gone wrong
[..100 lines of error descripiton..]
Note: the migration created by EdgeDB v3.0-alpha.2, current EdgeDB is v2.12
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.