{"image_url":null,"author_url":"https://blog.hatena.ne.jp/tomute/","provider_name":"Hatena Blog","published":"2013-12-18 21:43:35","url":"https://tomute.hateblo.jp/entry/20131218/1387370615","blog_url":"https://tomute.hateblo.jp/","title":" PostgreSQL\u3067timestamp\u578b\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u5024\u3092\u73fe\u5728\u6642\u523b\u306b\u3059\u308b\u306b\u306f","author_name":"tomute","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftomute.hateblo.jp%2Fentry%2F20131218%2F1387370615\" title=\" PostgreSQL\u3067timestamp\u578b\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u5024\u3092\u73fe\u5728\u6642\u523b\u306b\u3059\u308b\u306b\u306f - tomute&#39;s note\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","width":"100%","blog_title":"tomute's note","version":"1.0","provider_url":"https://hatena.blog","categories":["Programming","Dotinstall"],"type":"rich","description":"\u30c9\u30c3\u30c8\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306ePostgreSQL\u5165\u9580\u3092\u52c9\u5f37\u4e2d\u306b\u6c17\u3065\u3044\u305f\u4e8b\u3092\u30e1\u30e2\u3057\u3066\u304a\u304f\u3002\u300c#05 \u30d5\u30a3\u30fc\u30eb\u30c9\u306b\u5236\u7d04\u3092\u3064\u3051\u3066\u307f\u3088\u3046\u300d\u3067timestamp\u578b\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u5024\u3092\u73fe\u5728\u6642\u523b\u306b\u3059\u308b\u305f\u3081\u306b\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u6307\u5b9a\u3057\u3066\u3044\u305f\u3002 create table posts ( id serial primary key, title varchar(255) not null, body text check(length(body) > 5), is_draft boolean default TRUE, created timestamp default 'now' \u2605\u2605\u2605 ); \u3057\u304b\u3057\u3001\u3053\u308c\u3060\u3068\u30c6\u30fc\u30d6\u30eb\u4f5c\u6210\u6642\u306e\u6642\u523b\u2026","height":"190"}