mirror of
https://github.com/martinrotter/rssguard.git
synced 2025-02-04 11:17:31 +01:00
9 lines
383 B
SQL
Executable File
9 lines
383 B
SQL
Executable File
CREATE TABLE Probes (
|
|
id $$,
|
|
name TEXT NOT NULL CHECK (name != ''),
|
|
color VARCHAR(7) NOT NULL CHECK (color != ''),
|
|
fltr TEXT NOT NULL CHECK (fltr != ''), /* Regular expression. */
|
|
account_id INTEGER NOT NULL,
|
|
|
|
FOREIGN KEY (account_id) REFERENCES Accounts (id) ON DELETE CASCADE
|
|
); |