Skip to content
Snippets Groups Projects
Commit 2a12f87d authored by Olav Morken's avatar Olav Morken
Browse files

Consent documentation: Update for postgresql.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@734 44740490-163a-0410-bde0-09ae8108e29a
parent ecb7d77f
No related branches found
No related tags found
No related merge requests found
...@@ -442,7 +442,7 @@ foreach($_SERVER as $key=>$value) { ...@@ -442,7 +442,7 @@ foreach($_SERVER as $key=>$value) {
<title>Consent storage setup</title> <title>Consent storage setup</title>
<para>Consent storage requires a database to store the consent <para>Consent storage requires a database to store the consent
information in. Currently, only MySQL is tested and known to work. The information in. MySQL and PostgreSQL are tested and known to work. The
consent will be stored in a table named <literal>consent</literal>. This consent will be stored in a table named <literal>consent</literal>. This
table can be created with the following command:</para> table can be created with the following command:</para>
...@@ -450,9 +450,9 @@ foreach($_SERVER as $key=&gt;$value) { ...@@ -450,9 +450,9 @@ foreach($_SERVER as $key=&gt;$value) {
hashed_user_id varchar(128) NOT NULL, hashed_user_id varchar(128) NOT NULL,
service_id varchar(128) NOT NULL, service_id varchar(128) NOT NULL,
attribute varchar(128) NOT NULL, attribute varchar(128) NOT NULL,
consent_date datetime NOT NULL, consent_date timestamp NOT NULL,
usage_date datetime NOT NULL, usage_date timestamp NOT NULL,
PRIMARY KEY USING BTREE (hashed_user_id, service_id) PRIMARY KEY (hashed_user_id, service_id)
);</programlisting> );</programlisting>
<para>Consent storage is controlled by the following options in <para>Consent storage is controlled by the following options in
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment