7 PRIMARY KEY(lname, fname)
10 CREATE INDEX users_username_idx ON users(username);
11 CREATE INDEX users_fname_idx ON users(fname);
12 CREATE INDEX users_lname_idx ON users(lname);
13 CREATE INDEX users_userid_idx ON users(userid);
16 CREATE TABLE taxonomy (
17 id serial primary key,
22 accession text not null primary key,
24 txid int2 not null references taxonomy(id)
27 CREATE TABLE sequences (
28 eid int4 not null references entry(eid),
29 pid serial primary key,
30 product text not null,
31 sequence text not null,
32 multipart bool default 'false'
34 CREATE INDEX sequences_product_idx ON sequences(product) ;
36 CREATE TABLE xsequences (
37 pid int4 not null references sequences(pid),
38 sequence text not null
40 CREATE INDEX xsequences_pid_idx ON xsequences(pid) ;
42 CREATE TABLE unicode_test (
43 testvalue text NOT NULL
46 CREATE TABLE table_record (
51 CREATE TYPE type_record AS (