- バックアップ一覧
- 現在との差分 を表示
- ソース を表示
- バックアップ を表示
- Perl-DBIx-Skinny/スキーマの設定方法(基本) へ行く。
- 1 (2010-10-23 (土) 18:48:43)
- 2 (2010-10-23 (土) 19:12:30)
- 追加された行はこの色です。
- 削除された行はこの色です。
* DBIx::Skinny スキーマクラス [#daf389e2] package MyDB; use DBIx::Skinny setup => { dsn => 'dbi:Pg:dbname=test_db;host=localhost', username => 'scott', password => '' }; package MyDB::Schema; use DBIx::Skinny::Schema; install_table users => schema { pk 'id'; columns qw/id name birth_on group_id/; }; install_table groups => schema { pk 'id'; columns qw/id name/; };