Browse Source

Merge branch 'master' of bitbucket.org:ckolivas/ckpool

master
Con Kolivas 11 years ago
parent
commit
3608c47045
  1. 4
      sql/ckdb.sql

4
sql/ckdb.sql

@ -15,7 +15,7 @@ SET search_path = public, pg_catalog;
CREATE TABLE users ( CREATE TABLE users (
userid bigint NOT NULL, userid bigint NOT NULL,
username character varying(256) NOT NULL, username character varying(256) NOT NULL,
status character varying(256) DEFAULT ''::character varying NOT NULL; status character varying(256) DEFAULT ''::character varying NOT NULL,
emailaddress character varying(256) NOT NULL, emailaddress character varying(256) NOT NULL,
joineddate timestamp with time zone NOT NULL, joineddate timestamp with time zone NOT NULL,
passwordhash character varying(256) NOT NULL, passwordhash character varying(256) NOT NULL,
@ -34,7 +34,7 @@ CREATE UNIQUE INDEX usersusername ON users USING btree (username, expirydate);
CREATE TABLE useratts ( CREATE TABLE useratts (
userid bigint NOT NULL, userid bigint NOT NULL,
attname character varying(64) NOT NULL, attname character varying(64) NOT NULL,
status character varying(256) DEFAULT ''::character varying NOT NULL; status character varying(256) DEFAULT ''::character varying NOT NULL,
attstr character varying(256) DEFAULT ''::character varying NOT NULL, attstr character varying(256) DEFAULT ''::character varying NOT NULL,
attstr2 character varying(256) DEFAULT ''::character varying NOT NULL, attstr2 character varying(256) DEFAULT ''::character varying NOT NULL,
attnum bigint DEFAULT 0 NOT NULL, attnum bigint DEFAULT 0 NOT NULL,

Loading…
Cancel
Save