Skip to content

Commit

Permalink
Update 0047_requestlog.py
Browse files Browse the repository at this point in the history
  • Loading branch information
QA2A authored Aug 12, 2024
1 parent 6f4ccd3 commit 16faab5
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions website/migrations/0047_requestlog.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# Generated by Django 4.2.7 on 2024-08-12 19:24

from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):
dependencies = [
("website", "0046_profile_resume_key"),
]

operations = [
migrations.CreateModel(
name="RequestLog",
fields=[
(
"id",
models.BigAutoField(
auto_created=True,
primary_key=True,
serialize=False,
verbose_name="ID",
),
),
("modified", models.DateTimeField(auto_now=True)),
("email", models.EmailField(max_length=254)),
("applications", models.PositiveIntegerField()),
("ip_address", models.GenericIPAddressField()),
("user_agent", models.CharField(max_length=255)),
("referer", models.URLField()),
("created", models.DateTimeField(auto_now_add=True)),
(
"company",
models.ForeignKey(
on_delete=django.db.models.deletion.CASCADE,
to="website.company",
),
),
(
"profile",
models.ForeignKey(
on_delete=django.db.models.deletion.CASCADE,
to="website.profile",
),
),
],
options={
"abstract": False,
},
),
]

0 comments on commit 16faab5

Please sign in to comment.