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