Compare commits
1 commit
Author | SHA1 | Date | |
---|---|---|---|
3ba24f8c0e |
2 changed files with 2 additions and 2 deletions
|
@ -105,7 +105,7 @@ type TalkgroupsLearned struct {
|
||||||
Name string `json:"name"`
|
Name string `json:"name"`
|
||||||
AlphaTag *string `json:"alpha_tag"`
|
AlphaTag *string `json:"alpha_tag"`
|
||||||
TGGroup *string `json:"tg_group"`
|
TGGroup *string `json:"tg_group"`
|
||||||
Ignored *bool `json:"ignored"`
|
Ignored bool `json:"ignored"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type User struct {
|
type User struct {
|
||||||
|
|
|
@ -51,7 +51,7 @@ CREATE TABLE IF NOT EXISTS talkgroups_learned(
|
||||||
name TEXT NOT NULL,
|
name TEXT NOT NULL,
|
||||||
alpha_tag TEXT,
|
alpha_tag TEXT,
|
||||||
tg_group TEXT,
|
tg_group TEXT,
|
||||||
ignored BOOLEAN,
|
ignored BOOLEAN NOT NULL DEFAULT FALSE,
|
||||||
UNIQUE (system_id, tgid, name)
|
UNIQUE (system_id, tgid, name)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue