fix: remove blocking index from db
This commit is contained in:
parent
9ef53f4116
commit
d2b299c83b
@ -13,14 +13,6 @@ CREATE TABLE IF NOT EXISTS lp_ttn_end_device_uplinks (
|
|||||||
updated_at_utc TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
|
updated_at_utc TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
|
||||||
);
|
);
|
||||||
|
|
||||||
CREATE UNIQUE INDEX IF NOT EXISTS idx_unique_device ON lp_ttn_end_device_uplinks (
|
|
||||||
device_id,
|
|
||||||
application_ids,
|
|
||||||
dev_eui,
|
|
||||||
join_eui,
|
|
||||||
dev_addr
|
|
||||||
);
|
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS wifi_scan (
|
CREATE TABLE IF NOT EXISTS wifi_scan (
|
||||||
wifi_scan_id UUID PRIMARY KEY,
|
wifi_scan_id UUID PRIMARY KEY,
|
||||||
lp_ttn_end_device_uplinks_id UUID,
|
lp_ttn_end_device_uplinks_id UUID,
|
||||||
|
Loading…
Reference in New Issue
Block a user