add mac field to device model
This commit is contained in:
18
apps/pos_device/migrations/0073_device_mac.py
Normal file
18
apps/pos_device/migrations/0073_device_mac.py
Normal file
@@ -0,0 +1,18 @@
|
||||
# Generated by Django 5.0 on 2025-09-14 07:49
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('pos_device', '0072_stakeholdershareamount_registering_organization'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='device',
|
||||
name='mac',
|
||||
field=models.CharField(max_length=50, null=True),
|
||||
),
|
||||
]
|
||||
@@ -33,6 +33,7 @@ class Device(BaseModel):
|
||||
device_identity = models.CharField(max_length=25, null=True)
|
||||
acceptor = models.CharField(max_length=50, null=True)
|
||||
terminal = models.CharField(max_length=50, null=True)
|
||||
mac = models.CharField(max_length=50, null=True)
|
||||
serial = models.TextField(null=True, unique=True)
|
||||
password = models.CharField(max_length=25, null=True)
|
||||
multi_device = models.BooleanField(default=False)
|
||||
|
||||
Reference in New Issue
Block a user