aboutsummaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
Diffstat (limited to 'install')
-rw-r--r--install/INSTALL.txt6
-rw-r--r--install/schema_mysql.sql4
-rw-r--r--install/schema_postgres.sql10
3 files changed, 14 insertions, 6 deletions
diff --git a/install/INSTALL.txt b/install/INSTALL.txt
index e5b51e5f5..0d1f7d0ee 100644
--- a/install/INSTALL.txt
+++ b/install/INSTALL.txt
@@ -90,13 +90,13 @@ web server platforms.
exec() and proc_open().
- curl, gd (with at least jpeg and png support), mysqli, mbstring, xml,
- xmlreader (FreeBSD), zip and openssl extensions. The imagick extension MAY be used
- instead of gd, but is not required and MAY also be disabled via
+ xmlreader (FreeBSD), zip, openssl, iconv, intl, sodium, bcmath (or gmp) extensions.
+ The imagick extension MAY be used instead of gd, but is not required and MAY also be disabled via
configuration option.
- some form of email server or email gateway such that PHP mail() works.
- - Mysql 5.5.3 or later or MariaDB or postgres database server.
+ - MySql version >= 8.0.22 or MariaDB version >= 10.6 or PostgreSql version >= 12 database server
- ability to schedule jobs with cron.
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 ,
diff --git a/install/schema_postgres.sql b/install/schema_postgres.sql
index 42c65b171..789167938 100644
--- a/install/schema_postgres.sql
+++ b/install/schema_postgres.sql
@@ -244,15 +244,17 @@ CREATE TABLE "channel" (
"channel_name" text NOT NULL DEFAULT '',
"channel_address" text NOT NULL DEFAULT '',
"channel_guid" text NOT NULL DEFAULT '',
- "channel_guid_sig" text NOT NULL,
+ "channel_guid_sig" text NOT NULL DEFAULT '',
"channel_hash" text NOT NULL DEFAULT '',
"channel_portable_id" text NOT NULL DEFAULT '',
"channel_timezone" varchar(128) NOT NULL DEFAULT 'UTC',
"channel_location" text NOT NULL DEFAULT '',
"channel_theme" text NOT NULL DEFAULT '',
"channel_startpage" text NOT NULL DEFAULT '',
- "channel_pubkey" text NOT NULL,
- "channel_prvkey" text NOT NULL,
+ "channel_pubkey" text NOT NULL DEFAULT '',
+ "channel_prvkey" text NOT NULL DEFAULT '',
+ "channel_epubkey" text NOT NULL DEFAULT '',
+ "channel_eprvkey" text NOT NULL DEFAULT '',
"channel_notifyflags" bigint NOT NULL DEFAULT '65535',
"channel_pageflags" bigint NOT NULL DEFAULT '0',
"channel_dirdate" timestamp NOT NULL DEFAULT '0001-01-01 00:00:00',
@@ -1241,6 +1243,7 @@ CREATE TABLE "xchan" (
"xchan_guid" text NOT NULL DEFAULT '',
"xchan_guid_sig" text NOT NULL DEFAULT '',
"xchan_pubkey" text NOT NULL DEFAULT '',
+ "xchan_epubkey" text NOT NULL DEFAULT '',
"xchan_photo_mimetype" text NOT NULL DEFAULT 'image/jpeg',
"xchan_photo_l" text NOT NULL DEFAULT '',
"xchan_photo_m" text NOT NULL DEFAULT '',
@@ -1256,6 +1259,7 @@ CREATE TABLE "xchan" (
"xchan_flags" bigint NOT NULL DEFAULT '0',
"xchan_photo_date" timestamp NOT NULL DEFAULT '0001-01-01 00:00:00',
"xchan_name_date" timestamp NOT NULL DEFAULT '0001-01-01 00:00:00',
+ "xchan_updated" timestamp NOT NULL DEFAULT '0001-01-01 00:00:00',
"xchan_hidden" smallint NOT NULL DEFAULT '0',
"xchan_orphan" smallint NOT NULL DEFAULT '0',
"xchan_censored" smallint NOT NULL DEFAULT '0',