<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>thinkAmi</author_name>
  <author_url>https://blog.hatena.ne.jp/thinkAmi/</author_url>
  <blog_title>メモ的な思考的な</blog_title>
  <blog_url>https://thinkami.hatenablog.com/</blog_url>
  <categories>
    <anon>Python</anon>
    <anon>Heroku</anon>
  </categories>
  <description>最近、新旧のHerokuアプリ間でデータを移行する機会がありました。 当初は単純にリストアすればいいかと考えましたが、新旧間でテーブル構造などを変えたことに気づきました。 また、一部のテーブルのみのリストアができなくなったみたいで、ローカルのPostgreSQLへリストア・列変換後にHerokuにリストアという方法も取りにくくなりました。 Heroku PGBackups | Heroku Dev Center そのため、直接Heroku Postgresに接続してデータ変換を行おうと考えました。良さそうなライブラリ(ORM)を探してみたところpeeweeがあったため、試してみました。 col…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fthinkami.hatenablog.com%2Fentry%2F2015%2F08%2F24%2F005301&quot; title=&quot;Python + peeweeを使って、Heroku Postgresに接続する - メモ的な思考的な&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>2015-08-24 00:53:01</published>
  <title>Python + peeweeを使って、Heroku Postgresに接続する</title>
  <type>rich</type>
  <url>https://thinkami.hatenablog.com/entry/2015/08/24/005301</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
