diff --git a/app/helpers/delayed_jobs_helper.rb b/app/helpers/delayed_jobs_helper.rb
index 915fc578b..8b90b3512 100644
--- a/app/helpers/delayed_jobs_helper.rb
+++ b/app/helpers/delayed_jobs_helper.rb
@@ -1,6 +1,18 @@
module DelayedJobsHelper
def print_name(job)
case job.name
+ when "Tag.increment_post_counts"
+ "increment post counts"
+
+ when "Tag.decrement_post_counts"
+ "decrement post counts"
+
+ when "Post.expire_cache"
+ "expire post cache"
+
+ when "Moderator::TagBatchChange"
+ "tag batch change"
+
when "TagSubscription.process"
"process tag subscription"
@@ -56,6 +68,15 @@ module DelayedJobsHelper
def print_handler(job)
case job.name
+ when "Tag.increment_post_counts", "Tag.decrement_post_counts"
+ ""
+
+ when "Post.expire_cache"
+ ""
+
+ when "Moderator::TagBatchChange"
+ h(job.payload_object.antecedent) + " -> " + h(job.payload_object.consequent)
+
when "TagSubscription.process"
""
@@ -69,10 +90,10 @@ module DelayedJobsHelper
h(job.payload_object.name)
when "TagAlias#process!"
- h(job.payload_object.antecedent_name) + " -> " + h(job.payload_object.consequent_name)
+ h(job.payload_object.antecedent_name) + " -> " + h(job.payload_object.consequent_name)
when "TagImplication#process!"
- h(job.payload_object.antecedent_name) + " -> " + h(job.payload_object.consequent_name)
+ h(job.payload_object.antecedent_name) + " -> " + h(job.payload_object.consequent_name)
when "Class#clear_cache_for"
h(job.payload_object.args.flatten.join(" "))
diff --git a/app/models/post.rb b/app/models/post.rb
index 708532751..3d480547d 100644
--- a/app/models/post.rb
+++ b/app/models/post.rb
@@ -633,6 +633,7 @@ class Post < ActiveRecord::Base
normalized_tags = TagAlias.to_aliased(normalized_tags)
normalized_tags = add_automatic_tags(normalized_tags)
normalized_tags = TagImplication.with_descendants(normalized_tags)
+ normalized_tags = normalized_tags.compact
normalized_tags.sort!
set_tag_string(normalized_tags.uniq.sort.join(" "))
end
diff --git a/app/views/bulk_update_requests/_listing.html.erb b/app/views/bulk_update_requests/_listing.html.erb
index 3705d852c..7ee8c317d 100644
--- a/app/views/bulk_update_requests/_listing.html.erb
+++ b/app/views/bulk_update_requests/_listing.html.erb
@@ -14,7 +14,11 @@
| <%= link_to_user(request.user) %> |
<% if request.approver %><%= link_to_user(request.approver) %><% end %> |
- <%= link_to(request.forum_topic_id, forum_topic_path(request.forum_topic_id)) %> |
+
+ <% if request.forum_topic_id %>
+ <%= link_to(request.forum_topic_id, forum_topic_path(request.forum_topic_id)) %>
+ <% end %>
+ |
<%= script_with_line_breaks(request.script) %> |
<%= request.status %> |
diff --git a/db/structure.sql b/db/structure.sql
index 931627fbb..588205741 100644
--- a/db/structure.sql
+++ b/db/structure.sql
@@ -2,16 +2,11 @@
-- PostgreSQL database dump
--
--- Dumped from database version 9.5.4
--- Dumped by pg_dump version 9.5.4
-
SET statement_timeout = 0;
-SET lock_timeout = 0;
SET client_encoding = 'UTF8';
SET standard_conforming_strings = on;
SET check_function_bodies = false;
SET client_min_messages = warning;
-SET row_security = off;
--
-- Name: plpgsql; Type: EXTENSION; Schema: -; Owner: -
@@ -433,15 +428,15 @@ SET default_tablespace = '';
SET default_with_oids = false;
--
--- Name: advertisement_hits; Type: TABLE; Schema: public; Owner: -
+-- Name: advertisement_hits; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE advertisement_hits (
id integer NOT NULL,
advertisement_id integer NOT NULL,
ip_addr inet NOT NULL,
- created_at timestamp without time zone,
- updated_at timestamp without time zone
+ created_at timestamp without time zone NOT NULL,
+ updated_at timestamp without time zone NOT NULL
);
@@ -465,21 +460,21 @@ ALTER SEQUENCE advertisement_hits_id_seq OWNED BY advertisement_hits.id;
--
--- Name: advertisements; Type: TABLE; Schema: public; Owner: -
+-- Name: advertisements; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE advertisements (
id integer NOT NULL,
referral_url text NOT NULL,
- ad_type character varying NOT NULL,
- status character varying NOT NULL,
+ ad_type character varying(255) NOT NULL,
+ status character varying(255) NOT NULL,
hit_count integer DEFAULT 0 NOT NULL,
width integer NOT NULL,
height integer NOT NULL,
- file_name character varying NOT NULL,
+ file_name character varying(255) NOT NULL,
is_work_safe boolean DEFAULT false NOT NULL,
- created_at timestamp without time zone,
- updated_at timestamp without time zone
+ created_at timestamp without time zone NOT NULL,
+ updated_at timestamp without time zone NOT NULL
);
@@ -503,14 +498,14 @@ ALTER SEQUENCE advertisements_id_seq OWNED BY advertisements.id;
--
--- Name: amazon_backups; Type: TABLE; Schema: public; Owner: -
+-- Name: amazon_backups; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE amazon_backups (
id integer NOT NULL,
last_id integer,
- created_at timestamp without time zone,
- updated_at timestamp without time zone
+ created_at timestamp without time zone NOT NULL,
+ updated_at timestamp without time zone NOT NULL
);
@@ -534,7 +529,7 @@ ALTER SEQUENCE amazon_backups_id_seq OWNED BY amazon_backups.id;
--
--- Name: anti_voters; Type: TABLE; Schema: public; Owner: -
+-- Name: anti_voters; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE anti_voters (
@@ -565,13 +560,13 @@ ALTER SEQUENCE anti_voters_id_seq OWNED BY anti_voters.id;
--
--- Name: api_keys; Type: TABLE; Schema: public; Owner: -
+-- Name: api_keys; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE api_keys (
id integer NOT NULL,
user_id integer NOT NULL,
- key character varying NOT NULL,
+ key character varying(255) NOT NULL,
created_at timestamp without time zone,
updated_at timestamp without time zone
);
@@ -597,7 +592,7 @@ ALTER SEQUENCE api_keys_id_seq OWNED BY api_keys.id;
--
--- Name: artist_commentaries; Type: TABLE; Schema: public; Owner: -
+-- Name: artist_commentaries; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE artist_commentaries (
@@ -607,8 +602,8 @@ CREATE TABLE artist_commentaries (
original_description text,
translated_title text,
translated_description text,
- created_at timestamp without time zone,
- updated_at timestamp without time zone
+ created_at timestamp without time zone NOT NULL,
+ updated_at timestamp without time zone NOT NULL
);
@@ -632,7 +627,7 @@ ALTER SEQUENCE artist_commentaries_id_seq OWNED BY artist_commentaries.id;
--
--- Name: artist_commentary_versions; Type: TABLE; Schema: public; Owner: -
+-- Name: artist_commentary_versions; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE artist_commentary_versions (
@@ -644,8 +639,8 @@ CREATE TABLE artist_commentary_versions (
original_description text,
translated_title text,
translated_description text,
- created_at timestamp without time zone,
- updated_at timestamp without time zone
+ created_at timestamp without time zone NOT NULL,
+ updated_at timestamp without time zone NOT NULL
);
@@ -669,7 +664,7 @@ ALTER SEQUENCE artist_commentary_versions_id_seq OWNED BY artist_commentary_vers
--
--- Name: artist_urls; Type: TABLE; Schema: public; Owner: -
+-- Name: artist_urls; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE artist_urls (
@@ -677,8 +672,8 @@ CREATE TABLE artist_urls (
artist_id integer NOT NULL,
url text NOT NULL,
normalized_url text NOT NULL,
- created_at timestamp without time zone,
- updated_at timestamp without time zone
+ created_at timestamp without time zone NOT NULL,
+ updated_at timestamp without time zone NOT NULL
);
@@ -702,22 +697,22 @@ ALTER SEQUENCE artist_urls_id_seq OWNED BY artist_urls.id;
--
--- Name: artist_versions; Type: TABLE; Schema: public; Owner: -
+-- Name: artist_versions; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE artist_versions (
id integer NOT NULL,
artist_id integer NOT NULL,
- name character varying NOT NULL,
+ name character varying(255) NOT NULL,
updater_id integer NOT NULL,
updater_ip_addr inet NOT NULL,
is_active boolean DEFAULT true NOT NULL,
other_names text,
- group_name character varying,
+ group_name character varying(255),
url_string text,
is_banned boolean DEFAULT false NOT NULL,
- created_at timestamp without time zone,
- updated_at timestamp without time zone
+ created_at timestamp without time zone NOT NULL,
+ updated_at timestamp without time zone NOT NULL
);
@@ -741,20 +736,20 @@ ALTER SEQUENCE artist_versions_id_seq OWNED BY artist_versions.id;
--
--- Name: artists; Type: TABLE; Schema: public; Owner: -
+-- Name: artists; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE artists (
id integer NOT NULL,
- name character varying NOT NULL,
+ name character varying(255) NOT NULL,
creator_id integer NOT NULL,
is_active boolean DEFAULT true NOT NULL,
is_banned boolean DEFAULT false NOT NULL,
other_names text,
other_names_index tsvector,
- group_name character varying,
- created_at timestamp without time zone,
- updated_at timestamp without time zone
+ group_name character varying(255),
+ created_at timestamp without time zone NOT NULL,
+ updated_at timestamp without time zone NOT NULL
);
@@ -778,7 +773,7 @@ ALTER SEQUENCE artists_id_seq OWNED BY artists.id;
--
--- Name: bans; Type: TABLE; Schema: public; Owner: -
+-- Name: bans; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE bans (
@@ -787,8 +782,8 @@ CREATE TABLE bans (
reason text NOT NULL,
banner_id integer NOT NULL,
expires_at timestamp without time zone NOT NULL,
- created_at timestamp without time zone,
- updated_at timestamp without time zone
+ created_at timestamp without time zone NOT NULL,
+ updated_at timestamp without time zone NOT NULL
);
@@ -812,7 +807,7 @@ ALTER SEQUENCE bans_id_seq OWNED BY bans.id;
--
--- Name: bulk_update_requests; Type: TABLE; Schema: public; Owner: -
+-- Name: bulk_update_requests; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE bulk_update_requests (
@@ -820,7 +815,7 @@ CREATE TABLE bulk_update_requests (
user_id integer NOT NULL,
forum_topic_id integer,
script text NOT NULL,
- status character varying DEFAULT 'pending'::character varying NOT NULL,
+ status character varying(255) DEFAULT 'pending'::character varying NOT NULL,
created_at timestamp without time zone,
updated_at timestamp without time zone,
approver_id integer
@@ -847,7 +842,7 @@ ALTER SEQUENCE bulk_update_requests_id_seq OWNED BY bulk_update_requests.id;
--
--- Name: comment_votes; Type: TABLE; Schema: public; Owner: -
+-- Name: comment_votes; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE comment_votes (
@@ -855,8 +850,8 @@ CREATE TABLE comment_votes (
comment_id integer NOT NULL,
user_id integer NOT NULL,
score integer NOT NULL,
- created_at timestamp without time zone,
- updated_at timestamp without time zone
+ created_at timestamp without time zone NOT NULL,
+ updated_at timestamp without time zone NOT NULL
);
@@ -880,7 +875,7 @@ ALTER SEQUENCE comment_votes_id_seq OWNED BY comment_votes.id;
--
--- Name: comments; Type: TABLE; Schema: public; Owner: -
+-- Name: comments; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE comments (
@@ -891,8 +886,8 @@ CREATE TABLE comments (
ip_addr inet NOT NULL,
body_index tsvector NOT NULL,
score integer DEFAULT 0 NOT NULL,
- created_at timestamp without time zone,
- updated_at timestamp without time zone,
+ created_at timestamp without time zone NOT NULL,
+ updated_at timestamp without time zone NOT NULL,
updater_id integer,
updater_ip_addr inet,
do_not_bump_post boolean DEFAULT false NOT NULL,
@@ -920,7 +915,7 @@ ALTER SEQUENCE comments_id_seq OWNED BY comments.id;
--
--- Name: delayed_jobs; Type: TABLE; Schema: public; Owner: -
+-- Name: delayed_jobs; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE delayed_jobs (
@@ -932,10 +927,10 @@ CREATE TABLE delayed_jobs (
run_at timestamp without time zone,
locked_at timestamp without time zone,
failed_at timestamp without time zone,
- locked_by character varying,
- created_at timestamp without time zone,
- updated_at timestamp without time zone,
- queue character varying
+ locked_by character varying(255),
+ created_at timestamp without time zone NOT NULL,
+ updated_at timestamp without time zone NOT NULL,
+ queue character varying(255)
);
@@ -959,7 +954,7 @@ ALTER SEQUENCE delayed_jobs_id_seq OWNED BY delayed_jobs.id;
--
--- Name: dmail_filters; Type: TABLE; Schema: public; Owner: -
+-- Name: dmail_filters; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE dmail_filters (
@@ -991,7 +986,7 @@ ALTER SEQUENCE dmail_filters_id_seq OWNED BY dmail_filters.id;
--
--- Name: dmails; Type: TABLE; Schema: public; Owner: -
+-- Name: dmails; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE dmails (
@@ -1004,8 +999,8 @@ CREATE TABLE dmails (
message_index tsvector NOT NULL,
is_read boolean DEFAULT false NOT NULL,
is_deleted boolean DEFAULT false NOT NULL,
- created_at timestamp without time zone,
- updated_at timestamp without time zone,
+ created_at timestamp without time zone NOT NULL,
+ updated_at timestamp without time zone NOT NULL,
creator_ip_addr inet DEFAULT '127.0.0.1'::inet NOT NULL
);
@@ -1030,7 +1025,7 @@ ALTER SEQUENCE dmails_id_seq OWNED BY dmails.id;
--
--- Name: favorite_groups; Type: TABLE; Schema: public; Owner: -
+-- Name: favorite_groups; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorite_groups (
@@ -1064,7 +1059,7 @@ ALTER SEQUENCE favorite_groups_id_seq OWNED BY favorite_groups.id;
--
--- Name: favorites; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites (
@@ -1075,7 +1070,7 @@ CREATE TABLE favorites (
--
--- Name: favorites_0; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_0; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_0 (
@@ -1085,7 +1080,7 @@ INHERITS (favorites);
--
--- Name: favorites_1; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_1; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_1 (
@@ -1095,7 +1090,7 @@ INHERITS (favorites);
--
--- Name: favorites_10; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_10; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_10 (
@@ -1105,7 +1100,7 @@ INHERITS (favorites);
--
--- Name: favorites_11; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_11; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_11 (
@@ -1115,7 +1110,7 @@ INHERITS (favorites);
--
--- Name: favorites_12; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_12; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_12 (
@@ -1125,7 +1120,7 @@ INHERITS (favorites);
--
--- Name: favorites_13; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_13; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_13 (
@@ -1135,7 +1130,7 @@ INHERITS (favorites);
--
--- Name: favorites_14; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_14; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_14 (
@@ -1145,7 +1140,7 @@ INHERITS (favorites);
--
--- Name: favorites_15; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_15; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_15 (
@@ -1155,7 +1150,7 @@ INHERITS (favorites);
--
--- Name: favorites_16; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_16; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_16 (
@@ -1165,7 +1160,7 @@ INHERITS (favorites);
--
--- Name: favorites_17; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_17; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_17 (
@@ -1175,7 +1170,7 @@ INHERITS (favorites);
--
--- Name: favorites_18; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_18; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_18 (
@@ -1185,7 +1180,7 @@ INHERITS (favorites);
--
--- Name: favorites_19; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_19; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_19 (
@@ -1195,7 +1190,7 @@ INHERITS (favorites);
--
--- Name: favorites_2; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_2; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_2 (
@@ -1205,7 +1200,7 @@ INHERITS (favorites);
--
--- Name: favorites_20; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_20; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_20 (
@@ -1215,7 +1210,7 @@ INHERITS (favorites);
--
--- Name: favorites_21; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_21; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_21 (
@@ -1225,7 +1220,7 @@ INHERITS (favorites);
--
--- Name: favorites_22; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_22; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_22 (
@@ -1235,7 +1230,7 @@ INHERITS (favorites);
--
--- Name: favorites_23; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_23; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_23 (
@@ -1245,7 +1240,7 @@ INHERITS (favorites);
--
--- Name: favorites_24; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_24; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_24 (
@@ -1255,7 +1250,7 @@ INHERITS (favorites);
--
--- Name: favorites_25; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_25; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_25 (
@@ -1265,7 +1260,7 @@ INHERITS (favorites);
--
--- Name: favorites_26; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_26; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_26 (
@@ -1275,7 +1270,7 @@ INHERITS (favorites);
--
--- Name: favorites_27; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_27; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_27 (
@@ -1285,7 +1280,7 @@ INHERITS (favorites);
--
--- Name: favorites_28; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_28; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_28 (
@@ -1295,7 +1290,7 @@ INHERITS (favorites);
--
--- Name: favorites_29; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_29; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_29 (
@@ -1305,7 +1300,7 @@ INHERITS (favorites);
--
--- Name: favorites_3; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_3; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_3 (
@@ -1315,7 +1310,7 @@ INHERITS (favorites);
--
--- Name: favorites_30; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_30; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_30 (
@@ -1325,7 +1320,7 @@ INHERITS (favorites);
--
--- Name: favorites_31; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_31; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_31 (
@@ -1335,7 +1330,7 @@ INHERITS (favorites);
--
--- Name: favorites_32; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_32; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_32 (
@@ -1345,7 +1340,7 @@ INHERITS (favorites);
--
--- Name: favorites_33; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_33; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_33 (
@@ -1355,7 +1350,7 @@ INHERITS (favorites);
--
--- Name: favorites_34; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_34; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_34 (
@@ -1365,7 +1360,7 @@ INHERITS (favorites);
--
--- Name: favorites_35; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_35; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_35 (
@@ -1375,7 +1370,7 @@ INHERITS (favorites);
--
--- Name: favorites_36; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_36; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_36 (
@@ -1385,7 +1380,7 @@ INHERITS (favorites);
--
--- Name: favorites_37; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_37; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_37 (
@@ -1395,7 +1390,7 @@ INHERITS (favorites);
--
--- Name: favorites_38; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_38; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_38 (
@@ -1405,7 +1400,7 @@ INHERITS (favorites);
--
--- Name: favorites_39; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_39; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_39 (
@@ -1415,7 +1410,7 @@ INHERITS (favorites);
--
--- Name: favorites_4; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_4; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_4 (
@@ -1425,7 +1420,7 @@ INHERITS (favorites);
--
--- Name: favorites_40; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_40; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_40 (
@@ -1435,7 +1430,7 @@ INHERITS (favorites);
--
--- Name: favorites_41; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_41; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_41 (
@@ -1445,7 +1440,7 @@ INHERITS (favorites);
--
--- Name: favorites_42; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_42; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_42 (
@@ -1455,7 +1450,7 @@ INHERITS (favorites);
--
--- Name: favorites_43; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_43; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_43 (
@@ -1465,7 +1460,7 @@ INHERITS (favorites);
--
--- Name: favorites_44; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_44; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_44 (
@@ -1475,7 +1470,7 @@ INHERITS (favorites);
--
--- Name: favorites_45; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_45; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_45 (
@@ -1485,7 +1480,7 @@ INHERITS (favorites);
--
--- Name: favorites_46; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_46; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_46 (
@@ -1495,7 +1490,7 @@ INHERITS (favorites);
--
--- Name: favorites_47; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_47; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_47 (
@@ -1505,7 +1500,7 @@ INHERITS (favorites);
--
--- Name: favorites_48; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_48; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_48 (
@@ -1515,7 +1510,7 @@ INHERITS (favorites);
--
--- Name: favorites_49; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_49; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_49 (
@@ -1525,7 +1520,7 @@ INHERITS (favorites);
--
--- Name: favorites_5; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_5; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_5 (
@@ -1535,7 +1530,7 @@ INHERITS (favorites);
--
--- Name: favorites_50; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_50; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_50 (
@@ -1545,7 +1540,7 @@ INHERITS (favorites);
--
--- Name: favorites_51; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_51; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_51 (
@@ -1555,7 +1550,7 @@ INHERITS (favorites);
--
--- Name: favorites_52; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_52; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_52 (
@@ -1565,7 +1560,7 @@ INHERITS (favorites);
--
--- Name: favorites_53; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_53; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_53 (
@@ -1575,7 +1570,7 @@ INHERITS (favorites);
--
--- Name: favorites_54; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_54; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_54 (
@@ -1585,7 +1580,7 @@ INHERITS (favorites);
--
--- Name: favorites_55; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_55; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_55 (
@@ -1595,7 +1590,7 @@ INHERITS (favorites);
--
--- Name: favorites_56; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_56; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_56 (
@@ -1605,7 +1600,7 @@ INHERITS (favorites);
--
--- Name: favorites_57; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_57; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_57 (
@@ -1615,7 +1610,7 @@ INHERITS (favorites);
--
--- Name: favorites_58; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_58; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_58 (
@@ -1625,7 +1620,7 @@ INHERITS (favorites);
--
--- Name: favorites_59; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_59; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_59 (
@@ -1635,7 +1630,7 @@ INHERITS (favorites);
--
--- Name: favorites_6; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_6; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_6 (
@@ -1645,7 +1640,7 @@ INHERITS (favorites);
--
--- Name: favorites_60; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_60; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_60 (
@@ -1655,7 +1650,7 @@ INHERITS (favorites);
--
--- Name: favorites_61; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_61; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_61 (
@@ -1665,7 +1660,7 @@ INHERITS (favorites);
--
--- Name: favorites_62; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_62; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_62 (
@@ -1675,7 +1670,7 @@ INHERITS (favorites);
--
--- Name: favorites_63; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_63; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_63 (
@@ -1685,7 +1680,7 @@ INHERITS (favorites);
--
--- Name: favorites_64; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_64; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_64 (
@@ -1695,7 +1690,7 @@ INHERITS (favorites);
--
--- Name: favorites_65; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_65; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_65 (
@@ -1705,7 +1700,7 @@ INHERITS (favorites);
--
--- Name: favorites_66; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_66; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_66 (
@@ -1715,7 +1710,7 @@ INHERITS (favorites);
--
--- Name: favorites_67; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_67; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_67 (
@@ -1725,7 +1720,7 @@ INHERITS (favorites);
--
--- Name: favorites_68; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_68; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_68 (
@@ -1735,7 +1730,7 @@ INHERITS (favorites);
--
--- Name: favorites_69; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_69; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_69 (
@@ -1745,7 +1740,7 @@ INHERITS (favorites);
--
--- Name: favorites_7; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_7; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_7 (
@@ -1755,7 +1750,7 @@ INHERITS (favorites);
--
--- Name: favorites_70; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_70; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_70 (
@@ -1765,7 +1760,7 @@ INHERITS (favorites);
--
--- Name: favorites_71; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_71; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_71 (
@@ -1775,7 +1770,7 @@ INHERITS (favorites);
--
--- Name: favorites_72; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_72; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_72 (
@@ -1785,7 +1780,7 @@ INHERITS (favorites);
--
--- Name: favorites_73; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_73; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_73 (
@@ -1795,7 +1790,7 @@ INHERITS (favorites);
--
--- Name: favorites_74; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_74; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_74 (
@@ -1805,7 +1800,7 @@ INHERITS (favorites);
--
--- Name: favorites_75; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_75; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_75 (
@@ -1815,7 +1810,7 @@ INHERITS (favorites);
--
--- Name: favorites_76; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_76; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_76 (
@@ -1825,7 +1820,7 @@ INHERITS (favorites);
--
--- Name: favorites_77; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_77; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_77 (
@@ -1835,7 +1830,7 @@ INHERITS (favorites);
--
--- Name: favorites_78; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_78; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_78 (
@@ -1845,7 +1840,7 @@ INHERITS (favorites);
--
--- Name: favorites_79; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_79; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_79 (
@@ -1855,7 +1850,7 @@ INHERITS (favorites);
--
--- Name: favorites_8; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_8; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_8 (
@@ -1865,7 +1860,7 @@ INHERITS (favorites);
--
--- Name: favorites_80; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_80; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_80 (
@@ -1875,7 +1870,7 @@ INHERITS (favorites);
--
--- Name: favorites_81; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_81; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_81 (
@@ -1885,7 +1880,7 @@ INHERITS (favorites);
--
--- Name: favorites_82; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_82; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_82 (
@@ -1895,7 +1890,7 @@ INHERITS (favorites);
--
--- Name: favorites_83; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_83; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_83 (
@@ -1905,7 +1900,7 @@ INHERITS (favorites);
--
--- Name: favorites_84; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_84; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_84 (
@@ -1915,7 +1910,7 @@ INHERITS (favorites);
--
--- Name: favorites_85; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_85; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_85 (
@@ -1925,7 +1920,7 @@ INHERITS (favorites);
--
--- Name: favorites_86; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_86; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_86 (
@@ -1935,7 +1930,7 @@ INHERITS (favorites);
--
--- Name: favorites_87; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_87; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_87 (
@@ -1945,7 +1940,7 @@ INHERITS (favorites);
--
--- Name: favorites_88; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_88; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_88 (
@@ -1955,7 +1950,7 @@ INHERITS (favorites);
--
--- Name: favorites_89; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_89; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_89 (
@@ -1965,7 +1960,7 @@ INHERITS (favorites);
--
--- Name: favorites_9; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_9; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_9 (
@@ -1975,7 +1970,7 @@ INHERITS (favorites);
--
--- Name: favorites_90; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_90; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_90 (
@@ -1985,7 +1980,7 @@ INHERITS (favorites);
--
--- Name: favorites_91; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_91; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_91 (
@@ -1995,7 +1990,7 @@ INHERITS (favorites);
--
--- Name: favorites_92; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_92; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_92 (
@@ -2005,7 +2000,7 @@ INHERITS (favorites);
--
--- Name: favorites_93; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_93; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_93 (
@@ -2015,7 +2010,7 @@ INHERITS (favorites);
--
--- Name: favorites_94; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_94; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_94 (
@@ -2025,7 +2020,7 @@ INHERITS (favorites);
--
--- Name: favorites_95; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_95; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_95 (
@@ -2035,7 +2030,7 @@ INHERITS (favorites);
--
--- Name: favorites_96; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_96; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_96 (
@@ -2045,7 +2040,7 @@ INHERITS (favorites);
--
--- Name: favorites_97; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_97; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_97 (
@@ -2055,7 +2050,7 @@ INHERITS (favorites);
--
--- Name: favorites_98; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_98; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_98 (
@@ -2065,7 +2060,7 @@ INHERITS (favorites);
--
--- Name: favorites_99; Type: TABLE; Schema: public; Owner: -
+-- Name: favorites_99; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE favorites_99 (
@@ -2094,7 +2089,7 @@ ALTER SEQUENCE favorites_id_seq OWNED BY favorites.id;
--
--- Name: forum_posts; Type: TABLE; Schema: public; Owner: -
+-- Name: forum_posts; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE forum_posts (
@@ -2105,8 +2100,8 @@ CREATE TABLE forum_posts (
body text NOT NULL,
text_index tsvector NOT NULL,
is_deleted boolean DEFAULT false NOT NULL,
- created_at timestamp without time zone,
- updated_at timestamp without time zone
+ created_at timestamp without time zone NOT NULL,
+ updated_at timestamp without time zone NOT NULL
);
@@ -2130,7 +2125,7 @@ ALTER SEQUENCE forum_posts_id_seq OWNED BY forum_posts.id;
--
--- Name: forum_subscriptions; Type: TABLE; Schema: public; Owner: -
+-- Name: forum_subscriptions; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE forum_subscriptions (
@@ -2138,7 +2133,7 @@ CREATE TABLE forum_subscriptions (
user_id integer,
forum_topic_id integer,
last_read_at timestamp without time zone,
- delete_key character varying
+ delete_key character varying(255)
);
@@ -2162,7 +2157,7 @@ ALTER SEQUENCE forum_subscriptions_id_seq OWNED BY forum_subscriptions.id;
--
--- Name: forum_topic_visits; Type: TABLE; Schema: public; Owner: -
+-- Name: forum_topic_visits; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE forum_topic_visits (
@@ -2195,21 +2190,21 @@ ALTER SEQUENCE forum_topic_visits_id_seq OWNED BY forum_topic_visits.id;
--
--- Name: forum_topics; Type: TABLE; Schema: public; Owner: -
+-- Name: forum_topics; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE forum_topics (
id integer NOT NULL,
creator_id integer NOT NULL,
updater_id integer NOT NULL,
- title character varying NOT NULL,
+ title character varying(255) NOT NULL,
response_count integer DEFAULT 0 NOT NULL,
is_sticky boolean DEFAULT false NOT NULL,
is_locked boolean DEFAULT false NOT NULL,
is_deleted boolean DEFAULT false NOT NULL,
text_index tsvector NOT NULL,
- created_at timestamp without time zone,
- updated_at timestamp without time zone,
+ created_at timestamp without time zone NOT NULL,
+ updated_at timestamp without time zone NOT NULL,
category_id integer DEFAULT 0 NOT NULL,
min_level integer DEFAULT 0 NOT NULL
);
@@ -2235,7 +2230,7 @@ ALTER SEQUENCE forum_topics_id_seq OWNED BY forum_topics.id;
--
--- Name: ip_bans; Type: TABLE; Schema: public; Owner: -
+-- Name: ip_bans; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE ip_bans (
@@ -2243,8 +2238,8 @@ CREATE TABLE ip_bans (
creator_id integer NOT NULL,
ip_addr inet NOT NULL,
reason text NOT NULL,
- created_at timestamp without time zone,
- updated_at timestamp without time zone
+ created_at timestamp without time zone NOT NULL,
+ updated_at timestamp without time zone NOT NULL
);
@@ -2268,7 +2263,7 @@ ALTER SEQUENCE ip_bans_id_seq OWNED BY ip_bans.id;
--
--- Name: janitor_trials; Type: TABLE; Schema: public; Owner: -
+-- Name: janitor_trials; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE janitor_trials (
@@ -2276,9 +2271,9 @@ CREATE TABLE janitor_trials (
creator_id integer NOT NULL,
user_id integer NOT NULL,
original_level integer,
- created_at timestamp without time zone,
- updated_at timestamp without time zone,
- status character varying DEFAULT 'active'::character varying NOT NULL
+ created_at timestamp without time zone NOT NULL,
+ updated_at timestamp without time zone NOT NULL,
+ status character varying(255) DEFAULT 'active'::character varying NOT NULL
);
@@ -2302,15 +2297,15 @@ ALTER SEQUENCE janitor_trials_id_seq OWNED BY janitor_trials.id;
--
--- Name: key_values; Type: TABLE; Schema: public; Owner: -
+-- Name: key_values; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE key_values (
id integer NOT NULL,
- key character varying NOT NULL,
+ key character varying(255) NOT NULL,
value text,
- created_at timestamp without time zone,
- updated_at timestamp without time zone
+ created_at timestamp without time zone NOT NULL,
+ updated_at timestamp without time zone NOT NULL
);
@@ -2334,15 +2329,15 @@ ALTER SEQUENCE key_values_id_seq OWNED BY key_values.id;
--
--- Name: mod_actions; Type: TABLE; Schema: public; Owner: -
+-- Name: mod_actions; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE mod_actions (
id integer NOT NULL,
creator_id integer NOT NULL,
description text NOT NULL,
- created_at timestamp without time zone,
- updated_at timestamp without time zone
+ created_at timestamp without time zone NOT NULL,
+ updated_at timestamp without time zone NOT NULL
);
@@ -2366,7 +2361,7 @@ ALTER SEQUENCE mod_actions_id_seq OWNED BY mod_actions.id;
--
--- Name: news_updates; Type: TABLE; Schema: public; Owner: -
+-- Name: news_updates; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE news_updates (
@@ -2374,8 +2369,8 @@ CREATE TABLE news_updates (
message text NOT NULL,
creator_id integer NOT NULL,
updater_id integer NOT NULL,
- created_at timestamp without time zone,
- updated_at timestamp without time zone
+ created_at timestamp without time zone NOT NULL,
+ updated_at timestamp without time zone NOT NULL
);
@@ -2399,7 +2394,7 @@ ALTER SEQUENCE news_updates_id_seq OWNED BY news_updates.id;
--
--- Name: note_versions; Type: TABLE; Schema: public; Owner: -
+-- Name: note_versions; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE note_versions (
@@ -2414,8 +2409,8 @@ CREATE TABLE note_versions (
height integer NOT NULL,
is_active boolean DEFAULT true NOT NULL,
body text NOT NULL,
- created_at timestamp without time zone,
- updated_at timestamp without time zone,
+ created_at timestamp without time zone NOT NULL,
+ updated_at timestamp without time zone NOT NULL,
version integer DEFAULT 0 NOT NULL
);
@@ -2440,7 +2435,7 @@ ALTER SEQUENCE note_versions_id_seq OWNED BY note_versions.id;
--
--- Name: notes; Type: TABLE; Schema: public; Owner: -
+-- Name: notes; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE notes (
@@ -2454,8 +2449,8 @@ CREATE TABLE notes (
is_active boolean DEFAULT true NOT NULL,
body text NOT NULL,
body_index tsvector NOT NULL,
- created_at timestamp without time zone,
- updated_at timestamp without time zone,
+ created_at timestamp without time zone NOT NULL,
+ updated_at timestamp without time zone NOT NULL,
version integer DEFAULT 0 NOT NULL
);
@@ -2480,14 +2475,14 @@ ALTER SEQUENCE notes_id_seq OWNED BY notes.id;
--
--- Name: pixiv_ugoira_frame_data; Type: TABLE; Schema: public; Owner: -
+-- Name: pixiv_ugoira_frame_data; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE pixiv_ugoira_frame_data (
id integer NOT NULL,
post_id integer,
data text NOT NULL,
- content_type character varying NOT NULL
+ content_type character varying(255) NOT NULL
);
@@ -2511,7 +2506,7 @@ ALTER SEQUENCE pixiv_ugoira_frame_data_id_seq OWNED BY pixiv_ugoira_frame_data.i
--
--- Name: pool_versions; Type: TABLE; Schema: public; Owner: -
+-- Name: pool_versions; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE pool_versions (
@@ -2520,9 +2515,9 @@ CREATE TABLE pool_versions (
post_ids text DEFAULT ''::text NOT NULL,
updater_id integer NOT NULL,
updater_ip_addr inet NOT NULL,
- created_at timestamp without time zone,
- updated_at timestamp without time zone,
- name character varying
+ created_at timestamp without time zone NOT NULL,
+ updated_at timestamp without time zone NOT NULL,
+ name character varying(255)
);
@@ -2546,21 +2541,21 @@ ALTER SEQUENCE pool_versions_id_seq OWNED BY pool_versions.id;
--
--- Name: pools; Type: TABLE; Schema: public; Owner: -
+-- Name: pools; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE pools (
id integer NOT NULL,
- name character varying,
+ name character varying(255),
creator_id integer NOT NULL,
description text,
is_active boolean DEFAULT true NOT NULL,
post_ids text DEFAULT ''::text NOT NULL,
post_count integer DEFAULT 0 NOT NULL,
is_deleted boolean DEFAULT false NOT NULL,
- created_at timestamp without time zone,
- updated_at timestamp without time zone,
- category character varying DEFAULT 'series'::character varying NOT NULL
+ created_at timestamp without time zone NOT NULL,
+ updated_at timestamp without time zone NOT NULL,
+ category character varying(255) DEFAULT 'series'::character varying NOT NULL
);
@@ -2584,7 +2579,7 @@ ALTER SEQUENCE pools_id_seq OWNED BY pools.id;
--
--- Name: post_appeals; Type: TABLE; Schema: public; Owner: -
+-- Name: post_appeals; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE post_appeals (
@@ -2593,8 +2588,8 @@ CREATE TABLE post_appeals (
creator_id integer NOT NULL,
creator_ip_addr integer NOT NULL,
reason text,
- created_at timestamp without time zone,
- updated_at timestamp without time zone
+ created_at timestamp without time zone NOT NULL,
+ updated_at timestamp without time zone NOT NULL
);
@@ -2618,7 +2613,7 @@ ALTER SEQUENCE post_appeals_id_seq OWNED BY post_appeals.id;
--
--- Name: post_approvals; Type: TABLE; Schema: public; Owner: -
+-- Name: post_approvals; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE post_approvals (
@@ -2650,16 +2645,16 @@ ALTER SEQUENCE post_approvals_id_seq OWNED BY post_approvals.id;
--
--- Name: post_disapprovals; Type: TABLE; Schema: public; Owner: -
+-- Name: post_disapprovals; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE post_disapprovals (
id integer NOT NULL,
user_id integer NOT NULL,
post_id integer NOT NULL,
- created_at timestamp without time zone,
- updated_at timestamp without time zone,
- reason character varying DEFAULT 'legacy'::character varying,
+ created_at timestamp without time zone NOT NULL,
+ updated_at timestamp without time zone NOT NULL,
+ reason character varying(255) DEFAULT 'legacy'::character varying,
message text
);
@@ -2684,7 +2679,7 @@ ALTER SEQUENCE post_disapprovals_id_seq OWNED BY post_disapprovals.id;
--
--- Name: post_flags; Type: TABLE; Schema: public; Owner: -
+-- Name: post_flags; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE post_flags (
@@ -2694,8 +2689,8 @@ CREATE TABLE post_flags (
creator_ip_addr inet NOT NULL,
reason text,
is_resolved boolean DEFAULT false NOT NULL,
- created_at timestamp without time zone,
- updated_at timestamp without time zone
+ created_at timestamp without time zone NOT NULL,
+ updated_at timestamp without time zone NOT NULL
);
@@ -2719,7 +2714,7 @@ ALTER SEQUENCE post_flags_id_seq OWNED BY post_flags.id;
--
--- Name: post_updates; Type: TABLE; Schema: public; Owner: -
+-- Name: post_updates; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE UNLOGGED TABLE post_updates (
@@ -2728,13 +2723,13 @@ CREATE UNLOGGED TABLE post_updates (
--
--- Name: post_versions; Type: TABLE; Schema: public; Owner: -
+-- Name: post_versions; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE post_versions (
id integer NOT NULL,
- created_at timestamp without time zone,
- updated_at timestamp without time zone,
+ created_at timestamp without time zone NOT NULL,
+ updated_at timestamp without time zone NOT NULL,
post_id integer NOT NULL,
tags text DEFAULT ''::text NOT NULL,
rating character(1),
@@ -2765,7 +2760,7 @@ ALTER SEQUENCE post_versions_id_seq OWNED BY post_versions.id;
--
--- Name: post_votes; Type: TABLE; Schema: public; Owner: -
+-- Name: post_votes; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE post_votes (
@@ -2773,8 +2768,8 @@ CREATE TABLE post_votes (
post_id integer NOT NULL,
user_id integer NOT NULL,
score integer NOT NULL,
- created_at timestamp without time zone,
- updated_at timestamp without time zone
+ created_at timestamp without time zone NOT NULL,
+ updated_at timestamp without time zone NOT NULL
);
@@ -2798,18 +2793,18 @@ ALTER SEQUENCE post_votes_id_seq OWNED BY post_votes.id;
--
--- Name: posts; Type: TABLE; Schema: public; Owner: -
+-- Name: posts; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE posts (
id integer NOT NULL,
- created_at timestamp without time zone,
- updated_at timestamp without time zone,
+ created_at timestamp without time zone NOT NULL,
+ updated_at timestamp without time zone NOT NULL,
up_score integer DEFAULT 0 NOT NULL,
down_score integer DEFAULT 0 NOT NULL,
score integer DEFAULT 0 NOT NULL,
- source character varying,
- md5 character varying NOT NULL,
+ source character varying(255),
+ md5 character varying(255) NOT NULL,
rating character(1) DEFAULT 'q'::bpchar NOT NULL,
is_note_locked boolean DEFAULT false NOT NULL,
is_rating_locked boolean DEFAULT false NOT NULL,
@@ -2832,7 +2827,7 @@ CREATE TABLE posts (
tag_count_artist integer DEFAULT 0 NOT NULL,
tag_count_character integer DEFAULT 0 NOT NULL,
tag_count_copyright integer DEFAULT 0 NOT NULL,
- file_ext character varying NOT NULL,
+ file_ext character varying(255) NOT NULL,
file_size integer NOT NULL,
image_width integer NOT NULL,
image_height integer NOT NULL,
@@ -2866,7 +2861,7 @@ ALTER SEQUENCE posts_id_seq OWNED BY posts.id;
--
--- Name: saved_searches; Type: TABLE; Schema: public; Owner: -
+-- Name: saved_searches; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE saved_searches (
@@ -2874,7 +2869,7 @@ CREATE TABLE saved_searches (
user_id integer,
tag_query text,
name text,
- category character varying,
+ category character varying(255),
created_at timestamp without time zone,
updated_at timestamp without time zone
);
@@ -2900,16 +2895,16 @@ ALTER SEQUENCE saved_searches_id_seq OWNED BY saved_searches.id;
--
--- Name: schema_migrations; Type: TABLE; Schema: public; Owner: -
+-- Name: schema_migrations; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE schema_migrations (
- version character varying NOT NULL
+ version character varying(255) NOT NULL
);
--
--- Name: super_voters; Type: TABLE; Schema: public; Owner: -
+-- Name: super_voters; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE super_voters (
@@ -2940,19 +2935,19 @@ ALTER SEQUENCE super_voters_id_seq OWNED BY super_voters.id;
--
--- Name: tag_aliases; Type: TABLE; Schema: public; Owner: -
+-- Name: tag_aliases; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE tag_aliases (
id integer NOT NULL,
- antecedent_name character varying NOT NULL,
- consequent_name character varying NOT NULL,
+ antecedent_name character varying(255) NOT NULL,
+ consequent_name character varying(255) NOT NULL,
creator_id integer NOT NULL,
creator_ip_addr inet NOT NULL,
forum_topic_id integer,
status text DEFAULT 'pending'::text NOT NULL,
- created_at timestamp without time zone,
- updated_at timestamp without time zone,
+ created_at timestamp without time zone NOT NULL,
+ updated_at timestamp without time zone NOT NULL,
post_count integer DEFAULT 0 NOT NULL,
approver_id integer
);
@@ -2978,20 +2973,20 @@ ALTER SEQUENCE tag_aliases_id_seq OWNED BY tag_aliases.id;
--
--- Name: tag_implications; Type: TABLE; Schema: public; Owner: -
+-- Name: tag_implications; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE tag_implications (
id integer NOT NULL,
- antecedent_name character varying NOT NULL,
- consequent_name character varying NOT NULL,
+ antecedent_name character varying(255) NOT NULL,
+ consequent_name character varying(255) NOT NULL,
descendant_names text NOT NULL,
creator_id integer NOT NULL,
creator_ip_addr inet NOT NULL,
forum_topic_id integer,
status text DEFAULT 'pending'::text NOT NULL,
- created_at timestamp without time zone,
- updated_at timestamp without time zone,
+ created_at timestamp without time zone NOT NULL,
+ updated_at timestamp without time zone NOT NULL,
approver_id integer
);
@@ -3016,20 +3011,20 @@ ALTER SEQUENCE tag_implications_id_seq OWNED BY tag_implications.id;
--
--- Name: tag_subscriptions; Type: TABLE; Schema: public; Owner: -
+-- Name: tag_subscriptions; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE tag_subscriptions (
id integer NOT NULL,
creator_id integer NOT NULL,
- name character varying NOT NULL,
+ name character varying(255) NOT NULL,
tag_query text NOT NULL,
post_ids text NOT NULL,
is_public boolean DEFAULT true NOT NULL,
last_accessed_at timestamp without time zone,
is_opted_in boolean DEFAULT false NOT NULL,
- created_at timestamp without time zone,
- updated_at timestamp without time zone
+ created_at timestamp without time zone NOT NULL,
+ updated_at timestamp without time zone NOT NULL
);
@@ -3053,18 +3048,18 @@ ALTER SEQUENCE tag_subscriptions_id_seq OWNED BY tag_subscriptions.id;
--
--- Name: tags; Type: TABLE; Schema: public; Owner: -
+-- Name: tags; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE tags (
id integer NOT NULL,
- name character varying NOT NULL,
+ name character varying(255) NOT NULL,
post_count integer DEFAULT 0 NOT NULL,
category integer DEFAULT 0 NOT NULL,
related_tags text,
related_tags_updated_at timestamp without time zone,
- created_at timestamp without time zone,
- updated_at timestamp without time zone,
+ created_at timestamp without time zone NOT NULL,
+ updated_at timestamp without time zone NOT NULL,
is_locked boolean DEFAULT false NOT NULL
);
@@ -3089,14 +3084,14 @@ ALTER SEQUENCE tags_id_seq OWNED BY tags.id;
--
--- Name: uploads; Type: TABLE; Schema: public; Owner: -
+-- Name: uploads; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE uploads (
id integer NOT NULL,
source text,
- file_path character varying,
- content_type character varying,
+ file_path character varying(255),
+ content_type character varying(255),
rating character(1) NOT NULL,
uploader_id integer NOT NULL,
uploader_ip_addr inet NOT NULL,
@@ -3104,9 +3099,9 @@ CREATE TABLE uploads (
status text DEFAULT 'pending'::text NOT NULL,
backtrace text,
post_id integer,
- md5_confirmation character varying,
- created_at timestamp without time zone,
- updated_at timestamp without time zone,
+ md5_confirmation character varying(255),
+ created_at timestamp without time zone NOT NULL,
+ updated_at timestamp without time zone NOT NULL,
server text,
parent_id integer
);
@@ -3132,17 +3127,17 @@ ALTER SEQUENCE uploads_id_seq OWNED BY uploads.id;
--
--- Name: user_feedback; Type: TABLE; Schema: public; Owner: -
+-- Name: user_feedback; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE user_feedback (
id integer NOT NULL,
user_id integer NOT NULL,
creator_id integer NOT NULL,
- category character varying NOT NULL,
+ category character varying(255) NOT NULL,
body text NOT NULL,
- created_at timestamp without time zone,
- updated_at timestamp without time zone
+ created_at timestamp without time zone NOT NULL,
+ updated_at timestamp without time zone NOT NULL
);
@@ -3166,20 +3161,20 @@ ALTER SEQUENCE user_feedback_id_seq OWNED BY user_feedback.id;
--
--- Name: user_name_change_requests; Type: TABLE; Schema: public; Owner: -
+-- Name: user_name_change_requests; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE user_name_change_requests (
id integer NOT NULL,
- status character varying DEFAULT 'pending'::character varying NOT NULL,
+ status character varying(255) DEFAULT 'pending'::character varying NOT NULL,
user_id integer NOT NULL,
approver_id integer,
- original_name character varying,
- desired_name character varying,
+ original_name character varying(255),
+ desired_name character varying(255),
change_reason text,
rejection_reason text,
- created_at timestamp without time zone,
- updated_at timestamp without time zone
+ created_at timestamp without time zone NOT NULL,
+ updated_at timestamp without time zone NOT NULL
);
@@ -3203,15 +3198,15 @@ ALTER SEQUENCE user_name_change_requests_id_seq OWNED BY user_name_change_reques
--
--- Name: user_password_reset_nonces; Type: TABLE; Schema: public; Owner: -
+-- Name: user_password_reset_nonces; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE user_password_reset_nonces (
id integer NOT NULL,
- key character varying NOT NULL,
- email character varying NOT NULL,
- created_at timestamp without time zone,
- updated_at timestamp without time zone
+ key character varying(255) NOT NULL,
+ email character varying(255) NOT NULL,
+ created_at timestamp without time zone NOT NULL,
+ updated_at timestamp without time zone NOT NULL
);
@@ -3235,17 +3230,17 @@ ALTER SEQUENCE user_password_reset_nonces_id_seq OWNED BY user_password_reset_no
--
--- Name: users; Type: TABLE; Schema: public; Owner: -
+-- Name: users; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE users (
id integer NOT NULL,
- created_at timestamp without time zone,
- updated_at timestamp without time zone,
- name character varying NOT NULL,
- password_hash character varying NOT NULL,
- email character varying,
- email_verification_key character varying,
+ created_at timestamp without time zone NOT NULL,
+ updated_at timestamp without time zone NOT NULL,
+ name character varying(255) NOT NULL,
+ password_hash character varying(255) NOT NULL,
+ email character varying(255),
+ email_verification_key character varying(255),
inviter_id integer,
level integer DEFAULT 0 NOT NULL,
base_upload_limit integer DEFAULT 10 NOT NULL,
@@ -3256,14 +3251,14 @@ CREATE TABLE users (
post_update_count integer DEFAULT 0 NOT NULL,
note_update_count integer DEFAULT 0 NOT NULL,
favorite_count integer DEFAULT 0 NOT NULL,
- comment_threshold integer DEFAULT '-1'::integer NOT NULL,
- default_image_size character varying DEFAULT 'large'::character varying NOT NULL,
+ comment_threshold integer DEFAULT (-1) NOT NULL,
+ default_image_size character varying(255) DEFAULT 'large'::character varying NOT NULL,
favorite_tags text,
blacklisted_tags text DEFAULT 'spoilers
guro
scat
furry -rating:s'::text,
- time_zone character varying DEFAULT 'Eastern Time (US & Canada)'::character varying NOT NULL,
+ time_zone character varying(255) DEFAULT 'Eastern Time (US & Canada)'::character varying NOT NULL,
bcrypt_password_hash text,
per_page integer DEFAULT 20 NOT NULL,
custom_style text,
@@ -3292,7 +3287,7 @@ ALTER SEQUENCE users_id_seq OWNED BY users.id;
--
--- Name: wiki_page_versions; Type: TABLE; Schema: public; Owner: -
+-- Name: wiki_page_versions; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE wiki_page_versions (
@@ -3300,11 +3295,11 @@ CREATE TABLE wiki_page_versions (
wiki_page_id integer NOT NULL,
updater_id integer NOT NULL,
updater_ip_addr inet NOT NULL,
- title character varying NOT NULL,
+ title character varying(255) NOT NULL,
body text NOT NULL,
is_locked boolean NOT NULL,
- created_at timestamp without time zone,
- updated_at timestamp without time zone,
+ created_at timestamp without time zone NOT NULL,
+ updated_at timestamp without time zone NOT NULL,
other_names text,
is_deleted boolean DEFAULT false NOT NULL
);
@@ -3330,18 +3325,18 @@ ALTER SEQUENCE wiki_page_versions_id_seq OWNED BY wiki_page_versions.id;
--
--- Name: wiki_pages; Type: TABLE; Schema: public; Owner: -
+-- Name: wiki_pages; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE wiki_pages (
id integer NOT NULL,
creator_id integer NOT NULL,
- title character varying NOT NULL,
+ title character varying(255) NOT NULL,
body text NOT NULL,
body_index tsvector NOT NULL,
is_locked boolean DEFAULT false NOT NULL,
- created_at timestamp without time zone,
- updated_at timestamp without time zone,
+ created_at timestamp without time zone NOT NULL,
+ updated_at timestamp without time zone NOT NULL,
updater_id integer,
other_names text,
other_names_index tsvector,
@@ -4440,7 +4435,7 @@ ALTER TABLE ONLY wiki_pages ALTER COLUMN id SET DEFAULT nextval('wiki_pages_id_s
--
--- Name: advertisement_hits_pkey; Type: CONSTRAINT; Schema: public; Owner: -
+-- Name: advertisement_hits_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
--
ALTER TABLE ONLY advertisement_hits
@@ -4448,7 +4443,7 @@ ALTER TABLE ONLY advertisement_hits
--
--- Name: advertisements_pkey; Type: CONSTRAINT; Schema: public; Owner: -
+-- Name: advertisements_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
--
ALTER TABLE ONLY advertisements
@@ -4456,7 +4451,7 @@ ALTER TABLE ONLY advertisements
--
--- Name: amazon_backups_pkey; Type: CONSTRAINT; Schema: public; Owner: -
+-- Name: amazon_backups_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
--
ALTER TABLE ONLY amazon_backups
@@ -4464,7 +4459,7 @@ ALTER TABLE ONLY amazon_backups
--
--- Name: anti_voters_pkey; Type: CONSTRAINT; Schema: public; Owner: -
+-- Name: anti_voters_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
--
ALTER TABLE ONLY anti_voters
@@ -4472,7 +4467,7 @@ ALTER TABLE ONLY anti_voters
--
--- Name: api_keys_pkey; Type: CONSTRAINT; Schema: public; Owner: -
+-- Name: api_keys_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
--
ALTER TABLE ONLY api_keys
@@ -4480,7 +4475,7 @@ ALTER TABLE ONLY api_keys
--
--- Name: artist_commentaries_pkey; Type: CONSTRAINT; Schema: public; Owner: -
+-- Name: artist_commentaries_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
--
ALTER TABLE ONLY artist_commentaries
@@ -4488,7 +4483,7 @@ ALTER TABLE ONLY artist_commentaries
--
--- Name: artist_commentary_versions_pkey; Type: CONSTRAINT; Schema: public; Owner: -
+-- Name: artist_commentary_versions_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
--
ALTER TABLE ONLY artist_commentary_versions
@@ -4496,7 +4491,7 @@ ALTER TABLE ONLY artist_commentary_versions
--
--- Name: artist_urls_pkey; Type: CONSTRAINT; Schema: public; Owner: -
+-- Name: artist_urls_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
--
ALTER TABLE ONLY artist_urls
@@ -4504,7 +4499,7 @@ ALTER TABLE ONLY artist_urls
--
--- Name: artist_versions_pkey; Type: CONSTRAINT; Schema: public; Owner: -
+-- Name: artist_versions_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
--
ALTER TABLE ONLY artist_versions
@@ -4512,7 +4507,7 @@ ALTER TABLE ONLY artist_versions
--
--- Name: artists_pkey; Type: CONSTRAINT; Schema: public; Owner: -
+-- Name: artists_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
--
ALTER TABLE ONLY artists
@@ -4520,7 +4515,7 @@ ALTER TABLE ONLY artists
--
--- Name: bans_pkey; Type: CONSTRAINT; Schema: public; Owner: -
+-- Name: bans_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
--
ALTER TABLE ONLY bans
@@ -4528,7 +4523,7 @@ ALTER TABLE ONLY bans
--
--- Name: bulk_update_requests_pkey; Type: CONSTRAINT; Schema: public; Owner: -
+-- Name: bulk_update_requests_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
--
ALTER TABLE ONLY bulk_update_requests
@@ -4536,7 +4531,7 @@ ALTER TABLE ONLY bulk_update_requests
--
--- Name: comment_votes_pkey; Type: CONSTRAINT; Schema: public; Owner: -
+-- Name: comment_votes_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
--
ALTER TABLE ONLY comment_votes
@@ -4544,7 +4539,7 @@ ALTER TABLE ONLY comment_votes
--
--- Name: comments_pkey; Type: CONSTRAINT; Schema: public; Owner: -
+-- Name: comments_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
--
ALTER TABLE ONLY comments
@@ -4552,7 +4547,7 @@ ALTER TABLE ONLY comments
--
--- Name: delayed_jobs_pkey; Type: CONSTRAINT; Schema: public; Owner: -
+-- Name: delayed_jobs_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
--
ALTER TABLE ONLY delayed_jobs
@@ -4560,7 +4555,7 @@ ALTER TABLE ONLY delayed_jobs
--
--- Name: dmail_filters_pkey; Type: CONSTRAINT; Schema: public; Owner: -
+-- Name: dmail_filters_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
--
ALTER TABLE ONLY dmail_filters
@@ -4568,7 +4563,7 @@ ALTER TABLE ONLY dmail_filters
--
--- Name: dmails_pkey; Type: CONSTRAINT; Schema: public; Owner: -
+-- Name: dmails_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
--
ALTER TABLE ONLY dmails
@@ -4576,7 +4571,7 @@ ALTER TABLE ONLY dmails
--
--- Name: favorite_groups_pkey; Type: CONSTRAINT; Schema: public; Owner: -
+-- Name: favorite_groups_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
--
ALTER TABLE ONLY favorite_groups
@@ -4584,7 +4579,7 @@ ALTER TABLE ONLY favorite_groups
--
--- Name: favorites_pkey; Type: CONSTRAINT; Schema: public; Owner: -
+-- Name: favorites_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
--
ALTER TABLE ONLY favorites
@@ -4592,7 +4587,7 @@ ALTER TABLE ONLY favorites
--
--- Name: forum_posts_pkey; Type: CONSTRAINT; Schema: public; Owner: -
+-- Name: forum_posts_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
--
ALTER TABLE ONLY forum_posts
@@ -4600,7 +4595,7 @@ ALTER TABLE ONLY forum_posts
--
--- Name: forum_subscriptions_pkey; Type: CONSTRAINT; Schema: public; Owner: -
+-- Name: forum_subscriptions_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
--
ALTER TABLE ONLY forum_subscriptions
@@ -4608,7 +4603,7 @@ ALTER TABLE ONLY forum_subscriptions
--
--- Name: forum_topic_visits_pkey; Type: CONSTRAINT; Schema: public; Owner: -
+-- Name: forum_topic_visits_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
--
ALTER TABLE ONLY forum_topic_visits
@@ -4616,7 +4611,7 @@ ALTER TABLE ONLY forum_topic_visits
--
--- Name: forum_topics_pkey; Type: CONSTRAINT; Schema: public; Owner: -
+-- Name: forum_topics_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
--
ALTER TABLE ONLY forum_topics
@@ -4624,7 +4619,7 @@ ALTER TABLE ONLY forum_topics
--
--- Name: ip_bans_pkey; Type: CONSTRAINT; Schema: public; Owner: -
+-- Name: ip_bans_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
--
ALTER TABLE ONLY ip_bans
@@ -4632,7 +4627,7 @@ ALTER TABLE ONLY ip_bans
--
--- Name: janitor_trials_pkey; Type: CONSTRAINT; Schema: public; Owner: -
+-- Name: janitor_trials_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
--
ALTER TABLE ONLY janitor_trials
@@ -4640,7 +4635,7 @@ ALTER TABLE ONLY janitor_trials
--
--- Name: key_values_pkey; Type: CONSTRAINT; Schema: public; Owner: -
+-- Name: key_values_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
--
ALTER TABLE ONLY key_values
@@ -4648,7 +4643,7 @@ ALTER TABLE ONLY key_values
--
--- Name: mod_actions_pkey; Type: CONSTRAINT; Schema: public; Owner: -
+-- Name: mod_actions_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
--
ALTER TABLE ONLY mod_actions
@@ -4656,7 +4651,7 @@ ALTER TABLE ONLY mod_actions
--
--- Name: news_updates_pkey; Type: CONSTRAINT; Schema: public; Owner: -
+-- Name: news_updates_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
--
ALTER TABLE ONLY news_updates
@@ -4664,7 +4659,7 @@ ALTER TABLE ONLY news_updates
--
--- Name: note_versions_pkey; Type: CONSTRAINT; Schema: public; Owner: -
+-- Name: note_versions_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
--
ALTER TABLE ONLY note_versions
@@ -4672,7 +4667,7 @@ ALTER TABLE ONLY note_versions
--
--- Name: notes_pkey; Type: CONSTRAINT; Schema: public; Owner: -
+-- Name: notes_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
--
ALTER TABLE ONLY notes
@@ -4680,7 +4675,7 @@ ALTER TABLE ONLY notes
--
--- Name: pixiv_ugoira_frame_data_pkey; Type: CONSTRAINT; Schema: public; Owner: -
+-- Name: pixiv_ugoira_frame_data_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
--
ALTER TABLE ONLY pixiv_ugoira_frame_data
@@ -4688,7 +4683,7 @@ ALTER TABLE ONLY pixiv_ugoira_frame_data
--
--- Name: pool_versions_pkey; Type: CONSTRAINT; Schema: public; Owner: -
+-- Name: pool_versions_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
--
ALTER TABLE ONLY pool_versions
@@ -4696,7 +4691,7 @@ ALTER TABLE ONLY pool_versions
--
--- Name: pools_pkey; Type: CONSTRAINT; Schema: public; Owner: -
+-- Name: pools_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
--
ALTER TABLE ONLY pools
@@ -4704,7 +4699,7 @@ ALTER TABLE ONLY pools
--
--- Name: post_appeals_pkey; Type: CONSTRAINT; Schema: public; Owner: -
+-- Name: post_appeals_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
--
ALTER TABLE ONLY post_appeals
@@ -4712,7 +4707,7 @@ ALTER TABLE ONLY post_appeals
--
--- Name: post_approvals_pkey; Type: CONSTRAINT; Schema: public; Owner: -
+-- Name: post_approvals_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
--
ALTER TABLE ONLY post_approvals
@@ -4720,7 +4715,7 @@ ALTER TABLE ONLY post_approvals
--
--- Name: post_disapprovals_pkey; Type: CONSTRAINT; Schema: public; Owner: -
+-- Name: post_disapprovals_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
--
ALTER TABLE ONLY post_disapprovals
@@ -4728,7 +4723,7 @@ ALTER TABLE ONLY post_disapprovals
--
--- Name: post_flags_pkey; Type: CONSTRAINT; Schema: public; Owner: -
+-- Name: post_flags_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
--
ALTER TABLE ONLY post_flags
@@ -4736,7 +4731,7 @@ ALTER TABLE ONLY post_flags
--
--- Name: post_versions_pkey; Type: CONSTRAINT; Schema: public; Owner: -
+-- Name: post_versions_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
--
ALTER TABLE ONLY post_versions
@@ -4744,7 +4739,7 @@ ALTER TABLE ONLY post_versions
--
--- Name: post_votes_pkey; Type: CONSTRAINT; Schema: public; Owner: -
+-- Name: post_votes_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
--
ALTER TABLE ONLY post_votes
@@ -4752,7 +4747,7 @@ ALTER TABLE ONLY post_votes
--
--- Name: posts_pkey; Type: CONSTRAINT; Schema: public; Owner: -
+-- Name: posts_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
--
ALTER TABLE ONLY posts
@@ -4760,7 +4755,7 @@ ALTER TABLE ONLY posts
--
--- Name: saved_searches_pkey; Type: CONSTRAINT; Schema: public; Owner: -
+-- Name: saved_searches_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
--
ALTER TABLE ONLY saved_searches
@@ -4768,7 +4763,7 @@ ALTER TABLE ONLY saved_searches
--
--- Name: super_voters_pkey; Type: CONSTRAINT; Schema: public; Owner: -
+-- Name: super_voters_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
--
ALTER TABLE ONLY super_voters
@@ -4776,7 +4771,7 @@ ALTER TABLE ONLY super_voters
--
--- Name: tag_aliases_pkey; Type: CONSTRAINT; Schema: public; Owner: -
+-- Name: tag_aliases_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
--
ALTER TABLE ONLY tag_aliases
@@ -4784,7 +4779,7 @@ ALTER TABLE ONLY tag_aliases
--
--- Name: tag_implications_pkey; Type: CONSTRAINT; Schema: public; Owner: -
+-- Name: tag_implications_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
--
ALTER TABLE ONLY tag_implications
@@ -4792,7 +4787,7 @@ ALTER TABLE ONLY tag_implications
--
--- Name: tag_subscriptions_pkey; Type: CONSTRAINT; Schema: public; Owner: -
+-- Name: tag_subscriptions_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
--
ALTER TABLE ONLY tag_subscriptions
@@ -4800,7 +4795,7 @@ ALTER TABLE ONLY tag_subscriptions
--
--- Name: tags_pkey; Type: CONSTRAINT; Schema: public; Owner: -
+-- Name: tags_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
--
ALTER TABLE ONLY tags
@@ -4808,7 +4803,7 @@ ALTER TABLE ONLY tags
--
--- Name: uploads_pkey; Type: CONSTRAINT; Schema: public; Owner: -
+-- Name: uploads_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
--
ALTER TABLE ONLY uploads
@@ -4816,7 +4811,7 @@ ALTER TABLE ONLY uploads
--
--- Name: user_feedback_pkey; Type: CONSTRAINT; Schema: public; Owner: -
+-- Name: user_feedback_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
--
ALTER TABLE ONLY user_feedback
@@ -4824,7 +4819,7 @@ ALTER TABLE ONLY user_feedback
--
--- Name: user_name_change_requests_pkey; Type: CONSTRAINT; Schema: public; Owner: -
+-- Name: user_name_change_requests_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
--
ALTER TABLE ONLY user_name_change_requests
@@ -4832,7 +4827,7 @@ ALTER TABLE ONLY user_name_change_requests
--
--- Name: user_password_reset_nonces_pkey; Type: CONSTRAINT; Schema: public; Owner: -
+-- Name: user_password_reset_nonces_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
--
ALTER TABLE ONLY user_password_reset_nonces
@@ -4840,7 +4835,7 @@ ALTER TABLE ONLY user_password_reset_nonces
--
--- Name: users_pkey; Type: CONSTRAINT; Schema: public; Owner: -
+-- Name: users_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
--
ALTER TABLE ONLY users
@@ -4848,7 +4843,7 @@ ALTER TABLE ONLY users
--
--- Name: wiki_page_versions_pkey; Type: CONSTRAINT; Schema: public; Owner: -
+-- Name: wiki_page_versions_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
--
ALTER TABLE ONLY wiki_page_versions
@@ -4856,7 +4851,7 @@ ALTER TABLE ONLY wiki_page_versions
--
--- Name: wiki_pages_pkey; Type: CONSTRAINT; Schema: public; Owner: -
+-- Name: wiki_pages_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
--
ALTER TABLE ONLY wiki_pages
@@ -4864,2289 +4859,2289 @@ ALTER TABLE ONLY wiki_pages
--
--- Name: index_advertisement_hits_on_advertisement_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_advertisement_hits_on_advertisement_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_advertisement_hits_on_advertisement_id ON advertisement_hits USING btree (advertisement_id);
--
--- Name: index_advertisement_hits_on_created_at; Type: INDEX; Schema: public; Owner: -
+-- Name: index_advertisement_hits_on_created_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_advertisement_hits_on_created_at ON advertisement_hits USING btree (created_at);
--
--- Name: index_advertisements_on_ad_type; Type: INDEX; Schema: public; Owner: -
+-- Name: index_advertisements_on_ad_type; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_advertisements_on_ad_type ON advertisements USING btree (ad_type);
--
--- Name: index_api_keys_on_key; Type: INDEX; Schema: public; Owner: -
+-- Name: index_api_keys_on_key; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE UNIQUE INDEX index_api_keys_on_key ON api_keys USING btree (key);
--
--- Name: index_api_keys_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_api_keys_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE UNIQUE INDEX index_api_keys_on_user_id ON api_keys USING btree (user_id);
--
--- Name: index_artist_commentaries_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_artist_commentaries_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE UNIQUE INDEX index_artist_commentaries_on_post_id ON artist_commentaries USING btree (post_id);
--
--- Name: index_artist_commentary_versions_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_artist_commentary_versions_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_artist_commentary_versions_on_post_id ON artist_commentary_versions USING btree (post_id);
--
--- Name: index_artist_commentary_versions_on_updater_id_and_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_artist_commentary_versions_on_updater_id_and_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_artist_commentary_versions_on_updater_id_and_post_id ON artist_commentary_versions USING btree (updater_id, post_id);
--
--- Name: index_artist_urls_on_artist_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_artist_urls_on_artist_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_artist_urls_on_artist_id ON artist_urls USING btree (artist_id);
--
--- Name: index_artist_urls_on_normalized_url; Type: INDEX; Schema: public; Owner: -
+-- Name: index_artist_urls_on_normalized_url; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_artist_urls_on_normalized_url ON artist_urls USING btree (normalized_url);
--
--- Name: index_artist_urls_on_normalized_url_pattern; Type: INDEX; Schema: public; Owner: -
+-- Name: index_artist_urls_on_normalized_url_pattern; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_artist_urls_on_normalized_url_pattern ON artist_urls USING btree (normalized_url text_pattern_ops);
--
--- Name: index_artist_urls_on_url; Type: INDEX; Schema: public; Owner: -
+-- Name: index_artist_urls_on_url; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_artist_urls_on_url ON artist_urls USING btree (url);
--
--- Name: index_artist_urls_on_url_pattern; Type: INDEX; Schema: public; Owner: -
+-- Name: index_artist_urls_on_url_pattern; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_artist_urls_on_url_pattern ON artist_urls USING btree (url text_pattern_ops);
--
--- Name: index_artist_versions_on_artist_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_artist_versions_on_artist_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_artist_versions_on_artist_id ON artist_versions USING btree (artist_id);
--
--- Name: index_artist_versions_on_name; Type: INDEX; Schema: public; Owner: -
+-- Name: index_artist_versions_on_name; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_artist_versions_on_name ON artist_versions USING btree (name);
--
--- Name: index_artist_versions_on_updater_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_artist_versions_on_updater_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_artist_versions_on_updater_id ON artist_versions USING btree (updater_id);
--
--- Name: index_artists_on_group_name; Type: INDEX; Schema: public; Owner: -
+-- Name: index_artists_on_group_name; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_artists_on_group_name ON artists USING btree (group_name);
--
--- Name: index_artists_on_group_name_trgm; Type: INDEX; Schema: public; Owner: -
+-- Name: index_artists_on_group_name_trgm; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_artists_on_group_name_trgm ON artists USING gin (group_name gin_trgm_ops);
--
--- Name: index_artists_on_name; Type: INDEX; Schema: public; Owner: -
+-- Name: index_artists_on_name; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE UNIQUE INDEX index_artists_on_name ON artists USING btree (name);
--
--- Name: index_artists_on_name_trgm; Type: INDEX; Schema: public; Owner: -
+-- Name: index_artists_on_name_trgm; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_artists_on_name_trgm ON artists USING gin (name gin_trgm_ops);
--
--- Name: index_artists_on_other_names_index; Type: INDEX; Schema: public; Owner: -
+-- Name: index_artists_on_other_names_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_artists_on_other_names_index ON artists USING gin (other_names_index);
--
--- Name: index_artists_on_other_names_trgm; Type: INDEX; Schema: public; Owner: -
+-- Name: index_artists_on_other_names_trgm; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_artists_on_other_names_trgm ON artists USING gin (other_names gin_trgm_ops);
--
--- Name: index_bans_on_banner_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_bans_on_banner_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_bans_on_banner_id ON bans USING btree (banner_id);
--
--- Name: index_bans_on_expires_at; Type: INDEX; Schema: public; Owner: -
+-- Name: index_bans_on_expires_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_bans_on_expires_at ON bans USING btree (expires_at);
--
--- Name: index_bans_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_bans_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_bans_on_user_id ON bans USING btree (user_id);
--
--- Name: index_comment_votes_on_comment_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_comment_votes_on_comment_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_comment_votes_on_comment_id ON comment_votes USING btree (comment_id);
--
--- Name: index_comment_votes_on_created_at; Type: INDEX; Schema: public; Owner: -
+-- Name: index_comment_votes_on_created_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_comment_votes_on_created_at ON comment_votes USING btree (created_at);
--
--- Name: index_comment_votes_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_comment_votes_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_comment_votes_on_user_id ON comment_votes USING btree (user_id);
--
--- Name: index_comments_on_body_index; Type: INDEX; Schema: public; Owner: -
+-- Name: index_comments_on_body_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_comments_on_body_index ON comments USING gin (body_index);
--
--- Name: index_comments_on_creator_id_and_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_comments_on_creator_id_and_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_comments_on_creator_id_and_post_id ON comments USING btree (creator_id, post_id);
--
--- Name: index_comments_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_comments_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_comments_on_post_id ON comments USING btree (post_id);
--
--- Name: index_delayed_jobs_on_run_at; Type: INDEX; Schema: public; Owner: -
+-- Name: index_delayed_jobs_on_run_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_delayed_jobs_on_run_at ON delayed_jobs USING btree (run_at);
--
--- Name: index_dmail_filters_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_dmail_filters_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE UNIQUE INDEX index_dmail_filters_on_user_id ON dmail_filters USING btree (user_id);
--
--- Name: index_dmails_on_creator_ip_addr; Type: INDEX; Schema: public; Owner: -
+-- Name: index_dmails_on_creator_ip_addr; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_dmails_on_creator_ip_addr ON dmails USING btree (creator_ip_addr);
--
--- Name: index_dmails_on_message_index; Type: INDEX; Schema: public; Owner: -
+-- Name: index_dmails_on_message_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_dmails_on_message_index ON dmails USING gin (message_index);
--
--- Name: index_dmails_on_owner_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_dmails_on_owner_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_dmails_on_owner_id ON dmails USING btree (owner_id);
--
--- Name: index_favorite_groups_on_creator_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorite_groups_on_creator_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorite_groups_on_creator_id ON favorite_groups USING btree (creator_id);
--
--- Name: index_favorite_groups_on_lower_name; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorite_groups_on_lower_name; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorite_groups_on_lower_name ON favorite_groups USING btree (lower(name));
--
--- Name: index_favorites_0_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_0_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_0_on_post_id ON favorites_0 USING btree (post_id);
--
--- Name: index_favorites_0_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_0_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_0_on_user_id ON favorites_0 USING btree (user_id);
--
--- Name: index_favorites_10_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_10_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_10_on_post_id ON favorites_10 USING btree (post_id);
--
--- Name: index_favorites_10_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_10_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_10_on_user_id ON favorites_10 USING btree (user_id);
--
--- Name: index_favorites_11_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_11_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_11_on_post_id ON favorites_11 USING btree (post_id);
--
--- Name: index_favorites_11_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_11_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_11_on_user_id ON favorites_11 USING btree (user_id);
--
--- Name: index_favorites_12_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_12_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_12_on_post_id ON favorites_12 USING btree (post_id);
--
--- Name: index_favorites_12_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_12_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_12_on_user_id ON favorites_12 USING btree (user_id);
--
--- Name: index_favorites_13_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_13_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_13_on_post_id ON favorites_13 USING btree (post_id);
--
--- Name: index_favorites_13_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_13_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_13_on_user_id ON favorites_13 USING btree (user_id);
--
--- Name: index_favorites_14_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_14_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_14_on_post_id ON favorites_14 USING btree (post_id);
--
--- Name: index_favorites_14_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_14_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_14_on_user_id ON favorites_14 USING btree (user_id);
--
--- Name: index_favorites_15_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_15_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_15_on_post_id ON favorites_15 USING btree (post_id);
--
--- Name: index_favorites_15_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_15_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_15_on_user_id ON favorites_15 USING btree (user_id);
--
--- Name: index_favorites_16_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_16_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_16_on_post_id ON favorites_16 USING btree (post_id);
--
--- Name: index_favorites_16_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_16_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_16_on_user_id ON favorites_16 USING btree (user_id);
--
--- Name: index_favorites_17_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_17_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_17_on_post_id ON favorites_17 USING btree (post_id);
--
--- Name: index_favorites_17_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_17_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_17_on_user_id ON favorites_17 USING btree (user_id);
--
--- Name: index_favorites_18_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_18_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_18_on_post_id ON favorites_18 USING btree (post_id);
--
--- Name: index_favorites_18_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_18_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_18_on_user_id ON favorites_18 USING btree (user_id);
--
--- Name: index_favorites_19_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_19_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_19_on_post_id ON favorites_19 USING btree (post_id);
--
--- Name: index_favorites_19_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_19_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_19_on_user_id ON favorites_19 USING btree (user_id);
--
--- Name: index_favorites_1_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_1_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_1_on_post_id ON favorites_1 USING btree (post_id);
--
--- Name: index_favorites_1_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_1_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_1_on_user_id ON favorites_1 USING btree (user_id);
--
--- Name: index_favorites_20_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_20_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_20_on_post_id ON favorites_20 USING btree (post_id);
--
--- Name: index_favorites_20_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_20_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_20_on_user_id ON favorites_20 USING btree (user_id);
--
--- Name: index_favorites_21_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_21_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_21_on_post_id ON favorites_21 USING btree (post_id);
--
--- Name: index_favorites_21_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_21_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_21_on_user_id ON favorites_21 USING btree (user_id);
--
--- Name: index_favorites_22_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_22_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_22_on_post_id ON favorites_22 USING btree (post_id);
--
--- Name: index_favorites_22_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_22_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_22_on_user_id ON favorites_22 USING btree (user_id);
--
--- Name: index_favorites_23_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_23_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_23_on_post_id ON favorites_23 USING btree (post_id);
--
--- Name: index_favorites_23_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_23_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_23_on_user_id ON favorites_23 USING btree (user_id);
--
--- Name: index_favorites_24_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_24_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_24_on_post_id ON favorites_24 USING btree (post_id);
--
--- Name: index_favorites_24_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_24_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_24_on_user_id ON favorites_24 USING btree (user_id);
--
--- Name: index_favorites_25_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_25_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_25_on_post_id ON favorites_25 USING btree (post_id);
--
--- Name: index_favorites_25_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_25_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_25_on_user_id ON favorites_25 USING btree (user_id);
--
--- Name: index_favorites_26_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_26_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_26_on_post_id ON favorites_26 USING btree (post_id);
--
--- Name: index_favorites_26_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_26_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_26_on_user_id ON favorites_26 USING btree (user_id);
--
--- Name: index_favorites_27_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_27_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_27_on_post_id ON favorites_27 USING btree (post_id);
--
--- Name: index_favorites_27_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_27_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_27_on_user_id ON favorites_27 USING btree (user_id);
--
--- Name: index_favorites_28_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_28_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_28_on_post_id ON favorites_28 USING btree (post_id);
--
--- Name: index_favorites_28_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_28_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_28_on_user_id ON favorites_28 USING btree (user_id);
--
--- Name: index_favorites_29_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_29_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_29_on_post_id ON favorites_29 USING btree (post_id);
--
--- Name: index_favorites_29_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_29_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_29_on_user_id ON favorites_29 USING btree (user_id);
--
--- Name: index_favorites_2_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_2_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_2_on_post_id ON favorites_2 USING btree (post_id);
--
--- Name: index_favorites_2_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_2_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_2_on_user_id ON favorites_2 USING btree (user_id);
--
--- Name: index_favorites_30_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_30_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_30_on_post_id ON favorites_30 USING btree (post_id);
--
--- Name: index_favorites_30_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_30_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_30_on_user_id ON favorites_30 USING btree (user_id);
--
--- Name: index_favorites_31_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_31_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_31_on_post_id ON favorites_31 USING btree (post_id);
--
--- Name: index_favorites_31_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_31_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_31_on_user_id ON favorites_31 USING btree (user_id);
--
--- Name: index_favorites_32_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_32_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_32_on_post_id ON favorites_32 USING btree (post_id);
--
--- Name: index_favorites_32_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_32_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_32_on_user_id ON favorites_32 USING btree (user_id);
--
--- Name: index_favorites_33_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_33_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_33_on_post_id ON favorites_33 USING btree (post_id);
--
--- Name: index_favorites_33_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_33_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_33_on_user_id ON favorites_33 USING btree (user_id);
--
--- Name: index_favorites_34_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_34_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_34_on_post_id ON favorites_34 USING btree (post_id);
--
--- Name: index_favorites_34_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_34_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_34_on_user_id ON favorites_34 USING btree (user_id);
--
--- Name: index_favorites_35_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_35_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_35_on_post_id ON favorites_35 USING btree (post_id);
--
--- Name: index_favorites_35_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_35_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_35_on_user_id ON favorites_35 USING btree (user_id);
--
--- Name: index_favorites_36_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_36_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_36_on_post_id ON favorites_36 USING btree (post_id);
--
--- Name: index_favorites_36_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_36_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_36_on_user_id ON favorites_36 USING btree (user_id);
--
--- Name: index_favorites_37_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_37_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_37_on_post_id ON favorites_37 USING btree (post_id);
--
--- Name: index_favorites_37_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_37_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_37_on_user_id ON favorites_37 USING btree (user_id);
--
--- Name: index_favorites_38_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_38_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_38_on_post_id ON favorites_38 USING btree (post_id);
--
--- Name: index_favorites_38_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_38_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_38_on_user_id ON favorites_38 USING btree (user_id);
--
--- Name: index_favorites_39_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_39_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_39_on_post_id ON favorites_39 USING btree (post_id);
--
--- Name: index_favorites_39_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_39_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_39_on_user_id ON favorites_39 USING btree (user_id);
--
--- Name: index_favorites_3_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_3_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_3_on_post_id ON favorites_3 USING btree (post_id);
--
--- Name: index_favorites_3_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_3_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_3_on_user_id ON favorites_3 USING btree (user_id);
--
--- Name: index_favorites_40_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_40_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_40_on_post_id ON favorites_40 USING btree (post_id);
--
--- Name: index_favorites_40_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_40_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_40_on_user_id ON favorites_40 USING btree (user_id);
--
--- Name: index_favorites_41_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_41_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_41_on_post_id ON favorites_41 USING btree (post_id);
--
--- Name: index_favorites_41_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_41_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_41_on_user_id ON favorites_41 USING btree (user_id);
--
--- Name: index_favorites_42_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_42_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_42_on_post_id ON favorites_42 USING btree (post_id);
--
--- Name: index_favorites_42_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_42_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_42_on_user_id ON favorites_42 USING btree (user_id);
--
--- Name: index_favorites_43_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_43_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_43_on_post_id ON favorites_43 USING btree (post_id);
--
--- Name: index_favorites_43_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_43_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_43_on_user_id ON favorites_43 USING btree (user_id);
--
--- Name: index_favorites_44_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_44_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_44_on_post_id ON favorites_44 USING btree (post_id);
--
--- Name: index_favorites_44_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_44_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_44_on_user_id ON favorites_44 USING btree (user_id);
--
--- Name: index_favorites_45_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_45_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_45_on_post_id ON favorites_45 USING btree (post_id);
--
--- Name: index_favorites_45_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_45_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_45_on_user_id ON favorites_45 USING btree (user_id);
--
--- Name: index_favorites_46_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_46_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_46_on_post_id ON favorites_46 USING btree (post_id);
--
--- Name: index_favorites_46_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_46_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_46_on_user_id ON favorites_46 USING btree (user_id);
--
--- Name: index_favorites_47_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_47_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_47_on_post_id ON favorites_47 USING btree (post_id);
--
--- Name: index_favorites_47_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_47_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_47_on_user_id ON favorites_47 USING btree (user_id);
--
--- Name: index_favorites_48_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_48_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_48_on_post_id ON favorites_48 USING btree (post_id);
--
--- Name: index_favorites_48_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_48_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_48_on_user_id ON favorites_48 USING btree (user_id);
--
--- Name: index_favorites_49_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_49_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_49_on_post_id ON favorites_49 USING btree (post_id);
--
--- Name: index_favorites_49_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_49_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_49_on_user_id ON favorites_49 USING btree (user_id);
--
--- Name: index_favorites_4_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_4_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_4_on_post_id ON favorites_4 USING btree (post_id);
--
--- Name: index_favorites_4_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_4_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_4_on_user_id ON favorites_4 USING btree (user_id);
--
--- Name: index_favorites_50_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_50_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_50_on_post_id ON favorites_50 USING btree (post_id);
--
--- Name: index_favorites_50_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_50_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_50_on_user_id ON favorites_50 USING btree (user_id);
--
--- Name: index_favorites_51_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_51_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_51_on_post_id ON favorites_51 USING btree (post_id);
--
--- Name: index_favorites_51_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_51_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_51_on_user_id ON favorites_51 USING btree (user_id);
--
--- Name: index_favorites_52_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_52_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_52_on_post_id ON favorites_52 USING btree (post_id);
--
--- Name: index_favorites_52_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_52_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_52_on_user_id ON favorites_52 USING btree (user_id);
--
--- Name: index_favorites_53_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_53_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_53_on_post_id ON favorites_53 USING btree (post_id);
--
--- Name: index_favorites_53_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_53_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_53_on_user_id ON favorites_53 USING btree (user_id);
--
--- Name: index_favorites_54_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_54_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_54_on_post_id ON favorites_54 USING btree (post_id);
--
--- Name: index_favorites_54_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_54_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_54_on_user_id ON favorites_54 USING btree (user_id);
--
--- Name: index_favorites_55_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_55_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_55_on_post_id ON favorites_55 USING btree (post_id);
--
--- Name: index_favorites_55_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_55_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_55_on_user_id ON favorites_55 USING btree (user_id);
--
--- Name: index_favorites_56_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_56_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_56_on_post_id ON favorites_56 USING btree (post_id);
--
--- Name: index_favorites_56_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_56_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_56_on_user_id ON favorites_56 USING btree (user_id);
--
--- Name: index_favorites_57_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_57_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_57_on_post_id ON favorites_57 USING btree (post_id);
--
--- Name: index_favorites_57_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_57_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_57_on_user_id ON favorites_57 USING btree (user_id);
--
--- Name: index_favorites_58_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_58_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_58_on_post_id ON favorites_58 USING btree (post_id);
--
--- Name: index_favorites_58_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_58_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_58_on_user_id ON favorites_58 USING btree (user_id);
--
--- Name: index_favorites_59_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_59_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_59_on_post_id ON favorites_59 USING btree (post_id);
--
--- Name: index_favorites_59_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_59_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_59_on_user_id ON favorites_59 USING btree (user_id);
--
--- Name: index_favorites_5_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_5_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_5_on_post_id ON favorites_5 USING btree (post_id);
--
--- Name: index_favorites_5_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_5_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_5_on_user_id ON favorites_5 USING btree (user_id);
--
--- Name: index_favorites_60_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_60_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_60_on_post_id ON favorites_60 USING btree (post_id);
--
--- Name: index_favorites_60_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_60_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_60_on_user_id ON favorites_60 USING btree (user_id);
--
--- Name: index_favorites_61_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_61_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_61_on_post_id ON favorites_61 USING btree (post_id);
--
--- Name: index_favorites_61_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_61_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_61_on_user_id ON favorites_61 USING btree (user_id);
--
--- Name: index_favorites_62_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_62_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_62_on_post_id ON favorites_62 USING btree (post_id);
--
--- Name: index_favorites_62_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_62_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_62_on_user_id ON favorites_62 USING btree (user_id);
--
--- Name: index_favorites_63_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_63_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_63_on_post_id ON favorites_63 USING btree (post_id);
--
--- Name: index_favorites_63_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_63_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_63_on_user_id ON favorites_63 USING btree (user_id);
--
--- Name: index_favorites_64_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_64_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_64_on_post_id ON favorites_64 USING btree (post_id);
--
--- Name: index_favorites_64_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_64_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_64_on_user_id ON favorites_64 USING btree (user_id);
--
--- Name: index_favorites_65_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_65_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_65_on_post_id ON favorites_65 USING btree (post_id);
--
--- Name: index_favorites_65_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_65_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_65_on_user_id ON favorites_65 USING btree (user_id);
--
--- Name: index_favorites_66_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_66_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_66_on_post_id ON favorites_66 USING btree (post_id);
--
--- Name: index_favorites_66_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_66_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_66_on_user_id ON favorites_66 USING btree (user_id);
--
--- Name: index_favorites_67_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_67_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_67_on_post_id ON favorites_67 USING btree (post_id);
--
--- Name: index_favorites_67_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_67_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_67_on_user_id ON favorites_67 USING btree (user_id);
--
--- Name: index_favorites_68_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_68_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_68_on_post_id ON favorites_68 USING btree (post_id);
--
--- Name: index_favorites_68_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_68_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_68_on_user_id ON favorites_68 USING btree (user_id);
--
--- Name: index_favorites_69_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_69_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_69_on_post_id ON favorites_69 USING btree (post_id);
--
--- Name: index_favorites_69_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_69_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_69_on_user_id ON favorites_69 USING btree (user_id);
--
--- Name: index_favorites_6_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_6_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_6_on_post_id ON favorites_6 USING btree (post_id);
--
--- Name: index_favorites_6_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_6_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_6_on_user_id ON favorites_6 USING btree (user_id);
--
--- Name: index_favorites_70_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_70_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_70_on_post_id ON favorites_70 USING btree (post_id);
--
--- Name: index_favorites_70_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_70_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_70_on_user_id ON favorites_70 USING btree (user_id);
--
--- Name: index_favorites_71_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_71_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_71_on_post_id ON favorites_71 USING btree (post_id);
--
--- Name: index_favorites_71_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_71_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_71_on_user_id ON favorites_71 USING btree (user_id);
--
--- Name: index_favorites_72_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_72_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_72_on_post_id ON favorites_72 USING btree (post_id);
--
--- Name: index_favorites_72_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_72_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_72_on_user_id ON favorites_72 USING btree (user_id);
--
--- Name: index_favorites_73_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_73_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_73_on_post_id ON favorites_73 USING btree (post_id);
--
--- Name: index_favorites_73_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_73_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_73_on_user_id ON favorites_73 USING btree (user_id);
--
--- Name: index_favorites_74_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_74_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_74_on_post_id ON favorites_74 USING btree (post_id);
--
--- Name: index_favorites_74_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_74_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_74_on_user_id ON favorites_74 USING btree (user_id);
--
--- Name: index_favorites_75_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_75_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_75_on_post_id ON favorites_75 USING btree (post_id);
--
--- Name: index_favorites_75_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_75_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_75_on_user_id ON favorites_75 USING btree (user_id);
--
--- Name: index_favorites_76_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_76_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_76_on_post_id ON favorites_76 USING btree (post_id);
--
--- Name: index_favorites_76_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_76_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_76_on_user_id ON favorites_76 USING btree (user_id);
--
--- Name: index_favorites_77_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_77_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_77_on_post_id ON favorites_77 USING btree (post_id);
--
--- Name: index_favorites_77_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_77_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_77_on_user_id ON favorites_77 USING btree (user_id);
--
--- Name: index_favorites_78_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_78_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_78_on_post_id ON favorites_78 USING btree (post_id);
--
--- Name: index_favorites_78_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_78_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_78_on_user_id ON favorites_78 USING btree (user_id);
--
--- Name: index_favorites_79_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_79_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_79_on_post_id ON favorites_79 USING btree (post_id);
--
--- Name: index_favorites_79_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_79_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_79_on_user_id ON favorites_79 USING btree (user_id);
--
--- Name: index_favorites_7_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_7_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_7_on_post_id ON favorites_7 USING btree (post_id);
--
--- Name: index_favorites_7_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_7_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_7_on_user_id ON favorites_7 USING btree (user_id);
--
--- Name: index_favorites_80_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_80_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_80_on_post_id ON favorites_80 USING btree (post_id);
--
--- Name: index_favorites_80_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_80_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_80_on_user_id ON favorites_80 USING btree (user_id);
--
--- Name: index_favorites_81_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_81_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_81_on_post_id ON favorites_81 USING btree (post_id);
--
--- Name: index_favorites_81_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_81_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_81_on_user_id ON favorites_81 USING btree (user_id);
--
--- Name: index_favorites_82_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_82_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_82_on_post_id ON favorites_82 USING btree (post_id);
--
--- Name: index_favorites_82_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_82_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_82_on_user_id ON favorites_82 USING btree (user_id);
--
--- Name: index_favorites_83_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_83_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_83_on_post_id ON favorites_83 USING btree (post_id);
--
--- Name: index_favorites_83_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_83_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_83_on_user_id ON favorites_83 USING btree (user_id);
--
--- Name: index_favorites_84_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_84_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_84_on_post_id ON favorites_84 USING btree (post_id);
--
--- Name: index_favorites_84_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_84_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_84_on_user_id ON favorites_84 USING btree (user_id);
--
--- Name: index_favorites_85_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_85_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_85_on_post_id ON favorites_85 USING btree (post_id);
--
--- Name: index_favorites_85_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_85_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_85_on_user_id ON favorites_85 USING btree (user_id);
--
--- Name: index_favorites_86_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_86_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_86_on_post_id ON favorites_86 USING btree (post_id);
--
--- Name: index_favorites_86_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_86_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_86_on_user_id ON favorites_86 USING btree (user_id);
--
--- Name: index_favorites_87_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_87_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_87_on_post_id ON favorites_87 USING btree (post_id);
--
--- Name: index_favorites_87_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_87_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_87_on_user_id ON favorites_87 USING btree (user_id);
--
--- Name: index_favorites_88_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_88_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_88_on_post_id ON favorites_88 USING btree (post_id);
--
--- Name: index_favorites_88_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_88_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_88_on_user_id ON favorites_88 USING btree (user_id);
--
--- Name: index_favorites_89_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_89_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_89_on_post_id ON favorites_89 USING btree (post_id);
--
--- Name: index_favorites_89_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_89_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_89_on_user_id ON favorites_89 USING btree (user_id);
--
--- Name: index_favorites_8_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_8_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_8_on_post_id ON favorites_8 USING btree (post_id);
--
--- Name: index_favorites_8_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_8_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_8_on_user_id ON favorites_8 USING btree (user_id);
--
--- Name: index_favorites_90_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_90_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_90_on_post_id ON favorites_90 USING btree (post_id);
--
--- Name: index_favorites_90_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_90_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_90_on_user_id ON favorites_90 USING btree (user_id);
--
--- Name: index_favorites_91_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_91_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_91_on_post_id ON favorites_91 USING btree (post_id);
--
--- Name: index_favorites_91_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_91_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_91_on_user_id ON favorites_91 USING btree (user_id);
--
--- Name: index_favorites_92_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_92_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_92_on_post_id ON favorites_92 USING btree (post_id);
--
--- Name: index_favorites_92_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_92_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_92_on_user_id ON favorites_92 USING btree (user_id);
--
--- Name: index_favorites_93_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_93_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_93_on_post_id ON favorites_93 USING btree (post_id);
--
--- Name: index_favorites_93_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_93_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_93_on_user_id ON favorites_93 USING btree (user_id);
--
--- Name: index_favorites_94_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_94_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_94_on_post_id ON favorites_94 USING btree (post_id);
--
--- Name: index_favorites_94_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_94_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_94_on_user_id ON favorites_94 USING btree (user_id);
--
--- Name: index_favorites_95_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_95_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_95_on_post_id ON favorites_95 USING btree (post_id);
--
--- Name: index_favorites_95_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_95_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_95_on_user_id ON favorites_95 USING btree (user_id);
--
--- Name: index_favorites_96_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_96_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_96_on_post_id ON favorites_96 USING btree (post_id);
--
--- Name: index_favorites_96_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_96_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_96_on_user_id ON favorites_96 USING btree (user_id);
--
--- Name: index_favorites_97_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_97_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_97_on_post_id ON favorites_97 USING btree (post_id);
--
--- Name: index_favorites_97_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_97_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_97_on_user_id ON favorites_97 USING btree (user_id);
--
--- Name: index_favorites_98_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_98_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_98_on_post_id ON favorites_98 USING btree (post_id);
--
--- Name: index_favorites_98_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_98_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_98_on_user_id ON favorites_98 USING btree (user_id);
--
--- Name: index_favorites_99_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_99_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_99_on_post_id ON favorites_99 USING btree (post_id);
--
--- Name: index_favorites_99_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_99_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_99_on_user_id ON favorites_99 USING btree (user_id);
--
--- Name: index_favorites_9_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_9_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_9_on_post_id ON favorites_9 USING btree (post_id);
--
--- Name: index_favorites_9_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_favorites_9_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_favorites_9_on_user_id ON favorites_9 USING btree (user_id);
--
--- Name: index_forum_posts_on_creator_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_forum_posts_on_creator_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_forum_posts_on_creator_id ON forum_posts USING btree (creator_id);
--
--- Name: index_forum_posts_on_text_index; Type: INDEX; Schema: public; Owner: -
+-- Name: index_forum_posts_on_text_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_forum_posts_on_text_index ON forum_posts USING gin (text_index);
--
--- Name: index_forum_posts_on_topic_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_forum_posts_on_topic_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_forum_posts_on_topic_id ON forum_posts USING btree (topic_id);
--
--- Name: index_forum_subscriptions_on_forum_topic_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_forum_subscriptions_on_forum_topic_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_forum_subscriptions_on_forum_topic_id ON forum_subscriptions USING btree (forum_topic_id);
--
--- Name: index_forum_subscriptions_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_forum_subscriptions_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_forum_subscriptions_on_user_id ON forum_subscriptions USING btree (user_id);
--
--- Name: index_forum_topic_visits_on_forum_topic_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_forum_topic_visits_on_forum_topic_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_forum_topic_visits_on_forum_topic_id ON forum_topic_visits USING btree (forum_topic_id);
--
--- Name: index_forum_topic_visits_on_last_read_at; Type: INDEX; Schema: public; Owner: -
+-- Name: index_forum_topic_visits_on_last_read_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_forum_topic_visits_on_last_read_at ON forum_topic_visits USING btree (last_read_at);
--
--- Name: index_forum_topic_visits_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_forum_topic_visits_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_forum_topic_visits_on_user_id ON forum_topic_visits USING btree (user_id);
--
--- Name: index_forum_topics_on_creator_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_forum_topics_on_creator_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_forum_topics_on_creator_id ON forum_topics USING btree (creator_id);
--
--- Name: index_forum_topics_on_text_index; Type: INDEX; Schema: public; Owner: -
+-- Name: index_forum_topics_on_text_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_forum_topics_on_text_index ON forum_topics USING gin (text_index);
--
--- Name: index_forum_topics_on_updated_at; Type: INDEX; Schema: public; Owner: -
+-- Name: index_forum_topics_on_updated_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_forum_topics_on_updated_at ON forum_topics USING btree (updated_at);
--
--- Name: index_ip_bans_on_ip_addr; Type: INDEX; Schema: public; Owner: -
+-- Name: index_ip_bans_on_ip_addr; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE UNIQUE INDEX index_ip_bans_on_ip_addr ON ip_bans USING btree (ip_addr);
--
--- Name: index_janitor_trials_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_janitor_trials_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_janitor_trials_on_user_id ON janitor_trials USING btree (user_id);
--
--- Name: index_key_values_on_key; Type: INDEX; Schema: public; Owner: -
+-- Name: index_key_values_on_key; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE UNIQUE INDEX index_key_values_on_key ON key_values USING btree (key);
--
--- Name: index_news_updates_on_created_at; Type: INDEX; Schema: public; Owner: -
+-- Name: index_news_updates_on_created_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_news_updates_on_created_at ON news_updates USING btree (created_at);
--
--- Name: index_note_versions_on_note_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_note_versions_on_note_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_note_versions_on_note_id ON note_versions USING btree (note_id);
--
--- Name: index_note_versions_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_note_versions_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_note_versions_on_post_id ON note_versions USING btree (post_id);
--
--- Name: index_note_versions_on_updater_id_and_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_note_versions_on_updater_id_and_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_note_versions_on_updater_id_and_post_id ON note_versions USING btree (updater_id, post_id);
--
--- Name: index_note_versions_on_updater_ip_addr; Type: INDEX; Schema: public; Owner: -
+-- Name: index_note_versions_on_updater_ip_addr; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_note_versions_on_updater_ip_addr ON note_versions USING btree (updater_ip_addr);
--
--- Name: index_notes_on_body_index; Type: INDEX; Schema: public; Owner: -
+-- Name: index_notes_on_body_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_notes_on_body_index ON notes USING gin (body_index);
--
--- Name: index_notes_on_creator_id_and_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_notes_on_creator_id_and_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_notes_on_creator_id_and_post_id ON notes USING btree (creator_id, post_id);
--
--- Name: index_notes_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_notes_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_notes_on_post_id ON notes USING btree (post_id);
--
--- Name: index_pixiv_ugoira_frame_data_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_pixiv_ugoira_frame_data_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE UNIQUE INDEX index_pixiv_ugoira_frame_data_on_post_id ON pixiv_ugoira_frame_data USING btree (post_id);
--
--- Name: index_pool_versions_on_pool_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_pool_versions_on_pool_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_pool_versions_on_pool_id ON pool_versions USING btree (pool_id);
--
--- Name: index_pool_versions_on_updated_at; Type: INDEX; Schema: public; Owner: -
+-- Name: index_pool_versions_on_updated_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_pool_versions_on_updated_at ON pool_versions USING btree (updated_at);
--
--- Name: index_pool_versions_on_updater_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_pool_versions_on_updater_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_pool_versions_on_updater_id ON pool_versions USING btree (updater_id);
--
--- Name: index_pool_versions_on_updater_ip_addr; Type: INDEX; Schema: public; Owner: -
+-- Name: index_pool_versions_on_updater_ip_addr; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_pool_versions_on_updater_ip_addr ON pool_versions USING btree (updater_ip_addr);
--
--- Name: index_pools_on_creator_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_pools_on_creator_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_pools_on_creator_id ON pools USING btree (creator_id);
--
--- Name: index_pools_on_lower_name; Type: INDEX; Schema: public; Owner: -
+-- Name: index_pools_on_lower_name; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_pools_on_lower_name ON pools USING btree (lower((name)::text));
--
--- Name: index_pools_on_name; Type: INDEX; Schema: public; Owner: -
+-- Name: index_pools_on_name; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_pools_on_name ON pools USING btree (name);
--
--- Name: index_pools_on_name_trgm; Type: INDEX; Schema: public; Owner: -
+-- Name: index_pools_on_name_trgm; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_pools_on_name_trgm ON pools USING gin (name gin_trgm_ops);
--
--- Name: index_post_appeals_on_creator_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_post_appeals_on_creator_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_post_appeals_on_creator_id ON post_appeals USING btree (creator_id);
--
--- Name: index_post_appeals_on_creator_ip_addr; Type: INDEX; Schema: public; Owner: -
+-- Name: index_post_appeals_on_creator_ip_addr; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_post_appeals_on_creator_ip_addr ON post_appeals USING btree (creator_ip_addr);
--
--- Name: index_post_appeals_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_post_appeals_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_post_appeals_on_post_id ON post_appeals USING btree (post_id);
--
--- Name: index_post_approvals_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_post_approvals_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_post_approvals_on_post_id ON post_approvals USING btree (post_id);
--
--- Name: index_post_approvals_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_post_approvals_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_post_approvals_on_user_id ON post_approvals USING btree (user_id);
--
--- Name: index_post_disapprovals_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_post_disapprovals_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_post_disapprovals_on_post_id ON post_disapprovals USING btree (post_id);
--
--- Name: index_post_disapprovals_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_post_disapprovals_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_post_disapprovals_on_user_id ON post_disapprovals USING btree (user_id);
--
--- Name: index_post_flags_on_creator_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_post_flags_on_creator_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_post_flags_on_creator_id ON post_flags USING btree (creator_id);
--
--- Name: index_post_flags_on_creator_ip_addr; Type: INDEX; Schema: public; Owner: -
+-- Name: index_post_flags_on_creator_ip_addr; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_post_flags_on_creator_ip_addr ON post_flags USING btree (creator_ip_addr);
--
--- Name: index_post_flags_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_post_flags_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_post_flags_on_post_id ON post_flags USING btree (post_id);
--
--- Name: index_post_versions_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_post_versions_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_post_versions_on_post_id ON post_versions USING btree (post_id);
--
--- Name: index_post_versions_on_updated_at_and_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_post_versions_on_updated_at_and_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_post_versions_on_updated_at_and_id ON post_versions USING btree (updated_at, id);
--
--- Name: index_post_versions_on_updater_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_post_versions_on_updater_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_post_versions_on_updater_id ON post_versions USING btree (updater_id);
--
--- Name: index_post_versions_on_updater_ip_addr; Type: INDEX; Schema: public; Owner: -
+-- Name: index_post_versions_on_updater_ip_addr; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_post_versions_on_updater_ip_addr ON post_versions USING btree (updater_ip_addr);
--
--- Name: index_post_votes_on_post_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_post_votes_on_post_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_post_votes_on_post_id ON post_votes USING btree (post_id);
--
--- Name: index_post_votes_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_post_votes_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_post_votes_on_user_id ON post_votes USING btree (user_id);
--
--- Name: index_posts_on_created_at; Type: INDEX; Schema: public; Owner: -
+-- Name: index_posts_on_created_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_posts_on_created_at ON posts USING btree (created_at);
--
--- Name: index_posts_on_file_size; Type: INDEX; Schema: public; Owner: -
+-- Name: index_posts_on_file_size; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_posts_on_file_size ON posts USING btree (file_size);
--
--- Name: index_posts_on_image_height; Type: INDEX; Schema: public; Owner: -
+-- Name: index_posts_on_image_height; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_posts_on_image_height ON posts USING btree (image_height);
--
--- Name: index_posts_on_image_width; Type: INDEX; Schema: public; Owner: -
+-- Name: index_posts_on_image_width; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_posts_on_image_width ON posts USING btree (image_width);
--
--- Name: index_posts_on_last_comment_bumped_at; Type: INDEX; Schema: public; Owner: -
+-- Name: index_posts_on_last_comment_bumped_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_posts_on_last_comment_bumped_at ON posts USING btree (last_comment_bumped_at);
--
--- Name: index_posts_on_last_noted_at; Type: INDEX; Schema: public; Owner: -
+-- Name: index_posts_on_last_noted_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_posts_on_last_noted_at ON posts USING btree (last_noted_at);
--
--- Name: index_posts_on_md5; Type: INDEX; Schema: public; Owner: -
+-- Name: index_posts_on_md5; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE UNIQUE INDEX index_posts_on_md5 ON posts USING btree (md5);
--
--- Name: index_posts_on_mpixels; Type: INDEX; Schema: public; Owner: -
+-- Name: index_posts_on_mpixels; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_posts_on_mpixels ON posts USING btree (((((image_width * image_height))::numeric / 1000000.0)));
--
--- Name: index_posts_on_parent_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_posts_on_parent_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_posts_on_parent_id ON posts USING btree (parent_id);
--
--- Name: index_posts_on_pixiv_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_posts_on_pixiv_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_posts_on_pixiv_id ON posts USING btree (pixiv_id) WHERE (pixiv_id IS NOT NULL);
--
--- Name: index_posts_on_source_pattern; Type: INDEX; Schema: public; Owner: -
+-- Name: index_posts_on_source_pattern; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_posts_on_source_pattern ON posts USING btree (sourcepattern(lower((source)::text)) text_pattern_ops);
--
--- Name: index_posts_on_tags_index; Type: INDEX; Schema: public; Owner: -
+-- Name: index_posts_on_tags_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_posts_on_tags_index ON posts USING gin (tag_index);
--
--- Name: index_posts_on_uploader_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_posts_on_uploader_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_posts_on_uploader_id ON posts USING btree (uploader_id);
--
--- Name: index_saved_searches_on_category; Type: INDEX; Schema: public; Owner: -
+-- Name: index_saved_searches_on_category; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_saved_searches_on_category ON saved_searches USING btree (category);
--
--- Name: index_saved_searches_on_tag_query; Type: INDEX; Schema: public; Owner: -
+-- Name: index_saved_searches_on_tag_query; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_saved_searches_on_tag_query ON saved_searches USING btree (tag_query);
--
--- Name: index_saved_searches_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_saved_searches_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_saved_searches_on_user_id ON saved_searches USING btree (user_id);
--
--- Name: index_tag_aliases_on_antecedent_name; Type: INDEX; Schema: public; Owner: -
+-- Name: index_tag_aliases_on_antecedent_name; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_tag_aliases_on_antecedent_name ON tag_aliases USING btree (antecedent_name);
--
--- Name: index_tag_aliases_on_antecedent_name_pattern; Type: INDEX; Schema: public; Owner: -
+-- Name: index_tag_aliases_on_antecedent_name_pattern; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_tag_aliases_on_antecedent_name_pattern ON tag_aliases USING btree (antecedent_name text_pattern_ops);
--
--- Name: index_tag_aliases_on_consequent_name; Type: INDEX; Schema: public; Owner: -
+-- Name: index_tag_aliases_on_consequent_name; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_tag_aliases_on_consequent_name ON tag_aliases USING btree (consequent_name);
--
--- Name: index_tag_aliases_on_post_count; Type: INDEX; Schema: public; Owner: -
+-- Name: index_tag_aliases_on_post_count; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_tag_aliases_on_post_count ON tag_aliases USING btree (post_count);
--
--- Name: index_tag_implications_on_antecedent_name; Type: INDEX; Schema: public; Owner: -
+-- Name: index_tag_implications_on_antecedent_name; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_tag_implications_on_antecedent_name ON tag_implications USING btree (antecedent_name);
--
--- Name: index_tag_implications_on_consequent_name; Type: INDEX; Schema: public; Owner: -
+-- Name: index_tag_implications_on_consequent_name; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_tag_implications_on_consequent_name ON tag_implications USING btree (consequent_name);
--
--- Name: index_tag_subscriptions_on_creator_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_tag_subscriptions_on_creator_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_tag_subscriptions_on_creator_id ON tag_subscriptions USING btree (creator_id);
--
--- Name: index_tag_subscriptions_on_name; Type: INDEX; Schema: public; Owner: -
+-- Name: index_tag_subscriptions_on_name; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_tag_subscriptions_on_name ON tag_subscriptions USING btree (name);
--
--- Name: index_tags_on_name; Type: INDEX; Schema: public; Owner: -
+-- Name: index_tags_on_name; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE UNIQUE INDEX index_tags_on_name ON tags USING btree (name);
--
--- Name: index_tags_on_name_pattern; Type: INDEX; Schema: public; Owner: -
+-- Name: index_tags_on_name_pattern; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_tags_on_name_pattern ON tags USING btree (name text_pattern_ops);
--
--- Name: index_uploads_on_uploader_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_uploads_on_uploader_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_uploads_on_uploader_id ON uploads USING btree (uploader_id);
--
--- Name: index_uploads_on_uploader_ip_addr; Type: INDEX; Schema: public; Owner: -
+-- Name: index_uploads_on_uploader_ip_addr; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_uploads_on_uploader_ip_addr ON uploads USING btree (uploader_ip_addr);
--
--- Name: index_user_feedback_on_created_at; Type: INDEX; Schema: public; Owner: -
+-- Name: index_user_feedback_on_created_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_user_feedback_on_created_at ON user_feedback USING btree (created_at);
--
--- Name: index_user_feedback_on_creator_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_user_feedback_on_creator_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_user_feedback_on_creator_id ON user_feedback USING btree (creator_id);
--
--- Name: index_user_feedback_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_user_feedback_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_user_feedback_on_user_id ON user_feedback USING btree (user_id);
--
--- Name: index_user_name_change_requests_on_original_name; Type: INDEX; Schema: public; Owner: -
+-- Name: index_user_name_change_requests_on_original_name; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_user_name_change_requests_on_original_name ON user_name_change_requests USING btree (original_name);
--
--- Name: index_user_name_change_requests_on_user_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_user_name_change_requests_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_user_name_change_requests_on_user_id ON user_name_change_requests USING btree (user_id);
--
--- Name: index_users_on_email; Type: INDEX; Schema: public; Owner: -
+-- Name: index_users_on_email; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE UNIQUE INDEX index_users_on_email ON users USING btree (email);
--
--- Name: index_users_on_last_ip_addr; Type: INDEX; Schema: public; Owner: -
+-- Name: index_users_on_last_ip_addr; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_users_on_last_ip_addr ON users USING btree (last_ip_addr) WHERE (last_ip_addr IS NOT NULL);
--
--- Name: index_users_on_name; Type: INDEX; Schema: public; Owner: -
+-- Name: index_users_on_name; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE UNIQUE INDEX index_users_on_name ON users USING btree (lower((name)::text));
--
--- Name: index_wiki_page_versions_on_wiki_page_id; Type: INDEX; Schema: public; Owner: -
+-- Name: index_wiki_page_versions_on_wiki_page_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_wiki_page_versions_on_wiki_page_id ON wiki_page_versions USING btree (wiki_page_id);
--
--- Name: index_wiki_pages_on_body_index_index; Type: INDEX; Schema: public; Owner: -
+-- Name: index_wiki_pages_on_body_index_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_wiki_pages_on_body_index_index ON wiki_pages USING gin (body_index);
--
--- Name: index_wiki_pages_on_other_names_index; Type: INDEX; Schema: public; Owner: -
+-- Name: index_wiki_pages_on_other_names_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_wiki_pages_on_other_names_index ON wiki_pages USING gin (other_names_index);
--
--- Name: index_wiki_pages_on_title; Type: INDEX; Schema: public; Owner: -
+-- Name: index_wiki_pages_on_title; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE UNIQUE INDEX index_wiki_pages_on_title ON wiki_pages USING btree (title);
--
--- Name: index_wiki_pages_on_title_pattern; Type: INDEX; Schema: public; Owner: -
+-- Name: index_wiki_pages_on_title_pattern; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_wiki_pages_on_title_pattern ON wiki_pages USING btree (title text_pattern_ops);
--
--- Name: unique_schema_migrations; Type: INDEX; Schema: public; Owner: -
+-- Name: unique_schema_migrations; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE UNIQUE INDEX unique_schema_migrations ON schema_migrations USING btree (version);
@@ -7226,7 +7221,7 @@ CREATE TRIGGER trigger_wiki_pages_on_update_for_other_names BEFORE INSERT OR UPD
-- PostgreSQL database dump complete
--
-SET search_path TO "$user", public;
+SET search_path TO "$user",public;
INSERT INTO schema_migrations (version) VALUES ('20100204211522');
|