Skip to content
Snippets Groups Projects
Commit fc4f0be5 authored by Martin Mareš's avatar Martin Mareš
Browse files

DB: fixup!

parent 73c1538d
No related branches found
No related tags found
No related merge requests found
This commit is part of merge request !109. Comments created here will be created in the context of that merge request.
...@@ -31,7 +31,7 @@ CREATE TABLE users ( ...@@ -31,7 +31,7 @@ CREATE TABLE users (
email_notify boolean NOT NULL DEFAULT true -- přeje si dostávat mailové notifikace email_notify boolean NOT NULL DEFAULT true -- přeje si dostávat mailové notifikace
); );
-- Uživatel s user_id=-1 vždy existuje a je to systémový uživatel s právy admina. -- Uživatel s user_id=0 vždy existuje a je to systémový uživatel s právy admina.
-- Nemá nastavené heslo, takže se na něj nejde přihlásit. -- Nemá nastavené heslo, takže se na něj nejde přihlásit.
-- Nelze mu ani heslo resetovat (to nejde adminům obecně), ani poslat pozvánku (má last_login_at). -- Nelze mu ani heslo resetovat (to nejde adminům obecně), ani poslat pozvánku (má last_login_at).
INSERT INTO users(user_id, email, first_name, last_name, is_admin, email_notify, last_login_at, note) INSERT INTO users(user_id, email, first_name, last_name, is_admin, email_notify, last_login_at, note)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment