1CREATE TABLE stars (
2    pid,
3    login,
4    stardate INTEGER
5);
6
7CREATE UNIQUE INDEX idx_stars_pid_login ON stars(pid, login);
8