auth

Paddy 2015-04-11 Parent:2809016184f6 Child:73e12d5a1124

158:3223a8e679db Go to Latest

auth/sql/postgres_empty.sql

Remove concept of usernames. We really have no reason to use usernames, and they're complicating things more than they need to. We're going to keep logins the same, because we want to be able to support OAuth2/OpenID/whatever logins in the future, and keeping a type associated with those logins is probably for the best.

History
1 TRUNCATE profiles;
2 TRUNCATE logins;
3 TRUNCATE clients;
4 TRUNCATE endpoints;
5 TRUNCATE scopes;
6 TRUNCATE sessions;
7 TRUNCATE tokens;
8 TRUNCATE scopes_tokens;
9 TRUNCATE authorization_codes;
10 TRUNCATE authorization_codes_scopes;