Added reasonnum col, allowed reason to be null, implemented key constraint with reaso...
authorJoshua Goodman <jgoodman1990@gmail.com>
Tue, 25 Feb 2014 05:35:42 +0000 (05:35 +0000)
committerJoshua Goodman <jgoodman1990@gmail.com>
Tue, 25 Feb 2014 05:35:42 +0000 (05:35 +0000)
FS/FS/Schema.pm

index bf516b2..ec4a1b3 100644 (file)
@@ -2847,7 +2847,8 @@ sub tables_hashref {
         'currency',       'char', 'NULL',       3, '', '',
         'otaker',       'varchar',   'NULL',   32, '', '', 
         'usernum',   'int', 'NULL', '', '', '',
-        'reason',       'varchar',   '',   $char_d, '', '', 
+        'reason',       'varchar',   'NULL',   $char_d, '', '', 
+        'reasonnum',   'int', 'NULL', '', '', '',
         'payby',        'char',   '',     4, '', '', # CARD/BILL/COMP, should
                                                      # be index into payby
                                                      # table eventually
@@ -2871,6 +2872,9 @@ sub tables_hashref {
                           { columns    => [ 'usernum' ],
                             table      => 'access_user',
                           },
+                          { columns    => [ 'reasonnum' ],
+                            table      => 'reason',
+                          },
                           { columns    => [ 'gatewaynum' ],
                             table      => 'payment_gateway',
                           },