ALTER TABLE crate_owners ADD CONSTRAINT fk_crate_owners_user_id FOREIGN KEY (owner_id) REFERENCES users (id);