[Blends-commit] r2624 - in /blends/trunk/team_analysis_tools: archives.sql archives_01.sql
tille at users.alioth.debian.org
tille at users.alioth.debian.org
Wed Jan 26 11:15:43 UTC 2011
Author: tille
Date: Wed Jan 26 11:15:42 2011
New Revision: 2624
URL: http://svn.debian.org/wsvn/blends/?sc=1&rev=2624
Log:
Just keep one single SQL script to create the mailing list archives database.
Added:
blends/trunk/team_analysis_tools/archives.sql
- copied, changed from r2623, blends/trunk/team_analysis_tools/archives_01.sql
Removed:
blends/trunk/team_analysis_tools/archives_01.sql
Copied: blends/trunk/team_analysis_tools/archives.sql (from r2623, blends/trunk/team_analysis_tools/archives_01.sql)
URL: http://svn.debian.org/wsvn/blends/blends/trunk/team_analysis_tools/archives.sql?rev=2624&op=diff
==============================================================================
--- blends/trunk/team_analysis_tools/archives_01.sql (original)
+++ blends/trunk/team_analysis_tools/archives.sql Wed Jan 26 11:15:42 2011
@@ -1,8 +1,21 @@
#!/bin/sh
+createdb --encoding SQL_ASCII --template template0 listarchives
+
psql listarchives <<EOT
BEGIN;
+
+CREATE TABLE listarchive (
+ project text,
+ yearmonth date,
+ author text,
+ subject text,
+ url text,
+ ts date
+);
+
+CREATE LANGUAGE plpgsql ;
/*
* Build a query string for several purposes
More information about the Blends-commit
mailing list