mirror of
https://github.com/ddworken/hishtory.git
synced 2025-08-19 11:20:18 +02:00
Wire through a flag so that we can track when installations come from tests, and delete those from the DB more aggressively
This commit is contained in:
@@ -29,6 +29,9 @@ type Device struct {
|
||||
// david@daviddworken.com and I can clear it from your device entries.
|
||||
RegistrationIp string `json:"registration_ip"`
|
||||
RegistrationDate time.Time `json:"registration_date"`
|
||||
// Test devices, that should be aggressively cleaned from the DB
|
||||
// TODO: Clean these from the DB
|
||||
IsIntegrationTestDevice bool `json:"is_integration_test_device"`
|
||||
}
|
||||
|
||||
// Represents a request to get all history entries from a given device. Used as part of bootstrapping
|
||||
|
Reference in New Issue
Block a user