igorcoding / tarantool-spacer

Tarantool Spacer. Automatic schema migrations.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Just migrate

bofm opened this issue · comments

commented

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

> spacer:migrate("1561633115_1st")

> spacer:version()
- 1561633115_1st