Add migrate
This commit is contained in:
parent
5910c0c227
commit
83f3bbdc85
@ -0,0 +1,18 @@
|
|||||||
|
# Generated by Django 5.0.6 on 2024-10-26 22:21
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('don_confiao', '0031_rename_address_customer_email_customer_phone'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AddField(
|
||||||
|
model_name='customer',
|
||||||
|
name='address',
|
||||||
|
field=models.CharField(blank=True, max_length=100, null=True),
|
||||||
|
),
|
||||||
|
]
|
@ -8,6 +8,7 @@ from datetime import datetime
|
|||||||
|
|
||||||
class Customer(models.Model):
|
class Customer(models.Model):
|
||||||
name = models.CharField(max_length=100, default=None, null=False, blank=False)
|
name = models.CharField(max_length=100, default=None, null=False, blank=False)
|
||||||
|
address = models.CharField(max_length=100, null=True, blank=True)
|
||||||
email = models.CharField(max_length=100, null=True, blank=True)
|
email = models.CharField(max_length=100, null=True, blank=True)
|
||||||
phone = models.CharField(max_length=100, null=True, blank=True)
|
phone = models.CharField(max_length=100, null=True, blank=True)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user