X-Git-Url: http://git.squeep.com/?p=squeep-indie-auther;a=blobdiff_plain;f=documentation%2Fmedia%2Fsqlite-er.svg;fp=documentation%2Fmedia%2Fsqlite-er.svg;h=8d036edbeb7b15a8bd63ba7d5a6f8bfda8e19dfa;hp=0000000000000000000000000000000000000000;hb=b0103b0d496262c438b40bc20304081dbfe41e73;hpb=8ed81748bce7cea7904cac7225b20a60cafdfc16 diff --git a/documentation/media/sqlite-er.svg b/documentation/media/sqlite-er.svg new file mode 100644 index 0000000..8d036ed --- /dev/null +++ b/documentation/media/sqlite-er.svg @@ -0,0 +1,183 @@ + + + + + + +indieAutherERD + +IndieAuther Entity-RelationsSQLite +Schema 1.0.0 + + +token + + +TOKEN + +code_id + +profile_id + +created + +expires + +refresh_expires + +refreshed + +duration + +refresh_duration + +refresh_count + +is_revoked + +is_token + +client_id + +resource + +profile_data + + + +token_scope + + +TOKEN_SCOPE + +code_id + +scope_id + + + +token:pk_code_id->token_scope:fk_code_id + + + + + +profile + + +PROFILE + +profile_id + +identifier_id + +profile + + + +profile:pk_profile_id->token:fk_profile_id + + + + + +profile_scope + + +PROFILE_SCOPE + +profile_id + +scope_id + + + +profile:pk_profile_id->profile_scope:fk_profile_id + + + + + +scope + + +SCOPE + +scope_id + +scope + +description + +application + +is_permanent + +is_manually_added + + + +scope:pk_scope_id->token_scope:fk_scope_id + + + + + +scope:pk_scope_id->profile_scope:fk_scope_id + + + + + +authentication + + +AUTHENTICATION + +identifier_id + +created + +last_authenticated + +identifier + +credential + + + +authentication:pk_identifier_id->profile:fk_identifier_id + + + + + +resource + + +RESOURCE + +resource_id + +description + +created + +secret + + + +almanac + + +ALMANAC + +event + +epoch + + +