Rebrand from Forte (music-store-specific) to LunarFront (any small business): - Package namespace @forte/* → @lunarfront/* - Database forte/forte_test → lunarfront/lunarfront_test - Docker containers, volumes, connection strings - UI branding, localStorage keys, test emails - All documentation and planning docs Generalize music-specific terminology: - instrumentDescription → itemDescription - instrumentCount → itemCount - instrumentType → itemCategory (on service templates) - New migration 0027_generalize_terminology for column renames - Seed data updated with generic examples - RBAC descriptions updated
15 lines
734 B
SQL
15 lines
734 B
SQL
-- Generalize music-specific column names to generic terminology
|
|
|
|
-- repair_ticket: instrument_description -> item_description
|
|
ALTER TABLE repair_ticket RENAME COLUMN instrument_description TO item_description;
|
|
|
|
-- repair_batch: instrument_count -> item_count
|
|
ALTER TABLE repair_batch RENAME COLUMN instrument_count TO item_count;
|
|
|
|
-- repair_service_template: instrument_type -> item_category
|
|
ALTER TABLE repair_service_template RENAME COLUMN instrument_type TO item_category;
|
|
|
|
-- Update module descriptions to be industry-agnostic
|
|
UPDATE module_config SET description = 'Rental agreements and billing' WHERE slug = 'rentals';
|
|
UPDATE module_config SET description = 'Scheduling, staff management, and billing' WHERE slug = 'lessons';
|