1
0
Fork 0
mirror of https://github.com/Eggbertx/gochan.git synced 2025-08-03 15:46:23 -07:00

Add is_active to filter table

This commit is contained in:
Eggbertx 2024-08-11 00:01:45 -07:00
parent d2b44f0e12
commit 38deb284c0
6 changed files with 69 additions and 51 deletions

View file

@ -267,6 +267,7 @@ CREATE TABLE DBPREFIXfilters(
issued_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
match_action VARCHAR(45) NOT NULL DEFAULT 'replace',
match_detail TEXT NOT NULL,
is_active BOOL NOT NULL,
CONSTRAINT filters_staff_id_fk
FOREIGN KEY(staff_id) REFERENCES DBPREFIXstaff(id)
ON DELETE SET NULL