unique user

This commit is contained in:
Anna Sudnitsina 2017-09-12 16:51:13 +03:00
parent f6818c9ff3
commit fac8d663a4

View File

@ -5,6 +5,6 @@ DROP TABLE IF EXISTS users;
CREATE TABLE users (
id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
name TEXT NOT NULL,
name TEXT NOT NULL UNIQUE,
password TEXT NOT NULL
);