View | Details | Raw Unified | Return to bug 35044
Collapse All | Expand All

(-)a/installer/data/mysql/atomicupdate/atomic_additional_fields.pl (-3 / +2 lines)
Lines 1-7 Link Here
1
use Modern::Perl;
1
use Modern::Perl;
2
2
3
return {
3
return {
4
    bug_number  => "xxx",
4
    bug_number  => "35044",
5
    description => "Add repeatable option to additional_fields",
5
    description => "Add repeatable option to additional_fields",
6
    up          => sub {
6
    up          => sub {
7
        my ($args) = @_;
7
        my ($args) = @_;
Lines 17-23 return { Link Here
17
            say $out "Added repeatable column to additional_fields table";
17
            say $out "Added repeatable column to additional_fields table";
18
        }
18
        }
19
19
20
        if ( unique_key_exists ('additional_field_values', 'afv_fk') ) {
20
        if ( unique_key_exists ('additional_field_values', 'field_record') ) {
21
            # Need to drop foreign key so that we can then drop the unique key
21
            # Need to drop foreign key so that we can then drop the unique key
22
            $dbh->do(
22
            $dbh->do(
23
                q{
23
                q{
24
- 

Return to bug 35044