Skip to content
Snippets Groups Projects
Commit f6f824dd authored by Artur Sabirov's avatar Artur Sabirov
Browse files

query.ebnf: fix PRIMARY KEY definition

parent 36502282
No related branches found
No related tags found
1 merge request!1414sbroad import
......@@ -144,7 +144,7 @@ create_role ::= 'CREATE' 'ROLE' role
create_table ::= 'CREATE' 'TABLE' table
'('
column type ('NOT'? 'NULL')? ('PRIMARY' 'KEY')? (',' column type ('NOT'? 'NULL')? ('PRIMARY' 'KEY')?)*
(',' 'PRIMARY KEY' '(' column (',' column)* ')')?
(',' 'PRIMARY' 'KEY' '(' column (',' column)* ')')?
')'
('USING' ('MEMTX' | 'VINYL'))?
('DISTRIBUTED' (('BY' '(' column (',' column)* ')' ('ON' 'TIER' '(' tier ')')?) | 'GLOBALLY'))
......
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