tarantool / migrations

BSD 2-Clause "Simplified" License
21 stars 5 forks source link

Validate migrations after loading #6

Open sharonovd opened 4 years ago

vrogach2020 commented 3 years ago

Possible duplicate Migration with invalid schema can be applied.

Totktonada commented 2 years ago

What else we can check aside of just Lua syntax?

Totktonada commented 2 years ago

@sharonovd comment: The idea is to validate migrations somehow. Considering the dynamic typing in Lua and lack of transactionality[^1]. I don't have precise vision what would worth to validate.

[^1]: I guess it is about https://github.com/tarantool/tarantool/issues/600 or somewhere close to it. — Alexander Turenko.


So I'll mark it as raw idea and move to wishlist.