primary key (user_id, role)
);
+
+create table login_token (
+ user_id integer not null /* comment 'user owning this token'*/ references user (id),
+ token char(32) not null /* comment 'token useable for logging in'*/,
+ created timestamp not null DEFAULT CURRENT_TIMESTAMP /* comment 'date this record was created'*/,
+ modified timestamp /* comment 'date this record was modified'*/,
+
+ constraint primary key (user_id)
+);
+