Skip to content

Commit

Permalink
migrations and model updated
Browse files Browse the repository at this point in the history
  • Loading branch information
anishfyle committed Nov 19, 2024
1 parent 123a05b commit 583ce47
Show file tree
Hide file tree
Showing 3 changed files with 84 additions and 64 deletions.
18 changes: 18 additions & 0 deletions apps/fyle/migrations/0040_expense_masked_corporate_card_number.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Generated by Django 3.2.14 on 2024-11-19 11:21

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('fyle', '0039_expense_is_posted_at_null'),
]

operations = [
migrations.AddField(
model_name='expense',
name='masked_corporate_card_number',
field=models.CharField(help_text='Masked Corporate Card Number', max_length=255, null=True),
),
]
2 changes: 1 addition & 1 deletion apps/fyle/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ class Expense(models.Model):
custom_properties = JSONField(null=True)
previous_export_state = models.CharField(max_length=255, help_text='Previous export state', null=True)
accounting_export_summary = JSONField(default=dict)
masked_corporate_card_number = models.CharField(help_text='Masked Corporate Card Number')
masked_corporate_card_number = models.CharField(max_length=255, help_text='Masked Corporate Card Number', null=True)
paid_on_qbo = models.BooleanField(help_text='Expense Payment status on QBO', default=False)
paid_on_fyle = models.BooleanField(help_text='Expense Payment status on Fyle', default=False)
payment_number = models.CharField(max_length=55, help_text='Expense payment number', null=True)
Expand Down
Loading

0 comments on commit 583ce47

Please sign in to comment.