X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FSchema%2FLoader%2FDBI%2FWriting.pm;h=86a0fc42be7adca692c7127223b58bfdf37c898a;hb=8a9cc3bb69bee00efb91480ed7106a9bdf473414;hp=6ad50c1dfa7a9938aa49cc5dda2eaef1c7da744d;hpb=9cc8e7e177103e568c99f968ff848d25e6c3bea8;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 6ad50c1..86a0fc4 100644 --- a/lib/DBIx/Class/Schema/Loader/DBI/Writing.pm +++ b/lib/DBIx/Class/Schema/Loader/DBI/Writing.pm @@ -1,7 +1,7 @@ package DBIx::Class::Schema::Loader::DBI::Writing; use strict; -our $VERSION = '0.04999_12'; +our $VERSION = '0.07037'; # Empty. POD only. @@ -18,8 +18,7 @@ DBIx::Class::Schema::Loader::DBI::Writing - Loader subclass writing guide for DB use strict; use warnings; use base 'DBIx::Class::Schema::Loader::DBI'; - use Carp::Clan qw/^DBIx::Class/; - use Class::C3; + use mro 'c3'; sub _table_uniq_info { my ($self, $table) = @_; @@ -63,6 +62,9 @@ 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. +To import comments from the database you need to implement C<_table_comment>, +C<_column_comment> + =head1 AUTHOR See L and L. @@ -72,9 +74,6 @@ See L and L, -C<_column_comment> - =cut 1;