schema: add Channel.key

This commit is contained in:
Simon Ser 2020-03-13 12:30:01 +01:00
parent fee8fc79c6
commit dad8bc2173
No known key found for this signature in database
GPG Key ID: 0FDE7BE0E88F5E48

View File

@ -19,6 +19,7 @@ CREATE TABLE Channel (
id INTEGER PRIMARY KEY,
network INTEGER NOT NULL,
name VARCHAR(255) NOT NULL,
key VARCHAR(255),
FOREIGN KEY(network) REFERENCES Network(id),
UNIQUE(network, name)
);