From 87775ae37ad7f8226f7413d28e96fd23967c7659 Mon Sep 17 00:00:00 2001
From: Mario <mario@mariovavti.com>
Date: Sun, 7 Jan 2024 19:58:09 +0000
Subject: ekey and xchan_updated updates

---
 install/schema_mysql.sql | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'install/schema_mysql.sql')

diff --git a/install/schema_mysql.sql b/install/schema_mysql.sql
index b17b62962..c3f3b15ba 100644
--- a/install/schema_mysql.sql
+++ b/install/schema_mysql.sql
@@ -258,6 +258,8 @@ CREATE TABLE IF NOT EXISTS `channel` (
   `channel_startpage` char(191) NOT NULL DEFAULT '',
   `channel_pubkey` text NOT NULL,
   `channel_prvkey` text NOT NULL,
+  `channel_epubkey` text NOT NULL,
+  `channel_eprvkey` text NOT NULL,
   `channel_notifyflags` int(10) unsigned NOT NULL DEFAULT 65535,
   `channel_pageflags` int(10) unsigned NOT NULL DEFAULT 0 ,
   `channel_dirdate` datetime NOT NULL DEFAULT '0001-01-01 00:00:00',
@@ -1250,6 +1252,7 @@ CREATE TABLE IF NOT EXISTS `xchan` (
   `xchan_guid` char(191) NOT NULL DEFAULT '',
   `xchan_guid_sig` text NOT NULL,
   `xchan_pubkey` text NOT NULL,
+  `xchan_epubkey` text NOT NULL,
   `xchan_photo_mimetype` char(32) NOT NULL DEFAULT 'image/jpeg',
   `xchan_photo_l` char(191) NOT NULL DEFAULT '',
   `xchan_photo_m` char(191) NOT NULL DEFAULT '',
@@ -1265,6 +1268,7 @@ CREATE TABLE IF NOT EXISTS `xchan` (
   `xchan_flags` int(10) unsigned NOT NULL DEFAULT 0 ,
   `xchan_photo_date` datetime NOT NULL DEFAULT '0001-01-01 00:00:00',
   `xchan_name_date` datetime NOT NULL DEFAULT '0001-01-01 00:00:00',
+  `xchan_updated` datetime NOT NULL DEFAULT '0001-01-01 00:00:00',
   `xchan_hidden` tinyint(1) NOT NULL DEFAULT 0 ,
   `xchan_orphan` tinyint(1) NOT NULL DEFAULT 0 ,
   `xchan_censored` tinyint(1) NOT NULL DEFAULT 0 ,
-- 
cgit v1.2.3

