Thanks!
-Alessandro
On Fri, Feb 17, 2012 at 10:34 AM, Alessandro Gagliardi <alessandro@xxxxxxxx> wrote:
CREATE TABLE seen_its (user_id character(24) NOT NULL,moment_id character(24) NOT NULL,created timestamp without time zone,inserted timestamp without time zone DEFAULT now(),CONSTRAINT seen_its_pkey PRIMARY KEY (user_id , moment_id )) WITH ( OIDS=FALSE );CREATE INDEX seen_its_created_idx ON seen_its USING btree (created );CREATE INDEX seen_its_user_id_idx ON seen_its USING btree (user_id );