<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kiririmode</author_name>
  <author_url>https://blog.hatena.ne.jp/kiririmode/</author_url>
  <blog_title>理系学生日記</blog_title>
  <blog_url>https://kiririmode.hatenablog.jp/</blog_url>
  <categories>
    <anon>docker</anon>
    <anon>postgresql</anon>
  </categories>
  <description>本エントリでは、Docker ComposeでPostgreSQLを立ち上げるとき、特定のデータベース・スキーマ配下にテーブルを作成する方法を紹介します。 前提としてのpostgresイメージの持つ自動SQL実行機能 データベースをもつシステムをローカルで開発するにあたり、Docker Composeを使ってDBを立ち上げるプロジェクトも多いのではないでしょうか。 そのとき、当然プロジェクトメンバに同じ環境を使ってほしいため、DDLを自動的に実行すると便利です。 DBMSとしてPostgreSQLを利用する場合、Dockerのイメージとしてはpostgresを使うことが多いでしょう。 このpo…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkiririmode.hatenablog.jp%2Fentry%2F20221030%2F1667113621&quot; title=&quot;Docker ComposeでPostgresqlを立ち上げるとき、任意のデータベース・スキーマ上にテーブルを自動で作成したい - 理系学生日記&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>2022-10-30 16:07:01</published>
  <title>Docker ComposeでPostgresqlを立ち上げるとき、任意のデータベース・スキーマ上にテーブルを自動で作成したい</title>
  <type>rich</type>
  <url>https://kiririmode.hatenablog.jp/entry/20221030/1667113621</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
