mirror of
https://github.com/pacnpal/thrillwiki_django_no_react.git
synced 2025-12-22 22:51:09 -05:00
Refactor migrations across multiple apps to remove and add triggers for event logging, ensuring consistency in data handling. Updated park and ride event tables, added new columns, and optimized user-generated content workflows. Enhanced moderation processes and improved overall database integrity.
This commit is contained in:
17
parks/migrations/0006_auto_20250920_0944.py
Normal file
17
parks/migrations/0006_auto_20250920_0944.py
Normal file
@@ -0,0 +1,17 @@
|
||||
# Generated by Django 5.2.6 on 2025-09-20 13:44
|
||||
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("parks", "0005_auto_20250920_0943"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.RunSQL(
|
||||
"ALTER TABLE parks_parkevent ADD COLUMN IF NOT EXISTS owner_id INTEGER;",
|
||||
reverse_sql="ALTER TABLE parks_parkevent DROP COLUMN IF EXISTS owner_id;"
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user