tarantool / ddl

The DDL module enables you to describe data schema in a declarative YAML-based format.
BSD 2-Clause "Simplified" License
12 stars 6 forks source link

ddl: support sequences #123

Closed DifferentialOrange closed 7 months ago

DifferentialOrange commented 7 months ago

This patch adds the support of sequences through new schema section, as well as proper support of sequence option for indexes. Before this patch, ddl had half-baked support of sequences: one could provide sequence as sequence name in indexes and it would be created. This approach was broken in basic set_schema(get_schema) scenario since there wasn't any sequences support in get. Current design is inspired by existing "not implemented yet" tests and documentation examples.

Closes #122