# Generated by Django 5.1.6 on 2025-12-26 14:10

import django.db.models.deletion
import pgtrigger.compiler
import pgtrigger.migrations
from django.conf import settings
from django.db import migrations, models

import apps.core.choices.fields


class Migration(migrations.Migration):

    dependencies = [
        ("accounts", "0013_add_user_query_indexes"),
        ("contenttypes", "0002_remove_content_type_name"),
        ("django_cloudflareimages_toolkit", "0001_initial"),
    ]

    operations = [
        migrations.AlterModelOptions(
            name="user",
            options={"verbose_name": "User", "verbose_name_plural": "Users"},
        ),
        migrations.AlterModelOptions(
            name="userdeletionrequest",
            options={
                "ordering": ["-created_at"],
                "verbose_name": "User Deletion Request",
                "verbose_name_plural": "User Deletion Requests",
            },
        ),
        migrations.AlterModelOptions(
            name="usernotification",
            options={
                "ordering": ["-created_at"],
                "verbose_name": "User Notification",
                "verbose_name_plural": "User Notifications",
            },
        ),
        migrations.AlterModelOptions(
            name="userprofile",
            options={
                "ordering": ["user"],
                "verbose_name": "User Profile",
                "verbose_name_plural": "User Profiles",
            },
        ),
        pgtrigger.migrations.RemoveTrigger(
            model_name="userprofile",
            name="insert_insert",
        ),
        pgtrigger.migrations.RemoveTrigger(
            model_name="userprofile",
            name="update_update",
        ),
        migrations.AddField(
            model_name="userprofile",
            name="location",
            field=models.CharField(blank=True, help_text="User's location (City, Country)", max_length=100),
        ),
        migrations.AddField(
            model_name="userprofile",
            name="unit_system",
            field=apps.core.choices.fields.RichChoiceField(
                allow_deprecated=False,
                choice_group="unit_systems",
                choices=[("metric", "Metric"), ("imperial", "Imperial")],
                default="metric",
                domain="accounts",
                help_text="Preferred measurement system",
                max_length=10,
            ),
        ),
        migrations.AddField(
            model_name="userprofileevent",
            name="location",
            field=models.CharField(blank=True, help_text="User's location (City, Country)", max_length=100),
        ),
        migrations.AddField(
            model_name="userprofileevent",
            name="unit_system",
            field=apps.core.choices.fields.RichChoiceField(
                allow_deprecated=False,
                choice_group="unit_systems",
                choices=[("metric", "Metric"), ("imperial", "Imperial")],
                default="metric",
                domain="accounts",
                help_text="Preferred measurement system",
                max_length=10,
            ),
        ),
        migrations.AlterField(
            model_name="emailverification",
            name="created_at",
            field=models.DateTimeField(auto_now_add=True, help_text="When this verification was created"),
        ),
        migrations.AlterField(
            model_name="emailverification",
            name="last_sent",
            field=models.DateTimeField(auto_now_add=True, help_text="When the verification email was last sent"),
        ),
        migrations.AlterField(
            model_name="emailverification",
            name="token",
            field=models.CharField(help_text="Verification token", max_length=64, unique=True),
        ),
        migrations.AlterField(
            model_name="emailverification",
            name="user",
            field=models.OneToOneField(
                help_text="User this verification belongs to",
                on_delete=django.db.models.deletion.CASCADE,
                to=settings.AUTH_USER_MODEL,
            ),
        ),
        migrations.AlterField(
            model_name="emailverificationevent",
            name="created_at",
            field=models.DateTimeField(auto_now_add=True, help_text="When this verification was created"),
        ),
        migrations.AlterField(
            model_name="emailverificationevent",
            name="last_sent",
            field=models.DateTimeField(auto_now_add=True, help_text="When the verification email was last sent"),
        ),
        migrations.AlterField(
            model_name="emailverificationevent",
            name="token",
            field=models.CharField(help_text="Verification token", max_length=64),
        ),
        migrations.AlterField(
            model_name="emailverificationevent",
            name="user",
            field=models.ForeignKey(
                db_constraint=False,
                help_text="User this verification belongs to",
                on_delete=django.db.models.deletion.DO_NOTHING,
                related_name="+",
                related_query_name="+",
                to=settings.AUTH_USER_MODEL,
            ),
        ),
        migrations.AlterField(
            model_name="notificationpreference",
            name="user",
            field=models.OneToOneField(
                help_text="User these preferences belong to",
                on_delete=django.db.models.deletion.CASCADE,
                related_name="notification_preference",
                to=settings.AUTH_USER_MODEL,
            ),
        ),
        migrations.AlterField(
            model_name="notificationpreferenceevent",
            name="user",
            field=models.ForeignKey(
                db_constraint=False,
                help_text="User these preferences belong to",
                on_delete=django.db.models.deletion.DO_NOTHING,
                related_name="+",
                related_query_name="+",
                to=settings.AUTH_USER_MODEL,
            ),
        ),
        migrations.AlterField(
            model_name="passwordreset",
            name="created_at",
            field=models.DateTimeField(auto_now_add=True, help_text="When this reset was requested"),
        ),
        migrations.AlterField(
            model_name="passwordreset",
            name="expires_at",
            field=models.DateTimeField(help_text="When this reset token expires"),
        ),
        migrations.AlterField(
            model_name="passwordreset",
            name="token",
            field=models.CharField(help_text="Reset token", max_length=64),
        ),
        migrations.AlterField(
            model_name="passwordreset",
            name="used",
            field=models.BooleanField(default=False, help_text="Whether this token has been used"),
        ),
        migrations.AlterField(
            model_name="passwordreset",
            name="user",
            field=models.ForeignKey(
                help_text="User requesting password reset",
                on_delete=django.db.models.deletion.CASCADE,
                to=settings.AUTH_USER_MODEL,
            ),
        ),
        migrations.AlterField(
            model_name="passwordresetevent",
            name="created_at",
            field=models.DateTimeField(auto_now_add=True, help_text="When this reset was requested"),
        ),
        migrations.AlterField(
            model_name="passwordresetevent",
            name="expires_at",
            field=models.DateTimeField(help_text="When this reset token expires"),
        ),
        migrations.AlterField(
            model_name="passwordresetevent",
            name="token",
            field=models.CharField(help_text="Reset token", max_length=64),
        ),
        migrations.AlterField(
            model_name="passwordresetevent",
            name="used",
            field=models.BooleanField(default=False, help_text="Whether this token has been used"),
        ),
        migrations.AlterField(
            model_name="passwordresetevent",
            name="user",
            field=models.ForeignKey(
                db_constraint=False,
                help_text="User requesting password reset",
                on_delete=django.db.models.deletion.DO_NOTHING,
                related_name="+",
                related_query_name="+",
                to=settings.AUTH_USER_MODEL,
            ),
        ),
        migrations.AlterField(
            model_name="user",
            name="activity_visibility",
            field=apps.core.choices.fields.RichChoiceField(
                allow_deprecated=False,
                choice_group="privacy_levels",
                choices=[
                    ("public", "Public"),
                    ("friends", "Friends Only"),
                    ("private", "Private"),
                ],
                default="friends",
                domain="accounts",
                help_text="Who can see user activity",
                max_length=10,
            ),
        ),
        migrations.AlterField(
            model_name="user",
            name="allow_friend_requests",
            field=models.BooleanField(default=True, help_text="Whether to allow friend requests"),
        ),
        migrations.AlterField(
            model_name="user",
            name="allow_messages",
            field=models.BooleanField(default=True, help_text="Whether to allow direct messages"),
        ),
        migrations.AlterField(
            model_name="user",
            name="allow_profile_comments",
            field=models.BooleanField(default=False, help_text="Whether to allow profile comments"),
        ),
        migrations.AlterField(
            model_name="user",
            name="ban_date",
            field=models.DateTimeField(blank=True, help_text="Date the user was banned", null=True),
        ),
        migrations.AlterField(
            model_name="user",
            name="ban_reason",
            field=models.TextField(blank=True, help_text="Reason for ban"),
        ),
        migrations.AlterField(
            model_name="user",
            name="email_notifications",
            field=models.BooleanField(default=True, help_text="Whether to send email notifications"),
        ),
        migrations.AlterField(
            model_name="user",
            name="is_banned",
            field=models.BooleanField(db_index=True, default=False, help_text="Whether this user is banned"),
        ),
        migrations.AlterField(
            model_name="user",
            name="last_password_change",
            field=models.DateTimeField(auto_now_add=True, help_text="When the password was last changed"),
        ),
        migrations.AlterField(
            model_name="user",
            name="login_history_retention",
            field=models.IntegerField(default=90, help_text="How long to retain login history (days)"),
        ),
        migrations.AlterField(
            model_name="user",
            name="login_notifications",
            field=models.BooleanField(default=True, help_text="Whether to send login notifications"),
        ),
        migrations.AlterField(
            model_name="user",
            name="privacy_level",
            field=apps.core.choices.fields.RichChoiceField(
                allow_deprecated=False,
                choice_group="privacy_levels",
                choices=[
                    ("public", "Public"),
                    ("friends", "Friends Only"),
                    ("private", "Private"),
                ],
                default="public",
                domain="accounts",
                help_text="Overall privacy level",
                max_length=10,
            ),
        ),
        migrations.AlterField(
            model_name="user",
            name="push_notifications",
            field=models.BooleanField(default=False, help_text="Whether to send push notifications"),
        ),
        migrations.AlterField(
            model_name="user",
            name="role",
            field=apps.core.choices.fields.RichChoiceField(
                allow_deprecated=False,
                choice_group="user_roles",
                choices=[
                    ("USER", "User"),
                    ("MODERATOR", "Moderator"),
                    ("ADMIN", "Admin"),
                    ("SUPERUSER", "Superuser"),
                ],
                db_index=True,
                default="USER",
                domain="accounts",
                help_text="User role (user, moderator, admin)",
                max_length=10,
            ),
        ),
        migrations.AlterField(
            model_name="user",
            name="search_visibility",
            field=models.BooleanField(default=True, help_text="Whether profile appears in search results"),
        ),
        migrations.AlterField(
            model_name="user",
            name="session_timeout",
            field=models.IntegerField(default=30, help_text="Session timeout in days"),
        ),
        migrations.AlterField(
            model_name="user",
            name="show_email",
            field=models.BooleanField(default=False, help_text="Whether to show email on profile"),
        ),
        migrations.AlterField(
            model_name="user",
            name="show_join_date",
            field=models.BooleanField(default=True, help_text="Whether to show join date on profile"),
        ),
        migrations.AlterField(
            model_name="user",
            name="show_photos",
            field=models.BooleanField(default=True, help_text="Whether to show photos on profile"),
        ),
        migrations.AlterField(
            model_name="user",
            name="show_real_name",
            field=models.BooleanField(default=True, help_text="Whether to show real name on profile"),
        ),
        migrations.AlterField(
            model_name="user",
            name="show_reviews",
            field=models.BooleanField(default=True, help_text="Whether to show reviews on profile"),
        ),
        migrations.AlterField(
            model_name="user",
            name="show_statistics",
            field=models.BooleanField(default=True, help_text="Whether to show statistics on profile"),
        ),
        migrations.AlterField(
            model_name="user",
            name="show_top_lists",
            field=models.BooleanField(default=True, help_text="Whether to show top lists on profile"),
        ),
        migrations.AlterField(
            model_name="user",
            name="theme_preference",
            field=apps.core.choices.fields.RichChoiceField(
                allow_deprecated=False,
                choice_group="theme_preferences",
                choices=[("light", "Light"), ("dark", "Dark")],
                default="light",
                domain="accounts",
                help_text="User's theme preference (light/dark)",
                max_length=5,
            ),
        ),
        migrations.AlterField(
            model_name="user",
            name="two_factor_enabled",
            field=models.BooleanField(default=False, help_text="Whether two-factor authentication is enabled"),
        ),
        migrations.AlterField(
            model_name="userevent",
            name="activity_visibility",
            field=apps.core.choices.fields.RichChoiceField(
                allow_deprecated=False,
                choice_group="privacy_levels",
                choices=[
                    ("public", "Public"),
                    ("friends", "Friends Only"),
                    ("private", "Private"),
                ],
                default="friends",
                domain="accounts",
                help_text="Who can see user activity",
                max_length=10,
            ),
        ),
        migrations.AlterField(
            model_name="userevent",
            name="allow_friend_requests",
            field=models.BooleanField(default=True, help_text="Whether to allow friend requests"),
        ),
        migrations.AlterField(
            model_name="userevent",
            name="allow_messages",
            field=models.BooleanField(default=True, help_text="Whether to allow direct messages"),
        ),
        migrations.AlterField(
            model_name="userevent",
            name="allow_profile_comments",
            field=models.BooleanField(default=False, help_text="Whether to allow profile comments"),
        ),
        migrations.AlterField(
            model_name="userevent",
            name="ban_date",
            field=models.DateTimeField(blank=True, help_text="Date the user was banned", null=True),
        ),
        migrations.AlterField(
            model_name="userevent",
            name="ban_reason",
            field=models.TextField(blank=True, help_text="Reason for ban"),
        ),
        migrations.AlterField(
            model_name="userevent",
            name="email_notifications",
            field=models.BooleanField(default=True, help_text="Whether to send email notifications"),
        ),
        migrations.AlterField(
            model_name="userevent",
            name="is_banned",
            field=models.BooleanField(default=False, help_text="Whether this user is banned"),
        ),
        migrations.AlterField(
            model_name="userevent",
            name="last_password_change",
            field=models.DateTimeField(auto_now_add=True, help_text="When the password was last changed"),
        ),
        migrations.AlterField(
            model_name="userevent",
            name="login_history_retention",
            field=models.IntegerField(default=90, help_text="How long to retain login history (days)"),
        ),
        migrations.AlterField(
            model_name="userevent",
            name="login_notifications",
            field=models.BooleanField(default=True, help_text="Whether to send login notifications"),
        ),
        migrations.AlterField(
            model_name="userevent",
            name="privacy_level",
            field=apps.core.choices.fields.RichChoiceField(
                allow_deprecated=False,
                choice_group="privacy_levels",
                choices=[
                    ("public", "Public"),
                    ("friends", "Friends Only"),
                    ("private", "Private"),
                ],
                default="public",
                domain="accounts",
                help_text="Overall privacy level",
                max_length=10,
            ),
        ),
        migrations.AlterField(
            model_name="userevent",
            name="push_notifications",
            field=models.BooleanField(default=False, help_text="Whether to send push notifications"),
        ),
        migrations.AlterField(
            model_name="userevent",
            name="role",
            field=apps.core.choices.fields.RichChoiceField(
                allow_deprecated=False,
                choice_group="user_roles",
                choices=[
                    ("USER", "User"),
                    ("MODERATOR", "Moderator"),
                    ("ADMIN", "Admin"),
                    ("SUPERUSER", "Superuser"),
                ],
                default="USER",
                domain="accounts",
                help_text="User role (user, moderator, admin)",
                max_length=10,
            ),
        ),
        migrations.AlterField(
            model_name="userevent",
            name="search_visibility",
            field=models.BooleanField(default=True, help_text="Whether profile appears in search results"),
        ),
        migrations.AlterField(
            model_name="userevent",
            name="session_timeout",
            field=models.IntegerField(default=30, help_text="Session timeout in days"),
        ),
        migrations.AlterField(
            model_name="userevent",
            name="show_email",
            field=models.BooleanField(default=False, help_text="Whether to show email on profile"),
        ),
        migrations.AlterField(
            model_name="userevent",
            name="show_join_date",
            field=models.BooleanField(default=True, help_text="Whether to show join date on profile"),
        ),
        migrations.AlterField(
            model_name="userevent",
            name="show_photos",
            field=models.BooleanField(default=True, help_text="Whether to show photos on profile"),
        ),
        migrations.AlterField(
            model_name="userevent",
            name="show_real_name",
            field=models.BooleanField(default=True, help_text="Whether to show real name on profile"),
        ),
        migrations.AlterField(
            model_name="userevent",
            name="show_reviews",
            field=models.BooleanField(default=True, help_text="Whether to show reviews on profile"),
        ),
        migrations.AlterField(
            model_name="userevent",
            name="show_statistics",
            field=models.BooleanField(default=True, help_text="Whether to show statistics on profile"),
        ),
        migrations.AlterField(
            model_name="userevent",
            name="show_top_lists",
            field=models.BooleanField(default=True, help_text="Whether to show top lists on profile"),
        ),
        migrations.AlterField(
            model_name="userevent",
            name="theme_preference",
            field=apps.core.choices.fields.RichChoiceField(
                allow_deprecated=False,
                choice_group="theme_preferences",
                choices=[("light", "Light"), ("dark", "Dark")],
                default="light",
                domain="accounts",
                help_text="User's theme preference (light/dark)",
                max_length=5,
            ),
        ),
        migrations.AlterField(
            model_name="userevent",
            name="two_factor_enabled",
            field=models.BooleanField(default=False, help_text="Whether two-factor authentication is enabled"),
        ),
        migrations.AlterField(
            model_name="usernotification",
            name="content_type",
            field=models.ForeignKey(
                blank=True,
                help_text="Type of related object",
                null=True,
                on_delete=django.db.models.deletion.CASCADE,
                to="contenttypes.contenttype",
            ),
        ),
        migrations.AlterField(
            model_name="usernotification",
            name="email_sent",
            field=models.BooleanField(default=False, help_text="Whether email was sent"),
        ),
        migrations.AlterField(
            model_name="usernotification",
            name="email_sent_at",
            field=models.DateTimeField(blank=True, help_text="When email was sent", null=True),
        ),
        migrations.AlterField(
            model_name="usernotification",
            name="is_read",
            field=models.BooleanField(default=False, help_text="Whether this notification has been read"),
        ),
        migrations.AlterField(
            model_name="usernotification",
            name="message",
            field=models.TextField(help_text="Notification message"),
        ),
        migrations.AlterField(
            model_name="usernotification",
            name="object_id",
            field=models.PositiveIntegerField(blank=True, help_text="ID of related object", null=True),
        ),
        migrations.AlterField(
            model_name="usernotification",
            name="push_sent",
            field=models.BooleanField(default=False, help_text="Whether push notification was sent"),
        ),
        migrations.AlterField(
            model_name="usernotification",
            name="push_sent_at",
            field=models.DateTimeField(blank=True, help_text="When push notification was sent", null=True),
        ),
        migrations.AlterField(
            model_name="usernotification",
            name="read_at",
            field=models.DateTimeField(blank=True, help_text="When this notification was read", null=True),
        ),
        migrations.AlterField(
            model_name="usernotification",
            name="title",
            field=models.CharField(help_text="Notification title", max_length=200),
        ),
        migrations.AlterField(
            model_name="usernotification",
            name="user",
            field=models.ForeignKey(
                help_text="User this notification is for",
                on_delete=django.db.models.deletion.CASCADE,
                related_name="notifications",
                to=settings.AUTH_USER_MODEL,
            ),
        ),
        migrations.AlterField(
            model_name="usernotificationevent",
            name="content_type",
            field=models.ForeignKey(
                blank=True,
                db_constraint=False,
                help_text="Type of related object",
                null=True,
                on_delete=django.db.models.deletion.DO_NOTHING,
                related_name="+",
                related_query_name="+",
                to="contenttypes.contenttype",
            ),
        ),
        migrations.AlterField(
            model_name="usernotificationevent",
            name="email_sent",
            field=models.BooleanField(default=False, help_text="Whether email was sent"),
        ),
        migrations.AlterField(
            model_name="usernotificationevent",
            name="email_sent_at",
            field=models.DateTimeField(blank=True, help_text="When email was sent", null=True),
        ),
        migrations.AlterField(
            model_name="usernotificationevent",
            name="is_read",
            field=models.BooleanField(default=False, help_text="Whether this notification has been read"),
        ),
        migrations.AlterField(
            model_name="usernotificationevent",
            name="message",
            field=models.TextField(help_text="Notification message"),
        ),
        migrations.AlterField(
            model_name="usernotificationevent",
            name="object_id",
            field=models.PositiveIntegerField(blank=True, help_text="ID of related object", null=True),
        ),
        migrations.AlterField(
            model_name="usernotificationevent",
            name="push_sent",
            field=models.BooleanField(default=False, help_text="Whether push notification was sent"),
        ),
        migrations.AlterField(
            model_name="usernotificationevent",
            name="push_sent_at",
            field=models.DateTimeField(blank=True, help_text="When push notification was sent", null=True),
        ),
        migrations.AlterField(
            model_name="usernotificationevent",
            name="read_at",
            field=models.DateTimeField(blank=True, help_text="When this notification was read", null=True),
        ),
        migrations.AlterField(
            model_name="usernotificationevent",
            name="title",
            field=models.CharField(help_text="Notification title", max_length=200),
        ),
        migrations.AlterField(
            model_name="usernotificationevent",
            name="user",
            field=models.ForeignKey(
                db_constraint=False,
                help_text="User this notification is for",
                on_delete=django.db.models.deletion.DO_NOTHING,
                related_name="+",
                related_query_name="+",
                to=settings.AUTH_USER_MODEL,
            ),
        ),
        migrations.AlterField(
            model_name="userprofile",
            name="avatar",
            field=models.ForeignKey(
                blank=True,
                help_text="User's avatar image",
                null=True,
                on_delete=django.db.models.deletion.SET_NULL,
                related_name="user_profiles",
                to="django_cloudflareimages_toolkit.cloudflareimage",
            ),
        ),
        migrations.AlterField(
            model_name="userprofile",
            name="bio",
            field=models.TextField(blank=True, help_text="User biography", max_length=500),
        ),
        migrations.AlterField(
            model_name="userprofile",
            name="coaster_credits",
            field=models.IntegerField(default=0, help_text="Number of roller coasters ridden"),
        ),
        migrations.AlterField(
            model_name="userprofile",
            name="dark_ride_credits",
            field=models.IntegerField(default=0, help_text="Number of dark rides ridden"),
        ),
        migrations.AlterField(
            model_name="userprofile",
            name="discord",
            field=models.CharField(blank=True, help_text="Discord username", max_length=100),
        ),
        migrations.AlterField(
            model_name="userprofile",
            name="flat_ride_credits",
            field=models.IntegerField(default=0, help_text="Number of flat rides ridden"),
        ),
        migrations.AlterField(
            model_name="userprofile",
            name="instagram",
            field=models.URLField(blank=True, help_text="Instagram profile URL"),
        ),
        migrations.AlterField(
            model_name="userprofile",
            name="pronouns",
            field=models.CharField(blank=True, help_text="User's preferred pronouns", max_length=50),
        ),
        migrations.AlterField(
            model_name="userprofile",
            name="twitter",
            field=models.URLField(blank=True, help_text="Twitter profile URL"),
        ),
        migrations.AlterField(
            model_name="userprofile",
            name="user",
            field=models.OneToOneField(
                help_text="User this profile belongs to",
                on_delete=django.db.models.deletion.CASCADE,
                related_name="profile",
                to=settings.AUTH_USER_MODEL,
            ),
        ),
        migrations.AlterField(
            model_name="userprofile",
            name="water_ride_credits",
            field=models.IntegerField(default=0, help_text="Number of water rides ridden"),
        ),
        migrations.AlterField(
            model_name="userprofile",
            name="youtube",
            field=models.URLField(blank=True, help_text="YouTube channel URL"),
        ),
        migrations.AlterField(
            model_name="userprofileevent",
            name="avatar",
            field=models.ForeignKey(
                blank=True,
                db_constraint=False,
                help_text="User's avatar image",
                null=True,
                on_delete=django.db.models.deletion.DO_NOTHING,
                related_name="+",
                related_query_name="+",
                to="django_cloudflareimages_toolkit.cloudflareimage",
            ),
        ),
        migrations.AlterField(
            model_name="userprofileevent",
            name="bio",
            field=models.TextField(blank=True, help_text="User biography", max_length=500),
        ),
        migrations.AlterField(
            model_name="userprofileevent",
            name="coaster_credits",
            field=models.IntegerField(default=0, help_text="Number of roller coasters ridden"),
        ),
        migrations.AlterField(
            model_name="userprofileevent",
            name="dark_ride_credits",
            field=models.IntegerField(default=0, help_text="Number of dark rides ridden"),
        ),
        migrations.AlterField(
            model_name="userprofileevent",
            name="discord",
            field=models.CharField(blank=True, help_text="Discord username", max_length=100),
        ),
        migrations.AlterField(
            model_name="userprofileevent",
            name="flat_ride_credits",
            field=models.IntegerField(default=0, help_text="Number of flat rides ridden"),
        ),
        migrations.AlterField(
            model_name="userprofileevent",
            name="instagram",
            field=models.URLField(blank=True, help_text="Instagram profile URL"),
        ),
        migrations.AlterField(
            model_name="userprofileevent",
            name="pronouns",
            field=models.CharField(blank=True, help_text="User's preferred pronouns", max_length=50),
        ),
        migrations.AlterField(
            model_name="userprofileevent",
            name="twitter",
            field=models.URLField(blank=True, help_text="Twitter profile URL"),
        ),
        migrations.AlterField(
            model_name="userprofileevent",
            name="user",
            field=models.ForeignKey(
                db_constraint=False,
                help_text="User this profile belongs to",
                on_delete=django.db.models.deletion.DO_NOTHING,
                related_name="+",
                related_query_name="+",
                to=settings.AUTH_USER_MODEL,
            ),
        ),
        migrations.AlterField(
            model_name="userprofileevent",
            name="water_ride_credits",
            field=models.IntegerField(default=0, help_text="Number of water rides ridden"),
        ),
        migrations.AlterField(
            model_name="userprofileevent",
            name="youtube",
            field=models.URLField(blank=True, help_text="YouTube channel URL"),
        ),
        pgtrigger.migrations.AddTrigger(
            model_name="userprofile",
            trigger=pgtrigger.compiler.Trigger(
                name="insert_insert",
                sql=pgtrigger.compiler.UpsertTriggerSql(
                    func='INSERT INTO "accounts_userprofileevent" ("avatar_id", "bio", "coaster_credits", "dark_ride_credits", "discord", "display_name", "flat_ride_credits", "id", "instagram", "location", "pgh_context_id", "pgh_created_at", "pgh_label", "pgh_obj_id", "profile_id", "pronouns", "twitter", "unit_system", "user_id", "water_ride_credits", "youtube") VALUES (NEW."avatar_id", NEW."bio", NEW."coaster_credits", NEW."dark_ride_credits", NEW."discord", NEW."display_name", NEW."flat_ride_credits", NEW."id", NEW."instagram", NEW."location", _pgh_attach_context(), NOW(), \'insert\', NEW."id", NEW."profile_id", NEW."pronouns", NEW."twitter", NEW."unit_system", NEW."user_id", NEW."water_ride_credits", NEW."youtube"); RETURN NULL;',
                    hash="dab03867fefb6b82eec203906fe25f4e43d95783",
                    operation="INSERT",
                    pgid="pgtrigger_insert_insert_c09d7",
                    table="accounts_userprofile",
                    when="AFTER",
                ),
            ),
        ),
        pgtrigger.migrations.AddTrigger(
            model_name="userprofile",
            trigger=pgtrigger.compiler.Trigger(
                name="update_update",
                sql=pgtrigger.compiler.UpsertTriggerSql(
                    condition="WHEN (OLD.* IS DISTINCT FROM NEW.*)",
                    func='INSERT INTO "accounts_userprofileevent" ("avatar_id", "bio", "coaster_credits", "dark_ride_credits", "discord", "display_name", "flat_ride_credits", "id", "instagram", "location", "pgh_context_id", "pgh_created_at", "pgh_label", "pgh_obj_id", "profile_id", "pronouns", "twitter", "unit_system", "user_id", "water_ride_credits", "youtube") VALUES (NEW."avatar_id", NEW."bio", NEW."coaster_credits", NEW."dark_ride_credits", NEW."discord", NEW."display_name", NEW."flat_ride_credits", NEW."id", NEW."instagram", NEW."location", _pgh_attach_context(), NOW(), \'update\', NEW."id", NEW."profile_id", NEW."pronouns", NEW."twitter", NEW."unit_system", NEW."user_id", NEW."water_ride_credits", NEW."youtube"); RETURN NULL;',
                    hash="b70f93243f5852ae882f51a191d69bb3d3d151f7",
                    operation="UPDATE",
                    pgid="pgtrigger_update_update_87ef6",
                    table="accounts_userprofile",
                    when="AFTER",
                ),
            ),
        ),
        migrations.DeleteModel(
            name="TopList",
        ),
        migrations.DeleteModel(
            name="TopListItem",
        ),
    ]
