implement condition_sql for FS::part_event::Condition::cust_bill_hasnt_noauto, RT12714
[freeside.git] / FS / FS / Schema.pm
index 1b13ac7..da0bea0 100644 (file)
@@ -1409,8 +1409,8 @@ sub tables_hashref {
 
     'fcc477map' => {
       'columns' => [
-        'formkey',   'varchar',    255, '', '', '',
-        'formvalue',    'text', 'NULL', '', '', '',
+        'formkey',   'varchar',     '', 255, '', '',
+        'formvalue',    'text', 'NULL',  '', '', '',
       ],
       'primary_key' => 'formkey',
       'unique'      => [],
@@ -1452,7 +1452,7 @@ sub tables_hashref {
                    [ 'usernum' ], [ 'agent_pkgid' ],
                    ['order_date'], [ 'start_date' ], ['setup'], ['bill'],
                    ['last_bill'], ['susp'], ['adjourn'], ['cancel'],
-                   ['expire'], ['contract_end'], ['change_date'],
+                   ['expire'], ['contract_end'], ['change_date'], ['no_auto'],
                  ],
     },
 
@@ -1631,7 +1631,7 @@ sub tables_hashref {
       'primary_key' => 'pkgpart',
       'unique' => [],
       'index' => [ [ 'promo_code' ], [ 'disabled' ], [ 'classnum' ],
-                   [ 'agentnum' ],
+                   [ 'agentnum' ], ['no_auto'],
                  ],
     },