1# Generated by Plain 0.15.0 on 2025-01-07 18:45
2
3import uuid
4
5import plain.models.deletion
6from plain import models
7from plain.models import migrations
8
9
10class Migration(migrations.Migration):
11 initial = True
12
13 dependencies = [
14 ("users", "0001_reset"),
15 ]
16
17 operations = [
18 migrations.CreateModel(
19 name="SupportFormEntry",
20 fields=[
21 ("id", models.BigAutoField(auto_created=True, primary_key=True)),
22 (
23 "uuid",
24 models.UUIDField(default=uuid.uuid4, editable=False, unique=True),
25 ),
26 ("name", models.CharField(max_length=255)),
27 ("email", models.EmailField(max_length=254)),
28 ("message", models.TextField()),
29 ("created_at", models.DateTimeField(auto_now_add=True)),
30 ("form_slug", models.CharField(max_length=255)),
31 (
32 "user",
33 models.ForeignKey(
34 blank=True,
35 null=True,
36 on_delete=plain.models.deletion.SET_NULL,
37 related_name="support_form_entries",
38 to="users.user",
39 ),
40 ),
41 ],
42 ),
43 ]