5 description => "Add new columns lift_after_payment and fee_limit to table restriction_types",
8 my ( $dbh, $out ) = @$args{qw(dbh out)};
10 if ( !column_exists( 'restriction_types', 'lift_after_payment' ) ) {
13 ALTER TABLE restriction_types
14 ADD COLUMN `lift_after_payment` tinyint(1) NOT NULL DEFAULT 0
19 say $out "Added column 'restriction_types.lift_after_payment'";
22 if ( !column_exists( 'restriction_types', 'fee_limit' ) ) {
25 ALTER TABLE restriction_types
26 ADD COLUMN `fee_limit` decimal(28,6) DEFAULT NULL
27 AFTER `lift_after_payment`
31 say $out "Added column 'restriction_types.fee_limit'";