Add initial migration for moderation app and resolve seed command issues

- Created an empty migration file for the moderation app to enable migrations.
- Documented the resolution of the seed command failure due to missing moderation tables.
- Identified and fixed a VARCHAR(10) constraint violation in the User model during seed data generation.
- Updated role assignment in the seed command to comply with the field length constraint.
This commit is contained in:
pacnpal
2025-09-25 08:39:05 -04:00
parent b1c369c1bb
commit 41b3c86437
13 changed files with 481 additions and 479 deletions

View File

@@ -8,7 +8,7 @@ The Company model is aliased as Manufacturer to clarify its role as ride manufac
while maintaining backward compatibility through the Company alias.
"""
from .rides import Ride, RideModel, RollerCoasterStats
from .rides import Ride, RideModel, RideModelVariant, RideModelPhoto, RideModelTechnicalSpec, RollerCoasterStats
from .company import Company
from .location import RideLocation
from .reviews import RideReview
@@ -19,6 +19,9 @@ __all__ = [
# Primary models
"Ride",
"RideModel",
"RideModelVariant",
"RideModelPhoto",
"RideModelTechnicalSpec",
"RollerCoasterStats",
"Company",
"RideLocation",