aboutsummaryrefslogtreecommitdiffstats
path: root/install/database.sql
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-05-17 17:18:56 -0700
committerfriendica <info@friendica.com>2014-05-17 17:18:56 -0700
commit28e8a1d2d3d8929a0318ea9b6ae65437b6e3c41b (patch)
treec565071cdbde22096fc9dcb5eabc32c3a03f6eef /install/database.sql
parent9e95458ea5fd1cc24df59c70d0bf1d315fe6a3a3 (diff)
downloadvolse-hubzilla-28e8a1d2d3d8929a0318ea9b6ae65437b6e3c41b.tar.gz
volse-hubzilla-28e8a1d2d3d8929a0318ea9b6ae65437b6e3c41b.tar.bz2
volse-hubzilla-28e8a1d2d3d8929a0318ea9b6ae65437b6e3c41b.zip
app DB structure
Diffstat (limited to 'install/database.sql')
-rw-r--r--install/database.sql22
1 files changed, 22 insertions, 0 deletions
diff --git a/install/database.sql b/install/database.sql
index a5094b8e1..31fa68e9d 100644
--- a/install/database.sql
+++ b/install/database.sql
@@ -82,6 +82,28 @@ CREATE TABLE IF NOT EXISTS `addon` (
KEY `installed` (`installed`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+
+CREATE TABLE IF NOT EXISTS `app` (
+ `id` int(11) NOT NULL AUTO_INCREMENT,
+ `app_id` char(64) NOT NULL DEFAULT '',
+ `app_sig` char(255) NOT NULL DEFAULT '',
+ `app_author` char(255) NOT NULL DEFAULT '',
+ `app_name` char(255) NOT NULL DEFAULT '',
+ `app_desc` text NOT NULL,
+ `app_url` char(255) NOT NULL DEFAULT '',
+ `app_photo` char(255) NOT NULL DEFAULT '',
+ `app_version` char(255) NOT NULL DEFAULT '',
+ `app_channel` int(11) NOT NULL DEFAULT '0',
+ 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`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+
+
CREATE TABLE IF NOT EXISTS `attach` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`aid` int(10) unsigned NOT NULL DEFAULT '0',