# Generated 2026-05-26 — fields for FREE/PAID DRAW Brief NVM-persistence + # seed the @taxman system user (Debits & credits ledger author). Pairs w. # `billboard/0008_tax_ledger_kind` for the new Post/Brief kind registration. from django.contrib.auth.hashers import make_password from django.db import migrations, models def seed_taxman(apps, schema_editor): """Mirror `0003_seed_adman` for the new @taxman system user — authors the Debits & credits ledger Lines per user-spec 2026-05-26.""" User = apps.get_model("lyric", "User") User.objects.get_or_create( username="taxman", defaults={ "email": "taxman@earthmanrpg.local", "password": make_password(None), "is_staff": False, "is_superuser": False, "searchable": False, }, ) def reverse_noop(apps, schema_editor): pass class Migration(migrations.Migration): dependencies = [ ('lyric', '0013_user_last_free_draw_at'), ] operations = [ migrations.AddField( model_name='user', name='free_draw_brief_dismissed_at', field=models.DateTimeField(blank=True, null=True), ), migrations.AddField( model_name='user', name='paid_draw_brief_dismissed_at', field=models.DateTimeField(blank=True, null=True), ), migrations.RunPython(seed_taxman, reverse_noop), ]