From 1efc89e94f03b2fa4e9c26077d9175f629ee36e2 Mon Sep 17 00:00:00 2001 From: NittanySeaLion <119230128+NittanySeaLion@users.noreply.github.com> Date: Mon, 30 Oct 2023 08:42:50 -0400 Subject: [PATCH] Adlist Table Signed-off-by: NittanySeaLion <119230128+NittanySeaLion@users.noreply.github.com> --- docs/database/gravity/groups.md | 2 +- docs/database/gravity/index.md | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/database/gravity/groups.md b/docs/database/gravity/groups.md index 8c9dc33cc..bcdb2d8f2 100644 --- a/docs/database/gravity/groups.md +++ b/docs/database/gravity/groups.md @@ -12,7 +12,7 @@ Label | Type | Uniqueness enforced | Content Group management is implemented using so-called linking tables. Hence, it is possible to - associate domains (and clients!) with any number of groups, -- manage adlists together with groups, +- manage lists together with groups, - use the same groups for black- and whitelisted domains at the same time. The linking tables are particularly simple, as they only link group `id`s with list `id`s. As an example, we describe the `domainlist_by_group` table. The `adlist` and `client` linking tables are constructed similarly. diff --git a/docs/database/gravity/index.md b/docs/database/gravity/index.md index ad9e3874c..81252b994 100644 --- a/docs/database/gravity/index.md +++ b/docs/database/gravity/index.md @@ -29,7 +29,7 @@ Label | Type | Uniqueness enforced | Content `date_modified` | integer | No | Timestamp when domain was last modified, automatically updated when a record is changed `comment` | text | No | Optional field for arbitrary user comments, only field that is allowed to be `NULL` -## Adlist Table (`adlist`) +## List Table (`adlist`) The `adlist` table contains all sources for domains to be collected by `pihole -g`. Just like the other tables, it has a few extra fields to store metadata related to a given source. @@ -48,7 +48,7 @@ Label | Type | Uniqueness enforced | Content ## Gravity Tables (`gravity` and `antigravity`) -The `gravity` and `antigravity` table consists of the domains that have been processed by Pi-hole's `gravity` (`pihole -g`) command. The domains in this list are the collection of domains sourced from the configured sources (see the [`adlist` table](index.md#adlist-table-adlist)). +The `gravity` and `antigravity` table consists of the domains that have been processed by Pi-hole's `gravity` (`pihole -g`) command. The domains in this list are the collection of domains sourced from the configured sources (see the [List Table (`adlist`)](index.md#list-table-adlist)). During each run of `pihole -g`, these tables are flushed and completely rebuilt from the newly obtained set of domains to be blocked or allowed. @@ -57,7 +57,7 @@ Label | Type | Content `domain` | text | Domain compiled from subscribed list referenced by `adlist_id` `adlist_id` | integer | ID associated to subscribed list in table `adlist` -Uniqueness is enforced on pairs of (`domain`, `adlist_id`) in both tables. In other words: domains can be added multiple times, however, only when they are referencing different adlists as their origins. +Uniqueness is enforced on pairs of (`domain`, `adlist_id`) in both tables. In other words: domains can be added multiple times, however, only when they are referencing different lists as their origins. ## Client table (`client`)