line |
true |
false |
branch |
37
|
12 |
0 |
if $self->db_driver_name eq 'SQLite' |
109
|
11 |
1 |
$self->tenant_id ? : |
|
11 |
1 |
$self->tenant_id ? : |
|
11 |
1 |
$self->tenant_id ? : |
117
|
0 |
144 |
unless my $table = $schema->add_table('name', $self->table_prefix . $table_name) |
123
|
0 |
488 |
ref $col ? : |
135
|
311 |
177 |
if $field_params->{'name'} =~ /(?:^id$|_id$)/ |
138
|
48 |
440 |
if $field_params->{'name'} eq 'id' |
142
|
0 |
488 |
unless $table->add_field(%$field_params) |
147
|
48 |
96 |
$table->get_field('id') ? : |
148
|
72 |
72 |
if $pk |
151
|
12 |
132 |
unless $table_schema->{'fk'} |
154
|
132 |
120 |
unless ref $params |
162
|
120 |
132 |
$params->{'cascade_delete'} ? : |
167
|
120 |
24 |
unless $table_schema->{'unique'} |
177
|
132 |
12 |
unless $table_schema->{'index'} |
196
|
12 |
1 |
unless ($producer) |
270
|
0 |
2 |
unless $row |
282
|
10 |
2 |
unless $self->version_table_is_installed |
287
|
1 |
11 |
if $version_table->select_one({'version', $self->version}) |
313
|
0 |
368 |
ref $bind eq 'ARRAY' ? : |
314
|
0 |
357 |
unless defined $rv |
323
|
1126 |
82 |
if exists $self->_tables->{$name} |
327
|
0 |
82 |
unless $table_schema |
341
|
113 |
224 |
if $_ eq $name |