<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>gumfum</author_name>
  <author_url>https://blog.hatena.ne.jp/gumfum/</author_url>
  <blog_title>gumfum blog</blog_title>
  <blog_url>https://gumfum.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>integerをserialに変更する方法は多く見つかったが、逆についての記事があまり見つからなかったので記事にしておく。 serial型とは 自動で採番を行ってくれるデータ型のこと。カラムにserial型を指定すると、対応したsequenceが作られる。 postgres=# CREATE TABLE table_name ( column_name SERIAL ); CREATE TABLE postgres=# \d List of relations Schema | Name | Type | Owner --------+----------------------------+…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgumfum.hatenablog.com%2Fentry%2F2021%2F11%2F29%2F000000&quot; title=&quot;PostgreSQLでserialをintegerに変更する - gumfum 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>2021-11-29 00:00:00</published>
  <title>PostgreSQLでserialをintegerに変更する</title>
  <type>rich</type>
  <url>https://gumfum.hatenablog.com/entry/2021/11/29/000000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
