やっぱりちゃんと Schema::Pg を作ろうと思い立ち、作業してみたらちょっと悩む。 Schema/SQLite/*.pm の belongs_to, has_many で __PACKAGE__->belongs_to( feed => 'Plagger::Schema::SQLite::Feed' );こんな風に hard code してあるところはどうしよう? 単に SQLite/*.pm をまんま Pg/*.pm としてコピーして s/SQLite/Pg/ すればもちろんできるけど、それはなあ。 それ以外の作業は以下の通りで。 entry.date / feed.updated の infrate, deflate には DateTime::Format::Pg を使う(DB 側の型は timestamp ) __PACKAGE__->inflate_column( date