<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Keiver Luna</title>
    <description>The latest articles on Forem by Keiver Luna (@keiver-dev).</description>
    <link>https://forem.com/keiver-dev</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3858143%2F26c155e9-6d85-4f09-b826-ebfe1f443563.jpeg</url>
      <title>Forem: Keiver Luna</title>
      <link>https://forem.com/keiver-dev</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/keiver-dev"/>
    <language>en</language>
    <item>
      <title>I got tired of migration tools that do too much — so I built one that does exactly one thing</title>
      <dc:creator>Keiver Luna</dc:creator>
      <pubDate>Thu, 02 Apr 2026 18:28:12 +0000</pubDate>
      <link>https://forem.com/keiver-dev/i-got-tired-of-migration-tools-that-do-too-much-so-i-built-one-that-does-exactly-one-thing-12h5</link>
      <guid>https://forem.com/keiver-dev/i-got-tired-of-migration-tools-that-do-too-much-so-i-built-one-that-does-exactly-one-thing-12h5</guid>
      <description>&lt;p&gt;Every time I started a new Node.js + PostgreSQL project, I ran into the same friction.&lt;/p&gt;

&lt;p&gt;I'd reach for a migration tool and suddenly I was also choosing an ORM, reading &lt;br&gt;
docs about dialect configs, and wiring up a connection object that duplicated what &lt;br&gt;
I already had in my &lt;code&gt;DATABASE_URL&lt;/code&gt;. I didn't want a framework. I just wanted to &lt;br&gt;
run SQL files in order and know which ones already ran.&lt;/p&gt;

&lt;p&gt;That's it.&lt;/p&gt;

&lt;p&gt;So I built &lt;strong&gt;Runway&lt;/strong&gt; — a PostgreSQL migration CLI for Node.js projects that &lt;br&gt;
doesn't try to be anything else.&lt;/p&gt;

&lt;p&gt;  &lt;iframe src="https://www.youtube.com/embed/52kZaO-or2I"&gt;
  &lt;/iframe&gt;
&lt;/p&gt;

&lt;h2&gt;
  
  
  What it does
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Runs &lt;code&gt;.sql&lt;/code&gt; migration files in order&lt;/li&gt;
&lt;li&gt;Tracks applied migrations in a &lt;code&gt;runway_migrations&lt;/code&gt; table (nothing else touches your schema)&lt;/li&gt;
&lt;li&gt;Reads your existing &lt;code&gt;DATABASE_URL&lt;/code&gt; — no extra config object needed&lt;/li&gt;
&lt;li&gt;Works with encoded passwords out of the box&lt;/li&gt;
&lt;li&gt;Has a &lt;code&gt;baseline&lt;/code&gt; command for existing databases you're adopting mid-life
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx @vlynk-studios/runway migrate
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  What it doesn't do
&lt;/h2&gt;

&lt;p&gt;No ORM. No query builder. No schema introspection. If you already write raw SQL &lt;br&gt;
and just want something to apply it reliably, Runway is exactly the right amount &lt;br&gt;
of tool.&lt;/p&gt;

&lt;h2&gt;
  
  
  Current state
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;v0.3.5&lt;/code&gt; on npm as &lt;code&gt;@vlynk-studios/runway&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;13 test suites, 77 passing tests&lt;/li&gt;
&lt;li&gt;Integration tests use Testcontainers (real Postgres, no mocking)&lt;/li&gt;
&lt;li&gt;ESLint clean, 6 production dependencies&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Try it
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npm &lt;span class="nb"&gt;install&lt;/span&gt; &lt;span class="nt"&gt;--save-dev&lt;/span&gt; @vlynk-studios/runway
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Source and docs: &lt;a href="https://github.com/vlynk-studios/runway" rel="noopener noreferrer"&gt;github.com/vlynk-studios/runway&lt;/a&gt;&lt;/p&gt;




&lt;p&gt;First post on dev.to — feedback welcome, especially if you've solved this &lt;br&gt;
differently. Curious what tradeoffs looked like for you.&lt;/p&gt;

</description>
      <category>node</category>
      <category>postgres</category>
      <category>cli</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
