line |
true |
false |
branch |
38
|
11 |
0 |
if $self->db_driver_name eq 'SQLite' |
110
|
10 |
1 |
$enable_multi_tenancy ? : |
|
10 |
1 |
$enable_multi_tenancy ? : |
|
10 |
1 |
$enable_multi_tenancy ? : |
118
|
0 |
132 |
unless my $table = $schema->add_table('name', $self->table_prefix . $table_name) |
124
|
0 |
459 |
ref $col ? : |
136
|
285 |
174 |
if $field_params->{'name'} =~ /(?:^id$|_id$)/ |
139
|
44 |
415 |
if $field_params->{'name'} eq 'id' |
143
|
0 |
459 |
unless $table->add_field(%$field_params) |
148
|
44 |
88 |
$table->get_field('id') ? : |
149
|
66 |
66 |
if $pk |
152
|
11 |
121 |
unless $table_schema->{'fk'} |
155
|
121 |
110 |
unless ref $params |
163
|
110 |
121 |
$params->{'cascade_delete'} ? : |
168
|
110 |
22 |
unless $table_schema->{'unique'} |
178
|
121 |
11 |
unless $table_schema->{'index'} |
197
|
12 |
1 |
unless ($producer) |
271
|
0 |
2 |
unless $row |
283
|
10 |
2 |
unless $self->version_table_is_installed |
288
|
1 |
11 |
if $version_table->select_one({'version', $self->version}) and not $options{'add_drop_table'} |
315
|
0 |
331 |
ref $bind eq 'ARRAY' ? : |
316
|
0 |
320 |
unless defined $rv |
325
|
1011 |
77 |
if exists $self->_tables->{$name} |
329
|
0 |
77 |
unless $table_schema |
343
|
114 |
229 |
if $_ eq $name |