ããã¥ã¡ã³ãã«æ¸ãã¦ãªãã®ã§ä»å¾ã使ãããããããªããã©ãã¡ã¢ã¡ã¢Î¦ æ®é DBIC ã§æ°ããã¬ã³ã¼ããæ¿å ¥ããã«ã¯ã use strict; use warnings; package My::Schema::Artist; use base qw( DBIx::Class ); __PACKAGE__->load_components(qw( Core )); __PACKAGE__->table('artist'); __PACKAGE__->add_columns( id => { data_type => 'INTEGER', is_nullable => 0, is_auto_increment => 1, }, name => { data_type => 'VARCHAR', is_nullable => 0, }, ); __PACKAGE__->set_primary_
{{#tags}}- {{label}}
{{/tags}}