/[drupal]/contributions/modules/subscription/subscription.pgsql
ViewVC logotype

Contents of /contributions/modules/subscription/subscription.pgsql

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Wed Sep 7 14:38:22 2005 UTC (4 years, 2 months ago) by ee
Branch: MAIN
CVS Tags: HEAD
Branch point for: DRUPAL-4-6
add postgres support (thx to tms)
1 CREATE TABLE subscription_channels (
2 cid int default '0',
3 uid smallint default '0',
4 name text default NULL,
5 id text default NULL,
6 daily int default '0'
7 );
8
9 INSERT INTO subscription_channels (cid, uid, name, id, daily) VALUES(2, 0, 'Instant mailer', 'simple_mail', 0);
10 INSERT INTO sequences (name, id) VALUES ("subscription_channels",3);
11
12 CREATE TABLE subscription_subscriptions (
13 sid int primary key NOT NULL default '0',
14 uid int NOT NULL default '0',
15 condition text NOT NULL,
16 cid int default '0',
17 object text NOT NULL default ''
18 );
19
20 --grant all on subscription_channels to apache;
21 --grant all on subscription_subscriptions to apache;
22

  ViewVC Help
Powered by ViewVC 1.1.2