Skip to content

[CHORE] Add foreign key to target_instance.server_id so that only valid server assignments or null are allowed #1598

Description

@proditis

Add foreign key to target_instance.server_id so that only valid server assignments or null are allowed. Discovered by accident while testing target instances

insert into target_instance (player_id,target_id,server_id,ip) 
select id as player_id, (id % 15)+1 as target_id,(id%6)+1 as server_id,null from player

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions