missing files
authorAlan <alan@roojs.com>
Thu, 5 Oct 2023 07:19:12 +0000 (15:19 +0800)
committerAlan <alan@roojs.com>
Thu, 5 Oct 2023 07:19:12 +0000 (15:19 +0800)
DataObjects/Core_notify_blacklist.php [new file with mode: 0644]
sql/core_notify_server.sql [new file with mode: 0644]

diff --git a/DataObjects/Core_notify_blacklist.php b/DataObjects/Core_notify_blacklist.php
new file mode 100644 (file)
index 0000000..6aa5b8e
--- /dev/null
@@ -0,0 +1,22 @@
+<?php
+/**
+ * Table Definition for core_notify_blacklist
+ */
+class_exists('DB_DataObject') ? '' : require_once 'DB/DataObject.php';
+
+class Pman_Core_DataObjects_Core_notify_blacklist extends DB_DataObject 
+{
+    ###START_AUTOCODE
+    /* the code below is auto generated do not remove the above tag */
+
+    public $__table = 'core_notify_blacklist';    // table name
+    public $id;                              // int(11)  not_null primary_key auto_increment
+    public $server_id;
+    public $domain_id;
+    public $error_msg;
+    public $added_dt;
+    
+    
+    
+    
+}
\ No newline at end of file
diff --git a/sql/core_notify_server.sql b/sql/core_notify_server.sql
new file mode 100644 (file)
index 0000000..a7a8daf
--- /dev/null
@@ -0,0 +1,12 @@
+CREATE  TABLE core_notify_server (
+    id INT(11) NOT NULL AUTO_INCREMENT ,
+    hostname VARCHAR(128) NOT NULL DEFAULT '',
+    helo VARCHAR(128) NOT NULL DEFAULT '',
+    poolname VARCHAR(128) NOT NULL DEFAULT '',
+    is_active INT(4) NOT NULL DEFAULT 0,
+    last_send DATETIME NOT NULL DEFAULT '1000-01-01 00:00:00',
+    
+    PRIMARY KEY (id)
+) ENGINE=InnoDB;;
+
+ALTER TABLE core_notify_server ADD INDEX lookup (hostname,poolname,is_active);