fix re-init of tables
This commit is contained in:
		| @ -13,7 +13,7 @@ CREATE TABLE IF NOT EXISTS lp_ttn_end_device_uplinks ( | ||||
|     updated_at_utc TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP | ||||
| ); | ||||
|  | ||||
| CREATE UNIQUE INDEX idx_unique_device ON lp_ttn_end_device_uplinks ( | ||||
| CREATE UNIQUE INDEX IF NOT EXISTS idx_unique_device ON lp_ttn_end_device_uplinks ( | ||||
|     device_id, | ||||
|     application_ids, | ||||
|     dev_eui, | ||||
|  | ||||
		Reference in New Issue
	
	Block a user