// this looks like null, <repoid>, <read|visible|write>, user:<uid>|group:<gid>|authed|anon\r
// where authed = any authenticated user, anon = everyone (logged in, not logged in, etc)\r
// read|visible|write = can clone from repo|can see repo exists and see description but not clone from it|can push to repo\r
- // TODO: is this sufficient? i have to think about it\r
+ // TODO: is this sufficient? i have to think about it
+
+ $activitysql = '
+ CREATE TABLE "activity" (
+ "activity_type" TEXT,
+ "activity_date" TEXT,
+ "activity_desc" TEXT,
+ "activity_viewby" TEXT
+ )';\r
\r
$configsql = '\r
CREATE TABLE "config" (\r
$DB_CONNECTION->query($initialuser_admin);
$DB_CONNECTION->query($initialuser_user);
$DB_CONNECTION->query($reposql);\r
- $DB_CONNECTION->query($configsql);\r
+ $DB_CONNECTION->query($configsql);
+ $DB_CONNECTION->query($activitysql);\r
}
function gwvpmini_getConfigVal($confname)\r