1
Fork 0
e11sync/app/signup/migrations/0001_initial.py

29 lines
861 B
Python

# Generated by Django 5.0 on 2023-12-14 20:13
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Signup',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('email', models.EmailField(max_length=254)),
('created_at', models.DateTimeField(auto_now_add=True)),
('anonymized_ip', models.GenericIPAddressField()),
('user_agent', models.CharField(max_length=255)),
],
),
migrations.AddConstraint(
model_name='signup',
constraint=models.UniqueConstraint(fields=('email',), name='unique_email'),
),
]