ALTER TABLE products
    ADD COLUMN IF NOT EXISTS sort_order INT NOT NULL DEFAULT 0 AFTER slug,
    ADD KEY idx_products_sort_order (sort_order, name);
