# Is there any documentation on the database vaultwarden?

**URL:** <https://vaultwarden.discourse.group/t/is-there-any-documentation-on-the-database-vaultwarden/4453>\
**Category:** Uncategorized\
**Created:** [February 18, 2025, 2:19pm UTC](https://vaultwarden.discourse.group/t/is-there-any-documentation-on-the-database-vaultwarden/4453 "2025-02-18T14:19:19Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![andrelit3](https://avatars.discourse-cdn.com/v4/letter/a/48db29/32.png) [@andrelit3](https://vaultwarden.discourse.group/u/andrelit3)\
**Post date:** [February 18, 2025, 2:19pm UTC](https://vaultwarden.discourse.group/t/is-there-any-documentation-on-the-database-vaultwarden/4453/1 "2025-02-18T14:19:19Z")

</div>

I want to create my own logging.  
Is there any documentation describing the database tables?

---

<div class="post-metadata">

**Author:** ![BlackDex](https://yyz2.discourse-cdn.com/free1/user_avatar/vaultwarden.discourse.group/blackdex/32/8_2.png) [@BlackDex](https://vaultwarden.discourse.group/u/BlackDex)\
**Post date:** [February 18, 2025, 2:55pm UTC](https://vaultwarden.discourse.group/t/is-there-any-documentation-on-the-database-vaultwarden/4453/2 "2025-02-18T14:55:23Z")

</div>

Basically use any database editor you like to extract the schema with.  
But if you want to see the code part check here:

> **[vaultwarden/src/db/schemas at main · dani-garcia/vaultwarden](https://github.com/dani-garcia/vaultwarden/tree/main/src/db/schemas)**
>
> Unofficial Bitwarden compatible server written in Rust, formerly known as bitwarden\_rs - dani-garcia/vaultwarden

---

<div class="post-metadata">

**Author:** ![andrelit3](https://avatars.discourse-cdn.com/v4/letter/a/48db29/32.png) [@andrelit3](https://vaultwarden.discourse.group/u/andrelit3)\
**Post date:** [February 18, 2025, 3:38pm UTC](https://vaultwarden.discourse.group/t/is-there-any-documentation-on-the-database-vaultwarden/4453/3 "2025-02-18T15:38:33Z")

</div>

Thanks. But I mean, is there a documented list of which table does what?

---

<div class="post-metadata">

**Author:** ![BlackDex](https://yyz2.discourse-cdn.com/free1/user_avatar/vaultwarden.discourse.group/blackdex/32/8_2.png) [@BlackDex](https://vaultwarden.discourse.group/u/BlackDex)\
**Post date:** [February 18, 2025, 4:19pm UTC](https://vaultwarden.discourse.group/t/is-there-any-documentation-on-the-database-vaultwarden/4453/4 "2025-02-18T16:19:11Z")

</div>

Not really. But, the table names kind speak for them self.  
And I would suggest to check the code otherwise.

---

<div class="post-metadata">

**Author:** ![andrelit3](https://avatars.discourse-cdn.com/v4/letter/a/48db29/32.png) [@andrelit3](https://vaultwarden.discourse.group/u/andrelit3)\
**Post date:** [February 19, 2025, 9:05am UTC](https://vaultwarden.discourse.group/t/is-there-any-documentation-on-the-database-vaultwarden/4453/5 "2025-02-19T09:05:37Z")

</div>

Got it. Thanks.  
Is there any way to automatically download or access the event log via the server (which is in the admin panel via the browser). If I could automatically fetch them, it would make my job much easier
