-- ============================================================
-- Run this ONCE on your existing MASTER database
-- (adrieltech_seyalix_master) to add Edition + License support.
-- Safe to run even if you have companies already — they will
-- default to edition='full', license_count=5 (edit afterwards
-- in the Super Admin panel).
-- ============================================================
ALTER TABLE tenants
    ADD COLUMN edition ENUM('full','limited') NOT NULL DEFAULT 'full' AFTER db_pass,
    ADD COLUMN license_count INT NOT NULL DEFAULT 5 AFTER edition;
