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.
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 basicset_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