schema: add Channel.key
This commit is contained in:
parent
fee8fc79c6
commit
dad8bc2173
@ -19,6 +19,7 @@ CREATE TABLE Channel (
|
|||||||
id INTEGER PRIMARY KEY,
|
id INTEGER PRIMARY KEY,
|
||||||
network INTEGER NOT NULL,
|
network INTEGER NOT NULL,
|
||||||
name VARCHAR(255) NOT NULL,
|
name VARCHAR(255) NOT NULL,
|
||||||
|
key VARCHAR(255),
|
||||||
FOREIGN KEY(network) REFERENCES Network(id),
|
FOREIGN KEY(network) REFERENCES Network(id),
|
||||||
UNIQUE(network, name)
|
UNIQUE(network, name)
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user