Skip to content
Snippets Groups Projects
Commit 0ff2dab0 authored by Vladimir Davydov's avatar Vladimir Davydov
Browse files

schema: rework index sequence API

Rather than passing 'sequence_part' along with 'sequence' on index
create/alter, pass a table with the following fields:

 - id: sequence id or name
 - field: auto increment field id or name or path in case of json index

If id is omitted, the sequence will be auto-generated (equivalent to
'sequence = true'). If field is omitted, the first indexed field is
used. Old format, i.e. passing false/true or sequence name/id instead of
a table is still supported.

Follow-up #4009
parent e9c96a4c
No related branches found
No related tags found
No related merge requests found
Showing
with 550 additions and 241 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment