aboutsummaryrefslogtreecommitdiffstats
path: root/install/database.sql
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-06-30 00:38:02 -0700
committerfriendica <info@friendica.com>2013-06-30 00:38:02 -0700
commit72f6edd59507797ef4073aed01ca1a0d14fa8cfd (patch)
treeadd1a2879d2a2ca7c7b62ece73517bbf225f2cb9 /install/database.sql
parent29502438f807275ab8ea8259ca261117e561c962 (diff)
downloadvolse-hubzilla-72f6edd59507797ef4073aed01ca1a0d14fa8cfd.tar.gz
volse-hubzilla-72f6edd59507797ef4073aed01ca1a0d14fa8cfd.tar.bz2
volse-hubzilla-72f6edd59507797ef4073aed01ca1a0d14fa8cfd.zip
add age to directory profile - requires updating on each birthday and that part is still missing
Diffstat (limited to 'install/database.sql')
-rw-r--r--install/database.sql2
1 files changed, 2 insertions, 0 deletions
diff --git a/install/database.sql b/install/database.sql
index 30b8edfd7..5cb0146f7 100644
--- a/install/database.sql
+++ b/install/database.sql
@@ -941,6 +941,7 @@ CREATE TABLE IF NOT EXISTS `xprof` (
`xprof_hash` char(255) NOT NULL,
`xprof_desc` char(255) NOT NULL DEFAULT '',
`xprof_dob` char(12) NOT NULL DEFAULT '',
+ `xprof_age` tinyint(3) NOT NULL DEFAULT '0',
`xprof_gender` char(255) NOT NULL DEFAULT '',
`xprof_marital` char(255) NOT NULL DEFAULT '',
`xprof_sexual` char(255) NOT NULL DEFAULT '',
@@ -952,6 +953,7 @@ CREATE TABLE IF NOT EXISTS `xprof` (
PRIMARY KEY (`xprof_hash`),
KEY `xprof_desc` (`xprof_desc`),
KEY `xprof_dob` (`xprof_dob`),
+ KEY `xprof_age` (`xprof_age`),
KEY `xprof_gender` (`xprof_gender`),
KEY `xprof_marital` (`xprof_marital`),
KEY `xprof_sexual` (`xprof_sexual`),