Files
digiserver-v2/migrations/add_player_user_table.py
DigiServer Developer 87709bab4d updated to get card name
2025-12-13 21:51:45 +02:00

15 lines
363 B
Python

"""Add player_user table for user code mappings."""
import sys
sys.path.insert(0, '/app')
from app.app import create_app
from app.extensions import db
from app.models.player_user import PlayerUser
app = create_app()
with app.app_context():
print("Creating player_user table...")
db.create_all()
print("✓ player_user table created successfully!")