<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tomute</author_name>
  <author_url>https://blog.hatena.ne.jp/tomute/</author_url>
  <blog_title>tomute's note</blog_title>
  <blog_url>https://tomute.hateblo.jp/</blog_url>
  <categories>
    <anon>Programming</anon>
    <anon>Dotinstall</anon>
  </categories>
  <description>ドットインストールのPostgreSQL入門を勉強中に気づいた事をメモしておく。「#05 フィールドに制約をつけてみよう」でtimestamp型のデフォルト値を現在時刻にするために以下のように指定していた。 create table posts ( id serial primary key, title varchar(255) not null, body text check(length(body) &gt; 5), is_draft boolean default TRUE, created timestamp default 'now' ★★★ ); しかし、これだとテーブル作成時の時刻…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftomute.hateblo.jp%2Fentry%2F20131218%2F1387370615&quot; title=&quot; PostgreSQLでtimestamp型のデフォルト値を現在時刻にするには - tomute&amp;#39;s note&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>2013-12-18 21:43:35</published>
  <title> PostgreSQLでtimestamp型のデフォルト値を現在時刻にするには</title>
  <type>rich</type>
  <url>https://tomute.hateblo.jp/entry/20131218/1387370615</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
