-- Add user_id to lpa_applications
ALTER TABLE lpa_applications ADD COLUMN user_id INT(11) AFTER practice_id;
ALTER TABLE lpa_applications ADD CONSTRAINT fk_user_id FOREIGN KEY (user_id) REFERENCES users(id) ON DELETE SET NULL;
