aboutsummaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
Diffstat (limited to 'install')
-rw-r--r--install/INSTALL.txt18
-rw-r--r--install/database.sql1
-rw-r--r--install/update.php9
3 files changed, 9 insertions, 19 deletions
diff --git a/install/INSTALL.txt b/install/INSTALL.txt
index 3c3e795d7..ee029f0ee 100644
--- a/install/INSTALL.txt
+++ b/install/INSTALL.txt
@@ -103,24 +103,6 @@ directory/path component in the URL) is REQUIRED.
git pull
- - If you wish to use WebDAV file services
-
- - First you should be **on** your website folder
-
- cd mywebsite
-
- - Then you should clone the sabre-dav repository (separately)
-
- git clone https://github.com/fruux/sabre-dav sabre
-
- - For keeping the sabre tree updated, you should be on you sabre tree and issue a git pull
-
- cd mywebsite/sabre
-
- git pull
-
-
-
3. Create an empty database and note the access details (hostname, username,
password, database name).
diff --git a/install/database.sql b/install/database.sql
index 6be3a31aa..3998c13c7 100644
--- a/install/database.sql
+++ b/install/database.sql
@@ -423,6 +423,7 @@ CREATE TABLE IF NOT EXISTS `item` (
`changed` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`owner_xchan` char(255) NOT NULL DEFAULT '',
`author_xchan` char(255) NOT NULL DEFAULT '',
+ `source_xchan` char(255) NOT NULL DEFAULT '',
`mimetype` char(255) NOT NULL DEFAULT '',
`title` text NOT NULL,
`body` mediumtext NOT NULL,
diff --git a/install/update.php b/install/update.php
index 20af0de45..74134f260 100644
--- a/install/update.php
+++ b/install/update.php
@@ -1,6 +1,6 @@
<?php
-define( 'UPDATE_VERSION' , 1077 );
+define( 'UPDATE_VERSION' , 1078 );
/**
*
@@ -866,3 +866,10 @@ function update_r1076() {
return UPDATE_SUCCESS;
return UPDATE_FAILED;
}
+
+function update_r1077() {
+ $r = q("ALTER TABLE `item` ADD `source_xchan` CHAR( 255 ) NOT NULL DEFAULT '' AFTER `author_xchan` ");
+ if($r)
+ return UPDATE_SUCCESS;
+ return UPDATE_FAILED;
+}