X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=database%2Fndawn.sql;h=1853e4fc014b2cb5449d05721d8c884a9f2aa834;hb=HEAD;hp=54ede3a5c10269a2c966b8f2863d1630813f239f;hpb=3b9c21b8ae0a846dc08e3d8a80f85d9d1718ca57;p=ndwebbie.git diff --git a/database/ndawn.sql b/database/ndawn.sql index 54ede3a..f1301f0 100644 --- a/database/ndawn.sql +++ b/database/ndawn.sql @@ -1462,10 +1462,10 @@ CREATE TABLE email_change ( id text DEFAULT md5(((now() + (random() * '100 years'::interval)))::text) NOT NULL, uid integer NOT NULL, email text NOT NULL, - confirmed boolean DEFAULT false NOT NULL + confirmed boolean DEFAULT false NOT NULL, + time timestamptz DEFAULT now() ); - ALTER TABLE email_change OWNER TO ndawn; -- @@ -2142,6 +2142,7 @@ CREATE TABLE raids ( tick integer NOT NULL, open boolean DEFAULT false NOT NULL, waves integer DEFAULT 3 NOT NULL, + open_tick integer, message text NOT NULL, removed boolean DEFAULT false NOT NULL, released_coords boolean DEFAULT false NOT NULL, @@ -3316,6 +3317,8 @@ CREATE INDEX forum_posts_ftid_index ON forum_posts USING btree (ftid); CREATE INDEX forum_posts_textsearch_index ON forum_posts USING gin (textsearch); +CREATE INDEX forum_threads_mtime_index ON forum_threads USING btree (mtime); + -- -- Name: groupmembers_uid_key; Type: INDEX; Schema: public; Owner: ndawn --