~ubuntu-branches/ubuntu/saucy/quassel/saucy-proposed

« back to all changes in this revision

Viewing changes to src/core/SQL/PostgreSQL/14/setup_040_network.sql

  • Committer: Bazaar Package Importer
  • Author(s): Scott Kitterman
  • Date: 2010-02-17 12:49:50 UTC
  • mto: This revision was merged to the branch mainline in revision 59.
  • Revision ID: james.westby@ubuntu.com-20100217124950-v9hajw5d2xa6fszn
Tags: upstream-0.6~beta1
ImportĀ upstreamĀ versionĀ 0.6~beta1

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
CREATE TABLE network (
2
 
       networkid serial NOT NULL PRIMARY KEY,
3
 
       userid integer NOT NULL REFERENCES quasseluser (userid) ON DELETE CASCADE,
4
 
       networkname varchar(32) NOT NULL,
5
 
       identityid integer REFERENCES identity (identityid) ON DELETE SET NULL,
6
 
       encodingcodec varchar(32) NOT NULL DEFAULT 'ISO-8859-15',
7
 
       decodingcodec varchar(32) NOT NULL DEFAULT 'ISO-8859-15',
8
 
       servercodec varchar(32),
9
 
       userandomserver boolean NOT NULL DEFAULT FALSE,
10
 
       perform TEXT,
11
 
       useautoidentify boolean NOT NULL DEFAULT FALSE,
12
 
       autoidentifyservice varchar(128),
13
 
       autoidentifypassword varchar(128),
14
 
       useautoreconnect boolean NOT NULL DEFAULT TRUE,
15
 
       autoreconnectinterval integer NOT NULL DEFAULT 0,
16
 
       autoreconnectretries integer NOT NULL DEFAULT 0,
17
 
       unlimitedconnectretries boolean NOT NULL DEFAULT FALSE,
18
 
       rejoinchannels boolean NOT NULL DEFAULT FALSE,
19
 
       connected boolean NOT NULL DEFAULT FALSE,
20
 
       usermode varchar(32), -- user mode to restore
21
 
       awaymessage varchar(256), -- away message to restore (empty if not away)
22
 
       attachperform text, -- perform list for on attach
23
 
       detachperform text, -- perform list for on detach
24
 
       UNIQUE (userid, networkname)
25
 
)