- Changed ownership of all files to scheianu:scheianu - Set directories to 755 permissions (rwxr-xr-x) - Set files to 644 permissions (rw-r--r--) - Made shell scripts executable (755) - Allows development without requiring sudo for file modifications - Improves development workflow and security
15 lines
363 B
Python
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!")
|