<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>eryth031</author_name>
  <author_url>https://blog.hatena.ne.jp/eryth031/</author_url>
  <blog_title>Repro Tech Blog</blog_title>
  <blog_url>https://tech.repro.io/</blog_url>
  <categories>
  </categories>
  <description>前編では、このアーキテクチャの概要と、Go と TypeScriptの使い分けについて紹介しました。 後編では、なぜ DB スキーマを Single Source of Truth にしたのかという設計判断の背景と、 この構成が AI と相性が良いと感じた理由について整理していきます。 なぜ DB スキーマを Single Source of Truth にしたのか 1. 生成元を一元化し、管理をシンプルにしたかった Prisma と sqlc を併用する構成の場合、何も考えずに設計すると、スキーマの管理が分散しがちです。 例えば、以下のような流れです。 1. Prisma schema を更…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.repro.io%2Fentry%2F2026%2F04%2F30%2F124336&quot; title=&quot;汎用性抜群！DBスキーマを中心に据えた Go × TypeScript ハイブリッド構成の紹介 - （後編） - Repro Tech Blog&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2026-04-30 12:43:36</published>
  <title>汎用性抜群！DBスキーマを中心に据えた Go × TypeScript ハイブリッド構成の紹介 - （後編）</title>
  <type>rich</type>
  <url>https://tech.repro.io/entry/2026/04/30/124336</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
