mirror of
https://github.com/chirpstack/chirpstack.git
synced 2025-05-02 17:13:08 +00:00
This makes it possible to add gateways to a multicast-group, which in case configured will always be used for transmitting the multicast downlinks. This also moves the multicast class-c scheduling to the multicast-group configuration. Options are delay between multiple gateways, or GPS time synchronized transmission.
13 lines
484 B
SQL
13 lines
484 B
SQL
create table multicast_group_gateway (
|
|
multicast_group_id uuid not null references multicast_group on delete cascade,
|
|
gateway_id bytea not null references gateway on delete cascade,
|
|
created_at timestamp with time zone not null,
|
|
primary key (multicast_group_id, gateway_id)
|
|
);
|
|
|
|
alter table multicast_group
|
|
add column class_c_scheduling_type varchar(20) not null default 'DELAY';
|
|
|
|
alter table multicast_group
|
|
alter column class_c_scheduling_type drop default;
|