<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Databases on Jake Worth</title><link>https://jakeworth.com/tags/databases/</link><description>Recent content in Databases on Jake Worth</description><image><title>Jake Worth</title><url>https://jakeworth.com/twittercard.png</url><link>https://jakeworth.com/twittercard.png</link></image><generator>Hugo</generator><language>en-us</language><lastBuildDate>Thu, 22 Jun 2023 00:00:00 +0000</lastBuildDate><atom:link href="https://jakeworth.com/tags/databases/index.xml" rel="self" type="application/rss+xml"/><item><title>The Power of CRUD Operations Explained with SQL</title><link>https://jakeworth.com/posts/the-power-of-crud-operations-explained-with-sql/</link><pubDate>Thu, 12 Jan 2023 00:00:00 +0000</pubDate><guid>https://jakeworth.com/posts/the-power-of-crud-operations-explained-with-sql/</guid><description>&lt;p&gt;CRUD is an acronym that&amp;rsquo;s used a lot in web and mobile development. Frontend
engineers in particular might wonder what it means and why we use it.
In this post, I&amp;rsquo;ll explain CRUD using PostgreSQL, and talk about why it&amp;rsquo;s
important.&lt;/p&gt;</description></item><item><title>Database Migration Checklist</title><link>https://jakeworth.com/posts/database-migration-checklist/</link><pubDate>Mon, 11 Jul 2022 00:00:00 +0000</pubDate><guid>https://jakeworth.com/posts/database-migration-checklist/</guid><description>&lt;p&gt;I think a great database migration is: correct, atomic, reversible,
consistent with the style of the application, and (mostly) uncoupled from your
application and RDBMS.&lt;/p&gt;</description></item><item><title>PostgreSQL Polymorphism</title><link>https://jakeworth.com/posts/postgresql-polymorphism/</link><pubDate>Mon, 30 May 2022 00:00:00 +0000</pubDate><guid>https://jakeworth.com/posts/postgresql-polymorphism/</guid><description>&lt;p&gt;Scenario: you need a database record that can belong to one record or another, but not
both. Polymorphism and exclusivity. One approach is to create a polymorphic-style association at
the data layer. By doing so, you&amp;rsquo;ll get data integrity built in, rather than
trusting it will be enforced by each tenant at the application layer.&lt;/p&gt;</description></item><item><title>My psql Config</title><link>https://jakeworth.com/posts/my-psql-config/</link><pubDate>Tue, 12 Apr 2022 00:00:00 +0000</pubDate><guid>https://jakeworth.com/posts/my-psql-config/</guid><description>&lt;p&gt;RC files, thought to stand for &amp;ldquo;run command&amp;rdquo; files, are read by a program
during startup. The file that configures the PostgreSQL REPL psql is called
&lt;code&gt;.psqlrc&lt;/code&gt;. In this post I&amp;rsquo;ll share my personal psql configuration.&lt;/p&gt;</description></item><item><title>How to Read Postgres Docs</title><link>https://jakeworth.com/posts/how-to-read-postgres-docs/</link><pubDate>Mon, 21 Mar 2022 00:00:00 +0000</pubDate><guid>https://jakeworth.com/posts/how-to-read-postgres-docs/</guid><description>&lt;p&gt;Have you ever tried to read the documentation for a Postgres command? Although
many consider Postgres&amp;rsquo; docs best-in-class, they include conventions that might
challenge newbies. In this post, I&amp;rsquo;ll paraphrase Postgres&amp;rsquo; conventions page to
help us understand what the documentation for a command is saying.&lt;/p&gt;</description></item><item><title>Reset an Ecto Heroku Postgres Database</title><link>https://jakeworth.com/posts/reset-an-ecto-heroku-database/</link><pubDate>Sat, 07 Jan 2017 00:00:00 +0000</pubDate><guid>https://jakeworth.com/posts/reset-an-ecto-heroku-database/</guid><description>&lt;p&gt;We introduced some breaking database changes to our &lt;a href="https://github.com/hashrocket/tilex"&gt;Phoenix port&lt;/a&gt; of &lt;a href="https://til.hashrocket.com"&gt;Today I Learned&lt;/a&gt; on Friday; today I deployed them to staging. Resetting an Ecto Heroku database, with new seed data, turned out to be a little tricky, and I wanted to document what I learned.&lt;/p&gt;</description></item></channel></rss>