jakebathman / mysql-syntax

VS Code syntax support for MySQL
11 stars 5 forks source link

Keyword "restrict" is not highlighted #25

Open Orionsg opened 5 years ago

Orionsg commented 5 years ago

The keyword "restrict" is used in foreign key clauses, e.g.:

create table event
    (   id              bigint unsigned     not null    primary key     auto_increment
    ,   event_type_id   smallint            not null
    ,   foreign key     event_type_id       references event_type(id)   on delete restrict  on update restrict
    );