Partial Fix #7796 - media outreach crm - needs distributed email sending (due to...
[Pman.Core] / sql / core_notify_blacklist.sql
diff --git a/sql/core_notify_blacklist.sql b/sql/core_notify_blacklist.sql
new file mode 100644 (file)
index 0000000..3c0e001
--- /dev/null
@@ -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);