aboutsummaryrefslogtreecommitdiffstats
path: root/install/schema_mysql.sql
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-05-27 23:57:47 -0700
committerredmatrix <git@macgirvin.com>2016-05-27 23:57:47 -0700
commitac4688eac087854bf8cb0c893d7a79052ad63a20 (patch)
tree1dba1fae0e25ffe07ccbe4406a2900535429b764 /install/schema_mysql.sql
parentab6eb1c4b264b32e7feece290a2463eb747579ed (diff)
downloadvolse-hubzilla-ac4688eac087854bf8cb0c893d7a79052ad63a20.tar.gz
volse-hubzilla-ac4688eac087854bf8cb0c893d7a79052ad63a20.tar.bz2
volse-hubzilla-ac4688eac087854bf8cb0c893d7a79052ad63a20.zip
allow objs to represent inventory
Diffstat (limited to 'install/schema_mysql.sql')
-rw-r--r--install/schema_mysql.sql2
1 files changed, 2 insertions, 0 deletions
diff --git a/install/schema_mysql.sql b/install/schema_mysql.sql
index 4751106da..a674ab8c4 100644
--- a/install/schema_mysql.sql
+++ b/install/schema_mysql.sql
@@ -883,6 +883,7 @@ CREATE TABLE IF NOT EXISTS `obj` (
`obj_imgurl` char(255) NOT NULL DEFAULT '',
`obj_created` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`obj_edited` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
+ `obj_quantity` int(11) NOT NULL DEFAULT '0',
`allow_cid` mediumtext NOT NULL,
`allow_gid` mediumtext NOT NULL,
`deny_cid` mediumtext NOT NULL,
@@ -897,6 +898,7 @@ CREATE TABLE IF NOT EXISTS `obj` (
KEY `obj_imgurl` (`obj_imgurl`),
KEY `obj_created` (`obj_created`),
KEY `obj_edited` (`obj_edited`),
+ KEY `obj_quantity` (`obj_quantity`),
KEY `obj_obj` (`obj_obj`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;