ALTER TABLE users
ADD COLUMN branch_id INT NULL,
ADD CONSTRAINT fk_users_branch_id
FOREIGN KEY (branch_id)
REFERENCES branches(id)
ON DELETE SET NULL;
