X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;ds=sidebyside;f=documentation%2Fmedia%2Fpostgres-er.svg;fp=documentation%2Fmedia%2Fpostgres-er.svg;h=b7db5b485fa2f1b657fb961246e265d5342e3223;hb=8d59994680c26fa42e7205e2acf00a1665f552d1;hp=0000000000000000000000000000000000000000;hpb=18eee8e467173aee380bd0727d7065469e706727;p=websub-hub diff --git a/documentation/media/postgres-er.svg b/documentation/media/postgres-er.svg new file mode 100644 index 0000000..b7db5b4 --- /dev/null +++ b/documentation/media/postgres-er.svg @@ -0,0 +1,250 @@ + + + + + + +WebsubHubERD + +Websub Hub Entity-Relations +Postgres +Schema 1.0.3 + + +topic + + +TOPIC + +id + +created + +url + +lease_seconds_preferred + +lease_seconds_min + +lease_seconds_max + +publisher_validation_url + +content_hash_algorithm + +is_active + +is_deleted + +last_publish + +content_fetch_next_attempt + +content_fetch_attempts_since_success + +content_updated + +content + +content_hash + +content_type + + + +topic_fetch_in_progress + + +TOPIC_FETCH_IN_PROGRESS + +id + +claimant + +claimed + +claim_expires + + + +topic:pk_id->topic_fetch_in_progress:fk_id + + + + + +topic_content_history + + +TOPIC_CONTENT_HISTORY + +topic_id + +content_updated + +content_size + +content_hash + + + +topic:pk_id->topic_content_history:fk_topic_id + + + + + +subscription + + +SUBSCRIPTION + +id + +created + +topic_id + +callback + +verified + +expires + +secret + +signature_algorithm + +http_remote_addr + +http_from + +content_delivered + +latest_content_delivered + +delivery_attempts_since_success + +delivery_next_attempt + + + +topic:pk_id->subscription:fk_topic_id + + + + + +verification + + +VERIFICATION + +id + +created + +topic_id + +callback + +secret + +signature_algorithm + +http_remote_addr + +http_from + +mode + +reason + +lease_seconds + +is_publisher_validated + +request_id + +attempts + +next_attempt + + + +topic:pk_id->verification:fk_topic_id + + + + + +verification_in_progress + + +VERIFICATION_IN_PROGRESS + +id + +topic_id + +callback + +claimant + +claimed + +claim_expires + + + +topic:pk_id->verification_in_progress:fk_topic_id + + + + + +subscription_delivery_in_progress + + +SUBSCRIPTION_DELIVERY_IN_PROGRESS + +id + +claimant + +claimed + +claim_expires + + + +subscription:pk_id->subscription_delivery_in_progress:fk_id + + + + + +verification:pk_id->verification_in_progress:fk_id + + + + + +authentication + + +AUTHENTICATION + +created + +last_authenticated + +identifier + +credential + + +