refactor: rename column.
This commit is contained in:
		| @@ -44,7 +44,7 @@ class ReconciliationJarForm(forms.ModelForm): | ||||
|         fields = [ | ||||
|             'date_time', | ||||
|             'description', | ||||
|             'reconciler', | ||||
|             'reconcilier', | ||||
|             'cash_taken', | ||||
|             'cash_discrepancy', | ||||
|         ] | ||||
|   | ||||
| @@ -0,0 +1,18 @@ | ||||
| # Generated by Django 5.0.6 on 2024-07-13 22:16 | ||||
|  | ||||
| from django.db import migrations | ||||
|  | ||||
|  | ||||
| class Migration(migrations.Migration): | ||||
|  | ||||
|     dependencies = [ | ||||
|         ('don_confiao', '0020_remove_reconciliationjar_cash_float'), | ||||
|     ] | ||||
|  | ||||
|     operations = [ | ||||
|         migrations.RenameField( | ||||
|             model_name='reconciliationjar', | ||||
|             old_name='reconciler', | ||||
|             new_name='reconcilier', | ||||
|         ), | ||||
|     ] | ||||
| @@ -78,7 +78,7 @@ class ReconciliationJar(models.Model): | ||||
|     is_valid = models.BooleanField(default=False) | ||||
|     date_time = models.DateTimeField() | ||||
|     description = models.CharField(max_length=255, null=True, blank=True) | ||||
|     reconciler = models.CharField(max_length=255, null=False, blank=False) | ||||
|     reconcilier = models.CharField(max_length=255, null=False, blank=False) | ||||
|     cash_taken = models.DecimalField(max_digits=9, decimal_places=2) | ||||
|     cash_discrepancy = models.DecimalField(max_digits=9, decimal_places=2) | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user