create table login (
	id text
		not null
		primary key,
	name text
		not null
		unique,
	password_hash text
		not null
);

create table token (
	secret text
		not null
		primary key,
	login text
		not null,
	issued_at text
		not null,
	foreign key (login)
		references login (id)
);
