Added AND/OR toggle to alerts.

This commit is contained in:
DebaucheryLibrarian
2023-11-24 02:10:03 +01:00
parent 238dce78b5
commit 0369446681
8 changed files with 97 additions and 40 deletions

View File

@@ -34,5 +34,9 @@ exports.down = async (knex) => {
table.dropColumn('all');
});
await knex.schema.alterTable('alerts_entities', (table) => {
table.unique('alert_id');
});
await knex.schema.dropTable('alerts_matches');
};