> For the complete documentation index, see [llms.txt](https://til.yulrizka.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://til.yulrizka.com/db.md).

# db

- [disabling foreign key when importing dump](https://til.yulrizka.com/db/disabling-foreign-key-when-importing-dump.md)
- [postgres add object to jsonb array from the same column](https://til.yulrizka.com/db/postgres-add-object-to-jsonb-array-from-the-same-column.md)
- [postgres audit log trigger](https://til.yulrizka.com/db/postgres-audit-log-trigger.md)
- [postgres naming trigger](https://til.yulrizka.com/db/postgres-naming-trigger.md)
- [postgres rename enum](https://til.yulrizka.com/db/postgres-rename-enum.md)
- [postgres reset sequence after import](https://til.yulrizka.com/db/postgres-reset-sequence-after-import.md)
- [postgres skip table from restore](https://til.yulrizka.com/db/postgres-skip-table-from-restore.md)
- [set a column with value from different table](https://til.yulrizka.com/db/set-a-column-with-value-from-different-table.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://til.yulrizka.com/db.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
