- Created migration scripts for AnyDesk sessions and hardware assets. - Implemented apply_migration_115.py to execute migration for AnyDesk sessions. - Added set_customer_wiki_slugs.py script to update customer wiki slugs based on a predefined folder list. - Developed run_migration.py to apply AnyDesk migration schema. - Added tests for Service Contract Wizard to ensure functionality and dry-run mode.
9 lines
302 B
SQL
9 lines
302 B
SQL
-- Add AnyDesk fields to hardware_assets
|
|
-- Enables storing AnyDesk connection info per device
|
|
|
|
ALTER TABLE hardware_assets
|
|
ADD COLUMN IF NOT EXISTS anydesk_id VARCHAR(100),
|
|
ADD COLUMN IF NOT EXISTS anydesk_link TEXT;
|
|
|
|
CREATE INDEX IF NOT EXISTS idx_hardware_anydesk_id ON hardware_assets(anydesk_id);
|