SET client_encoding = 'UTF8';
SET standard_conforming_strings = on;
SET check_function_bodies = false;
SET client_encoding = 'UTF8';
SET standard_conforming_strings = on;
SET check_function_bodies = false;
reportable_type character varying NOT NULL,
reportable_id integer NOT NULL,
reported_user_id integer,
reportable_type character varying NOT NULL,
reportable_id integer NOT NULL,
reported_user_id integer,
assigned_role user_role_enum NOT NULL,
resolved_at timestamp without time zone,
resolved_by integer,
assigned_role user_role_enum NOT NULL,
resolved_at timestamp without time zone,
resolved_by integer,
diary_entries_count integer DEFAULT 0 NOT NULL,
image_use_gravatar boolean DEFAULT false NOT NULL,
image_content_type character varying(255),
diary_entries_count integer DEFAULT 0 NOT NULL,
image_use_gravatar boolean DEFAULT false NOT NULL,
image_content_type character varying(255),