We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit fe6d7b24 authored by tobyink's avatar tobyink

Table structure for group support.

parent 143f5bc9
......@@ -67,6 +67,21 @@ if (isset($_POST['install'])) {
active integer DEFAULT 1,
location_uri VARCHAR(255) REFERENCES Places(location_uri))");
$res = $mdb2->query("CREATE TABLE Groups (
groupname VARCHAR(64) PRIMARY KEY,
owner VARCHAR(64) REFERENCES Users(username),
fullname VARCHAR(255),
bio TEXT,
homepage VARCHAR(255),
created int NOT NULL,
modified INTEGER,
grouptype INTEGER)");
$res = $mdb2->query("CREATE TABLE Group_Members (
group VARCHAR(64) REFERENCES Groups(groupname),
member VARCHAR(64) REFERENCES Users(username),
joined int NOT NULL");
$mdb2->query("CREATE TABLE AccountActivation(
username VARCHAR(64),
authcode VARCHAR(32))");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment