X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FSchema%2FLoader%2FDBI%2FWriting.pm;h=e74b616a8d6621193525695a87a7e793c0165eeb;hb=5afd3e723f5c9644e67f9b623b069f870e94fdc9;hp=7bbb9d27b90c279e0bb243fdaed399787f1580a8;hpb=b15c57354374ac3528941e6eb29d450057a68dc8;p=dbsrgits%2FDBIx-Class-Schema-Loader.git diff --git a/lib/DBIx/Class/Schema/Loader/DBI/Writing.pm b/lib/DBIx/Class/Schema/Loader/DBI/Writing.pm index 7bbb9d2..e74b616 100644 --- a/lib/DBIx/Class/Schema/Loader/DBI/Writing.pm +++ b/lib/DBIx/Class/Schema/Loader/DBI/Writing.pm @@ -1,12 +1,10 @@ package DBIx::Class::Schema::Loader::DBI::Writing; use strict; -our $VERSION = '0.04004'; +our $VERSION = '0.06001'; # Empty. POD only. -1; - =head1 NAME DBIx::Class::Schema::Loader::DBI::Writing - Loader subclass writing guide for DBI @@ -40,6 +38,16 @@ DBIx::Class::Schema::Loader::DBI::Writing - Loader subclass writing guide for DB # concatenated if you wish. } + sub _table_comment { + my ( $self, $table ) = @_; + return 'Comment'; + } + + sub _column_comment { + my ( $self, $table, $column_number ) = @_; + return 'Col. comment'; + } + 1; =head1 DETAILS @@ -55,6 +63,18 @@ likely want to override are: C<_table_pk_info>, C<_table_fk_info>, C<_tables_list> and C<_extra_column_info>. See the included DBD drivers for examples of these. +=head1 AUTHOR + +See L and L. + +=head1 LICENSE + +This library is free software; you can redistribute it and/or modify it under +the same terms as Perl itself. + +To import comments from database you need to implement C<_table_comment>, +C<_column_comment> + =cut 1;