Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CREATE TABLE tv_site_chathistory
- (
- id serial NOT NULL,
- user_id integer NOT NULL,
- text text NOT NULL,
- symbol character varying(64) NOT NULL,
- created timestamp with time zone NOT NULL,
- uuid character varying(64) NOT NULL,
- source text NOT NULL,
- CONSTRAINT tv_site_chathistory_pkey PRIMARY KEY (id),
- CONSTRAINT user_id_refs_id_42e3f024 FOREIGN KEY (user_id)
- REFERENCES auth_user (id) MATCH SIMPLE
- ON UPDATE NO ACTION ON DELETE NO ACTION DEFERRABLE INITIALLY DEFERRED
- )
- WITH (
- OIDS=FALSE
- );
- ALTER TABLE tv_site_chathistory
- OWNER TO postgres;
- -- Index: tv_site_chathistory_created
- -- DROP INDEX tv_site_chathistory_created;
- CREATE INDEX tv_site_chathistory_created
- ON tv_site_chathistory
- USING btree
- (created);
- -- Index: tv_site_chathistory_symbol
- -- DROP INDEX tv_site_chathistory_symbol;
- CREATE INDEX tv_site_chathistory_symbol
- ON tv_site_chathistory
- USING btree
- (symbol COLLATE pg_catalog."default");
- -- Index: tv_site_chathistory_symbol_like
- -- DROP INDEX tv_site_chathistory_symbol_like;
- CREATE INDEX tv_site_chathistory_symbol_like
- ON tv_site_chathistory
- USING btree
- (symbol COLLATE pg_catalog."default" varchar_pattern_ops);
- -- Index: tv_site_chathistory_user_id
- -- DROP INDEX tv_site_chathistory_user_id;
- CREATE INDEX tv_site_chathistory_user_id
- ON tv_site_chathistory
- USING btree
- (user_id);
- -- Index: tv_site_chathistory_uuid
- -- DROP INDEX tv_site_chathistory_uuid;
- CREATE INDEX tv_site_chathistory_uuid
- ON tv_site_chathistory
- USING btree
- (uuid COLLATE pg_catalog."default");
- -- Index: tv_site_chathistory_uuid_like
- -- DROP INDEX tv_site_chathistory_uuid_like;
- CREATE INDEX tv_site_chathistory_uuid_like
- ON tv_site_chathistory
- USING btree
- (uuid COLLATE pg_catalog."default" varchar_pattern_ops);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement