@@ -24,9 +24,25 @@ def upgrade():
24
24
with op .batch_alter_table ('eft_refunds' , schema = None ) as batch_op :
25
25
batch_op .add_column (sa .Column ('refund_method' , sa .String (length = 25 ), nullable = True ))
26
26
batch_op .add_column (sa .Column ('cheque_status' , sa .String (length = 25 ), nullable = True ))
27
+ batch_op .add_column (sa .Column ('entity_name' , sa .String (), nullable = True ))
28
+ batch_op .add_column (sa .Column ('street' , sa .String (), nullable = True ))
29
+ batch_op .add_column (sa .Column ('street_additional' , sa .String (), nullable = True ))
30
+ batch_op .add_column (sa .Column ('city' , sa .String (), nullable = True ))
31
+ batch_op .add_column (sa .Column ('region' , sa .String (), nullable = True ))
32
+ batch_op .add_column (sa .Column ('postal_code' , sa .String (), nullable = True ))
33
+ batch_op .add_column (sa .Column ('country' , sa .String (), nullable = True ))
34
+ batch_op .add_column (sa .Column ('delivery_instructions' , sa .String (), nullable = True ))
27
35
28
36
29
37
def downgrade ():
30
38
with op .batch_alter_table ('eft_refunds' , schema = None ) as batch_op :
31
39
batch_op .drop_column ('refund_method' )
32
- batch_op .drop_column ('cheque_Status' )
40
+ batch_op .drop_column ('cheque_status' )
41
+ batch_op .drop_column ('delivery_instructions' )
42
+ batch_op .drop_column ('country' )
43
+ batch_op .drop_column ('postal_code' )
44
+ batch_op .drop_column ('region' )
45
+ batch_op .drop_column ('city' )
46
+ batch_op .drop_column ('street_additional' )
47
+ batch_op .drop_column ('street' )
48
+ batch_op .drop_column ('entity_name' )
0 commit comments