e11sync

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | LICENSE

0001_initial.py (965B) - Raw


      1 # Generated by Django 5.0.1 on 2024-01-12 10:04
      2 
      3 from django.db import migrations, models
      4 
      5 
      6 class Migration(migrations.Migration):
      7 
      8     initial = True
      9 
     10     dependencies = [
     11     ]
     12 
     13     operations = [
     14         migrations.CreateModel(
     15             name='Signup',
     16             fields=[
     17                 ('id', models.BigAutoField(auto_created=True,
     18                  primary_key=True, serialize=False, verbose_name='ID')),
     19                 ('email', models.EmailField(max_length=254)),
     20                 ('created_at', models.DateTimeField(auto_now_add=True)),
     21                 ('anonymized_ip', models.GenericIPAddressField()),
     22                 ('user_agent', models.CharField(max_length=255)),
     23                 ('geoip', models.JSONField(blank=True, null=True)),
     24             ],
     25         ),
     26         migrations.AddConstraint(
     27             model_name='signup',
     28             constraint=models.UniqueConstraint(
     29                 fields=('email',), name='unique_email'),
     30         ),
     31     ]