sql/core_notify_blacklist.sql
authorAlan <alan@roojs.com>
Thu, 5 Oct 2023 05:36:05 +0000 (13:36 +0800)
committerAlan <alan@roojs.com>
Thu, 5 Oct 2023 05:36:05 +0000 (13:36 +0800)
sql/core_notify_blacklist.sql

index e69de29..3c0e001 100644 (file)
@@ -0,0 +1,11 @@
+CREATE  TABLE core_notify_blacklist (
+    id INT(11) NOT NULL AUTO_INCREMENT ,
+    server_id INT(11) NOT NULL DEFAULT 0,
+    domain_id INT(11) NOT NULL DEFAULT 0,
+    added 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_blacklist ADD INDEX lookup (server_id,domain_id);