- 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.
13 lines
242 B
PL/PgSQL
13 lines
242 B
PL/PgSQL
-- Migration 114: Add wiki_slug to customers
|
|
-- Created: 2026-02-09
|
|
|
|
BEGIN;
|
|
|
|
ALTER TABLE customers
|
|
ADD COLUMN IF NOT EXISTS wiki_slug VARCHAR(255);
|
|
|
|
CREATE INDEX IF NOT EXISTS idx_customers_wiki_slug
|
|
ON customers(wiki_slug);
|
|
|
|
COMMIT;
|