create table `salix`.`authCode`
(
    userFk int UNSIGNED not null,
    code   int          not null,
    expires   bigint   not null,
    constraint authCode_pk
        primary key (userFk),
    constraint authCode_unique
        unique (code),
    constraint authCode_user_id_fk
        foreign key (userFk) references `account`.`user` (id)
            on update cascade on delete cascade
);
