Skip to content

Commit

Permalink
Added more accepted config keys
Browse files Browse the repository at this point in the history
Added keys from included components in DBIx::Class itself, the
deprecated filesystem column and its replacement, and Helpers.
  • Loading branch information
wesQ3 authored and Arthur Axel 'fREW' Schmidt committed Jul 3, 2016
1 parent 8d2e878 commit 0ceb3ce
Showing 1 changed file with 32 additions and 9 deletions.
41 changes: 32 additions & 9 deletions lib/DBIx/Class/Helper/Schema/Verifier/ColumnInfo.pm
Expand Up @@ -10,20 +10,43 @@ use mro 'c3';

use base 'DBIx::Class::Helper::Schema::Verifier';

my @allowed_keys = qw(
my @allowed_keys = (
# defaults from ::ResultSource
qw(
accessor
auto_nextval
data_type
size
is_nullable
default_value
extra
is_auto_increment
is_numeric
is_foreign_key
default_value
sequence
is_nullable
is_numeric
retrieve_on_insert
auto_nextval
extra
);
sequence
size
),
# ::InflateColumn::DateTime
qw(
floating_tz_ok
inflate_datetime
locale
timezone
),
# ::InflateColumn::File and ::InflateColumn::FS
qw(
file_column_path
fs_column_path
fs_new_on_update
is_file_column
is_fs_column
),
# ::Helpers
qw(
is_serializable
keep_storage_value
remove_column
) );

sub allowed_column_keys { @allowed_keys }

Expand Down

0 comments on commit 0ceb3ce

Please sign in to comment.