sync
authorAlan <alan@roojs.com>
Thu, 2 Nov 2023 08:00:12 +0000 (16:00 +0800)
committerAlan <alan@roojs.com>
Thu, 2 Nov 2023 08:00:12 +0000 (16:00 +0800)
sql/core_notify_sender_blacklist.sql [new file with mode: 0644]

diff --git a/sql/core_notify_sender_blacklist.sql b/sql/core_notify_sender_blacklist.sql
new file mode 100644 (file)
index 0000000..550ac72
--- /dev/null
@@ -0,0 +1,11 @@
+CREATE  TABLE core_notify_sender_blacklist (
+    id INT(11) NOT NULL AUTO_INCREMENT ,
+    domain_id INT(11) NOT NULL DEFAULT 0,
+    sender_id INT(11) NOT NULL DEFAULT 0,
+    added_dt DATETIME NOT NULL DEFAULT '1000-01-01 00:00:00',
+    error_str TEXT NOT NULL DEFAULT '',
+    
+    PRIMARY KEY (id)
+) ENGINE=InnoDB;;
+
+ALTER TABLE core_notify_sender_blacklist ADD INDEX lookup (sender_id,domain_id);