Full-width GE-Enforce pages; asset column no longer echoes the host

This commit is contained in:
2026-08-12 17:01:10 -04:00
parent 2c822e462d
commit 50578f33bd
7 changed files with 52 additions and 5 deletions

View File

@@ -0,0 +1,28 @@
"""Record the display subtype a PC reports for itself.
A kiosk knows whether it is a Dashboard, Lobby or 3DPrintRoom - the dispatcher
reads C:\\Enrollment\\display-type.txt to pick its target - but it never told
ShopDB, so the reports table had to infer it from the DashboardDefault
fqdn/ip mapping, which is blank unless someone added a row per kiosk. Reported
by the device beats inferred from a mapping table, the same way enforcerversion
already works.
Revision ID: geenforce0003subtype
Revises: geenforce0002blobs
"""
from alembic import op
import sqlalchemy as sa
revision = 'geenforce0003subtype'
down_revision = 'geenforce0002blobs'
branch_labels = None
depends_on = None
def upgrade():
op.add_column('manifestenforcementreports',
sa.Column('subtype', sa.String(length=50), nullable=True))
def downgrade():
op.drop_column('manifestenforcementreports', 'subtype')