cmsmanage/doorcontrol/migrations/0002_alter_hidevent_raw_card_number.py
Adam Goldsmith de36c6844c doorcontrol: Convert HIDEvent.raw_card_number to TextField
Turns out that those are not just representing a uint, and can be much
longer. Also Text fields in Postgres doesn't have any performance
penalty.
2024-09-03 11:05:32 -04:00

18 lines
422 B
Python

# Generated by Django 5.1 on 2024-09-03 14:56
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("doorcontrol", "0001_initial"),
]
operations = [
migrations.AlterField(
model_name="hidevent",
name="raw_card_number",
field=models.TextField(blank=True, db_column="rawCardNumber", null=True),
),
]