summaryrefslogtreecommitdiffstats
path: root/apps/federation/appinfo
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2020-06-30 21:16:40 +0200
committerJoas Schilling <coding@schilljs.com>2020-07-06 16:42:13 +0200
commit77c9ff838a9481eb6b1b0e8d253a8d47b3c09bb5 (patch)
tree4963e5f296b6e00d8e66f007e40accbeba3f53c0 /apps/federation/appinfo
parent6c825ee9a06d205e4e3b2b2bd2eb86e2039125bb (diff)
downloadnextcloud-server-77c9ff838a9481eb6b1b0e8d253a8d47b3c09bb5.tar.gz
nextcloud-server-77c9ff838a9481eb6b1b0e8d253a8d47b3c09bb5.zip
Move federation to migrations
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/federation/appinfo')
-rw-r--r--apps/federation/appinfo/database.xml68
-rw-r--r--apps/federation/appinfo/info.xml2
2 files changed, 1 insertions, 69 deletions
diff --git a/apps/federation/appinfo/database.xml b/apps/federation/appinfo/database.xml
deleted file mode 100644
index 61c3b8ac6d8..00000000000
--- a/apps/federation/appinfo/database.xml
+++ /dev/null
@@ -1,68 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1" ?>
-<database>
- <name>*dbname*</name>
- <create>true</create>
- <overwrite>false</overwrite>
- <charset>utf8</charset>
- <table>
- <name>*dbprefix*trusted_servers</name>
- <declaration>
- <field>
- <name>id</name>
- <type>integer</type>
- <default>0</default>
- <notnull>true</notnull>
- <autoincrement>1</autoincrement>
- <length>4</length>
- </field>
- <field>
- <name>url</name>
- <type>text</type>
- <notnull>true</notnull>
- <length>512</length>
- <comments>Url of trusted server</comments>
- </field>
- <field>
- <name>url_hash</name>
- <type>text</type>
- <default></default>
- <notnull>true</notnull>
- <comments>sha1 hash of the url without the protocol</comments>
- </field>
- <field>
- <name>token</name>
- <type>text</type>
- <length>128</length>
- <comments>token used to exchange the shared secret</comments>
- </field>
- <field>
- <name>shared_secret</name>
- <type>text</type>
- <length>256</length>
- <comments>shared secret used to authenticate</comments>
- </field>
- <field>
- <name>status</name>
- <type>integer</type>
- <length>4</length>
- <notnull>true</notnull>
- <default>2</default>
- <comments>current status of the connection</comments>
- </field>
- <field>
- <name>sync_token</name>
- <type>text</type>
- <length>512</length>
- <comments>cardDav sync token</comments>
- </field>
- <index>
- <name>url_hash</name>
- <unique>true</unique>
- <field>
- <name>url_hash</name>
- <sorting>ascending</sorting>
- </field>
- </index>
- </declaration>
- </table>
-</database>
diff --git a/apps/federation/appinfo/info.xml b/apps/federation/appinfo/info.xml
index b56b64bf229..fd6cb3e6e50 100644
--- a/apps/federation/appinfo/info.xml
+++ b/apps/federation/appinfo/info.xml
@@ -5,7 +5,7 @@
<name>Federation</name>
<summary>Federation allows you to connect with other trusted servers to exchange the user directory.</summary>
<description>Federation allows you to connect with other trusted servers to exchange the user directory. For example this will be used to auto-complete external users for federated sharing.</description>
- <version>1.10.0</version>
+ <version>1.10.1</version>
<licence>agpl</licence>
<author>Bjoern Schiessle</author>
<namespace>Federation</namespace>