ALTER TABLE orders ADD COLUMN user_id INT(11) NULL AFTER outlet_id;
ALTER TABLE orders ADD CONSTRAINT fk_orders_user FOREIGN KEY (user_id) REFERENCES users(id) ON DELETE SET NULL;
