X-Git-Url: http://git.squeep.com/?p=squeep-indie-auther;a=blobdiff_plain;f=documentation%2Fmedia%2Fpostgres-er.svg;fp=documentation%2Fmedia%2Fpostgres-er.svg;h=ac8658e4be78f93ff519221d14b5384a21da411f;hp=670582a2c0c2200362a4d9a18c3bd0005c12b412;hb=726cd980f0ed5588cfe8cbb2d994d5e4aef6e292;hpb=3c145bc590577c738df4d279744f3e2f9a250294 diff --git a/documentation/media/postgres-er.svg b/documentation/media/postgres-er.svg index 670582a..ac8658e 100644 --- a/documentation/media/postgres-er.svg +++ b/documentation/media/postgres-er.svg @@ -4,181 +4,204 @@ - + indieAutherERD - -IndieAuther Entity-Relations -Postgres -Schema 1.0.0 - + +IndieAuther Entity-Relations +Postgres +Schema 1.1.0 + +redeemed_ticket + + +REDEEMED_TICKET + +ticket_id + +created + +subject + +resource + +iss + +token + +ticket + +published + + + 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 + +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_SCOPE + +code_id + +scope_id token:pk_code_id->token_scope:fk_code_id - - + + - + profile - - -PROFILE - -profile_id - -identifier_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_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 + +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 + +identifier_id + +created + +last_authenticated + +identifier + +credential authentication:pk_identifier_id->profile:fk_identifier_id - - + + - + resource - - -RESOURCE - -resource_id - -description - -created - -secret + + +RESOURCE + +resource_id + +description + +created + +secret - + almanac - - -ALMANAC - -event - -date + + +ALMANAC + +event + +date