From 68ca4ef19e0617904d8557e95ec74d09af833d00 Mon Sep 17 00:00:00 2001 From: friendica Date: Sun, 18 May 2014 02:21:06 -0700 Subject: support commerical apps --- boot.php | 2 +- install/database.sql | 6 +++++- install/update.php | 13 ++++++++++++- 3 files changed, 18 insertions(+), 3 deletions(-) diff --git a/boot.php b/boot.php index e86e3da84..24f7d5532 100755 --- a/boot.php +++ b/boot.php @@ -47,7 +47,7 @@ define ( 'RED_PLATFORM', 'Red Matrix' ); define ( 'RED_VERSION', trim(file_get_contents('version.inc')) . 'R'); define ( 'ZOT_REVISION', 1 ); -define ( 'DB_UPDATE_VERSION', 1108 ); +define ( 'DB_UPDATE_VERSION', 1109 ); define ( 'EOL', '
' . "\r\n" ); define ( 'ATOM_TIME', 'Y-m-d\TH:i:s\Z' ); diff --git a/install/database.sql b/install/database.sql index 31fa68e9d..0de5879a2 100644 --- a/install/database.sql +++ b/install/database.sql @@ -94,13 +94,17 @@ CREATE TABLE IF NOT EXISTS `app` ( `app_photo` char(255) NOT NULL DEFAULT '', `app_version` char(255) NOT NULL DEFAULT '', `app_channel` int(11) NOT NULL DEFAULT '0', + `app_addr` char(255) NOT NULL DEFAULT '', + `app_price` char(255) NOT NULL DEFAULT '', + `app_page` char(255) NOT NULL DEFAULT '', PRIMARY KEY (`id`), KEY `app_id` (`app_id`), KEY `app_name` (`app_name`), KEY `app_url` (`app_url`), KEY `app_photo` (`app_photo`), KEY `app_version` (`app_version`), - KEY `app_channel` (`app_channel`) + KEY `app_channel` (`app_channel`), + KEY `app_price` (`app_price`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; diff --git a/install/update.php b/install/update.php index 92a4d6ef2..561070ba4 100644 --- a/install/update.php +++ b/install/update.php @@ -1,6 +1,6 @@