> For the complete documentation index, see [llms.txt](https://developers.disciple.tools/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers.disciple.tools/theme-core/tables.md).

# Database Tables

### Here is a sumarry of the tabels D.T uses

#### wp\_posts

* D.T records like contacts and groups
* The post row contains limited data like: post ID, name, author, creation date

#### wp\_postmeta

* Stores field data abot the recod
* Example: status, milestones

#### wp\_dt\_post\_user\_meta

* D.T custom table
* Stores record data that is only visible to one user (private fields)
* Example: my favorite contacts

#### wp\_comments

* Stores record comments

#### wp\_commentmeta

* Stores comment meta like
* Example: reactions

#### wp\_dt\_share

* D.T custom table
* Stores who a record is shared with (which users have access to a record)

#### wp\_p2p

* Stores connections to other records
* Example: contact records that form a group's members

#### wp\_p2pmeta

* Stores p2p meta. Currently unused

#### [wp\_dt\_activity\_log](/theme-core/tables/wp-dt-activity-log.md)

* D.T custom table, stores activity on records
* Example: Milestone "praying" selected on July 27 2020 at 7:23pm

#### wp\_dt\_location\_grid

* D.T custom table.
* Stores the base location grid project. Used in the location field
* Example: Paris, France, grid\_id: 100089652, level: admin2

#### wp\_dt\_location\_grid\_meta

* D.T custom table
* Stores extra geocoding data when using a geocoder from mapbox or google

#### wp\_dt\_notifications

* D.T custom table
* Stores web notifications for user to see when they log in
* Example: You were assigned on contact John Doe

#### wp\_dt\_reports

* D.T custom table
* Stores lightweight events
* Possible example: meeting times

#### wp\_dt\_reportmeta

* D.T custom table
* Store extra information on a report

#### wp\_dt\_movement\_log

* D.T custom table
* Stores geocoded event that can more easily be queried

#### wp\_options

* WP table
* Stores settings and configurations used by D.T

#### wp\_users

* WP table
* Each user that user the D.T system has a user record

#### wp\_usermeta

* WP table
* Stores user information
* Example: prefered language

### Tables that D.T does not use:

* wp\_links
* wp\_term\_relationships
* wp\_term\_taxonomy
* wp\_termmeta
* wp\_terms
