tarantool-spacer
tarantool-spacer copied to clipboard
Tarantool Spacer. Automatic schema migrations.
please add rockspec file in tarantoolctl rockspec repository for easy installation
We caught serial coredumps in our production after executing the same migration again. I suppose, we should add preconditions in `up` to check if DDL is valid to apply migration
It would be great to have a `migrate` method so that we could do something like this ``` > spacer:list() - 1561633115_1st - 1561633215_2nd - 1561633315_3rd > spacer:version() - 1561633315_3rd...
creating and changing `box.sequence.*`
Can't migrate space with it's modified declaration: ``` box.spacer.automigrate = true box.spacer:space(space_declaration) ``` In `moonwalker.lua`, inside `moonwalker(opts)`: ``` local index = opts.index or space.index[0] local keyfields = create_keyfields(index) if index.type...
I propose to make some signature (like concat and md5 of the sorted attributes, plus add tarantool version) and put that in system space `_schema` If it is the same,...