Currently it's many-to-many, with a relation table name space_device. We'll need to remove it and refactor the relationship to one-to-many.