-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
handle delete case for categories and projects in expense attributes (#…
…105) * handle delete case for categories and projects in expense attributes * fix lint * fix lint
- Loading branch information
Showing
3 changed files
with
76 additions
and
1 deletion.
There are no files selected for viewing
28 changes: 28 additions & 0 deletions
28
fyle_accounting_mappings/migrations/0025_expenseattributesdeletioncache.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Generated by Django 3.2.14 on 2024-03-20 11:13 | ||
|
||
import django.contrib.postgres.fields | ||
from django.db import migrations, models | ||
import django.db.models.deletion | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('workspaces', '0038_alter_workspace_onboarding_state'), | ||
('fyle_accounting_mappings', '0024_auto_20230922_0819'), | ||
] | ||
|
||
operations = [ | ||
migrations.CreateModel( | ||
name='ExpenseAttributesDeletionCache', | ||
fields=[ | ||
('id', models.AutoField(primary_key=True, serialize=False)), | ||
('category_ids', django.contrib.postgres.fields.ArrayField(base_field=models.CharField(max_length=255), default=[], size=None)), | ||
('project_ids', django.contrib.postgres.fields.ArrayField(base_field=models.CharField(max_length=255), default=[], size=None)), | ||
('workspace', models.OneToOneField(help_text='Reference to Workspace model', on_delete=django.db.models.deletion.PROTECT, to='workspaces.workspace')), | ||
], | ||
options={ | ||
'db_table': 'expense_attributes_deletion_cache', | ||
}, | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ | |
|
||
setuptools.setup( | ||
name='fyle-accounting-mappings', | ||
version='1.31.5', | ||
version='1.32.0', | ||
author='Shwetabh Kumar', | ||
author_email='[email protected]', | ||
description='Django application to store the fyle accounting mappings in a generic manner', | ||
|