--
-- PostgreSQL database cluster dump
--

SET default_transaction_read_only = off;

SET client_encoding = 'UTF8';
SET standard_conforming_strings = on;

--
-- Drop databases (except postgres and template1)
--

DROP DATABASE admin;
DROP DATABASE etherpad;
DROP DATABASE moodle;
DROP DATABASE nextcloud;




--
-- Drop roles
--

DROP ROLE admin;
DROP ROLE etherpad;
DROP ROLE moodle;
DROP ROLE nextcloud;


--
-- Roles
--

CREATE ROLE admin;
ALTER ROLE admin WITH SUPERUSER INHERIT CREATEROLE CREATEDB LOGIN REPLICATION BYPASSRLS PASSWORD 'md5835ea9a22b43b5cf941c77ddc4a68434';
CREATE ROLE etherpad;
ALTER ROLE etherpad WITH SUPERUSER INHERIT NOCREATEROLE NOCREATEDB LOGIN NOREPLICATION NOBYPASSRLS PASSWORD 'md56ed12e3c51a6e457fb24ca1415629c31';
CREATE ROLE moodle;
ALTER ROLE moodle WITH SUPERUSER INHERIT NOCREATEROLE NOCREATEDB LOGIN NOREPLICATION NOBYPASSRLS PASSWORD 'md57e8bd4de92a22cb883d61d5d0fb9d702';
CREATE ROLE nextcloud;
ALTER ROLE nextcloud WITH SUPERUSER INHERIT NOCREATEROLE NOCREATEDB LOGIN NOREPLICATION NOBYPASSRLS PASSWORD 'md523dae0d47a8959596f4eec3e5705feaf';






--
-- Databases
--

--
-- Database "template1" dump
--

--
-- PostgreSQL database dump
--

-- Dumped from database version 13.2
-- Dumped by pg_dump version 13.2

SET statement_timeout = 0;
SET lock_timeout = 0;
SET idle_in_transaction_session_timeout = 0;
SET client_encoding = 'UTF8';
SET standard_conforming_strings = on;
SELECT pg_catalog.set_config('search_path', '', false);
SET check_function_bodies = false;
SET xmloption = content;
SET client_min_messages = warning;
SET row_security = off;

UPDATE pg_catalog.pg_database SET datistemplate = false WHERE datname = 'template1';
DROP DATABASE template1;
--
-- Name: template1; Type: DATABASE; Schema: -; Owner: admin
--

CREATE DATABASE template1 WITH TEMPLATE = template0 ENCODING = 'UTF8' LOCALE = 'es_ES.UTF-8';


ALTER DATABASE template1 OWNER TO admin;

\connect template1

SET statement_timeout = 0;
SET lock_timeout = 0;
SET idle_in_transaction_session_timeout = 0;
SET client_encoding = 'UTF8';
SET standard_conforming_strings = on;
SELECT pg_catalog.set_config('search_path', '', false);
SET check_function_bodies = false;
SET xmloption = content;
SET client_min_messages = warning;
SET row_security = off;

--
-- Name: DATABASE template1; Type: COMMENT; Schema: -; Owner: admin
--

COMMENT ON DATABASE template1 IS 'default template for new databases';


--
-- Name: template1; Type: DATABASE PROPERTIES; Schema: -; Owner: admin
--

ALTER DATABASE template1 IS_TEMPLATE = true;


\connect template1

SET statement_timeout = 0;
SET lock_timeout = 0;
SET idle_in_transaction_session_timeout = 0;
SET client_encoding = 'UTF8';
SET standard_conforming_strings = on;
SELECT pg_catalog.set_config('search_path', '', false);
SET check_function_bodies = false;
SET xmloption = content;
SET client_min_messages = warning;
SET row_security = off;

--
-- Name: DATABASE template1; Type: ACL; Schema: -; Owner: admin
--

REVOKE CONNECT,TEMPORARY ON DATABASE template1 FROM PUBLIC;
GRANT CONNECT ON DATABASE template1 TO PUBLIC;


--
-- PostgreSQL database dump complete
--

--
-- Database "admin" dump
--

--
-- PostgreSQL database dump
--

-- Dumped from database version 13.2
-- Dumped by pg_dump version 13.2

SET statement_timeout = 0;
SET lock_timeout = 0;
SET idle_in_transaction_session_timeout = 0;
SET client_encoding = 'UTF8';
SET standard_conforming_strings = on;
SELECT pg_catalog.set_config('search_path', '', false);
SET check_function_bodies = false;
SET xmloption = content;
SET client_min_messages = warning;
SET row_security = off;

--
-- Name: admin; Type: DATABASE; Schema: -; Owner: admin
--

CREATE DATABASE admin WITH TEMPLATE = template0 ENCODING = 'UTF8' LOCALE = 'es_ES.UTF-8';


ALTER DATABASE admin OWNER TO admin;

\connect admin

SET statement_timeout = 0;
SET lock_timeout = 0;
SET idle_in_transaction_session_timeout = 0;
SET client_encoding = 'UTF8';
SET standard_conforming_strings = on;
SELECT pg_catalog.set_config('search_path', '', false);
SET check_function_bodies = false;
SET xmloption = content;
SET client_min_messages = warning;
SET row_security = off;

--
-- PostgreSQL database dump complete
--

--
-- Database "etherpad" dump
--

--
-- PostgreSQL database dump
--

-- Dumped from database version 13.2
-- Dumped by pg_dump version 13.2

SET statement_timeout = 0;
SET lock_timeout = 0;
SET idle_in_transaction_session_timeout = 0;
SET client_encoding = 'UTF8';
SET standard_conforming_strings = on;
SELECT pg_catalog.set_config('search_path', '', false);
SET check_function_bodies = false;
SET xmloption = content;
SET client_min_messages = warning;
SET row_security = off;

--
-- Name: etherpad; Type: DATABASE; Schema: -; Owner: admin
--

CREATE DATABASE etherpad WITH TEMPLATE = template0 ENCODING = 'UTF8' LOCALE = 'es_ES.UTF-8';


ALTER DATABASE etherpad OWNER TO admin;

\connect etherpad

SET statement_timeout = 0;
SET lock_timeout = 0;
SET idle_in_transaction_session_timeout = 0;
SET client_encoding = 'UTF8';
SET standard_conforming_strings = on;
SELECT pg_catalog.set_config('search_path', '', false);
SET check_function_bodies = false;
SET xmloption = content;
SET client_min_messages = warning;
SET row_security = off;

--
-- Name: DATABASE etherpad; Type: ACL; Schema: -; Owner: admin
--

GRANT ALL ON DATABASE etherpad TO etherpad;


--
-- PostgreSQL database dump complete
--

--
-- Database "moodle" dump
--

--
-- PostgreSQL database dump
--

-- Dumped from database version 13.2
-- Dumped by pg_dump version 13.2

SET statement_timeout = 0;
SET lock_timeout = 0;
SET idle_in_transaction_session_timeout = 0;
SET client_encoding = 'UTF8';
SET standard_conforming_strings = on;
SELECT pg_catalog.set_config('search_path', '', false);
SET check_function_bodies = false;
SET xmloption = content;
SET client_min_messages = warning;
SET row_security = off;

--
-- Name: moodle; Type: DATABASE; Schema: -; Owner: admin
--

CREATE DATABASE moodle WITH TEMPLATE = template0 ENCODING = 'UTF8' LOCALE = 'es_ES.UTF-8';


ALTER DATABASE moodle OWNER TO admin;

\connect moodle

SET statement_timeout = 0;
SET lock_timeout = 0;
SET idle_in_transaction_session_timeout = 0;
SET client_encoding = 'UTF8';
SET standard_conforming_strings = on;
SELECT pg_catalog.set_config('search_path', '', false);
SET check_function_bodies = false;
SET xmloption = content;
SET client_min_messages = warning;
SET row_security = off;

SET default_tablespace = '';

SET default_table_access_method = heap;

--
-- Name: mdl_analytics_indicator_calc; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_analytics_indicator_calc (
    id bigint NOT NULL,
    starttime bigint NOT NULL,
    endtime bigint NOT NULL,
    contextid bigint NOT NULL,
    sampleorigin character varying(255) DEFAULT ''::character varying NOT NULL,
    sampleid bigint NOT NULL,
    indicator character varying(255) DEFAULT ''::character varying NOT NULL,
    value numeric(10,2),
    timecreated bigint NOT NULL
);


ALTER TABLE public.mdl_analytics_indicator_calc OWNER TO moodle;

--
-- Name: TABLE mdl_analytics_indicator_calc; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_analytics_indicator_calc IS 'Stored indicator calculations';


--
-- Name: mdl_analytics_indicator_calc_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_analytics_indicator_calc_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_analytics_indicator_calc_id_seq OWNER TO moodle;

--
-- Name: mdl_analytics_indicator_calc_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_analytics_indicator_calc_id_seq OWNED BY public.mdl_analytics_indicator_calc.id;


--
-- Name: mdl_analytics_models; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_analytics_models (
    id bigint NOT NULL,
    enabled smallint DEFAULT 0 NOT NULL,
    trained smallint DEFAULT 0 NOT NULL,
    name character varying(1333),
    target character varying(255) DEFAULT ''::character varying NOT NULL,
    indicators text NOT NULL,
    timesplitting character varying(255),
    predictionsprocessor character varying(255),
    version bigint NOT NULL,
    contextids text,
    timecreated bigint,
    timemodified bigint NOT NULL,
    usermodified bigint NOT NULL
);


ALTER TABLE public.mdl_analytics_models OWNER TO moodle;

--
-- Name: TABLE mdl_analytics_models; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_analytics_models IS 'Analytic models.';


--
-- Name: mdl_analytics_models_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_analytics_models_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_analytics_models_id_seq OWNER TO moodle;

--
-- Name: mdl_analytics_models_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_analytics_models_id_seq OWNED BY public.mdl_analytics_models.id;


--
-- Name: mdl_analytics_models_log; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_analytics_models_log (
    id bigint NOT NULL,
    modelid bigint NOT NULL,
    version bigint NOT NULL,
    evaluationmode character varying(50) DEFAULT ''::character varying NOT NULL,
    target character varying(255) DEFAULT ''::character varying NOT NULL,
    indicators text NOT NULL,
    timesplitting character varying(255),
    score numeric(10,5) DEFAULT 0 NOT NULL,
    info text,
    dir text NOT NULL,
    timecreated bigint NOT NULL,
    usermodified bigint NOT NULL
);


ALTER TABLE public.mdl_analytics_models_log OWNER TO moodle;

--
-- Name: TABLE mdl_analytics_models_log; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_analytics_models_log IS 'Analytic models changes during evaluation.';


--
-- Name: mdl_analytics_models_log_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_analytics_models_log_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_analytics_models_log_id_seq OWNER TO moodle;

--
-- Name: mdl_analytics_models_log_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_analytics_models_log_id_seq OWNED BY public.mdl_analytics_models_log.id;


--
-- Name: mdl_analytics_predict_samples; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_analytics_predict_samples (
    id bigint NOT NULL,
    modelid bigint NOT NULL,
    analysableid bigint NOT NULL,
    timesplitting character varying(255) DEFAULT ''::character varying NOT NULL,
    rangeindex bigint NOT NULL,
    sampleids text NOT NULL,
    timecreated bigint DEFAULT 0 NOT NULL,
    timemodified bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_analytics_predict_samples OWNER TO moodle;

--
-- Name: TABLE mdl_analytics_predict_samples; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_analytics_predict_samples IS 'Samples already used for predictions.';


--
-- Name: mdl_analytics_predict_samples_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_analytics_predict_samples_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_analytics_predict_samples_id_seq OWNER TO moodle;

--
-- Name: mdl_analytics_predict_samples_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_analytics_predict_samples_id_seq OWNED BY public.mdl_analytics_predict_samples.id;


--
-- Name: mdl_analytics_prediction_actions; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_analytics_prediction_actions (
    id bigint NOT NULL,
    predictionid bigint NOT NULL,
    userid bigint NOT NULL,
    actionname character varying(255) DEFAULT ''::character varying NOT NULL,
    timecreated bigint NOT NULL
);


ALTER TABLE public.mdl_analytics_prediction_actions OWNER TO moodle;

--
-- Name: TABLE mdl_analytics_prediction_actions; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_analytics_prediction_actions IS 'Register of user actions over predictions.';


--
-- Name: mdl_analytics_prediction_actions_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_analytics_prediction_actions_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_analytics_prediction_actions_id_seq OWNER TO moodle;

--
-- Name: mdl_analytics_prediction_actions_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_analytics_prediction_actions_id_seq OWNED BY public.mdl_analytics_prediction_actions.id;


--
-- Name: mdl_analytics_predictions; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_analytics_predictions (
    id bigint NOT NULL,
    modelid bigint NOT NULL,
    contextid bigint NOT NULL,
    sampleid bigint NOT NULL,
    rangeindex integer NOT NULL,
    prediction numeric(10,2) NOT NULL,
    predictionscore numeric(10,5) NOT NULL,
    calculations text NOT NULL,
    timecreated bigint DEFAULT 0 NOT NULL,
    timestart bigint,
    timeend bigint
);


ALTER TABLE public.mdl_analytics_predictions OWNER TO moodle;

--
-- Name: TABLE mdl_analytics_predictions; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_analytics_predictions IS 'Predictions';


--
-- Name: mdl_analytics_predictions_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_analytics_predictions_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_analytics_predictions_id_seq OWNER TO moodle;

--
-- Name: mdl_analytics_predictions_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_analytics_predictions_id_seq OWNED BY public.mdl_analytics_predictions.id;


--
-- Name: mdl_analytics_train_samples; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_analytics_train_samples (
    id bigint NOT NULL,
    modelid bigint NOT NULL,
    analysableid bigint NOT NULL,
    timesplitting character varying(255) DEFAULT ''::character varying NOT NULL,
    sampleids text NOT NULL,
    timecreated bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_analytics_train_samples OWNER TO moodle;

--
-- Name: TABLE mdl_analytics_train_samples; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_analytics_train_samples IS 'Samples used for training';


--
-- Name: mdl_analytics_train_samples_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_analytics_train_samples_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_analytics_train_samples_id_seq OWNER TO moodle;

--
-- Name: mdl_analytics_train_samples_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_analytics_train_samples_id_seq OWNED BY public.mdl_analytics_train_samples.id;


--
-- Name: mdl_analytics_used_analysables; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_analytics_used_analysables (
    id bigint NOT NULL,
    modelid bigint NOT NULL,
    action character varying(50) DEFAULT ''::character varying NOT NULL,
    analysableid bigint NOT NULL,
    firstanalysis bigint NOT NULL,
    timeanalysed bigint NOT NULL
);


ALTER TABLE public.mdl_analytics_used_analysables OWNER TO moodle;

--
-- Name: TABLE mdl_analytics_used_analysables; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_analytics_used_analysables IS 'List of analysables used by each model';


--
-- Name: mdl_analytics_used_analysables_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_analytics_used_analysables_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_analytics_used_analysables_id_seq OWNER TO moodle;

--
-- Name: mdl_analytics_used_analysables_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_analytics_used_analysables_id_seq OWNED BY public.mdl_analytics_used_analysables.id;


--
-- Name: mdl_analytics_used_files; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_analytics_used_files (
    id bigint NOT NULL,
    modelid bigint DEFAULT 0 NOT NULL,
    fileid bigint DEFAULT 0 NOT NULL,
    action character varying(50) DEFAULT ''::character varying NOT NULL,
    "time" bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_analytics_used_files OWNER TO moodle;

--
-- Name: TABLE mdl_analytics_used_files; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_analytics_used_files IS 'Files that have already been used for training and prediction.';


--
-- Name: mdl_analytics_used_files_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_analytics_used_files_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_analytics_used_files_id_seq OWNER TO moodle;

--
-- Name: mdl_analytics_used_files_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_analytics_used_files_id_seq OWNED BY public.mdl_analytics_used_files.id;


--
-- Name: mdl_assign; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_assign (
    id bigint NOT NULL,
    course bigint DEFAULT 0 NOT NULL,
    name character varying(255) DEFAULT ''::character varying NOT NULL,
    intro text NOT NULL,
    introformat smallint DEFAULT 0 NOT NULL,
    alwaysshowdescription smallint DEFAULT 0 NOT NULL,
    nosubmissions smallint DEFAULT 0 NOT NULL,
    submissiondrafts smallint DEFAULT 0 NOT NULL,
    sendnotifications smallint DEFAULT 0 NOT NULL,
    sendlatenotifications smallint DEFAULT 0 NOT NULL,
    duedate bigint DEFAULT 0 NOT NULL,
    allowsubmissionsfromdate bigint DEFAULT 0 NOT NULL,
    grade bigint DEFAULT 0 NOT NULL,
    timemodified bigint DEFAULT 0 NOT NULL,
    requiresubmissionstatement smallint DEFAULT 0 NOT NULL,
    completionsubmit smallint DEFAULT 0 NOT NULL,
    cutoffdate bigint DEFAULT 0 NOT NULL,
    gradingduedate bigint DEFAULT 0 NOT NULL,
    teamsubmission smallint DEFAULT 0 NOT NULL,
    requireallteammemberssubmit smallint DEFAULT 0 NOT NULL,
    teamsubmissiongroupingid bigint DEFAULT 0 NOT NULL,
    blindmarking smallint DEFAULT 0 NOT NULL,
    hidegrader smallint DEFAULT 0 NOT NULL,
    revealidentities smallint DEFAULT 0 NOT NULL,
    attemptreopenmethod character varying(10) DEFAULT 'none'::character varying NOT NULL,
    maxattempts integer DEFAULT '-1'::integer NOT NULL,
    markingworkflow smallint DEFAULT 0 NOT NULL,
    markingallocation smallint DEFAULT 0 NOT NULL,
    sendstudentnotifications smallint DEFAULT 1 NOT NULL,
    preventsubmissionnotingroup smallint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_assign OWNER TO moodle;

--
-- Name: TABLE mdl_assign; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_assign IS 'This table saves information about an instance of mod_assign in a course.';


--
-- Name: mdl_assign_grades; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_assign_grades (
    id bigint NOT NULL,
    assignment bigint DEFAULT 0 NOT NULL,
    userid bigint DEFAULT 0 NOT NULL,
    timecreated bigint DEFAULT 0 NOT NULL,
    timemodified bigint DEFAULT 0 NOT NULL,
    grader bigint DEFAULT 0 NOT NULL,
    grade numeric(10,5) DEFAULT 0,
    attemptnumber bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_assign_grades OWNER TO moodle;

--
-- Name: TABLE mdl_assign_grades; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_assign_grades IS 'Grading information about a single assignment submission.';


--
-- Name: mdl_assign_grades_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_assign_grades_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_assign_grades_id_seq OWNER TO moodle;

--
-- Name: mdl_assign_grades_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_assign_grades_id_seq OWNED BY public.mdl_assign_grades.id;


--
-- Name: mdl_assign_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_assign_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_assign_id_seq OWNER TO moodle;

--
-- Name: mdl_assign_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_assign_id_seq OWNED BY public.mdl_assign.id;


--
-- Name: mdl_assign_overrides; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_assign_overrides (
    id bigint NOT NULL,
    assignid bigint DEFAULT 0 NOT NULL,
    groupid bigint,
    userid bigint,
    sortorder bigint,
    allowsubmissionsfromdate bigint,
    duedate bigint,
    cutoffdate bigint
);


ALTER TABLE public.mdl_assign_overrides OWNER TO moodle;

--
-- Name: TABLE mdl_assign_overrides; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_assign_overrides IS 'The overrides to assign settings.';


--
-- Name: mdl_assign_overrides_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_assign_overrides_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_assign_overrides_id_seq OWNER TO moodle;

--
-- Name: mdl_assign_overrides_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_assign_overrides_id_seq OWNED BY public.mdl_assign_overrides.id;


--
-- Name: mdl_assign_plugin_config; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_assign_plugin_config (
    id bigint NOT NULL,
    assignment bigint DEFAULT 0 NOT NULL,
    plugin character varying(28) DEFAULT ''::character varying NOT NULL,
    subtype character varying(28) DEFAULT ''::character varying NOT NULL,
    name character varying(28) DEFAULT ''::character varying NOT NULL,
    value text
);


ALTER TABLE public.mdl_assign_plugin_config OWNER TO moodle;

--
-- Name: TABLE mdl_assign_plugin_config; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_assign_plugin_config IS 'Config data for an instance of a plugin in an assignment.';


--
-- Name: mdl_assign_plugin_config_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_assign_plugin_config_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_assign_plugin_config_id_seq OWNER TO moodle;

--
-- Name: mdl_assign_plugin_config_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_assign_plugin_config_id_seq OWNED BY public.mdl_assign_plugin_config.id;


--
-- Name: mdl_assign_submission; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_assign_submission (
    id bigint NOT NULL,
    assignment bigint DEFAULT 0 NOT NULL,
    userid bigint DEFAULT 0 NOT NULL,
    timecreated bigint DEFAULT 0 NOT NULL,
    timemodified bigint DEFAULT 0 NOT NULL,
    status character varying(10),
    groupid bigint DEFAULT 0 NOT NULL,
    attemptnumber bigint DEFAULT 0 NOT NULL,
    latest smallint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_assign_submission OWNER TO moodle;

--
-- Name: TABLE mdl_assign_submission; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_assign_submission IS 'This table keeps information about student interactions with the mod/assign. This is limited to metadata about a student submission but does not include the submission itself which is stored by plugins.';


--
-- Name: mdl_assign_submission_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_assign_submission_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_assign_submission_id_seq OWNER TO moodle;

--
-- Name: mdl_assign_submission_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_assign_submission_id_seq OWNED BY public.mdl_assign_submission.id;


--
-- Name: mdl_assign_user_flags; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_assign_user_flags (
    id bigint NOT NULL,
    userid bigint DEFAULT 0 NOT NULL,
    assignment bigint DEFAULT 0 NOT NULL,
    locked bigint DEFAULT 0 NOT NULL,
    mailed smallint DEFAULT 0 NOT NULL,
    extensionduedate bigint DEFAULT 0 NOT NULL,
    workflowstate character varying(20),
    allocatedmarker bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_assign_user_flags OWNER TO moodle;

--
-- Name: TABLE mdl_assign_user_flags; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_assign_user_flags IS 'List of flags that can be set for a single user in a single assignment.';


--
-- Name: mdl_assign_user_flags_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_assign_user_flags_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_assign_user_flags_id_seq OWNER TO moodle;

--
-- Name: mdl_assign_user_flags_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_assign_user_flags_id_seq OWNED BY public.mdl_assign_user_flags.id;


--
-- Name: mdl_assign_user_mapping; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_assign_user_mapping (
    id bigint NOT NULL,
    assignment bigint DEFAULT 0 NOT NULL,
    userid bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_assign_user_mapping OWNER TO moodle;

--
-- Name: TABLE mdl_assign_user_mapping; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_assign_user_mapping IS 'Map an assignment specific id number to a user';


--
-- Name: mdl_assign_user_mapping_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_assign_user_mapping_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_assign_user_mapping_id_seq OWNER TO moodle;

--
-- Name: mdl_assign_user_mapping_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_assign_user_mapping_id_seq OWNED BY public.mdl_assign_user_mapping.id;


--
-- Name: mdl_assignfeedback_comments; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_assignfeedback_comments (
    id bigint NOT NULL,
    assignment bigint DEFAULT 0 NOT NULL,
    grade bigint DEFAULT 0 NOT NULL,
    commenttext text,
    commentformat smallint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_assignfeedback_comments OWNER TO moodle;

--
-- Name: TABLE mdl_assignfeedback_comments; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_assignfeedback_comments IS 'Text feedback for submitted assignments';


--
-- Name: mdl_assignfeedback_comments_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_assignfeedback_comments_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_assignfeedback_comments_id_seq OWNER TO moodle;

--
-- Name: mdl_assignfeedback_comments_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_assignfeedback_comments_id_seq OWNED BY public.mdl_assignfeedback_comments.id;


--
-- Name: mdl_assignfeedback_editpdf_annot; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_assignfeedback_editpdf_annot (
    id bigint NOT NULL,
    gradeid bigint DEFAULT 0 NOT NULL,
    pageno bigint DEFAULT 0 NOT NULL,
    x bigint DEFAULT 0,
    y bigint DEFAULT 0,
    endx bigint DEFAULT 0,
    endy bigint DEFAULT 0,
    path text,
    type character varying(10) DEFAULT 'line'::character varying,
    colour character varying(10) DEFAULT 'black'::character varying,
    draft smallint DEFAULT 1 NOT NULL
);


ALTER TABLE public.mdl_assignfeedback_editpdf_annot OWNER TO moodle;

--
-- Name: TABLE mdl_assignfeedback_editpdf_annot; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_assignfeedback_editpdf_annot IS 'stores annotations added to pdfs submitted by students';


--
-- Name: mdl_assignfeedback_editpdf_annot_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_assignfeedback_editpdf_annot_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_assignfeedback_editpdf_annot_id_seq OWNER TO moodle;

--
-- Name: mdl_assignfeedback_editpdf_annot_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_assignfeedback_editpdf_annot_id_seq OWNED BY public.mdl_assignfeedback_editpdf_annot.id;


--
-- Name: mdl_assignfeedback_editpdf_cmnt; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_assignfeedback_editpdf_cmnt (
    id bigint NOT NULL,
    gradeid bigint DEFAULT 0 NOT NULL,
    x bigint DEFAULT 0,
    y bigint DEFAULT 0,
    width bigint DEFAULT 120,
    rawtext text,
    pageno bigint DEFAULT 0 NOT NULL,
    colour character varying(10) DEFAULT 'black'::character varying,
    draft smallint DEFAULT 1 NOT NULL
);


ALTER TABLE public.mdl_assignfeedback_editpdf_cmnt OWNER TO moodle;

--
-- Name: TABLE mdl_assignfeedback_editpdf_cmnt; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_assignfeedback_editpdf_cmnt IS 'Stores comments added to pdfs';


--
-- Name: mdl_assignfeedback_editpdf_cmnt_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_assignfeedback_editpdf_cmnt_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_assignfeedback_editpdf_cmnt_id_seq OWNER TO moodle;

--
-- Name: mdl_assignfeedback_editpdf_cmnt_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_assignfeedback_editpdf_cmnt_id_seq OWNED BY public.mdl_assignfeedback_editpdf_cmnt.id;


--
-- Name: mdl_assignfeedback_editpdf_queue; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_assignfeedback_editpdf_queue (
    id bigint NOT NULL,
    submissionid bigint NOT NULL,
    submissionattempt bigint NOT NULL,
    attemptedconversions bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_assignfeedback_editpdf_queue OWNER TO moodle;

--
-- Name: TABLE mdl_assignfeedback_editpdf_queue; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_assignfeedback_editpdf_queue IS 'Queue for processing.';


--
-- Name: mdl_assignfeedback_editpdf_queue_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_assignfeedback_editpdf_queue_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_assignfeedback_editpdf_queue_id_seq OWNER TO moodle;

--
-- Name: mdl_assignfeedback_editpdf_queue_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_assignfeedback_editpdf_queue_id_seq OWNED BY public.mdl_assignfeedback_editpdf_queue.id;


--
-- Name: mdl_assignfeedback_editpdf_quick; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_assignfeedback_editpdf_quick (
    id bigint NOT NULL,
    userid bigint DEFAULT 0 NOT NULL,
    rawtext text NOT NULL,
    width bigint DEFAULT 120 NOT NULL,
    colour character varying(10) DEFAULT 'yellow'::character varying
);


ALTER TABLE public.mdl_assignfeedback_editpdf_quick OWNER TO moodle;

--
-- Name: TABLE mdl_assignfeedback_editpdf_quick; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_assignfeedback_editpdf_quick IS 'Stores teacher specified quicklist comments';


--
-- Name: mdl_assignfeedback_editpdf_quick_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_assignfeedback_editpdf_quick_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_assignfeedback_editpdf_quick_id_seq OWNER TO moodle;

--
-- Name: mdl_assignfeedback_editpdf_quick_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_assignfeedback_editpdf_quick_id_seq OWNED BY public.mdl_assignfeedback_editpdf_quick.id;


--
-- Name: mdl_assignfeedback_editpdf_rot; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_assignfeedback_editpdf_rot (
    id bigint NOT NULL,
    gradeid bigint DEFAULT 0 NOT NULL,
    pageno bigint DEFAULT 0 NOT NULL,
    pathnamehash text NOT NULL,
    isrotated smallint DEFAULT 0 NOT NULL,
    degree bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_assignfeedback_editpdf_rot OWNER TO moodle;

--
-- Name: TABLE mdl_assignfeedback_editpdf_rot; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_assignfeedback_editpdf_rot IS 'Stores rotation information of a page.';


--
-- Name: mdl_assignfeedback_editpdf_rot_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_assignfeedback_editpdf_rot_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_assignfeedback_editpdf_rot_id_seq OWNER TO moodle;

--
-- Name: mdl_assignfeedback_editpdf_rot_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_assignfeedback_editpdf_rot_id_seq OWNED BY public.mdl_assignfeedback_editpdf_rot.id;


--
-- Name: mdl_assignfeedback_file; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_assignfeedback_file (
    id bigint NOT NULL,
    assignment bigint DEFAULT 0 NOT NULL,
    grade bigint DEFAULT 0 NOT NULL,
    numfiles bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_assignfeedback_file OWNER TO moodle;

--
-- Name: TABLE mdl_assignfeedback_file; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_assignfeedback_file IS 'Stores info about the number of files submitted by a student.';


--
-- Name: mdl_assignfeedback_file_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_assignfeedback_file_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_assignfeedback_file_id_seq OWNER TO moodle;

--
-- Name: mdl_assignfeedback_file_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_assignfeedback_file_id_seq OWNED BY public.mdl_assignfeedback_file.id;


--
-- Name: mdl_assignment; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_assignment (
    id bigint NOT NULL,
    course bigint DEFAULT 0 NOT NULL,
    name character varying(255) DEFAULT ''::character varying NOT NULL,
    intro text NOT NULL,
    introformat smallint DEFAULT 0 NOT NULL,
    assignmenttype character varying(50) DEFAULT ''::character varying NOT NULL,
    resubmit smallint DEFAULT 0 NOT NULL,
    preventlate smallint DEFAULT 0 NOT NULL,
    emailteachers smallint DEFAULT 0 NOT NULL,
    var1 bigint DEFAULT 0,
    var2 bigint DEFAULT 0,
    var3 bigint DEFAULT 0,
    var4 bigint DEFAULT 0,
    var5 bigint DEFAULT 0,
    maxbytes bigint DEFAULT 100000 NOT NULL,
    timedue bigint DEFAULT 0 NOT NULL,
    timeavailable bigint DEFAULT 0 NOT NULL,
    grade bigint DEFAULT 0 NOT NULL,
    timemodified bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_assignment OWNER TO moodle;

--
-- Name: TABLE mdl_assignment; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_assignment IS 'Defines assignments';


--
-- Name: mdl_assignment_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_assignment_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_assignment_id_seq OWNER TO moodle;

--
-- Name: mdl_assignment_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_assignment_id_seq OWNED BY public.mdl_assignment.id;


--
-- Name: mdl_assignment_submissions; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_assignment_submissions (
    id bigint NOT NULL,
    assignment bigint DEFAULT 0 NOT NULL,
    userid bigint DEFAULT 0 NOT NULL,
    timecreated bigint DEFAULT 0 NOT NULL,
    timemodified bigint DEFAULT 0 NOT NULL,
    numfiles bigint DEFAULT 0 NOT NULL,
    data1 text,
    data2 text,
    grade bigint DEFAULT 0 NOT NULL,
    submissioncomment text NOT NULL,
    format smallint DEFAULT 0 NOT NULL,
    teacher bigint DEFAULT 0 NOT NULL,
    timemarked bigint DEFAULT 0 NOT NULL,
    mailed smallint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_assignment_submissions OWNER TO moodle;

--
-- Name: TABLE mdl_assignment_submissions; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_assignment_submissions IS 'Info about submitted assignments';


--
-- Name: mdl_assignment_submissions_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_assignment_submissions_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_assignment_submissions_id_seq OWNER TO moodle;

--
-- Name: mdl_assignment_submissions_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_assignment_submissions_id_seq OWNED BY public.mdl_assignment_submissions.id;


--
-- Name: mdl_assignment_upgrade; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_assignment_upgrade (
    id bigint NOT NULL,
    oldcmid bigint DEFAULT 0 NOT NULL,
    oldinstance bigint DEFAULT 0 NOT NULL,
    newcmid bigint DEFAULT 0 NOT NULL,
    newinstance bigint DEFAULT 0 NOT NULL,
    timecreated bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_assignment_upgrade OWNER TO moodle;

--
-- Name: TABLE mdl_assignment_upgrade; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_assignment_upgrade IS 'Info about upgraded assignments';


--
-- Name: mdl_assignment_upgrade_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_assignment_upgrade_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_assignment_upgrade_id_seq OWNER TO moodle;

--
-- Name: mdl_assignment_upgrade_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_assignment_upgrade_id_seq OWNED BY public.mdl_assignment_upgrade.id;


--
-- Name: mdl_assignsubmission_file; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_assignsubmission_file (
    id bigint NOT NULL,
    assignment bigint DEFAULT 0 NOT NULL,
    submission bigint DEFAULT 0 NOT NULL,
    numfiles bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_assignsubmission_file OWNER TO moodle;

--
-- Name: TABLE mdl_assignsubmission_file; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_assignsubmission_file IS 'Info about file submissions for assignments';


--
-- Name: mdl_assignsubmission_file_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_assignsubmission_file_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_assignsubmission_file_id_seq OWNER TO moodle;

--
-- Name: mdl_assignsubmission_file_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_assignsubmission_file_id_seq OWNED BY public.mdl_assignsubmission_file.id;


--
-- Name: mdl_assignsubmission_onlinetext; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_assignsubmission_onlinetext (
    id bigint NOT NULL,
    assignment bigint DEFAULT 0 NOT NULL,
    submission bigint DEFAULT 0 NOT NULL,
    onlinetext text,
    onlineformat smallint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_assignsubmission_onlinetext OWNER TO moodle;

--
-- Name: TABLE mdl_assignsubmission_onlinetext; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_assignsubmission_onlinetext IS 'Info about onlinetext submission';


--
-- Name: mdl_assignsubmission_onlinetext_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_assignsubmission_onlinetext_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_assignsubmission_onlinetext_id_seq OWNER TO moodle;

--
-- Name: mdl_assignsubmission_onlinetext_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_assignsubmission_onlinetext_id_seq OWNED BY public.mdl_assignsubmission_onlinetext.id;


--
-- Name: mdl_auth_oauth2_linked_login; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_auth_oauth2_linked_login (
    id bigint NOT NULL,
    timecreated bigint NOT NULL,
    timemodified bigint NOT NULL,
    usermodified bigint NOT NULL,
    userid bigint NOT NULL,
    issuerid bigint NOT NULL,
    username character varying(255) DEFAULT ''::character varying NOT NULL,
    email text NOT NULL,
    confirmtoken character varying(64) DEFAULT ''::character varying NOT NULL,
    confirmtokenexpires bigint
);


ALTER TABLE public.mdl_auth_oauth2_linked_login OWNER TO moodle;

--
-- Name: TABLE mdl_auth_oauth2_linked_login; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_auth_oauth2_linked_login IS 'Accounts linked to a users Moodle account.';


--
-- Name: mdl_auth_oauth2_linked_login_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_auth_oauth2_linked_login_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_auth_oauth2_linked_login_id_seq OWNER TO moodle;

--
-- Name: mdl_auth_oauth2_linked_login_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_auth_oauth2_linked_login_id_seq OWNED BY public.mdl_auth_oauth2_linked_login.id;


--
-- Name: mdl_auth_oidc_prevlogin; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_auth_oidc_prevlogin (
    id bigint NOT NULL,
    userid bigint NOT NULL,
    method character varying(255) DEFAULT ''::character varying NOT NULL,
    password character varying(255) DEFAULT ''::character varying NOT NULL
);


ALTER TABLE public.mdl_auth_oidc_prevlogin OWNER TO moodle;

--
-- Name: TABLE mdl_auth_oidc_prevlogin; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_auth_oidc_prevlogin IS 'Stores previous login methods.';


--
-- Name: mdl_auth_oidc_prevlogin_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_auth_oidc_prevlogin_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_auth_oidc_prevlogin_id_seq OWNER TO moodle;

--
-- Name: mdl_auth_oidc_prevlogin_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_auth_oidc_prevlogin_id_seq OWNED BY public.mdl_auth_oidc_prevlogin.id;


--
-- Name: mdl_auth_oidc_state; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_auth_oidc_state (
    id bigint NOT NULL,
    sesskey character varying(10) DEFAULT ''::character varying NOT NULL,
    state character varying(15) DEFAULT ''::character varying NOT NULL,
    nonce character varying(15) DEFAULT ''::character varying NOT NULL,
    timecreated bigint NOT NULL,
    additionaldata text
);


ALTER TABLE public.mdl_auth_oidc_state OWNER TO moodle;

--
-- Name: TABLE mdl_auth_oidc_state; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_auth_oidc_state IS 'Map of state to sesskey.';


--
-- Name: mdl_auth_oidc_state_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_auth_oidc_state_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_auth_oidc_state_id_seq OWNER TO moodle;

--
-- Name: mdl_auth_oidc_state_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_auth_oidc_state_id_seq OWNED BY public.mdl_auth_oidc_state.id;


--
-- Name: mdl_auth_oidc_token; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_auth_oidc_token (
    id bigint NOT NULL,
    oidcuniqid character varying(255) DEFAULT ''::character varying NOT NULL,
    username character varying(100) DEFAULT ''::character varying NOT NULL,
    userid bigint DEFAULT 0 NOT NULL,
    oidcusername character varying(255) DEFAULT ''::character varying NOT NULL,
    scope text NOT NULL,
    resource character varying(127) DEFAULT ''::character varying NOT NULL,
    authcode text NOT NULL,
    token text NOT NULL,
    expiry bigint NOT NULL,
    refreshtoken text NOT NULL,
    idtoken text NOT NULL
);


ALTER TABLE public.mdl_auth_oidc_token OWNER TO moodle;

--
-- Name: TABLE mdl_auth_oidc_token; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_auth_oidc_token IS 'Stores tokens.';


--
-- Name: mdl_auth_oidc_token_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_auth_oidc_token_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_auth_oidc_token_id_seq OWNER TO moodle;

--
-- Name: mdl_auth_oidc_token_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_auth_oidc_token_id_seq OWNED BY public.mdl_auth_oidc_token.id;


--
-- Name: mdl_auth_saml2_idps; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_auth_saml2_idps (
    id bigint NOT NULL,
    metadataurl character varying(255) DEFAULT ''::character varying NOT NULL,
    entityid character varying(255) DEFAULT ''::character varying NOT NULL,
    activeidp smallint DEFAULT 0 NOT NULL,
    defaultidp smallint DEFAULT 0 NOT NULL,
    adminidp smallint DEFAULT 0 NOT NULL,
    defaultname character varying(255) DEFAULT ''::character varying NOT NULL,
    displayname character varying(255) DEFAULT ''::character varying NOT NULL,
    logo text,
    alias character varying(50),
    whitelist text
);


ALTER TABLE public.mdl_auth_saml2_idps OWNER TO moodle;

--
-- Name: TABLE mdl_auth_saml2_idps; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_auth_saml2_idps IS 'Configured IdPs for SAML2';


--
-- Name: mdl_auth_saml2_idps_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_auth_saml2_idps_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_auth_saml2_idps_id_seq OWNER TO moodle;

--
-- Name: mdl_auth_saml2_idps_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_auth_saml2_idps_id_seq OWNED BY public.mdl_auth_saml2_idps.id;


--
-- Name: mdl_auth_saml2_kvstore; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_auth_saml2_kvstore (
    id bigint NOT NULL,
    type character varying(30) DEFAULT ''::character varying NOT NULL,
    k character varying(50) DEFAULT ''::character varying NOT NULL,
    value text NOT NULL,
    expire bigint
);


ALTER TABLE public.mdl_auth_saml2_kvstore OWNER TO moodle;

--
-- Name: TABLE mdl_auth_saml2_kvstore; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_auth_saml2_kvstore IS 'A key value store for SAML2';


--
-- Name: mdl_auth_saml2_kvstore_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_auth_saml2_kvstore_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_auth_saml2_kvstore_id_seq OWNER TO moodle;

--
-- Name: mdl_auth_saml2_kvstore_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_auth_saml2_kvstore_id_seq OWNED BY public.mdl_auth_saml2_kvstore.id;


--
-- Name: mdl_backup_controllers; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_backup_controllers (
    id bigint NOT NULL,
    backupid character varying(32) DEFAULT ''::character varying NOT NULL,
    operation character varying(20) DEFAULT 'backup'::character varying NOT NULL,
    type character varying(10) DEFAULT ''::character varying NOT NULL,
    itemid bigint NOT NULL,
    format character varying(20) DEFAULT ''::character varying NOT NULL,
    interactive smallint NOT NULL,
    purpose smallint NOT NULL,
    userid bigint NOT NULL,
    status smallint NOT NULL,
    execution smallint NOT NULL,
    executiontime bigint NOT NULL,
    checksum character varying(32) DEFAULT ''::character varying NOT NULL,
    timecreated bigint NOT NULL,
    timemodified bigint NOT NULL,
    progress numeric(15,14) DEFAULT 0 NOT NULL,
    controller text NOT NULL
);


ALTER TABLE public.mdl_backup_controllers OWNER TO moodle;

--
-- Name: TABLE mdl_backup_controllers; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_backup_controllers IS 'To store the backup_controllers as they are used';


--
-- Name: mdl_backup_controllers_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_backup_controllers_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_backup_controllers_id_seq OWNER TO moodle;

--
-- Name: mdl_backup_controllers_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_backup_controllers_id_seq OWNED BY public.mdl_backup_controllers.id;


--
-- Name: mdl_backup_courses; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_backup_courses (
    id bigint NOT NULL,
    courseid bigint DEFAULT 0 NOT NULL,
    laststarttime bigint DEFAULT 0 NOT NULL,
    lastendtime bigint DEFAULT 0 NOT NULL,
    laststatus character varying(1) DEFAULT '5'::character varying NOT NULL,
    nextstarttime bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_backup_courses OWNER TO moodle;

--
-- Name: TABLE mdl_backup_courses; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_backup_courses IS 'To store every course backup status';


--
-- Name: mdl_backup_courses_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_backup_courses_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_backup_courses_id_seq OWNER TO moodle;

--
-- Name: mdl_backup_courses_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_backup_courses_id_seq OWNED BY public.mdl_backup_courses.id;


--
-- Name: mdl_backup_logs; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_backup_logs (
    id bigint NOT NULL,
    backupid character varying(32) DEFAULT ''::character varying NOT NULL,
    loglevel smallint NOT NULL,
    message text NOT NULL,
    timecreated bigint NOT NULL
);


ALTER TABLE public.mdl_backup_logs OWNER TO moodle;

--
-- Name: TABLE mdl_backup_logs; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_backup_logs IS 'To store all the logs from backup and restore operations (by db logger)';


--
-- Name: mdl_backup_logs_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_backup_logs_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_backup_logs_id_seq OWNER TO moodle;

--
-- Name: mdl_backup_logs_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_backup_logs_id_seq OWNED BY public.mdl_backup_logs.id;


--
-- Name: mdl_badge; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_badge (
    id bigint NOT NULL,
    name character varying(255) DEFAULT ''::character varying NOT NULL,
    description text,
    timecreated bigint DEFAULT 0 NOT NULL,
    timemodified bigint DEFAULT 0 NOT NULL,
    usercreated bigint NOT NULL,
    usermodified bigint NOT NULL,
    issuername character varying(255) DEFAULT ''::character varying NOT NULL,
    issuerurl character varying(255) DEFAULT ''::character varying NOT NULL,
    issuercontact character varying(255),
    expiredate bigint,
    expireperiod bigint,
    type smallint DEFAULT 1 NOT NULL,
    courseid bigint,
    message text NOT NULL,
    messagesubject text NOT NULL,
    attachment smallint DEFAULT 1 NOT NULL,
    notification smallint DEFAULT 1 NOT NULL,
    status smallint DEFAULT 0 NOT NULL,
    nextcron bigint,
    version character varying(255),
    language character varying(255),
    imageauthorname character varying(255),
    imageauthoremail character varying(255),
    imageauthorurl character varying(255),
    imagecaption text
);


ALTER TABLE public.mdl_badge OWNER TO moodle;

--
-- Name: TABLE mdl_badge; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_badge IS 'Defines badge';


--
-- Name: mdl_badge_alignment; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_badge_alignment (
    id bigint NOT NULL,
    badgeid bigint DEFAULT 0 NOT NULL,
    targetname character varying(255) DEFAULT ''::character varying NOT NULL,
    targeturl character varying(255) DEFAULT ''::character varying NOT NULL,
    targetdescription text,
    targetframework character varying(255),
    targetcode character varying(255)
);


ALTER TABLE public.mdl_badge_alignment OWNER TO moodle;

--
-- Name: TABLE mdl_badge_alignment; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_badge_alignment IS 'Defines alignment for badges';


--
-- Name: mdl_badge_alignment_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_badge_alignment_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_badge_alignment_id_seq OWNER TO moodle;

--
-- Name: mdl_badge_alignment_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_badge_alignment_id_seq OWNED BY public.mdl_badge_alignment.id;


--
-- Name: mdl_badge_backpack; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_badge_backpack (
    id bigint NOT NULL,
    userid bigint DEFAULT 0 NOT NULL,
    email character varying(100) DEFAULT ''::character varying NOT NULL,
    backpackuid bigint NOT NULL,
    autosync smallint DEFAULT 0 NOT NULL,
    password character varying(50),
    externalbackpackid bigint
);


ALTER TABLE public.mdl_badge_backpack OWNER TO moodle;

--
-- Name: TABLE mdl_badge_backpack; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_badge_backpack IS 'Defines settings for connecting external backpack';


--
-- Name: mdl_badge_backpack_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_badge_backpack_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_badge_backpack_id_seq OWNER TO moodle;

--
-- Name: mdl_badge_backpack_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_badge_backpack_id_seq OWNED BY public.mdl_badge_backpack.id;


--
-- Name: mdl_badge_backpack_oauth2; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_badge_backpack_oauth2 (
    id bigint NOT NULL,
    usermodified bigint DEFAULT 0 NOT NULL,
    timecreated bigint DEFAULT 0 NOT NULL,
    timemodified bigint DEFAULT 0 NOT NULL,
    userid bigint NOT NULL,
    issuerid bigint NOT NULL,
    externalbackpackid bigint NOT NULL,
    token text NOT NULL,
    refreshtoken text NOT NULL,
    expires bigint,
    scope text
);


ALTER TABLE public.mdl_badge_backpack_oauth2 OWNER TO moodle;

--
-- Name: TABLE mdl_badge_backpack_oauth2; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_badge_backpack_oauth2 IS 'Default comment for the table, please edit me';


--
-- Name: mdl_badge_backpack_oauth2_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_badge_backpack_oauth2_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_badge_backpack_oauth2_id_seq OWNER TO moodle;

--
-- Name: mdl_badge_backpack_oauth2_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_badge_backpack_oauth2_id_seq OWNED BY public.mdl_badge_backpack_oauth2.id;


--
-- Name: mdl_badge_criteria; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_badge_criteria (
    id bigint NOT NULL,
    badgeid bigint DEFAULT 0 NOT NULL,
    criteriatype bigint,
    method smallint DEFAULT 1 NOT NULL,
    description text,
    descriptionformat smallint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_badge_criteria OWNER TO moodle;

--
-- Name: TABLE mdl_badge_criteria; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_badge_criteria IS 'Defines criteria for issuing badges';


--
-- Name: mdl_badge_criteria_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_badge_criteria_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_badge_criteria_id_seq OWNER TO moodle;

--
-- Name: mdl_badge_criteria_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_badge_criteria_id_seq OWNED BY public.mdl_badge_criteria.id;


--
-- Name: mdl_badge_criteria_met; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_badge_criteria_met (
    id bigint NOT NULL,
    issuedid bigint,
    critid bigint NOT NULL,
    userid bigint NOT NULL,
    datemet bigint NOT NULL
);


ALTER TABLE public.mdl_badge_criteria_met OWNER TO moodle;

--
-- Name: TABLE mdl_badge_criteria_met; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_badge_criteria_met IS 'Defines criteria that were met for an issued badge';


--
-- Name: mdl_badge_criteria_met_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_badge_criteria_met_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_badge_criteria_met_id_seq OWNER TO moodle;

--
-- Name: mdl_badge_criteria_met_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_badge_criteria_met_id_seq OWNED BY public.mdl_badge_criteria_met.id;


--
-- Name: mdl_badge_criteria_param; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_badge_criteria_param (
    id bigint NOT NULL,
    critid bigint NOT NULL,
    name character varying(255) DEFAULT ''::character varying NOT NULL,
    value character varying(255)
);


ALTER TABLE public.mdl_badge_criteria_param OWNER TO moodle;

--
-- Name: TABLE mdl_badge_criteria_param; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_badge_criteria_param IS 'Defines parameters for badges criteria';


--
-- Name: mdl_badge_criteria_param_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_badge_criteria_param_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_badge_criteria_param_id_seq OWNER TO moodle;

--
-- Name: mdl_badge_criteria_param_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_badge_criteria_param_id_seq OWNED BY public.mdl_badge_criteria_param.id;


--
-- Name: mdl_badge_endorsement; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_badge_endorsement (
    id bigint NOT NULL,
    badgeid bigint DEFAULT 0 NOT NULL,
    issuername character varying(255) DEFAULT ''::character varying NOT NULL,
    issuerurl character varying(255) DEFAULT ''::character varying NOT NULL,
    issueremail character varying(255) DEFAULT ''::character varying NOT NULL,
    claimid character varying(255),
    claimcomment text,
    dateissued bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_badge_endorsement OWNER TO moodle;

--
-- Name: TABLE mdl_badge_endorsement; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_badge_endorsement IS 'Defines endorsement for badge';


--
-- Name: mdl_badge_endorsement_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_badge_endorsement_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_badge_endorsement_id_seq OWNER TO moodle;

--
-- Name: mdl_badge_endorsement_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_badge_endorsement_id_seq OWNED BY public.mdl_badge_endorsement.id;


--
-- Name: mdl_badge_external; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_badge_external (
    id bigint NOT NULL,
    backpackid bigint NOT NULL,
    collectionid bigint NOT NULL,
    entityid character varying(255),
    assertion text
);


ALTER TABLE public.mdl_badge_external OWNER TO moodle;

--
-- Name: TABLE mdl_badge_external; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_badge_external IS 'Setting for external badges display';


--
-- Name: mdl_badge_external_backpack; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_badge_external_backpack (
    id bigint NOT NULL,
    backpackapiurl character varying(255) DEFAULT ''::character varying NOT NULL,
    backpackweburl character varying(255) DEFAULT ''::character varying NOT NULL,
    apiversion character varying(12) DEFAULT '1.0'::character varying NOT NULL,
    sortorder bigint DEFAULT 0 NOT NULL,
    oauth2_issuerid bigint
);


ALTER TABLE public.mdl_badge_external_backpack OWNER TO moodle;

--
-- Name: TABLE mdl_badge_external_backpack; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_badge_external_backpack IS 'Defines settings for site level backpacks that a user can connect to.';


--
-- Name: mdl_badge_external_backpack_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_badge_external_backpack_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_badge_external_backpack_id_seq OWNER TO moodle;

--
-- Name: mdl_badge_external_backpack_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_badge_external_backpack_id_seq OWNED BY public.mdl_badge_external_backpack.id;


--
-- Name: mdl_badge_external_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_badge_external_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_badge_external_id_seq OWNER TO moodle;

--
-- Name: mdl_badge_external_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_badge_external_id_seq OWNED BY public.mdl_badge_external.id;


--
-- Name: mdl_badge_external_identifier; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_badge_external_identifier (
    id bigint NOT NULL,
    sitebackpackid bigint NOT NULL,
    internalid character varying(128) DEFAULT ''::character varying NOT NULL,
    externalid character varying(128) DEFAULT ''::character varying NOT NULL,
    type character varying(16) DEFAULT ''::character varying NOT NULL
);


ALTER TABLE public.mdl_badge_external_identifier OWNER TO moodle;

--
-- Name: TABLE mdl_badge_external_identifier; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_badge_external_identifier IS 'Setting for external badges mappings';


--
-- Name: mdl_badge_external_identifier_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_badge_external_identifier_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_badge_external_identifier_id_seq OWNER TO moodle;

--
-- Name: mdl_badge_external_identifier_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_badge_external_identifier_id_seq OWNED BY public.mdl_badge_external_identifier.id;


--
-- Name: mdl_badge_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_badge_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_badge_id_seq OWNER TO moodle;

--
-- Name: mdl_badge_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_badge_id_seq OWNED BY public.mdl_badge.id;


--
-- Name: mdl_badge_issued; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_badge_issued (
    id bigint NOT NULL,
    badgeid bigint DEFAULT 0 NOT NULL,
    userid bigint DEFAULT 0 NOT NULL,
    uniquehash text NOT NULL,
    dateissued bigint DEFAULT 0 NOT NULL,
    dateexpire bigint,
    visible smallint DEFAULT 0 NOT NULL,
    issuernotified bigint
);


ALTER TABLE public.mdl_badge_issued OWNER TO moodle;

--
-- Name: TABLE mdl_badge_issued; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_badge_issued IS 'Defines issued badges';


--
-- Name: mdl_badge_issued_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_badge_issued_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_badge_issued_id_seq OWNER TO moodle;

--
-- Name: mdl_badge_issued_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_badge_issued_id_seq OWNED BY public.mdl_badge_issued.id;


--
-- Name: mdl_badge_manual_award; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_badge_manual_award (
    id bigint NOT NULL,
    badgeid bigint NOT NULL,
    recipientid bigint NOT NULL,
    issuerid bigint NOT NULL,
    issuerrole bigint NOT NULL,
    datemet bigint NOT NULL
);


ALTER TABLE public.mdl_badge_manual_award OWNER TO moodle;

--
-- Name: TABLE mdl_badge_manual_award; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_badge_manual_award IS 'Track manual award criteria for badges';


--
-- Name: mdl_badge_manual_award_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_badge_manual_award_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_badge_manual_award_id_seq OWNER TO moodle;

--
-- Name: mdl_badge_manual_award_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_badge_manual_award_id_seq OWNED BY public.mdl_badge_manual_award.id;


--
-- Name: mdl_badge_related; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_badge_related (
    id bigint NOT NULL,
    badgeid bigint DEFAULT 0 NOT NULL,
    relatedbadgeid bigint
);


ALTER TABLE public.mdl_badge_related OWNER TO moodle;

--
-- Name: TABLE mdl_badge_related; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_badge_related IS 'Defines badge related for badges';


--
-- Name: mdl_badge_related_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_badge_related_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_badge_related_id_seq OWNER TO moodle;

--
-- Name: mdl_badge_related_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_badge_related_id_seq OWNED BY public.mdl_badge_related.id;


--
-- Name: mdl_bigbluebuttonbn; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_bigbluebuttonbn (
    id bigint NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    course bigint DEFAULT 0 NOT NULL,
    name character varying(255) DEFAULT ''::character varying NOT NULL,
    intro text,
    introformat smallint DEFAULT 1 NOT NULL,
    meetingid character varying(255) DEFAULT ''::character varying NOT NULL,
    moderatorpass character varying(255) DEFAULT ''::character varying NOT NULL,
    viewerpass character varying(255) DEFAULT ''::character varying NOT NULL,
    wait smallint DEFAULT 0 NOT NULL,
    record smallint DEFAULT 0 NOT NULL,
    recordallfromstart smallint DEFAULT 0 NOT NULL,
    recordhidebutton smallint DEFAULT 0 NOT NULL,
    welcome text,
    voicebridge integer DEFAULT 0 NOT NULL,
    openingtime bigint DEFAULT 0 NOT NULL,
    closingtime bigint DEFAULT 0 NOT NULL,
    timecreated bigint DEFAULT 0 NOT NULL,
    timemodified bigint DEFAULT 0 NOT NULL,
    presentation text,
    participants text,
    userlimit smallint DEFAULT 0 NOT NULL,
    recordings_html smallint DEFAULT 0 NOT NULL,
    recordings_deleted smallint DEFAULT 1 NOT NULL,
    recordings_imported smallint DEFAULT 0 NOT NULL,
    recordings_preview smallint DEFAULT 0 NOT NULL,
    clienttype smallint DEFAULT 0 NOT NULL,
    muteonstart smallint DEFAULT 0 NOT NULL,
    disablecam smallint DEFAULT 0 NOT NULL,
    disablemic smallint DEFAULT 0 NOT NULL,
    disableprivatechat smallint DEFAULT 0 NOT NULL,
    disablepublicchat smallint DEFAULT 0 NOT NULL,
    disablenote smallint DEFAULT 0 NOT NULL,
    hideuserlist smallint DEFAULT 0 NOT NULL,
    lockedlayout smallint DEFAULT 0 NOT NULL,
    lockonjoin smallint DEFAULT 0 NOT NULL,
    lockonjoinconfigurable smallint DEFAULT 0 NOT NULL,
    completionattendance integer DEFAULT 0 NOT NULL,
    completionengagementchats integer DEFAULT 0 NOT NULL,
    completionengagementtalks integer DEFAULT 0 NOT NULL,
    completionengagementraisehand integer DEFAULT 0 NOT NULL,
    completionengagementpollvotes integer DEFAULT 0 NOT NULL,
    completionengagementemojis integer DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_bigbluebuttonbn OWNER TO moodle;

--
-- Name: TABLE mdl_bigbluebuttonbn; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_bigbluebuttonbn IS 'The bigbluebuttonbn table to store information about a meeting activities.';


--
-- Name: mdl_bigbluebuttonbn_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_bigbluebuttonbn_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_bigbluebuttonbn_id_seq OWNER TO moodle;

--
-- Name: mdl_bigbluebuttonbn_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_bigbluebuttonbn_id_seq OWNED BY public.mdl_bigbluebuttonbn.id;


--
-- Name: mdl_bigbluebuttonbn_logs; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_bigbluebuttonbn_logs (
    id bigint NOT NULL,
    courseid bigint NOT NULL,
    bigbluebuttonbnid bigint NOT NULL,
    userid bigint,
    timecreated bigint DEFAULT 0 NOT NULL,
    meetingid character varying(256) DEFAULT ''::character varying NOT NULL,
    log character varying(32) DEFAULT ''::character varying NOT NULL,
    meta text
);


ALTER TABLE public.mdl_bigbluebuttonbn_logs OWNER TO moodle;

--
-- Name: TABLE mdl_bigbluebuttonbn_logs; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_bigbluebuttonbn_logs IS 'The bigbluebuttonbn table to store meeting activity events';


--
-- Name: mdl_bigbluebuttonbn_logs_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_bigbluebuttonbn_logs_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_bigbluebuttonbn_logs_id_seq OWNER TO moodle;

--
-- Name: mdl_bigbluebuttonbn_logs_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_bigbluebuttonbn_logs_id_seq OWNED BY public.mdl_bigbluebuttonbn_logs.id;


--
-- Name: mdl_block; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_block (
    id bigint NOT NULL,
    name character varying(40) DEFAULT ''::character varying NOT NULL,
    cron bigint DEFAULT 0 NOT NULL,
    lastcron bigint DEFAULT 0 NOT NULL,
    visible smallint DEFAULT 1 NOT NULL
);


ALTER TABLE public.mdl_block OWNER TO moodle;

--
-- Name: TABLE mdl_block; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_block IS 'contains all installed blocks';


--
-- Name: mdl_block_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_block_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_block_id_seq OWNER TO moodle;

--
-- Name: mdl_block_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_block_id_seq OWNED BY public.mdl_block.id;


--
-- Name: mdl_block_instances; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_block_instances (
    id bigint NOT NULL,
    blockname character varying(40) DEFAULT ''::character varying NOT NULL,
    parentcontextid bigint NOT NULL,
    showinsubcontexts smallint NOT NULL,
    requiredbytheme smallint DEFAULT 0 NOT NULL,
    pagetypepattern character varying(64) DEFAULT ''::character varying NOT NULL,
    subpagepattern character varying(16),
    defaultregion character varying(16) DEFAULT ''::character varying NOT NULL,
    defaultweight bigint NOT NULL,
    configdata text,
    timecreated bigint NOT NULL,
    timemodified bigint NOT NULL
);


ALTER TABLE public.mdl_block_instances OWNER TO moodle;

--
-- Name: TABLE mdl_block_instances; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_block_instances IS 'This table stores block instances. The type of block this is is given by the blockname column. The places this block instance appears is controlled by the parentcontexid, showinsubcontexts, pagetypepattern and subpagepattern fields. Where the block a';


--
-- Name: mdl_block_instances_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_block_instances_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_block_instances_id_seq OWNER TO moodle;

--
-- Name: mdl_block_instances_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_block_instances_id_seq OWNED BY public.mdl_block_instances.id;


--
-- Name: mdl_block_positions; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_block_positions (
    id bigint NOT NULL,
    blockinstanceid bigint NOT NULL,
    contextid bigint NOT NULL,
    pagetype character varying(64) DEFAULT ''::character varying NOT NULL,
    subpage character varying(16) DEFAULT ''::character varying NOT NULL,
    visible smallint NOT NULL,
    region character varying(16) DEFAULT ''::character varying NOT NULL,
    weight bigint NOT NULL
);


ALTER TABLE public.mdl_block_positions OWNER TO moodle;

--
-- Name: TABLE mdl_block_positions; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_block_positions IS 'Stores the position of a sticky block_instance on a another page than the one where it was added.';


--
-- Name: mdl_block_positions_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_block_positions_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_block_positions_id_seq OWNER TO moodle;

--
-- Name: mdl_block_positions_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_block_positions_id_seq OWNED BY public.mdl_block_positions.id;


--
-- Name: mdl_block_recent_activity; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_block_recent_activity (
    id bigint NOT NULL,
    courseid bigint NOT NULL,
    cmid bigint NOT NULL,
    timecreated bigint NOT NULL,
    userid bigint NOT NULL,
    action smallint NOT NULL,
    modname character varying(20)
);


ALTER TABLE public.mdl_block_recent_activity OWNER TO moodle;

--
-- Name: TABLE mdl_block_recent_activity; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_block_recent_activity IS 'Recent activity block';


--
-- Name: mdl_block_recent_activity_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_block_recent_activity_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_block_recent_activity_id_seq OWNER TO moodle;

--
-- Name: mdl_block_recent_activity_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_block_recent_activity_id_seq OWNED BY public.mdl_block_recent_activity.id;


--
-- Name: mdl_block_recentlyaccesseditems; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_block_recentlyaccesseditems (
    id bigint NOT NULL,
    courseid bigint NOT NULL,
    cmid bigint NOT NULL,
    userid bigint NOT NULL,
    timeaccess bigint NOT NULL
);


ALTER TABLE public.mdl_block_recentlyaccesseditems OWNER TO moodle;

--
-- Name: TABLE mdl_block_recentlyaccesseditems; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_block_recentlyaccesseditems IS 'Most recently accessed items accessed by a user';


--
-- Name: mdl_block_recentlyaccesseditems_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_block_recentlyaccesseditems_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_block_recentlyaccesseditems_id_seq OWNER TO moodle;

--
-- Name: mdl_block_recentlyaccesseditems_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_block_recentlyaccesseditems_id_seq OWNED BY public.mdl_block_recentlyaccesseditems.id;


--
-- Name: mdl_block_rss_client; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_block_rss_client (
    id bigint NOT NULL,
    userid bigint DEFAULT 0 NOT NULL,
    title text NOT NULL,
    preferredtitle character varying(64) DEFAULT ''::character varying NOT NULL,
    description text NOT NULL,
    shared smallint DEFAULT 0 NOT NULL,
    url character varying(255) DEFAULT ''::character varying NOT NULL,
    skiptime bigint DEFAULT 0 NOT NULL,
    skipuntil bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_block_rss_client OWNER TO moodle;

--
-- Name: TABLE mdl_block_rss_client; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_block_rss_client IS 'Remote news feed information. Contains the news feed id, the userid of the user who added the feed, the title of the feed itself and a description of the feed contents along with the url used to access the remote feed. Preferredtitle is a field for f';


--
-- Name: mdl_block_rss_client_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_block_rss_client_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_block_rss_client_id_seq OWNER TO moodle;

--
-- Name: mdl_block_rss_client_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_block_rss_client_id_seq OWNED BY public.mdl_block_rss_client.id;


--
-- Name: mdl_blog_association; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_blog_association (
    id bigint NOT NULL,
    contextid bigint NOT NULL,
    blogid bigint NOT NULL
);


ALTER TABLE public.mdl_blog_association OWNER TO moodle;

--
-- Name: TABLE mdl_blog_association; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_blog_association IS 'Associations of blog entries with courses and module instances';


--
-- Name: mdl_blog_association_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_blog_association_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_blog_association_id_seq OWNER TO moodle;

--
-- Name: mdl_blog_association_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_blog_association_id_seq OWNED BY public.mdl_blog_association.id;


--
-- Name: mdl_blog_external; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_blog_external (
    id bigint NOT NULL,
    userid bigint NOT NULL,
    name character varying(255) DEFAULT ''::character varying NOT NULL,
    description text,
    url text NOT NULL,
    filtertags character varying(255),
    failedlastsync smallint DEFAULT 0 NOT NULL,
    timemodified bigint,
    timefetched bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_blog_external OWNER TO moodle;

--
-- Name: TABLE mdl_blog_external; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_blog_external IS 'External blog links used for RSS copying of blog entries to Moodle user blogs';


--
-- Name: mdl_blog_external_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_blog_external_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_blog_external_id_seq OWNER TO moodle;

--
-- Name: mdl_blog_external_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_blog_external_id_seq OWNED BY public.mdl_blog_external.id;


--
-- Name: mdl_book; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_book (
    id bigint NOT NULL,
    course bigint DEFAULT 0 NOT NULL,
    name character varying(255) DEFAULT ''::character varying NOT NULL,
    intro text,
    introformat smallint DEFAULT 0 NOT NULL,
    numbering smallint DEFAULT 0 NOT NULL,
    navstyle smallint DEFAULT 1 NOT NULL,
    customtitles smallint DEFAULT 0 NOT NULL,
    revision bigint DEFAULT 0 NOT NULL,
    timecreated bigint DEFAULT 0 NOT NULL,
    timemodified bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_book OWNER TO moodle;

--
-- Name: TABLE mdl_book; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_book IS 'Defines book';


--
-- Name: mdl_book_chapters; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_book_chapters (
    id bigint NOT NULL,
    bookid bigint DEFAULT 0 NOT NULL,
    pagenum bigint DEFAULT 0 NOT NULL,
    subchapter bigint DEFAULT 0 NOT NULL,
    title character varying(255) DEFAULT ''::character varying NOT NULL,
    content text NOT NULL,
    contentformat smallint DEFAULT 0 NOT NULL,
    hidden smallint DEFAULT 0 NOT NULL,
    timecreated bigint DEFAULT 0 NOT NULL,
    timemodified bigint DEFAULT 0 NOT NULL,
    importsrc character varying(255) DEFAULT ''::character varying NOT NULL
);


ALTER TABLE public.mdl_book_chapters OWNER TO moodle;

--
-- Name: TABLE mdl_book_chapters; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_book_chapters IS 'Defines book_chapters';


--
-- Name: mdl_book_chapters_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_book_chapters_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_book_chapters_id_seq OWNER TO moodle;

--
-- Name: mdl_book_chapters_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_book_chapters_id_seq OWNED BY public.mdl_book_chapters.id;


--
-- Name: mdl_book_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_book_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_book_id_seq OWNER TO moodle;

--
-- Name: mdl_book_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_book_id_seq OWNED BY public.mdl_book.id;


--
-- Name: mdl_cache_filters; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_cache_filters (
    id bigint NOT NULL,
    filter character varying(32) DEFAULT ''::character varying NOT NULL,
    version bigint DEFAULT 0 NOT NULL,
    md5key character varying(32) DEFAULT ''::character varying NOT NULL,
    rawtext text NOT NULL,
    timemodified bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_cache_filters OWNER TO moodle;

--
-- Name: TABLE mdl_cache_filters; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_cache_filters IS 'For keeping information about cached data';


--
-- Name: mdl_cache_filters_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_cache_filters_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_cache_filters_id_seq OWNER TO moodle;

--
-- Name: mdl_cache_filters_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_cache_filters_id_seq OWNED BY public.mdl_cache_filters.id;


--
-- Name: mdl_cache_flags; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_cache_flags (
    id bigint NOT NULL,
    flagtype character varying(255) DEFAULT ''::character varying NOT NULL,
    name character varying(255) DEFAULT ''::character varying NOT NULL,
    timemodified bigint DEFAULT 0 NOT NULL,
    value text NOT NULL,
    expiry bigint NOT NULL
);


ALTER TABLE public.mdl_cache_flags OWNER TO moodle;

--
-- Name: TABLE mdl_cache_flags; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_cache_flags IS 'Cache of time-sensitive flags';


--
-- Name: mdl_cache_flags_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_cache_flags_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_cache_flags_id_seq OWNER TO moodle;

--
-- Name: mdl_cache_flags_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_cache_flags_id_seq OWNED BY public.mdl_cache_flags.id;


--
-- Name: mdl_capabilities; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_capabilities (
    id bigint NOT NULL,
    name character varying(255) DEFAULT ''::character varying NOT NULL,
    captype character varying(50) DEFAULT ''::character varying NOT NULL,
    contextlevel bigint DEFAULT 0 NOT NULL,
    component character varying(100) DEFAULT ''::character varying NOT NULL,
    riskbitmask bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_capabilities OWNER TO moodle;

--
-- Name: TABLE mdl_capabilities; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_capabilities IS 'this defines all capabilities';


--
-- Name: mdl_capabilities_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_capabilities_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_capabilities_id_seq OWNER TO moodle;

--
-- Name: mdl_capabilities_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_capabilities_id_seq OWNED BY public.mdl_capabilities.id;


--
-- Name: mdl_chat; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_chat (
    id bigint NOT NULL,
    course bigint DEFAULT 0 NOT NULL,
    name character varying(255) DEFAULT ''::character varying NOT NULL,
    intro text NOT NULL,
    introformat smallint DEFAULT 0 NOT NULL,
    keepdays bigint DEFAULT 0 NOT NULL,
    studentlogs smallint DEFAULT 0 NOT NULL,
    chattime bigint DEFAULT 0 NOT NULL,
    schedule smallint DEFAULT 0 NOT NULL,
    timemodified bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_chat OWNER TO moodle;

--
-- Name: TABLE mdl_chat; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_chat IS 'Each of these is a chat room';


--
-- Name: mdl_chat_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_chat_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_chat_id_seq OWNER TO moodle;

--
-- Name: mdl_chat_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_chat_id_seq OWNED BY public.mdl_chat.id;


--
-- Name: mdl_chat_messages; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_chat_messages (
    id bigint NOT NULL,
    chatid bigint DEFAULT 0 NOT NULL,
    userid bigint DEFAULT 0 NOT NULL,
    groupid bigint DEFAULT 0 NOT NULL,
    issystem smallint DEFAULT 0 NOT NULL,
    message text NOT NULL,
    "timestamp" bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_chat_messages OWNER TO moodle;

--
-- Name: TABLE mdl_chat_messages; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_chat_messages IS 'Stores all the actual chat messages';


--
-- Name: mdl_chat_messages_current; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_chat_messages_current (
    id bigint NOT NULL,
    chatid bigint DEFAULT 0 NOT NULL,
    userid bigint DEFAULT 0 NOT NULL,
    groupid bigint DEFAULT 0 NOT NULL,
    issystem smallint DEFAULT 0 NOT NULL,
    message text NOT NULL,
    "timestamp" bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_chat_messages_current OWNER TO moodle;

--
-- Name: TABLE mdl_chat_messages_current; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_chat_messages_current IS 'Stores current session';


--
-- Name: mdl_chat_messages_current_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_chat_messages_current_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_chat_messages_current_id_seq OWNER TO moodle;

--
-- Name: mdl_chat_messages_current_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_chat_messages_current_id_seq OWNED BY public.mdl_chat_messages_current.id;


--
-- Name: mdl_chat_messages_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_chat_messages_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_chat_messages_id_seq OWNER TO moodle;

--
-- Name: mdl_chat_messages_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_chat_messages_id_seq OWNED BY public.mdl_chat_messages.id;


--
-- Name: mdl_chat_users; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_chat_users (
    id bigint NOT NULL,
    chatid bigint DEFAULT 0 NOT NULL,
    userid bigint DEFAULT 0 NOT NULL,
    groupid bigint DEFAULT 0 NOT NULL,
    version character varying(16) DEFAULT ''::character varying NOT NULL,
    ip character varying(45) DEFAULT ''::character varying NOT NULL,
    firstping bigint DEFAULT 0 NOT NULL,
    lastping bigint DEFAULT 0 NOT NULL,
    lastmessageping bigint DEFAULT 0 NOT NULL,
    sid character varying(32) DEFAULT ''::character varying NOT NULL,
    course bigint DEFAULT 0 NOT NULL,
    lang character varying(30) DEFAULT ''::character varying NOT NULL
);


ALTER TABLE public.mdl_chat_users OWNER TO moodle;

--
-- Name: TABLE mdl_chat_users; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_chat_users IS 'Keeps track of which users are in which chat rooms';


--
-- Name: mdl_chat_users_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_chat_users_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_chat_users_id_seq OWNER TO moodle;

--
-- Name: mdl_chat_users_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_chat_users_id_seq OWNED BY public.mdl_chat_users.id;


--
-- Name: mdl_choice; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_choice (
    id bigint NOT NULL,
    course bigint DEFAULT 0 NOT NULL,
    name character varying(255) DEFAULT ''::character varying NOT NULL,
    intro text NOT NULL,
    introformat smallint DEFAULT 0 NOT NULL,
    publish smallint DEFAULT 0 NOT NULL,
    showresults smallint DEFAULT 0 NOT NULL,
    display smallint DEFAULT 0 NOT NULL,
    allowupdate smallint DEFAULT 0 NOT NULL,
    allowmultiple smallint DEFAULT 0 NOT NULL,
    showunanswered smallint DEFAULT 0 NOT NULL,
    includeinactive smallint DEFAULT 1 NOT NULL,
    limitanswers smallint DEFAULT 0 NOT NULL,
    timeopen bigint DEFAULT 0 NOT NULL,
    timeclose bigint DEFAULT 0 NOT NULL,
    showpreview smallint DEFAULT 0 NOT NULL,
    timemodified bigint DEFAULT 0 NOT NULL,
    completionsubmit smallint DEFAULT 0 NOT NULL,
    showavailable smallint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_choice OWNER TO moodle;

--
-- Name: TABLE mdl_choice; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_choice IS 'Available choices are stored here';


--
-- Name: mdl_choice_answers; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_choice_answers (
    id bigint NOT NULL,
    choiceid bigint DEFAULT 0 NOT NULL,
    userid bigint DEFAULT 0 NOT NULL,
    optionid bigint DEFAULT 0 NOT NULL,
    timemodified bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_choice_answers OWNER TO moodle;

--
-- Name: TABLE mdl_choice_answers; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_choice_answers IS 'choices performed by users';


--
-- Name: mdl_choice_answers_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_choice_answers_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_choice_answers_id_seq OWNER TO moodle;

--
-- Name: mdl_choice_answers_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_choice_answers_id_seq OWNED BY public.mdl_choice_answers.id;


--
-- Name: mdl_choice_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_choice_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_choice_id_seq OWNER TO moodle;

--
-- Name: mdl_choice_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_choice_id_seq OWNED BY public.mdl_choice.id;


--
-- Name: mdl_choice_options; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_choice_options (
    id bigint NOT NULL,
    choiceid bigint DEFAULT 0 NOT NULL,
    text text,
    maxanswers bigint DEFAULT 0,
    timemodified bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_choice_options OWNER TO moodle;

--
-- Name: TABLE mdl_choice_options; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_choice_options IS 'available options to choice';


--
-- Name: mdl_choice_options_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_choice_options_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_choice_options_id_seq OWNER TO moodle;

--
-- Name: mdl_choice_options_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_choice_options_id_seq OWNED BY public.mdl_choice_options.id;


--
-- Name: mdl_cohort; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_cohort (
    id bigint NOT NULL,
    contextid bigint NOT NULL,
    name character varying(254) DEFAULT ''::character varying NOT NULL,
    idnumber character varying(100),
    description text,
    descriptionformat smallint NOT NULL,
    visible smallint DEFAULT 1 NOT NULL,
    component character varying(100) DEFAULT ''::character varying NOT NULL,
    timecreated bigint NOT NULL,
    timemodified bigint NOT NULL,
    theme character varying(50)
);


ALTER TABLE public.mdl_cohort OWNER TO moodle;

--
-- Name: TABLE mdl_cohort; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_cohort IS 'Each record represents one cohort (aka site-wide group).';


--
-- Name: mdl_cohort_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_cohort_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_cohort_id_seq OWNER TO moodle;

--
-- Name: mdl_cohort_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_cohort_id_seq OWNED BY public.mdl_cohort.id;


--
-- Name: mdl_cohort_members; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_cohort_members (
    id bigint NOT NULL,
    cohortid bigint DEFAULT 0 NOT NULL,
    userid bigint DEFAULT 0 NOT NULL,
    timeadded bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_cohort_members OWNER TO moodle;

--
-- Name: TABLE mdl_cohort_members; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_cohort_members IS 'Link a user to a cohort.';


--
-- Name: mdl_cohort_members_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_cohort_members_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_cohort_members_id_seq OWNER TO moodle;

--
-- Name: mdl_cohort_members_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_cohort_members_id_seq OWNED BY public.mdl_cohort_members.id;


--
-- Name: mdl_comments; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_comments (
    id bigint NOT NULL,
    contextid bigint NOT NULL,
    component character varying(255),
    commentarea character varying(255) DEFAULT ''::character varying NOT NULL,
    itemid bigint NOT NULL,
    content text NOT NULL,
    format smallint DEFAULT 0 NOT NULL,
    userid bigint NOT NULL,
    timecreated bigint NOT NULL
);


ALTER TABLE public.mdl_comments OWNER TO moodle;

--
-- Name: TABLE mdl_comments; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_comments IS 'moodle comments module';


--
-- Name: mdl_comments_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_comments_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_comments_id_seq OWNER TO moodle;

--
-- Name: mdl_comments_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_comments_id_seq OWNED BY public.mdl_comments.id;


--
-- Name: mdl_competency; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_competency (
    id bigint NOT NULL,
    shortname character varying(100),
    description text,
    descriptionformat smallint DEFAULT 0 NOT NULL,
    idnumber character varying(100),
    competencyframeworkid bigint NOT NULL,
    parentid bigint DEFAULT 0 NOT NULL,
    path character varying(255) DEFAULT ''::character varying NOT NULL,
    sortorder bigint NOT NULL,
    ruletype character varying(100),
    ruleoutcome smallint DEFAULT 0 NOT NULL,
    ruleconfig text,
    scaleid bigint,
    scaleconfiguration text,
    timecreated bigint NOT NULL,
    timemodified bigint NOT NULL,
    usermodified bigint
);


ALTER TABLE public.mdl_competency OWNER TO moodle;

--
-- Name: TABLE mdl_competency; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_competency IS 'This table contains the master record of each competency in a framework';


--
-- Name: mdl_competency_coursecomp; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_competency_coursecomp (
    id bigint NOT NULL,
    courseid bigint NOT NULL,
    competencyid bigint NOT NULL,
    ruleoutcome smallint NOT NULL,
    timecreated bigint NOT NULL,
    timemodified bigint NOT NULL,
    usermodified bigint NOT NULL,
    sortorder bigint NOT NULL
);


ALTER TABLE public.mdl_competency_coursecomp OWNER TO moodle;

--
-- Name: TABLE mdl_competency_coursecomp; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_competency_coursecomp IS 'Link a competency to a course.';


--
-- Name: mdl_competency_coursecomp_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_competency_coursecomp_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_competency_coursecomp_id_seq OWNER TO moodle;

--
-- Name: mdl_competency_coursecomp_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_competency_coursecomp_id_seq OWNED BY public.mdl_competency_coursecomp.id;


--
-- Name: mdl_competency_coursecompsetting; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_competency_coursecompsetting (
    id bigint NOT NULL,
    courseid bigint NOT NULL,
    pushratingstouserplans smallint,
    timecreated bigint NOT NULL,
    timemodified bigint NOT NULL,
    usermodified bigint
);


ALTER TABLE public.mdl_competency_coursecompsetting OWNER TO moodle;

--
-- Name: TABLE mdl_competency_coursecompsetting; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_competency_coursecompsetting IS 'This table contains the course specific settings for competencies.';


--
-- Name: mdl_competency_coursecompsetting_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_competency_coursecompsetting_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_competency_coursecompsetting_id_seq OWNER TO moodle;

--
-- Name: mdl_competency_coursecompsetting_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_competency_coursecompsetting_id_seq OWNED BY public.mdl_competency_coursecompsetting.id;


--
-- Name: mdl_competency_evidence; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_competency_evidence (
    id bigint NOT NULL,
    usercompetencyid bigint NOT NULL,
    contextid bigint NOT NULL,
    action smallint NOT NULL,
    actionuserid bigint,
    descidentifier character varying(255) DEFAULT ''::character varying NOT NULL,
    desccomponent character varying(255) DEFAULT ''::character varying NOT NULL,
    desca text,
    url character varying(255),
    grade bigint,
    note text,
    timecreated bigint NOT NULL,
    timemodified bigint NOT NULL,
    usermodified bigint NOT NULL
);


ALTER TABLE public.mdl_competency_evidence OWNER TO moodle;

--
-- Name: TABLE mdl_competency_evidence; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_competency_evidence IS 'The evidence linked to a user competency';


--
-- Name: mdl_competency_evidence_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_competency_evidence_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_competency_evidence_id_seq OWNER TO moodle;

--
-- Name: mdl_competency_evidence_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_competency_evidence_id_seq OWNED BY public.mdl_competency_evidence.id;


--
-- Name: mdl_competency_framework; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_competency_framework (
    id bigint NOT NULL,
    shortname character varying(100),
    contextid bigint NOT NULL,
    idnumber character varying(100),
    description text,
    descriptionformat smallint DEFAULT 0 NOT NULL,
    scaleid bigint,
    scaleconfiguration text NOT NULL,
    visible smallint DEFAULT 1 NOT NULL,
    taxonomies character varying(255) DEFAULT ''::character varying NOT NULL,
    timecreated bigint NOT NULL,
    timemodified bigint NOT NULL,
    usermodified bigint
);


ALTER TABLE public.mdl_competency_framework OWNER TO moodle;

--
-- Name: TABLE mdl_competency_framework; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_competency_framework IS 'List of competency frameworks.';


--
-- Name: mdl_competency_framework_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_competency_framework_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_competency_framework_id_seq OWNER TO moodle;

--
-- Name: mdl_competency_framework_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_competency_framework_id_seq OWNED BY public.mdl_competency_framework.id;


--
-- Name: mdl_competency_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_competency_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_competency_id_seq OWNER TO moodle;

--
-- Name: mdl_competency_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_competency_id_seq OWNED BY public.mdl_competency.id;


--
-- Name: mdl_competency_modulecomp; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_competency_modulecomp (
    id bigint NOT NULL,
    cmid bigint NOT NULL,
    timecreated bigint NOT NULL,
    timemodified bigint NOT NULL,
    usermodified bigint NOT NULL,
    sortorder bigint NOT NULL,
    competencyid bigint NOT NULL,
    ruleoutcome smallint NOT NULL
);


ALTER TABLE public.mdl_competency_modulecomp OWNER TO moodle;

--
-- Name: TABLE mdl_competency_modulecomp; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_competency_modulecomp IS 'Link a competency to a module.';


--
-- Name: mdl_competency_modulecomp_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_competency_modulecomp_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_competency_modulecomp_id_seq OWNER TO moodle;

--
-- Name: mdl_competency_modulecomp_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_competency_modulecomp_id_seq OWNED BY public.mdl_competency_modulecomp.id;


--
-- Name: mdl_competency_plan; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_competency_plan (
    id bigint NOT NULL,
    name character varying(100) DEFAULT ''::character varying NOT NULL,
    description text,
    descriptionformat smallint DEFAULT 0 NOT NULL,
    userid bigint NOT NULL,
    templateid bigint,
    origtemplateid bigint,
    status smallint NOT NULL,
    duedate bigint DEFAULT 0,
    reviewerid bigint,
    timecreated bigint NOT NULL,
    timemodified bigint DEFAULT 0 NOT NULL,
    usermodified bigint NOT NULL
);


ALTER TABLE public.mdl_competency_plan OWNER TO moodle;

--
-- Name: TABLE mdl_competency_plan; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_competency_plan IS 'Learning plans';


--
-- Name: mdl_competency_plan_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_competency_plan_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_competency_plan_id_seq OWNER TO moodle;

--
-- Name: mdl_competency_plan_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_competency_plan_id_seq OWNED BY public.mdl_competency_plan.id;


--
-- Name: mdl_competency_plancomp; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_competency_plancomp (
    id bigint NOT NULL,
    planid bigint NOT NULL,
    competencyid bigint NOT NULL,
    sortorder bigint,
    timecreated bigint NOT NULL,
    timemodified bigint,
    usermodified bigint NOT NULL
);


ALTER TABLE public.mdl_competency_plancomp OWNER TO moodle;

--
-- Name: TABLE mdl_competency_plancomp; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_competency_plancomp IS 'Plan competencies';


--
-- Name: mdl_competency_plancomp_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_competency_plancomp_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_competency_plancomp_id_seq OWNER TO moodle;

--
-- Name: mdl_competency_plancomp_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_competency_plancomp_id_seq OWNED BY public.mdl_competency_plancomp.id;


--
-- Name: mdl_competency_relatedcomp; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_competency_relatedcomp (
    id bigint NOT NULL,
    competencyid bigint NOT NULL,
    relatedcompetencyid bigint NOT NULL,
    timecreated bigint NOT NULL,
    timemodified bigint,
    usermodified bigint NOT NULL
);


ALTER TABLE public.mdl_competency_relatedcomp OWNER TO moodle;

--
-- Name: TABLE mdl_competency_relatedcomp; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_competency_relatedcomp IS 'Related competencies';


--
-- Name: mdl_competency_relatedcomp_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_competency_relatedcomp_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_competency_relatedcomp_id_seq OWNER TO moodle;

--
-- Name: mdl_competency_relatedcomp_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_competency_relatedcomp_id_seq OWNED BY public.mdl_competency_relatedcomp.id;


--
-- Name: mdl_competency_template; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_competency_template (
    id bigint NOT NULL,
    shortname character varying(100),
    contextid bigint NOT NULL,
    description text,
    descriptionformat smallint DEFAULT 0 NOT NULL,
    visible smallint DEFAULT 1 NOT NULL,
    duedate bigint,
    timecreated bigint NOT NULL,
    timemodified bigint NOT NULL,
    usermodified bigint
);


ALTER TABLE public.mdl_competency_template OWNER TO moodle;

--
-- Name: TABLE mdl_competency_template; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_competency_template IS 'Learning plan templates.';


--
-- Name: mdl_competency_template_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_competency_template_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_competency_template_id_seq OWNER TO moodle;

--
-- Name: mdl_competency_template_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_competency_template_id_seq OWNED BY public.mdl_competency_template.id;


--
-- Name: mdl_competency_templatecohort; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_competency_templatecohort (
    id bigint NOT NULL,
    templateid bigint NOT NULL,
    cohortid bigint NOT NULL,
    timecreated bigint NOT NULL,
    timemodified bigint NOT NULL,
    usermodified bigint NOT NULL
);


ALTER TABLE public.mdl_competency_templatecohort OWNER TO moodle;

--
-- Name: TABLE mdl_competency_templatecohort; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_competency_templatecohort IS 'Default comment for the table, please edit me';


--
-- Name: mdl_competency_templatecohort_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_competency_templatecohort_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_competency_templatecohort_id_seq OWNER TO moodle;

--
-- Name: mdl_competency_templatecohort_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_competency_templatecohort_id_seq OWNED BY public.mdl_competency_templatecohort.id;


--
-- Name: mdl_competency_templatecomp; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_competency_templatecomp (
    id bigint NOT NULL,
    templateid bigint NOT NULL,
    competencyid bigint NOT NULL,
    timecreated bigint NOT NULL,
    timemodified bigint NOT NULL,
    usermodified bigint NOT NULL,
    sortorder bigint
);


ALTER TABLE public.mdl_competency_templatecomp OWNER TO moodle;

--
-- Name: TABLE mdl_competency_templatecomp; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_competency_templatecomp IS 'Link a competency to a learning plan template.';


--
-- Name: mdl_competency_templatecomp_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_competency_templatecomp_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_competency_templatecomp_id_seq OWNER TO moodle;

--
-- Name: mdl_competency_templatecomp_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_competency_templatecomp_id_seq OWNED BY public.mdl_competency_templatecomp.id;


--
-- Name: mdl_competency_usercomp; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_competency_usercomp (
    id bigint NOT NULL,
    userid bigint NOT NULL,
    competencyid bigint NOT NULL,
    status smallint DEFAULT 0 NOT NULL,
    reviewerid bigint,
    proficiency smallint,
    grade bigint,
    timecreated bigint NOT NULL,
    timemodified bigint,
    usermodified bigint NOT NULL
);


ALTER TABLE public.mdl_competency_usercomp OWNER TO moodle;

--
-- Name: TABLE mdl_competency_usercomp; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_competency_usercomp IS 'User competencies';


--
-- Name: mdl_competency_usercomp_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_competency_usercomp_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_competency_usercomp_id_seq OWNER TO moodle;

--
-- Name: mdl_competency_usercomp_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_competency_usercomp_id_seq OWNED BY public.mdl_competency_usercomp.id;


--
-- Name: mdl_competency_usercompcourse; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_competency_usercompcourse (
    id bigint NOT NULL,
    userid bigint NOT NULL,
    courseid bigint NOT NULL,
    competencyid bigint NOT NULL,
    proficiency smallint,
    grade bigint,
    timecreated bigint NOT NULL,
    timemodified bigint,
    usermodified bigint NOT NULL
);


ALTER TABLE public.mdl_competency_usercompcourse OWNER TO moodle;

--
-- Name: TABLE mdl_competency_usercompcourse; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_competency_usercompcourse IS 'User competencies in a course';


--
-- Name: mdl_competency_usercompcourse_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_competency_usercompcourse_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_competency_usercompcourse_id_seq OWNER TO moodle;

--
-- Name: mdl_competency_usercompcourse_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_competency_usercompcourse_id_seq OWNED BY public.mdl_competency_usercompcourse.id;


--
-- Name: mdl_competency_usercompplan; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_competency_usercompplan (
    id bigint NOT NULL,
    userid bigint NOT NULL,
    competencyid bigint NOT NULL,
    planid bigint NOT NULL,
    proficiency smallint,
    grade bigint,
    sortorder bigint,
    timecreated bigint NOT NULL,
    timemodified bigint,
    usermodified bigint NOT NULL
);


ALTER TABLE public.mdl_competency_usercompplan OWNER TO moodle;

--
-- Name: TABLE mdl_competency_usercompplan; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_competency_usercompplan IS 'User competencies plans';


--
-- Name: mdl_competency_usercompplan_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_competency_usercompplan_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_competency_usercompplan_id_seq OWNER TO moodle;

--
-- Name: mdl_competency_usercompplan_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_competency_usercompplan_id_seq OWNED BY public.mdl_competency_usercompplan.id;


--
-- Name: mdl_competency_userevidence; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_competency_userevidence (
    id bigint NOT NULL,
    userid bigint NOT NULL,
    name character varying(100) DEFAULT ''::character varying NOT NULL,
    description text NOT NULL,
    descriptionformat smallint NOT NULL,
    url text NOT NULL,
    timecreated bigint NOT NULL,
    timemodified bigint NOT NULL,
    usermodified bigint NOT NULL
);


ALTER TABLE public.mdl_competency_userevidence OWNER TO moodle;

--
-- Name: TABLE mdl_competency_userevidence; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_competency_userevidence IS 'The evidence of prior learning';


--
-- Name: mdl_competency_userevidence_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_competency_userevidence_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_competency_userevidence_id_seq OWNER TO moodle;

--
-- Name: mdl_competency_userevidence_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_competency_userevidence_id_seq OWNED BY public.mdl_competency_userevidence.id;


--
-- Name: mdl_competency_userevidencecomp; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_competency_userevidencecomp (
    id bigint NOT NULL,
    userevidenceid bigint NOT NULL,
    competencyid bigint NOT NULL,
    timecreated bigint NOT NULL,
    timemodified bigint NOT NULL,
    usermodified bigint NOT NULL
);


ALTER TABLE public.mdl_competency_userevidencecomp OWNER TO moodle;

--
-- Name: TABLE mdl_competency_userevidencecomp; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_competency_userevidencecomp IS 'Relationship between user evidence and competencies';


--
-- Name: mdl_competency_userevidencecomp_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_competency_userevidencecomp_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_competency_userevidencecomp_id_seq OWNER TO moodle;

--
-- Name: mdl_competency_userevidencecomp_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_competency_userevidencecomp_id_seq OWNED BY public.mdl_competency_userevidencecomp.id;


--
-- Name: mdl_config; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_config (
    id bigint NOT NULL,
    name character varying(255) DEFAULT ''::character varying NOT NULL,
    value text NOT NULL
);


ALTER TABLE public.mdl_config OWNER TO moodle;

--
-- Name: TABLE mdl_config; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_config IS 'Moodle configuration variables';


--
-- Name: mdl_config_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_config_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_config_id_seq OWNER TO moodle;

--
-- Name: mdl_config_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_config_id_seq OWNED BY public.mdl_config.id;


--
-- Name: mdl_config_log; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_config_log (
    id bigint NOT NULL,
    userid bigint NOT NULL,
    timemodified bigint NOT NULL,
    plugin character varying(100),
    name character varying(100) DEFAULT ''::character varying NOT NULL,
    value text,
    oldvalue text
);


ALTER TABLE public.mdl_config_log OWNER TO moodle;

--
-- Name: TABLE mdl_config_log; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_config_log IS 'Changes done in server configuration through admin UI';


--
-- Name: mdl_config_log_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_config_log_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_config_log_id_seq OWNER TO moodle;

--
-- Name: mdl_config_log_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_config_log_id_seq OWNED BY public.mdl_config_log.id;


--
-- Name: mdl_config_plugins; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_config_plugins (
    id bigint NOT NULL,
    plugin character varying(100) DEFAULT 'core'::character varying NOT NULL,
    name character varying(100) DEFAULT ''::character varying NOT NULL,
    value text NOT NULL
);


ALTER TABLE public.mdl_config_plugins OWNER TO moodle;

--
-- Name: TABLE mdl_config_plugins; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_config_plugins IS 'Moodle modules and plugins configuration variables';


--
-- Name: mdl_config_plugins_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_config_plugins_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_config_plugins_id_seq OWNER TO moodle;

--
-- Name: mdl_config_plugins_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_config_plugins_id_seq OWNED BY public.mdl_config_plugins.id;


--
-- Name: mdl_contentbank_content; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_contentbank_content (
    id bigint NOT NULL,
    name character varying(255) DEFAULT ''::character varying NOT NULL,
    contenttype character varying(100) DEFAULT ''::character varying NOT NULL,
    contextid bigint NOT NULL,
    instanceid bigint,
    configdata text,
    usercreated bigint NOT NULL,
    usermodified bigint,
    timecreated bigint DEFAULT 0 NOT NULL,
    timemodified bigint DEFAULT 0
);


ALTER TABLE public.mdl_contentbank_content OWNER TO moodle;

--
-- Name: TABLE mdl_contentbank_content; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_contentbank_content IS 'This table stores content data in the content bank.';


--
-- Name: mdl_contentbank_content_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_contentbank_content_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_contentbank_content_id_seq OWNER TO moodle;

--
-- Name: mdl_contentbank_content_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_contentbank_content_id_seq OWNED BY public.mdl_contentbank_content.id;


--
-- Name: mdl_context; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_context (
    id bigint NOT NULL,
    contextlevel bigint DEFAULT 0 NOT NULL,
    instanceid bigint DEFAULT 0 NOT NULL,
    path character varying(255),
    depth smallint DEFAULT 0 NOT NULL,
    locked smallint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_context OWNER TO moodle;

--
-- Name: TABLE mdl_context; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_context IS 'one of these must be set';


--
-- Name: mdl_context_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_context_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_context_id_seq OWNER TO moodle;

--
-- Name: mdl_context_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_context_id_seq OWNED BY public.mdl_context.id;


--
-- Name: mdl_context_temp; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_context_temp (
    id bigint NOT NULL,
    path character varying(255) DEFAULT ''::character varying NOT NULL,
    depth smallint NOT NULL,
    locked smallint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_context_temp OWNER TO moodle;

--
-- Name: TABLE mdl_context_temp; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_context_temp IS 'Used by build_context_path() in upgrade and cron to keep context depths and paths in sync.';


--
-- Name: mdl_course; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_course (
    id bigint NOT NULL,
    category bigint DEFAULT 0 NOT NULL,
    sortorder bigint DEFAULT 0 NOT NULL,
    fullname character varying(254) DEFAULT ''::character varying NOT NULL,
    shortname character varying(255) DEFAULT ''::character varying NOT NULL,
    idnumber character varying(100) DEFAULT ''::character varying NOT NULL,
    summary text,
    summaryformat smallint DEFAULT 0 NOT NULL,
    format character varying(21) DEFAULT 'topics'::character varying NOT NULL,
    showgrades smallint DEFAULT 1 NOT NULL,
    newsitems integer DEFAULT 1 NOT NULL,
    startdate bigint DEFAULT 0 NOT NULL,
    enddate bigint DEFAULT 0 NOT NULL,
    relativedatesmode smallint DEFAULT 0 NOT NULL,
    marker bigint DEFAULT 0 NOT NULL,
    maxbytes bigint DEFAULT 0 NOT NULL,
    legacyfiles smallint DEFAULT 0 NOT NULL,
    showreports smallint DEFAULT 0 NOT NULL,
    visible smallint DEFAULT 1 NOT NULL,
    visibleold smallint DEFAULT 1 NOT NULL,
    downloadcontent smallint,
    groupmode smallint DEFAULT 0 NOT NULL,
    groupmodeforce smallint DEFAULT 0 NOT NULL,
    defaultgroupingid bigint DEFAULT 0 NOT NULL,
    lang character varying(30) DEFAULT ''::character varying NOT NULL,
    calendartype character varying(30) DEFAULT ''::character varying NOT NULL,
    theme character varying(50) DEFAULT ''::character varying NOT NULL,
    timecreated bigint DEFAULT 0 NOT NULL,
    timemodified bigint DEFAULT 0 NOT NULL,
    requested smallint DEFAULT 0 NOT NULL,
    enablecompletion smallint DEFAULT 0 NOT NULL,
    completionnotify smallint DEFAULT 0 NOT NULL,
    cacherev bigint DEFAULT 0 NOT NULL,
    originalcourseid bigint
);


ALTER TABLE public.mdl_course OWNER TO moodle;

--
-- Name: TABLE mdl_course; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_course IS 'Central course table';


--
-- Name: mdl_course_categories; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_course_categories (
    id bigint NOT NULL,
    name character varying(255) DEFAULT ''::character varying NOT NULL,
    idnumber character varying(100),
    description text,
    descriptionformat smallint DEFAULT 0 NOT NULL,
    parent bigint DEFAULT 0 NOT NULL,
    sortorder bigint DEFAULT 0 NOT NULL,
    coursecount bigint DEFAULT 0 NOT NULL,
    visible smallint DEFAULT 1 NOT NULL,
    visibleold smallint DEFAULT 1 NOT NULL,
    timemodified bigint DEFAULT 0 NOT NULL,
    depth bigint DEFAULT 0 NOT NULL,
    path character varying(255) DEFAULT ''::character varying NOT NULL,
    theme character varying(50)
);


ALTER TABLE public.mdl_course_categories OWNER TO moodle;

--
-- Name: TABLE mdl_course_categories; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_course_categories IS 'Course categories';


--
-- Name: mdl_course_categories_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_course_categories_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_course_categories_id_seq OWNER TO moodle;

--
-- Name: mdl_course_categories_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_course_categories_id_seq OWNED BY public.mdl_course_categories.id;


--
-- Name: mdl_course_completion_aggr_methd; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_course_completion_aggr_methd (
    id bigint NOT NULL,
    course bigint DEFAULT 0 NOT NULL,
    criteriatype bigint,
    method smallint DEFAULT 0 NOT NULL,
    value numeric(10,5)
);


ALTER TABLE public.mdl_course_completion_aggr_methd OWNER TO moodle;

--
-- Name: TABLE mdl_course_completion_aggr_methd; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_course_completion_aggr_methd IS 'Course completion aggregation methods for criteria';


--
-- Name: mdl_course_completion_aggr_methd_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_course_completion_aggr_methd_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_course_completion_aggr_methd_id_seq OWNER TO moodle;

--
-- Name: mdl_course_completion_aggr_methd_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_course_completion_aggr_methd_id_seq OWNED BY public.mdl_course_completion_aggr_methd.id;


--
-- Name: mdl_course_completion_crit_compl; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_course_completion_crit_compl (
    id bigint NOT NULL,
    userid bigint DEFAULT 0 NOT NULL,
    course bigint DEFAULT 0 NOT NULL,
    criteriaid bigint DEFAULT 0 NOT NULL,
    gradefinal numeric(10,5),
    unenroled bigint,
    timecompleted bigint
);


ALTER TABLE public.mdl_course_completion_crit_compl OWNER TO moodle;

--
-- Name: TABLE mdl_course_completion_crit_compl; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_course_completion_crit_compl IS 'Course completion user records';


--
-- Name: mdl_course_completion_crit_compl_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_course_completion_crit_compl_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_course_completion_crit_compl_id_seq OWNER TO moodle;

--
-- Name: mdl_course_completion_crit_compl_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_course_completion_crit_compl_id_seq OWNED BY public.mdl_course_completion_crit_compl.id;


--
-- Name: mdl_course_completion_criteria; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_course_completion_criteria (
    id bigint NOT NULL,
    course bigint DEFAULT 0 NOT NULL,
    criteriatype bigint DEFAULT 0 NOT NULL,
    module character varying(100),
    moduleinstance bigint,
    courseinstance bigint,
    enrolperiod bigint,
    timeend bigint,
    gradepass numeric(10,5),
    role bigint
);


ALTER TABLE public.mdl_course_completion_criteria OWNER TO moodle;

--
-- Name: TABLE mdl_course_completion_criteria; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_course_completion_criteria IS 'Course completion criteria';


--
-- Name: mdl_course_completion_criteria_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_course_completion_criteria_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_course_completion_criteria_id_seq OWNER TO moodle;

--
-- Name: mdl_course_completion_criteria_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_course_completion_criteria_id_seq OWNED BY public.mdl_course_completion_criteria.id;


--
-- Name: mdl_course_completion_defaults; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_course_completion_defaults (
    id bigint NOT NULL,
    course bigint NOT NULL,
    module bigint NOT NULL,
    completion smallint DEFAULT 0 NOT NULL,
    completionview smallint DEFAULT 0 NOT NULL,
    completionusegrade smallint DEFAULT 0 NOT NULL,
    completionexpected bigint DEFAULT 0 NOT NULL,
    customrules text
);


ALTER TABLE public.mdl_course_completion_defaults OWNER TO moodle;

--
-- Name: TABLE mdl_course_completion_defaults; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_course_completion_defaults IS 'Default settings for activities completion';


--
-- Name: mdl_course_completion_defaults_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_course_completion_defaults_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_course_completion_defaults_id_seq OWNER TO moodle;

--
-- Name: mdl_course_completion_defaults_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_course_completion_defaults_id_seq OWNED BY public.mdl_course_completion_defaults.id;


--
-- Name: mdl_course_completions; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_course_completions (
    id bigint NOT NULL,
    userid bigint DEFAULT 0 NOT NULL,
    course bigint DEFAULT 0 NOT NULL,
    timeenrolled bigint DEFAULT 0 NOT NULL,
    timestarted bigint DEFAULT 0 NOT NULL,
    timecompleted bigint,
    reaggregate bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_course_completions OWNER TO moodle;

--
-- Name: TABLE mdl_course_completions; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_course_completions IS 'Course completion records';


--
-- Name: mdl_course_completions_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_course_completions_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_course_completions_id_seq OWNER TO moodle;

--
-- Name: mdl_course_completions_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_course_completions_id_seq OWNED BY public.mdl_course_completions.id;


--
-- Name: mdl_course_format_options; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_course_format_options (
    id bigint NOT NULL,
    courseid bigint NOT NULL,
    format character varying(21) DEFAULT ''::character varying NOT NULL,
    sectionid bigint DEFAULT 0 NOT NULL,
    name character varying(100) DEFAULT ''::character varying NOT NULL,
    value text
);


ALTER TABLE public.mdl_course_format_options OWNER TO moodle;

--
-- Name: TABLE mdl_course_format_options; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_course_format_options IS 'Stores format-specific options for the course or course section';


--
-- Name: mdl_course_format_options_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_course_format_options_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_course_format_options_id_seq OWNER TO moodle;

--
-- Name: mdl_course_format_options_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_course_format_options_id_seq OWNED BY public.mdl_course_format_options.id;


--
-- Name: mdl_course_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_course_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_course_id_seq OWNER TO moodle;

--
-- Name: mdl_course_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_course_id_seq OWNED BY public.mdl_course.id;


--
-- Name: mdl_course_modules; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_course_modules (
    id bigint NOT NULL,
    course bigint DEFAULT 0 NOT NULL,
    module bigint DEFAULT 0 NOT NULL,
    instance bigint DEFAULT 0 NOT NULL,
    section bigint DEFAULT 0 NOT NULL,
    idnumber character varying(100),
    added bigint DEFAULT 0 NOT NULL,
    score smallint DEFAULT 0 NOT NULL,
    indent integer DEFAULT 0 NOT NULL,
    visible smallint DEFAULT 1 NOT NULL,
    visibleoncoursepage smallint DEFAULT 1 NOT NULL,
    visibleold smallint DEFAULT 1 NOT NULL,
    groupmode smallint DEFAULT 0 NOT NULL,
    groupingid bigint DEFAULT 0 NOT NULL,
    completion smallint DEFAULT 0 NOT NULL,
    completiongradeitemnumber bigint,
    completionview smallint DEFAULT 0 NOT NULL,
    completionexpected bigint DEFAULT 0 NOT NULL,
    showdescription smallint DEFAULT 0 NOT NULL,
    availability text,
    deletioninprogress smallint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_course_modules OWNER TO moodle;

--
-- Name: TABLE mdl_course_modules; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_course_modules IS 'course_modules table retrofitted from MySQL';


--
-- Name: mdl_course_modules_completion; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_course_modules_completion (
    id bigint NOT NULL,
    coursemoduleid bigint NOT NULL,
    userid bigint NOT NULL,
    completionstate smallint NOT NULL,
    viewed smallint,
    overrideby bigint,
    timemodified bigint NOT NULL
);


ALTER TABLE public.mdl_course_modules_completion OWNER TO moodle;

--
-- Name: TABLE mdl_course_modules_completion; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_course_modules_completion IS 'Stores the completion state (completed or not completed, etc) of each user on each activity.';


--
-- Name: mdl_course_modules_completion_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_course_modules_completion_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_course_modules_completion_id_seq OWNER TO moodle;

--
-- Name: mdl_course_modules_completion_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_course_modules_completion_id_seq OWNED BY public.mdl_course_modules_completion.id;


--
-- Name: mdl_course_modules_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_course_modules_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_course_modules_id_seq OWNER TO moodle;

--
-- Name: mdl_course_modules_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_course_modules_id_seq OWNED BY public.mdl_course_modules.id;


--
-- Name: mdl_course_published; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_course_published (
    id bigint NOT NULL,
    huburl character varying(255),
    courseid bigint NOT NULL,
    timepublished bigint NOT NULL,
    enrollable smallint DEFAULT 1 NOT NULL,
    hubcourseid bigint NOT NULL,
    status smallint DEFAULT 0,
    timechecked bigint
);


ALTER TABLE public.mdl_course_published OWNER TO moodle;

--
-- Name: TABLE mdl_course_published; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_course_published IS 'Information about how and when an local courses were published to hubs';


--
-- Name: mdl_course_published_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_course_published_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_course_published_id_seq OWNER TO moodle;

--
-- Name: mdl_course_published_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_course_published_id_seq OWNED BY public.mdl_course_published.id;


--
-- Name: mdl_course_request; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_course_request (
    id bigint NOT NULL,
    fullname character varying(254) DEFAULT ''::character varying NOT NULL,
    shortname character varying(100) DEFAULT ''::character varying NOT NULL,
    summary text NOT NULL,
    summaryformat smallint DEFAULT 0 NOT NULL,
    category bigint DEFAULT 0 NOT NULL,
    reason text NOT NULL,
    requester bigint DEFAULT 0 NOT NULL,
    password character varying(50) DEFAULT ''::character varying NOT NULL
);


ALTER TABLE public.mdl_course_request OWNER TO moodle;

--
-- Name: TABLE mdl_course_request; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_course_request IS 'course requests';


--
-- Name: mdl_course_request_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_course_request_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_course_request_id_seq OWNER TO moodle;

--
-- Name: mdl_course_request_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_course_request_id_seq OWNED BY public.mdl_course_request.id;


--
-- Name: mdl_course_sections; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_course_sections (
    id bigint NOT NULL,
    course bigint DEFAULT 0 NOT NULL,
    section bigint DEFAULT 0 NOT NULL,
    name character varying(255),
    summary text,
    summaryformat smallint DEFAULT 0 NOT NULL,
    sequence text,
    visible smallint DEFAULT 1 NOT NULL,
    availability text,
    timemodified bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_course_sections OWNER TO moodle;

--
-- Name: TABLE mdl_course_sections; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_course_sections IS 'to define the sections for each course';


--
-- Name: mdl_course_sections_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_course_sections_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_course_sections_id_seq OWNER TO moodle;

--
-- Name: mdl_course_sections_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_course_sections_id_seq OWNED BY public.mdl_course_sections.id;


--
-- Name: mdl_customfield_category; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_customfield_category (
    id bigint NOT NULL,
    name character varying(400) DEFAULT ''::character varying NOT NULL,
    description text,
    descriptionformat bigint,
    sortorder bigint,
    timecreated bigint NOT NULL,
    timemodified bigint NOT NULL,
    component character varying(100) DEFAULT ''::character varying NOT NULL,
    area character varying(100) DEFAULT ''::character varying NOT NULL,
    itemid bigint DEFAULT 0 NOT NULL,
    contextid bigint
);


ALTER TABLE public.mdl_customfield_category OWNER TO moodle;

--
-- Name: TABLE mdl_customfield_category; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_customfield_category IS 'core_customfield category table';


--
-- Name: mdl_customfield_category_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_customfield_category_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_customfield_category_id_seq OWNER TO moodle;

--
-- Name: mdl_customfield_category_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_customfield_category_id_seq OWNED BY public.mdl_customfield_category.id;


--
-- Name: mdl_customfield_data; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_customfield_data (
    id bigint NOT NULL,
    fieldid bigint NOT NULL,
    instanceid bigint NOT NULL,
    intvalue bigint,
    decvalue numeric(10,5),
    shortcharvalue character varying(255),
    charvalue character varying(1333),
    value text NOT NULL,
    valueformat bigint NOT NULL,
    timecreated bigint NOT NULL,
    timemodified bigint NOT NULL,
    contextid bigint
);


ALTER TABLE public.mdl_customfield_data OWNER TO moodle;

--
-- Name: TABLE mdl_customfield_data; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_customfield_data IS 'core_customfield data table';


--
-- Name: mdl_customfield_data_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_customfield_data_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_customfield_data_id_seq OWNER TO moodle;

--
-- Name: mdl_customfield_data_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_customfield_data_id_seq OWNED BY public.mdl_customfield_data.id;


--
-- Name: mdl_customfield_field; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_customfield_field (
    id bigint NOT NULL,
    shortname character varying(100) DEFAULT ''::character varying NOT NULL,
    name character varying(400) DEFAULT ''::character varying NOT NULL,
    type character varying(100) DEFAULT ''::character varying NOT NULL,
    description text,
    descriptionformat bigint,
    sortorder bigint,
    categoryid bigint,
    configdata text,
    timecreated bigint NOT NULL,
    timemodified bigint NOT NULL
);


ALTER TABLE public.mdl_customfield_field OWNER TO moodle;

--
-- Name: TABLE mdl_customfield_field; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_customfield_field IS 'core_customfield field table';


--
-- Name: mdl_customfield_field_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_customfield_field_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_customfield_field_id_seq OWNER TO moodle;

--
-- Name: mdl_customfield_field_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_customfield_field_id_seq OWNED BY public.mdl_customfield_field.id;


--
-- Name: mdl_data; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_data (
    id bigint NOT NULL,
    course bigint DEFAULT 0 NOT NULL,
    name character varying(255) DEFAULT ''::character varying NOT NULL,
    intro text NOT NULL,
    introformat smallint DEFAULT 0 NOT NULL,
    comments smallint DEFAULT 0 NOT NULL,
    timeavailablefrom bigint DEFAULT 0 NOT NULL,
    timeavailableto bigint DEFAULT 0 NOT NULL,
    timeviewfrom bigint DEFAULT 0 NOT NULL,
    timeviewto bigint DEFAULT 0 NOT NULL,
    requiredentries integer DEFAULT 0 NOT NULL,
    requiredentriestoview integer DEFAULT 0 NOT NULL,
    maxentries integer DEFAULT 0 NOT NULL,
    rssarticles smallint DEFAULT 0 NOT NULL,
    singletemplate text,
    listtemplate text,
    listtemplateheader text,
    listtemplatefooter text,
    addtemplate text,
    rsstemplate text,
    rsstitletemplate text,
    csstemplate text,
    jstemplate text,
    asearchtemplate text,
    approval smallint DEFAULT 0 NOT NULL,
    manageapproved smallint DEFAULT 1 NOT NULL,
    scale bigint DEFAULT 0 NOT NULL,
    assessed bigint DEFAULT 0 NOT NULL,
    assesstimestart bigint DEFAULT 0 NOT NULL,
    assesstimefinish bigint DEFAULT 0 NOT NULL,
    defaultsort bigint DEFAULT 0 NOT NULL,
    defaultsortdir smallint DEFAULT 0 NOT NULL,
    editany smallint DEFAULT 0 NOT NULL,
    notification bigint DEFAULT 0 NOT NULL,
    timemodified bigint DEFAULT 0 NOT NULL,
    config text,
    completionentries bigint DEFAULT 0
);


ALTER TABLE public.mdl_data OWNER TO moodle;

--
-- Name: TABLE mdl_data; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_data IS 'all database activities';


--
-- Name: mdl_data_content; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_data_content (
    id bigint NOT NULL,
    fieldid bigint DEFAULT 0 NOT NULL,
    recordid bigint DEFAULT 0 NOT NULL,
    content text,
    content1 text,
    content2 text,
    content3 text,
    content4 text
);


ALTER TABLE public.mdl_data_content OWNER TO moodle;

--
-- Name: TABLE mdl_data_content; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_data_content IS 'the content introduced in each record/fields';


--
-- Name: mdl_data_content_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_data_content_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_data_content_id_seq OWNER TO moodle;

--
-- Name: mdl_data_content_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_data_content_id_seq OWNED BY public.mdl_data_content.id;


--
-- Name: mdl_data_fields; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_data_fields (
    id bigint NOT NULL,
    dataid bigint DEFAULT 0 NOT NULL,
    type character varying(255) DEFAULT ''::character varying NOT NULL,
    name character varying(255) DEFAULT ''::character varying NOT NULL,
    description text NOT NULL,
    required smallint DEFAULT 0 NOT NULL,
    param1 text,
    param2 text,
    param3 text,
    param4 text,
    param5 text,
    param6 text,
    param7 text,
    param8 text,
    param9 text,
    param10 text
);


ALTER TABLE public.mdl_data_fields OWNER TO moodle;

--
-- Name: TABLE mdl_data_fields; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_data_fields IS 'every field available';


--
-- Name: mdl_data_fields_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_data_fields_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_data_fields_id_seq OWNER TO moodle;

--
-- Name: mdl_data_fields_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_data_fields_id_seq OWNED BY public.mdl_data_fields.id;


--
-- Name: mdl_data_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_data_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_data_id_seq OWNER TO moodle;

--
-- Name: mdl_data_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_data_id_seq OWNED BY public.mdl_data.id;


--
-- Name: mdl_data_records; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_data_records (
    id bigint NOT NULL,
    userid bigint DEFAULT 0 NOT NULL,
    groupid bigint DEFAULT 0 NOT NULL,
    dataid bigint DEFAULT 0 NOT NULL,
    timecreated bigint DEFAULT 0 NOT NULL,
    timemodified bigint DEFAULT 0 NOT NULL,
    approved smallint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_data_records OWNER TO moodle;

--
-- Name: TABLE mdl_data_records; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_data_records IS 'every record introduced';


--
-- Name: mdl_data_records_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_data_records_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_data_records_id_seq OWNER TO moodle;

--
-- Name: mdl_data_records_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_data_records_id_seq OWNED BY public.mdl_data_records.id;


--
-- Name: mdl_editor_atto_autosave; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_editor_atto_autosave (
    id bigint NOT NULL,
    elementid character varying(255) DEFAULT ''::character varying NOT NULL,
    contextid bigint NOT NULL,
    pagehash character varying(64) DEFAULT ''::character varying NOT NULL,
    userid bigint NOT NULL,
    drafttext text NOT NULL,
    draftid bigint,
    pageinstance character varying(64) DEFAULT ''::character varying NOT NULL,
    timemodified bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_editor_atto_autosave OWNER TO moodle;

--
-- Name: TABLE mdl_editor_atto_autosave; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_editor_atto_autosave IS 'Draft text that is auto-saved every 5 seconds while an editor is open.';


--
-- Name: mdl_editor_atto_autosave_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_editor_atto_autosave_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_editor_atto_autosave_id_seq OWNER TO moodle;

--
-- Name: mdl_editor_atto_autosave_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_editor_atto_autosave_id_seq OWNED BY public.mdl_editor_atto_autosave.id;


--
-- Name: mdl_enrol; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_enrol (
    id bigint NOT NULL,
    enrol character varying(20) DEFAULT ''::character varying NOT NULL,
    status bigint DEFAULT 0 NOT NULL,
    courseid bigint NOT NULL,
    sortorder bigint DEFAULT 0 NOT NULL,
    name character varying(255),
    enrolperiod bigint DEFAULT 0,
    enrolstartdate bigint DEFAULT 0,
    enrolenddate bigint DEFAULT 0,
    expirynotify smallint DEFAULT 0,
    expirythreshold bigint DEFAULT 0,
    notifyall smallint DEFAULT 0,
    password character varying(50),
    cost character varying(20),
    currency character varying(3),
    roleid bigint DEFAULT 0,
    customint1 bigint,
    customint2 bigint,
    customint3 bigint,
    customint4 bigint,
    customint5 bigint,
    customint6 bigint,
    customint7 bigint,
    customint8 bigint,
    customchar1 character varying(255),
    customchar2 character varying(255),
    customchar3 character varying(1333),
    customdec1 numeric(12,7),
    customdec2 numeric(12,7),
    customtext1 text,
    customtext2 text,
    customtext3 text,
    customtext4 text,
    timecreated bigint DEFAULT 0 NOT NULL,
    timemodified bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_enrol OWNER TO moodle;

--
-- Name: TABLE mdl_enrol; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_enrol IS 'Instances of enrolment plugins used in courses, fields marked as custom have a plugin defined meaning, core does not touch them. Create a new linked table if you need even more custom fields.';


--
-- Name: mdl_enrol_flatfile; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_enrol_flatfile (
    id bigint NOT NULL,
    action character varying(30) DEFAULT ''::character varying NOT NULL,
    roleid bigint NOT NULL,
    userid bigint NOT NULL,
    courseid bigint NOT NULL,
    timestart bigint DEFAULT 0 NOT NULL,
    timeend bigint DEFAULT 0 NOT NULL,
    timemodified bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_enrol_flatfile OWNER TO moodle;

--
-- Name: TABLE mdl_enrol_flatfile; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_enrol_flatfile IS 'enrol_flatfile table retrofitted from MySQL';


--
-- Name: mdl_enrol_flatfile_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_enrol_flatfile_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_enrol_flatfile_id_seq OWNER TO moodle;

--
-- Name: mdl_enrol_flatfile_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_enrol_flatfile_id_seq OWNED BY public.mdl_enrol_flatfile.id;


--
-- Name: mdl_enrol_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_enrol_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_enrol_id_seq OWNER TO moodle;

--
-- Name: mdl_enrol_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_enrol_id_seq OWNED BY public.mdl_enrol.id;


--
-- Name: mdl_enrol_lti_lti2_consumer; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_enrol_lti_lti2_consumer (
    id bigint NOT NULL,
    name character varying(50) DEFAULT ''::character varying NOT NULL,
    consumerkey256 character varying(255) DEFAULT ''::character varying NOT NULL,
    consumerkey text,
    secret character varying(1024) DEFAULT ''::character varying NOT NULL,
    ltiversion character varying(10),
    consumername character varying(255),
    consumerversion character varying(255),
    consumerguid character varying(1024),
    profile text,
    toolproxy text,
    settings text,
    protected smallint NOT NULL,
    enabled smallint NOT NULL,
    enablefrom bigint,
    enableuntil bigint,
    lastaccess bigint,
    created bigint NOT NULL,
    updated bigint NOT NULL
);


ALTER TABLE public.mdl_enrol_lti_lti2_consumer OWNER TO moodle;

--
-- Name: TABLE mdl_enrol_lti_lti2_consumer; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_enrol_lti_lti2_consumer IS 'LTI consumers interacting with moodle';


--
-- Name: mdl_enrol_lti_lti2_consumer_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_enrol_lti_lti2_consumer_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_enrol_lti_lti2_consumer_id_seq OWNER TO moodle;

--
-- Name: mdl_enrol_lti_lti2_consumer_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_enrol_lti_lti2_consumer_id_seq OWNED BY public.mdl_enrol_lti_lti2_consumer.id;


--
-- Name: mdl_enrol_lti_lti2_context; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_enrol_lti_lti2_context (
    id bigint NOT NULL,
    consumerid bigint NOT NULL,
    lticontextkey character varying(255) DEFAULT ''::character varying NOT NULL,
    type character varying(100),
    settings text,
    created bigint NOT NULL,
    updated bigint NOT NULL
);


ALTER TABLE public.mdl_enrol_lti_lti2_context OWNER TO moodle;

--
-- Name: TABLE mdl_enrol_lti_lti2_context; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_enrol_lti_lti2_context IS 'Information about a specific LTI contexts from the consumers';


--
-- Name: mdl_enrol_lti_lti2_context_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_enrol_lti_lti2_context_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_enrol_lti_lti2_context_id_seq OWNER TO moodle;

--
-- Name: mdl_enrol_lti_lti2_context_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_enrol_lti_lti2_context_id_seq OWNED BY public.mdl_enrol_lti_lti2_context.id;


--
-- Name: mdl_enrol_lti_lti2_nonce; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_enrol_lti_lti2_nonce (
    id bigint NOT NULL,
    consumerid bigint NOT NULL,
    value character varying(64) DEFAULT ''::character varying NOT NULL,
    expires bigint NOT NULL
);


ALTER TABLE public.mdl_enrol_lti_lti2_nonce OWNER TO moodle;

--
-- Name: TABLE mdl_enrol_lti_lti2_nonce; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_enrol_lti_lti2_nonce IS 'Nonce used for authentication between moodle and a consumer';


--
-- Name: mdl_enrol_lti_lti2_nonce_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_enrol_lti_lti2_nonce_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_enrol_lti_lti2_nonce_id_seq OWNER TO moodle;

--
-- Name: mdl_enrol_lti_lti2_nonce_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_enrol_lti_lti2_nonce_id_seq OWNED BY public.mdl_enrol_lti_lti2_nonce.id;


--
-- Name: mdl_enrol_lti_lti2_resource_link; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_enrol_lti_lti2_resource_link (
    id bigint NOT NULL,
    contextid bigint,
    consumerid bigint,
    ltiresourcelinkkey character varying(255) DEFAULT ''::character varying NOT NULL,
    settings text,
    primaryresourcelinkid bigint,
    shareapproved smallint,
    created bigint NOT NULL,
    updated bigint NOT NULL
);


ALTER TABLE public.mdl_enrol_lti_lti2_resource_link OWNER TO moodle;

--
-- Name: TABLE mdl_enrol_lti_lti2_resource_link; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_enrol_lti_lti2_resource_link IS 'Link from the consumer to the tool';


--
-- Name: mdl_enrol_lti_lti2_resource_link_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_enrol_lti_lti2_resource_link_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_enrol_lti_lti2_resource_link_id_seq OWNER TO moodle;

--
-- Name: mdl_enrol_lti_lti2_resource_link_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_enrol_lti_lti2_resource_link_id_seq OWNED BY public.mdl_enrol_lti_lti2_resource_link.id;


--
-- Name: mdl_enrol_lti_lti2_share_key; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_enrol_lti_lti2_share_key (
    id bigint NOT NULL,
    sharekey character varying(32) DEFAULT ''::character varying NOT NULL,
    resourcelinkid bigint NOT NULL,
    autoapprove smallint NOT NULL,
    expires bigint NOT NULL
);


ALTER TABLE public.mdl_enrol_lti_lti2_share_key OWNER TO moodle;

--
-- Name: TABLE mdl_enrol_lti_lti2_share_key; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_enrol_lti_lti2_share_key IS 'Resource link share key';


--
-- Name: mdl_enrol_lti_lti2_share_key_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_enrol_lti_lti2_share_key_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_enrol_lti_lti2_share_key_id_seq OWNER TO moodle;

--
-- Name: mdl_enrol_lti_lti2_share_key_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_enrol_lti_lti2_share_key_id_seq OWNED BY public.mdl_enrol_lti_lti2_share_key.id;


--
-- Name: mdl_enrol_lti_lti2_tool_proxy; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_enrol_lti_lti2_tool_proxy (
    id bigint NOT NULL,
    toolproxykey character varying(32) DEFAULT ''::character varying NOT NULL,
    consumerid bigint NOT NULL,
    toolproxy text NOT NULL,
    created bigint NOT NULL,
    updated bigint NOT NULL
);


ALTER TABLE public.mdl_enrol_lti_lti2_tool_proxy OWNER TO moodle;

--
-- Name: TABLE mdl_enrol_lti_lti2_tool_proxy; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_enrol_lti_lti2_tool_proxy IS 'A tool proxy between moodle and a consumer';


--
-- Name: mdl_enrol_lti_lti2_tool_proxy_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_enrol_lti_lti2_tool_proxy_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_enrol_lti_lti2_tool_proxy_id_seq OWNER TO moodle;

--
-- Name: mdl_enrol_lti_lti2_tool_proxy_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_enrol_lti_lti2_tool_proxy_id_seq OWNED BY public.mdl_enrol_lti_lti2_tool_proxy.id;


--
-- Name: mdl_enrol_lti_lti2_user_result; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_enrol_lti_lti2_user_result (
    id bigint NOT NULL,
    resourcelinkid bigint NOT NULL,
    ltiuserkey character varying(255) DEFAULT ''::character varying NOT NULL,
    ltiresultsourcedid character varying(1024) DEFAULT ''::character varying NOT NULL,
    created bigint NOT NULL,
    updated bigint NOT NULL
);


ALTER TABLE public.mdl_enrol_lti_lti2_user_result OWNER TO moodle;

--
-- Name: TABLE mdl_enrol_lti_lti2_user_result; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_enrol_lti_lti2_user_result IS 'Results for each user for each resource link';


--
-- Name: mdl_enrol_lti_lti2_user_result_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_enrol_lti_lti2_user_result_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_enrol_lti_lti2_user_result_id_seq OWNER TO moodle;

--
-- Name: mdl_enrol_lti_lti2_user_result_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_enrol_lti_lti2_user_result_id_seq OWNED BY public.mdl_enrol_lti_lti2_user_result.id;


--
-- Name: mdl_enrol_lti_tool_consumer_map; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_enrol_lti_tool_consumer_map (
    id bigint NOT NULL,
    toolid bigint NOT NULL,
    consumerid bigint NOT NULL
);


ALTER TABLE public.mdl_enrol_lti_tool_consumer_map OWNER TO moodle;

--
-- Name: TABLE mdl_enrol_lti_tool_consumer_map; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_enrol_lti_tool_consumer_map IS 'Table that maps the published tool to tool consumers.';


--
-- Name: mdl_enrol_lti_tool_consumer_map_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_enrol_lti_tool_consumer_map_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_enrol_lti_tool_consumer_map_id_seq OWNER TO moodle;

--
-- Name: mdl_enrol_lti_tool_consumer_map_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_enrol_lti_tool_consumer_map_id_seq OWNED BY public.mdl_enrol_lti_tool_consumer_map.id;


--
-- Name: mdl_enrol_lti_tools; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_enrol_lti_tools (
    id bigint NOT NULL,
    enrolid bigint NOT NULL,
    contextid bigint NOT NULL,
    institution character varying(40) DEFAULT ''::character varying NOT NULL,
    lang character varying(30) DEFAULT 'en'::character varying NOT NULL,
    timezone character varying(100) DEFAULT '99'::character varying NOT NULL,
    maxenrolled bigint DEFAULT 0 NOT NULL,
    maildisplay smallint DEFAULT 2 NOT NULL,
    city character varying(120) DEFAULT ''::character varying NOT NULL,
    country character varying(2) DEFAULT ''::character varying NOT NULL,
    gradesync smallint DEFAULT 0 NOT NULL,
    gradesynccompletion smallint DEFAULT 0 NOT NULL,
    membersync smallint DEFAULT 0 NOT NULL,
    membersyncmode smallint DEFAULT 0 NOT NULL,
    roleinstructor bigint NOT NULL,
    rolelearner bigint NOT NULL,
    secret text,
    timecreated bigint NOT NULL,
    timemodified bigint NOT NULL
);


ALTER TABLE public.mdl_enrol_lti_tools OWNER TO moodle;

--
-- Name: TABLE mdl_enrol_lti_tools; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_enrol_lti_tools IS 'List of tools provided to the remote system';


--
-- Name: mdl_enrol_lti_tools_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_enrol_lti_tools_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_enrol_lti_tools_id_seq OWNER TO moodle;

--
-- Name: mdl_enrol_lti_tools_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_enrol_lti_tools_id_seq OWNED BY public.mdl_enrol_lti_tools.id;


--
-- Name: mdl_enrol_lti_users; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_enrol_lti_users (
    id bigint NOT NULL,
    userid bigint NOT NULL,
    toolid bigint NOT NULL,
    serviceurl text,
    sourceid text,
    consumerkey text,
    consumersecret text,
    membershipsurl text,
    membershipsid text,
    lastgrade numeric(10,5),
    lastaccess bigint,
    timecreated bigint
);


ALTER TABLE public.mdl_enrol_lti_users OWNER TO moodle;

--
-- Name: TABLE mdl_enrol_lti_users; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_enrol_lti_users IS 'User access log and gradeback data';


--
-- Name: mdl_enrol_lti_users_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_enrol_lti_users_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_enrol_lti_users_id_seq OWNER TO moodle;

--
-- Name: mdl_enrol_lti_users_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_enrol_lti_users_id_seq OWNED BY public.mdl_enrol_lti_users.id;


--
-- Name: mdl_enrol_paypal; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_enrol_paypal (
    id bigint NOT NULL,
    business character varying(255) DEFAULT ''::character varying NOT NULL,
    receiver_email character varying(255) DEFAULT ''::character varying NOT NULL,
    receiver_id character varying(255) DEFAULT ''::character varying NOT NULL,
    item_name character varying(255) DEFAULT ''::character varying NOT NULL,
    courseid bigint DEFAULT 0 NOT NULL,
    userid bigint DEFAULT 0 NOT NULL,
    instanceid bigint DEFAULT 0 NOT NULL,
    memo character varying(255) DEFAULT ''::character varying NOT NULL,
    tax character varying(255) DEFAULT ''::character varying NOT NULL,
    option_name1 character varying(255) DEFAULT ''::character varying NOT NULL,
    option_selection1_x character varying(255) DEFAULT ''::character varying NOT NULL,
    option_name2 character varying(255) DEFAULT ''::character varying NOT NULL,
    option_selection2_x character varying(255) DEFAULT ''::character varying NOT NULL,
    payment_status character varying(255) DEFAULT ''::character varying NOT NULL,
    pending_reason character varying(255) DEFAULT ''::character varying NOT NULL,
    reason_code character varying(30) DEFAULT ''::character varying NOT NULL,
    txn_id character varying(255) DEFAULT ''::character varying NOT NULL,
    parent_txn_id character varying(255) DEFAULT ''::character varying NOT NULL,
    payment_type character varying(30) DEFAULT ''::character varying NOT NULL,
    timeupdated bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_enrol_paypal OWNER TO moodle;

--
-- Name: TABLE mdl_enrol_paypal; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_enrol_paypal IS 'Holds all known information about PayPal transactions';


--
-- Name: mdl_enrol_paypal_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_enrol_paypal_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_enrol_paypal_id_seq OWNER TO moodle;

--
-- Name: mdl_enrol_paypal_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_enrol_paypal_id_seq OWNED BY public.mdl_enrol_paypal.id;


--
-- Name: mdl_event; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_event (
    id bigint NOT NULL,
    name text NOT NULL,
    description text NOT NULL,
    format smallint DEFAULT 0 NOT NULL,
    categoryid bigint DEFAULT 0 NOT NULL,
    courseid bigint DEFAULT 0 NOT NULL,
    groupid bigint DEFAULT 0 NOT NULL,
    userid bigint DEFAULT 0 NOT NULL,
    repeatid bigint DEFAULT 0 NOT NULL,
    component character varying(100),
    modulename character varying(20) DEFAULT ''::character varying NOT NULL,
    instance bigint DEFAULT 0 NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    eventtype character varying(20) DEFAULT ''::character varying NOT NULL,
    timestart bigint DEFAULT 0 NOT NULL,
    timeduration bigint DEFAULT 0 NOT NULL,
    timesort bigint,
    visible smallint DEFAULT 1 NOT NULL,
    uuid character varying(255) DEFAULT ''::character varying NOT NULL,
    sequence bigint DEFAULT 1 NOT NULL,
    timemodified bigint DEFAULT 0 NOT NULL,
    subscriptionid bigint,
    priority bigint,
    location text
);


ALTER TABLE public.mdl_event OWNER TO moodle;

--
-- Name: TABLE mdl_event; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_event IS 'For everything with a time associated to it';


--
-- Name: mdl_event_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_event_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_event_id_seq OWNER TO moodle;

--
-- Name: mdl_event_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_event_id_seq OWNED BY public.mdl_event.id;


--
-- Name: mdl_event_subscriptions; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_event_subscriptions (
    id bigint NOT NULL,
    url character varying(255) DEFAULT ''::character varying NOT NULL,
    categoryid bigint DEFAULT 0 NOT NULL,
    courseid bigint DEFAULT 0 NOT NULL,
    groupid bigint DEFAULT 0 NOT NULL,
    userid bigint DEFAULT 0 NOT NULL,
    eventtype character varying(20) DEFAULT ''::character varying NOT NULL,
    pollinterval bigint DEFAULT 0 NOT NULL,
    lastupdated bigint,
    name character varying(255) DEFAULT ''::character varying NOT NULL
);


ALTER TABLE public.mdl_event_subscriptions OWNER TO moodle;

--
-- Name: TABLE mdl_event_subscriptions; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_event_subscriptions IS 'Tracks subscriptions to remote calendars.';


--
-- Name: mdl_event_subscriptions_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_event_subscriptions_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_event_subscriptions_id_seq OWNER TO moodle;

--
-- Name: mdl_event_subscriptions_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_event_subscriptions_id_seq OWNED BY public.mdl_event_subscriptions.id;


--
-- Name: mdl_events_handlers; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_events_handlers (
    id bigint NOT NULL,
    eventname character varying(166) DEFAULT ''::character varying NOT NULL,
    component character varying(166) DEFAULT ''::character varying NOT NULL,
    handlerfile character varying(255) DEFAULT ''::character varying NOT NULL,
    handlerfunction text,
    schedule character varying(255),
    status bigint DEFAULT 0 NOT NULL,
    internal smallint DEFAULT 1 NOT NULL
);


ALTER TABLE public.mdl_events_handlers OWNER TO moodle;

--
-- Name: TABLE mdl_events_handlers; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_events_handlers IS 'This table is for storing which components requests what type of event, and the location of the responsible handlers. For example, the assignment registers ''grade_updated'' event with a function assignment_grade_handler() that should be called event t';


--
-- Name: mdl_events_handlers_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_events_handlers_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_events_handlers_id_seq OWNER TO moodle;

--
-- Name: mdl_events_handlers_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_events_handlers_id_seq OWNED BY public.mdl_events_handlers.id;


--
-- Name: mdl_events_queue; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_events_queue (
    id bigint NOT NULL,
    eventdata text NOT NULL,
    stackdump text,
    userid bigint,
    timecreated bigint NOT NULL
);


ALTER TABLE public.mdl_events_queue OWNER TO moodle;

--
-- Name: TABLE mdl_events_queue; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_events_queue IS 'This table is for storing queued events. It stores only one copy of the eventdata here, and entries from this table are being references by the event_queue_handlers table.';


--
-- Name: mdl_events_queue_handlers; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_events_queue_handlers (
    id bigint NOT NULL,
    queuedeventid bigint NOT NULL,
    handlerid bigint NOT NULL,
    status bigint,
    errormessage text,
    timemodified bigint NOT NULL
);


ALTER TABLE public.mdl_events_queue_handlers OWNER TO moodle;

--
-- Name: TABLE mdl_events_queue_handlers; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_events_queue_handlers IS 'This is the list of queued handlers for processing. The event object is retrieved from the events_queue table. When no further reference is made to the event_queues table, the corresponding entry in the events_queue table should be deleted. Entry sho';


--
-- Name: mdl_events_queue_handlers_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_events_queue_handlers_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_events_queue_handlers_id_seq OWNER TO moodle;

--
-- Name: mdl_events_queue_handlers_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_events_queue_handlers_id_seq OWNED BY public.mdl_events_queue_handlers.id;


--
-- Name: mdl_events_queue_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_events_queue_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_events_queue_id_seq OWNER TO moodle;

--
-- Name: mdl_events_queue_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_events_queue_id_seq OWNED BY public.mdl_events_queue.id;


--
-- Name: mdl_external_functions; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_external_functions (
    id bigint NOT NULL,
    name character varying(200) DEFAULT ''::character varying NOT NULL,
    classname character varying(100) DEFAULT ''::character varying NOT NULL,
    methodname character varying(100) DEFAULT ''::character varying NOT NULL,
    classpath character varying(255),
    component character varying(100) DEFAULT ''::character varying NOT NULL,
    capabilities character varying(255),
    services character varying(1333)
);


ALTER TABLE public.mdl_external_functions OWNER TO moodle;

--
-- Name: TABLE mdl_external_functions; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_external_functions IS 'list of all external functions';


--
-- Name: mdl_external_functions_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_external_functions_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_external_functions_id_seq OWNER TO moodle;

--
-- Name: mdl_external_functions_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_external_functions_id_seq OWNED BY public.mdl_external_functions.id;


--
-- Name: mdl_external_services; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_external_services (
    id bigint NOT NULL,
    name character varying(200) DEFAULT ''::character varying NOT NULL,
    enabled smallint NOT NULL,
    requiredcapability character varying(150),
    restrictedusers smallint NOT NULL,
    component character varying(100),
    timecreated bigint NOT NULL,
    timemodified bigint,
    shortname character varying(255),
    downloadfiles smallint DEFAULT 0 NOT NULL,
    uploadfiles smallint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_external_services OWNER TO moodle;

--
-- Name: TABLE mdl_external_services; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_external_services IS 'built in and custom external services';


--
-- Name: mdl_external_services_functions; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_external_services_functions (
    id bigint NOT NULL,
    externalserviceid bigint NOT NULL,
    functionname character varying(200) DEFAULT ''::character varying NOT NULL
);


ALTER TABLE public.mdl_external_services_functions OWNER TO moodle;

--
-- Name: TABLE mdl_external_services_functions; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_external_services_functions IS 'lists functions available in each service group';


--
-- Name: mdl_external_services_functions_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_external_services_functions_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_external_services_functions_id_seq OWNER TO moodle;

--
-- Name: mdl_external_services_functions_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_external_services_functions_id_seq OWNED BY public.mdl_external_services_functions.id;


--
-- Name: mdl_external_services_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_external_services_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_external_services_id_seq OWNER TO moodle;

--
-- Name: mdl_external_services_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_external_services_id_seq OWNED BY public.mdl_external_services.id;


--
-- Name: mdl_external_services_users; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_external_services_users (
    id bigint NOT NULL,
    externalserviceid bigint NOT NULL,
    userid bigint NOT NULL,
    iprestriction character varying(255),
    validuntil bigint,
    timecreated bigint
);


ALTER TABLE public.mdl_external_services_users OWNER TO moodle;

--
-- Name: TABLE mdl_external_services_users; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_external_services_users IS 'users allowed to use services with restricted users flag';


--
-- Name: mdl_external_services_users_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_external_services_users_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_external_services_users_id_seq OWNER TO moodle;

--
-- Name: mdl_external_services_users_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_external_services_users_id_seq OWNED BY public.mdl_external_services_users.id;


--
-- Name: mdl_external_tokens; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_external_tokens (
    id bigint NOT NULL,
    token character varying(128) DEFAULT ''::character varying NOT NULL,
    privatetoken character varying(64),
    tokentype smallint NOT NULL,
    userid bigint NOT NULL,
    externalserviceid bigint NOT NULL,
    sid character varying(128),
    contextid bigint NOT NULL,
    creatorid bigint DEFAULT 1 NOT NULL,
    iprestriction character varying(255),
    validuntil bigint,
    timecreated bigint NOT NULL,
    lastaccess bigint
);


ALTER TABLE public.mdl_external_tokens OWNER TO moodle;

--
-- Name: TABLE mdl_external_tokens; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_external_tokens IS 'Security tokens for accessing of external services';


--
-- Name: mdl_external_tokens_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_external_tokens_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_external_tokens_id_seq OWNER TO moodle;

--
-- Name: mdl_external_tokens_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_external_tokens_id_seq OWNED BY public.mdl_external_tokens.id;


--
-- Name: mdl_favourite; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_favourite (
    id bigint NOT NULL,
    component character varying(100) DEFAULT ''::character varying NOT NULL,
    itemtype character varying(100) DEFAULT ''::character varying NOT NULL,
    itemid bigint NOT NULL,
    contextid bigint NOT NULL,
    userid bigint NOT NULL,
    ordering bigint,
    timecreated bigint NOT NULL,
    timemodified bigint NOT NULL
);


ALTER TABLE public.mdl_favourite OWNER TO moodle;

--
-- Name: TABLE mdl_favourite; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_favourite IS 'Stores the relationship between an arbitrary item (itemtype, itemid), and a context area (component, contextid) for a specific user. Used by the favourites subsystem.';


--
-- Name: mdl_favourite_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_favourite_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_favourite_id_seq OWNER TO moodle;

--
-- Name: mdl_favourite_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_favourite_id_seq OWNED BY public.mdl_favourite.id;


--
-- Name: mdl_feedback; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_feedback (
    id bigint NOT NULL,
    course bigint DEFAULT 0 NOT NULL,
    name character varying(255) DEFAULT ''::character varying NOT NULL,
    intro text NOT NULL,
    introformat smallint DEFAULT 0 NOT NULL,
    anonymous smallint DEFAULT 1 NOT NULL,
    email_notification smallint DEFAULT 1 NOT NULL,
    multiple_submit smallint DEFAULT 1 NOT NULL,
    autonumbering smallint DEFAULT 1 NOT NULL,
    site_after_submit character varying(255) DEFAULT ''::character varying NOT NULL,
    page_after_submit text NOT NULL,
    page_after_submitformat smallint DEFAULT 0 NOT NULL,
    publish_stats smallint DEFAULT 0 NOT NULL,
    timeopen bigint DEFAULT 0 NOT NULL,
    timeclose bigint DEFAULT 0 NOT NULL,
    timemodified bigint DEFAULT 0 NOT NULL,
    completionsubmit smallint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_feedback OWNER TO moodle;

--
-- Name: TABLE mdl_feedback; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_feedback IS 'all feedbacks';


--
-- Name: mdl_feedback_completed; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_feedback_completed (
    id bigint NOT NULL,
    feedback bigint DEFAULT 0 NOT NULL,
    userid bigint DEFAULT 0 NOT NULL,
    timemodified bigint DEFAULT 0 NOT NULL,
    random_response bigint DEFAULT 0 NOT NULL,
    anonymous_response smallint DEFAULT 0 NOT NULL,
    courseid bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_feedback_completed OWNER TO moodle;

--
-- Name: TABLE mdl_feedback_completed; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_feedback_completed IS 'filled out feedback';


--
-- Name: mdl_feedback_completed_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_feedback_completed_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_feedback_completed_id_seq OWNER TO moodle;

--
-- Name: mdl_feedback_completed_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_feedback_completed_id_seq OWNED BY public.mdl_feedback_completed.id;


--
-- Name: mdl_feedback_completedtmp; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_feedback_completedtmp (
    id bigint NOT NULL,
    feedback bigint DEFAULT 0 NOT NULL,
    userid bigint DEFAULT 0 NOT NULL,
    guestid character varying(255) DEFAULT ''::character varying NOT NULL,
    timemodified bigint DEFAULT 0 NOT NULL,
    random_response bigint DEFAULT 0 NOT NULL,
    anonymous_response smallint DEFAULT 0 NOT NULL,
    courseid bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_feedback_completedtmp OWNER TO moodle;

--
-- Name: TABLE mdl_feedback_completedtmp; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_feedback_completedtmp IS 'filled out feedback';


--
-- Name: mdl_feedback_completedtmp_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_feedback_completedtmp_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_feedback_completedtmp_id_seq OWNER TO moodle;

--
-- Name: mdl_feedback_completedtmp_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_feedback_completedtmp_id_seq OWNED BY public.mdl_feedback_completedtmp.id;


--
-- Name: mdl_feedback_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_feedback_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_feedback_id_seq OWNER TO moodle;

--
-- Name: mdl_feedback_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_feedback_id_seq OWNED BY public.mdl_feedback.id;


--
-- Name: mdl_feedback_item; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_feedback_item (
    id bigint NOT NULL,
    feedback bigint DEFAULT 0 NOT NULL,
    template bigint DEFAULT 0 NOT NULL,
    name character varying(255) DEFAULT ''::character varying NOT NULL,
    label character varying(255) DEFAULT ''::character varying NOT NULL,
    presentation text NOT NULL,
    typ character varying(255) DEFAULT ''::character varying NOT NULL,
    hasvalue smallint DEFAULT 0 NOT NULL,
    "position" smallint DEFAULT 0 NOT NULL,
    required smallint DEFAULT 0 NOT NULL,
    dependitem bigint DEFAULT 0 NOT NULL,
    dependvalue character varying(255) DEFAULT ''::character varying NOT NULL,
    options character varying(255) DEFAULT ''::character varying NOT NULL
);


ALTER TABLE public.mdl_feedback_item OWNER TO moodle;

--
-- Name: TABLE mdl_feedback_item; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_feedback_item IS 'feedback_items';


--
-- Name: mdl_feedback_item_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_feedback_item_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_feedback_item_id_seq OWNER TO moodle;

--
-- Name: mdl_feedback_item_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_feedback_item_id_seq OWNED BY public.mdl_feedback_item.id;


--
-- Name: mdl_feedback_sitecourse_map; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_feedback_sitecourse_map (
    id bigint NOT NULL,
    feedbackid bigint DEFAULT 0 NOT NULL,
    courseid bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_feedback_sitecourse_map OWNER TO moodle;

--
-- Name: TABLE mdl_feedback_sitecourse_map; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_feedback_sitecourse_map IS 'feedback sitecourse map';


--
-- Name: mdl_feedback_sitecourse_map_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_feedback_sitecourse_map_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_feedback_sitecourse_map_id_seq OWNER TO moodle;

--
-- Name: mdl_feedback_sitecourse_map_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_feedback_sitecourse_map_id_seq OWNED BY public.mdl_feedback_sitecourse_map.id;


--
-- Name: mdl_feedback_template; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_feedback_template (
    id bigint NOT NULL,
    course bigint DEFAULT 0 NOT NULL,
    ispublic smallint DEFAULT 0 NOT NULL,
    name character varying(255) DEFAULT ''::character varying NOT NULL
);


ALTER TABLE public.mdl_feedback_template OWNER TO moodle;

--
-- Name: TABLE mdl_feedback_template; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_feedback_template IS 'templates of feedbackstructures';


--
-- Name: mdl_feedback_template_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_feedback_template_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_feedback_template_id_seq OWNER TO moodle;

--
-- Name: mdl_feedback_template_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_feedback_template_id_seq OWNED BY public.mdl_feedback_template.id;


--
-- Name: mdl_feedback_value; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_feedback_value (
    id bigint NOT NULL,
    course_id bigint DEFAULT 0 NOT NULL,
    item bigint DEFAULT 0 NOT NULL,
    completed bigint DEFAULT 0 NOT NULL,
    tmp_completed bigint DEFAULT 0 NOT NULL,
    value text NOT NULL
);


ALTER TABLE public.mdl_feedback_value OWNER TO moodle;

--
-- Name: TABLE mdl_feedback_value; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_feedback_value IS 'values of the completeds';


--
-- Name: mdl_feedback_value_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_feedback_value_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_feedback_value_id_seq OWNER TO moodle;

--
-- Name: mdl_feedback_value_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_feedback_value_id_seq OWNED BY public.mdl_feedback_value.id;


--
-- Name: mdl_feedback_valuetmp; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_feedback_valuetmp (
    id bigint NOT NULL,
    course_id bigint DEFAULT 0 NOT NULL,
    item bigint DEFAULT 0 NOT NULL,
    completed bigint DEFAULT 0 NOT NULL,
    tmp_completed bigint DEFAULT 0 NOT NULL,
    value text NOT NULL
);


ALTER TABLE public.mdl_feedback_valuetmp OWNER TO moodle;

--
-- Name: TABLE mdl_feedback_valuetmp; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_feedback_valuetmp IS 'values of the completedstmp';


--
-- Name: mdl_feedback_valuetmp_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_feedback_valuetmp_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_feedback_valuetmp_id_seq OWNER TO moodle;

--
-- Name: mdl_feedback_valuetmp_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_feedback_valuetmp_id_seq OWNED BY public.mdl_feedback_valuetmp.id;


--
-- Name: mdl_file_conversion; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_file_conversion (
    id bigint NOT NULL,
    usermodified bigint NOT NULL,
    timecreated bigint NOT NULL,
    timemodified bigint NOT NULL,
    sourcefileid bigint NOT NULL,
    targetformat character varying(100) DEFAULT ''::character varying NOT NULL,
    status bigint DEFAULT 0,
    statusmessage text,
    converter character varying(255),
    destfileid bigint,
    data text
);


ALTER TABLE public.mdl_file_conversion OWNER TO moodle;

--
-- Name: TABLE mdl_file_conversion; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_file_conversion IS 'Table to track file conversions.';


--
-- Name: mdl_file_conversion_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_file_conversion_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_file_conversion_id_seq OWNER TO moodle;

--
-- Name: mdl_file_conversion_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_file_conversion_id_seq OWNED BY public.mdl_file_conversion.id;


--
-- Name: mdl_files; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_files (
    id bigint NOT NULL,
    contenthash character varying(40) DEFAULT ''::character varying NOT NULL,
    pathnamehash character varying(40) DEFAULT ''::character varying NOT NULL,
    contextid bigint NOT NULL,
    component character varying(100) DEFAULT ''::character varying NOT NULL,
    filearea character varying(50) DEFAULT ''::character varying NOT NULL,
    itemid bigint NOT NULL,
    filepath character varying(255) DEFAULT ''::character varying NOT NULL,
    filename character varying(255) DEFAULT ''::character varying NOT NULL,
    userid bigint,
    filesize bigint NOT NULL,
    mimetype character varying(100),
    status bigint DEFAULT 0 NOT NULL,
    source text,
    author character varying(255),
    license character varying(255),
    timecreated bigint NOT NULL,
    timemodified bigint NOT NULL,
    sortorder bigint DEFAULT 0 NOT NULL,
    referencefileid bigint
);


ALTER TABLE public.mdl_files OWNER TO moodle;

--
-- Name: TABLE mdl_files; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_files IS 'description of files, content is stored in sha1 file pool';


--
-- Name: mdl_files_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_files_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_files_id_seq OWNER TO moodle;

--
-- Name: mdl_files_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_files_id_seq OWNED BY public.mdl_files.id;


--
-- Name: mdl_files_reference; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_files_reference (
    id bigint NOT NULL,
    repositoryid bigint NOT NULL,
    lastsync bigint,
    reference text,
    referencehash character varying(40) DEFAULT ''::character varying NOT NULL
);


ALTER TABLE public.mdl_files_reference OWNER TO moodle;

--
-- Name: TABLE mdl_files_reference; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_files_reference IS 'Store files references';


--
-- Name: mdl_files_reference_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_files_reference_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_files_reference_id_seq OWNER TO moodle;

--
-- Name: mdl_files_reference_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_files_reference_id_seq OWNED BY public.mdl_files_reference.id;


--
-- Name: mdl_filter_active; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_filter_active (
    id bigint NOT NULL,
    filter character varying(32) DEFAULT ''::character varying NOT NULL,
    contextid bigint NOT NULL,
    active smallint NOT NULL,
    sortorder bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_filter_active OWNER TO moodle;

--
-- Name: TABLE mdl_filter_active; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_filter_active IS 'Stores information about which filters are active in which contexts. Also the filter sort order. See get_active_filters in lib/filterlib.php for how this data is used.';


--
-- Name: mdl_filter_active_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_filter_active_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_filter_active_id_seq OWNER TO moodle;

--
-- Name: mdl_filter_active_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_filter_active_id_seq OWNED BY public.mdl_filter_active.id;


--
-- Name: mdl_filter_config; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_filter_config (
    id bigint NOT NULL,
    filter character varying(32) DEFAULT ''::character varying NOT NULL,
    contextid bigint NOT NULL,
    name character varying(255) DEFAULT ''::character varying NOT NULL,
    value text
);


ALTER TABLE public.mdl_filter_config OWNER TO moodle;

--
-- Name: TABLE mdl_filter_config; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_filter_config IS 'Stores per-context configuration settings for filters which have them.';


--
-- Name: mdl_filter_config_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_filter_config_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_filter_config_id_seq OWNER TO moodle;

--
-- Name: mdl_filter_config_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_filter_config_id_seq OWNED BY public.mdl_filter_config.id;


--
-- Name: mdl_folder; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_folder (
    id bigint NOT NULL,
    course bigint DEFAULT 0 NOT NULL,
    name character varying(255) DEFAULT ''::character varying NOT NULL,
    intro text,
    introformat smallint DEFAULT 0 NOT NULL,
    revision bigint DEFAULT 0 NOT NULL,
    timemodified bigint DEFAULT 0 NOT NULL,
    display smallint DEFAULT 0 NOT NULL,
    showexpanded smallint DEFAULT 1 NOT NULL,
    showdownloadfolder smallint DEFAULT 1 NOT NULL,
    forcedownload smallint DEFAULT 1 NOT NULL
);


ALTER TABLE public.mdl_folder OWNER TO moodle;

--
-- Name: TABLE mdl_folder; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_folder IS 'each record is one folder resource';


--
-- Name: mdl_folder_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_folder_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_folder_id_seq OWNER TO moodle;

--
-- Name: mdl_folder_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_folder_id_seq OWNED BY public.mdl_folder.id;


--
-- Name: mdl_forum; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_forum (
    id bigint NOT NULL,
    course bigint DEFAULT 0 NOT NULL,
    type character varying(20) DEFAULT 'general'::character varying NOT NULL,
    name character varying(255) DEFAULT ''::character varying NOT NULL,
    intro text NOT NULL,
    introformat smallint DEFAULT 0 NOT NULL,
    duedate bigint DEFAULT 0 NOT NULL,
    cutoffdate bigint DEFAULT 0 NOT NULL,
    assessed bigint DEFAULT 0 NOT NULL,
    assesstimestart bigint DEFAULT 0 NOT NULL,
    assesstimefinish bigint DEFAULT 0 NOT NULL,
    scale bigint DEFAULT 0 NOT NULL,
    grade_forum bigint DEFAULT 0 NOT NULL,
    grade_forum_notify smallint DEFAULT 0 NOT NULL,
    maxbytes bigint DEFAULT 0 NOT NULL,
    maxattachments bigint DEFAULT 1 NOT NULL,
    forcesubscribe smallint DEFAULT 0 NOT NULL,
    trackingtype smallint DEFAULT 1 NOT NULL,
    rsstype smallint DEFAULT 0 NOT NULL,
    rssarticles smallint DEFAULT 0 NOT NULL,
    timemodified bigint DEFAULT 0 NOT NULL,
    warnafter bigint DEFAULT 0 NOT NULL,
    blockafter bigint DEFAULT 0 NOT NULL,
    blockperiod bigint DEFAULT 0 NOT NULL,
    completiondiscussions integer DEFAULT 0 NOT NULL,
    completionreplies integer DEFAULT 0 NOT NULL,
    completionposts integer DEFAULT 0 NOT NULL,
    displaywordcount smallint DEFAULT 0 NOT NULL,
    lockdiscussionafter bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_forum OWNER TO moodle;

--
-- Name: TABLE mdl_forum; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_forum IS 'Forums contain and structure discussion';


--
-- Name: mdl_forum_digests; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_forum_digests (
    id bigint NOT NULL,
    userid bigint NOT NULL,
    forum bigint NOT NULL,
    maildigest smallint DEFAULT '-1'::integer NOT NULL
);


ALTER TABLE public.mdl_forum_digests OWNER TO moodle;

--
-- Name: TABLE mdl_forum_digests; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_forum_digests IS 'Keeps track of user mail delivery preferences for each forum';


--
-- Name: mdl_forum_digests_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_forum_digests_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_forum_digests_id_seq OWNER TO moodle;

--
-- Name: mdl_forum_digests_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_forum_digests_id_seq OWNED BY public.mdl_forum_digests.id;


--
-- Name: mdl_forum_discussion_subs; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_forum_discussion_subs (
    id bigint NOT NULL,
    forum bigint NOT NULL,
    userid bigint NOT NULL,
    discussion bigint NOT NULL,
    preference bigint DEFAULT 1 NOT NULL
);


ALTER TABLE public.mdl_forum_discussion_subs OWNER TO moodle;

--
-- Name: TABLE mdl_forum_discussion_subs; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_forum_discussion_subs IS 'Users may choose to subscribe and unsubscribe from specific discussions.';


--
-- Name: mdl_forum_discussion_subs_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_forum_discussion_subs_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_forum_discussion_subs_id_seq OWNER TO moodle;

--
-- Name: mdl_forum_discussion_subs_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_forum_discussion_subs_id_seq OWNED BY public.mdl_forum_discussion_subs.id;


--
-- Name: mdl_forum_discussions; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_forum_discussions (
    id bigint NOT NULL,
    course bigint DEFAULT 0 NOT NULL,
    forum bigint DEFAULT 0 NOT NULL,
    name character varying(255) DEFAULT ''::character varying NOT NULL,
    firstpost bigint DEFAULT 0 NOT NULL,
    userid bigint DEFAULT 0 NOT NULL,
    groupid bigint DEFAULT '-1'::integer NOT NULL,
    assessed smallint DEFAULT 1 NOT NULL,
    timemodified bigint DEFAULT 0 NOT NULL,
    usermodified bigint DEFAULT 0 NOT NULL,
    timestart bigint DEFAULT 0 NOT NULL,
    timeend bigint DEFAULT 0 NOT NULL,
    pinned smallint DEFAULT 0 NOT NULL,
    timelocked bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_forum_discussions OWNER TO moodle;

--
-- Name: TABLE mdl_forum_discussions; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_forum_discussions IS 'Forums are composed of discussions';


--
-- Name: mdl_forum_discussions_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_forum_discussions_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_forum_discussions_id_seq OWNER TO moodle;

--
-- Name: mdl_forum_discussions_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_forum_discussions_id_seq OWNED BY public.mdl_forum_discussions.id;


--
-- Name: mdl_forum_grades; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_forum_grades (
    id bigint NOT NULL,
    forum bigint NOT NULL,
    itemnumber bigint NOT NULL,
    userid bigint NOT NULL,
    grade numeric(10,5),
    timecreated bigint NOT NULL,
    timemodified bigint NOT NULL
);


ALTER TABLE public.mdl_forum_grades OWNER TO moodle;

--
-- Name: TABLE mdl_forum_grades; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_forum_grades IS 'Grading data for forum instances';


--
-- Name: mdl_forum_grades_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_forum_grades_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_forum_grades_id_seq OWNER TO moodle;

--
-- Name: mdl_forum_grades_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_forum_grades_id_seq OWNED BY public.mdl_forum_grades.id;


--
-- Name: mdl_forum_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_forum_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_forum_id_seq OWNER TO moodle;

--
-- Name: mdl_forum_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_forum_id_seq OWNED BY public.mdl_forum.id;


--
-- Name: mdl_forum_posts; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_forum_posts (
    id bigint NOT NULL,
    discussion bigint DEFAULT 0 NOT NULL,
    parent bigint DEFAULT 0 NOT NULL,
    userid bigint DEFAULT 0 NOT NULL,
    created bigint DEFAULT 0 NOT NULL,
    modified bigint DEFAULT 0 NOT NULL,
    mailed smallint DEFAULT 0 NOT NULL,
    subject character varying(255) DEFAULT ''::character varying NOT NULL,
    message text NOT NULL,
    messageformat smallint DEFAULT 0 NOT NULL,
    messagetrust smallint DEFAULT 0 NOT NULL,
    attachment character varying(100) DEFAULT ''::character varying NOT NULL,
    totalscore smallint DEFAULT 0 NOT NULL,
    mailnow bigint DEFAULT 0 NOT NULL,
    deleted smallint DEFAULT 0 NOT NULL,
    privatereplyto bigint DEFAULT 0 NOT NULL,
    wordcount bigint,
    charcount bigint
);


ALTER TABLE public.mdl_forum_posts OWNER TO moodle;

--
-- Name: TABLE mdl_forum_posts; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_forum_posts IS 'All posts are stored in this table';


--
-- Name: mdl_forum_posts_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_forum_posts_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_forum_posts_id_seq OWNER TO moodle;

--
-- Name: mdl_forum_posts_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_forum_posts_id_seq OWNED BY public.mdl_forum_posts.id;


--
-- Name: mdl_forum_queue; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_forum_queue (
    id bigint NOT NULL,
    userid bigint DEFAULT 0 NOT NULL,
    discussionid bigint DEFAULT 0 NOT NULL,
    postid bigint DEFAULT 0 NOT NULL,
    timemodified bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_forum_queue OWNER TO moodle;

--
-- Name: TABLE mdl_forum_queue; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_forum_queue IS 'For keeping track of posts that will be mailed in digest form';


--
-- Name: mdl_forum_queue_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_forum_queue_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_forum_queue_id_seq OWNER TO moodle;

--
-- Name: mdl_forum_queue_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_forum_queue_id_seq OWNED BY public.mdl_forum_queue.id;


--
-- Name: mdl_forum_read; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_forum_read (
    id bigint NOT NULL,
    userid bigint DEFAULT 0 NOT NULL,
    forumid bigint DEFAULT 0 NOT NULL,
    discussionid bigint DEFAULT 0 NOT NULL,
    postid bigint DEFAULT 0 NOT NULL,
    firstread bigint DEFAULT 0 NOT NULL,
    lastread bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_forum_read OWNER TO moodle;

--
-- Name: TABLE mdl_forum_read; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_forum_read IS 'Tracks each users read posts';


--
-- Name: mdl_forum_read_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_forum_read_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_forum_read_id_seq OWNER TO moodle;

--
-- Name: mdl_forum_read_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_forum_read_id_seq OWNED BY public.mdl_forum_read.id;


--
-- Name: mdl_forum_subscriptions; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_forum_subscriptions (
    id bigint NOT NULL,
    userid bigint DEFAULT 0 NOT NULL,
    forum bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_forum_subscriptions OWNER TO moodle;

--
-- Name: TABLE mdl_forum_subscriptions; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_forum_subscriptions IS 'Keeps track of who is subscribed to what forum';


--
-- Name: mdl_forum_subscriptions_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_forum_subscriptions_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_forum_subscriptions_id_seq OWNER TO moodle;

--
-- Name: mdl_forum_subscriptions_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_forum_subscriptions_id_seq OWNED BY public.mdl_forum_subscriptions.id;


--
-- Name: mdl_forum_track_prefs; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_forum_track_prefs (
    id bigint NOT NULL,
    userid bigint DEFAULT 0 NOT NULL,
    forumid bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_forum_track_prefs OWNER TO moodle;

--
-- Name: TABLE mdl_forum_track_prefs; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_forum_track_prefs IS 'Tracks each users untracked forums';


--
-- Name: mdl_forum_track_prefs_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_forum_track_prefs_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_forum_track_prefs_id_seq OWNER TO moodle;

--
-- Name: mdl_forum_track_prefs_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_forum_track_prefs_id_seq OWNED BY public.mdl_forum_track_prefs.id;


--
-- Name: mdl_glossary; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_glossary (
    id bigint NOT NULL,
    course bigint DEFAULT 0 NOT NULL,
    name character varying(255) DEFAULT ''::character varying NOT NULL,
    intro text NOT NULL,
    introformat smallint DEFAULT 0 NOT NULL,
    allowduplicatedentries smallint DEFAULT 0 NOT NULL,
    displayformat character varying(50) DEFAULT 'dictionary'::character varying NOT NULL,
    mainglossary smallint DEFAULT 0 NOT NULL,
    showspecial smallint DEFAULT 1 NOT NULL,
    showalphabet smallint DEFAULT 1 NOT NULL,
    showall smallint DEFAULT 1 NOT NULL,
    allowcomments smallint DEFAULT 0 NOT NULL,
    allowprintview smallint DEFAULT 1 NOT NULL,
    usedynalink smallint DEFAULT 1 NOT NULL,
    defaultapproval smallint DEFAULT 1 NOT NULL,
    approvaldisplayformat character varying(50) DEFAULT 'default'::character varying NOT NULL,
    globalglossary smallint DEFAULT 0 NOT NULL,
    entbypage smallint DEFAULT 10 NOT NULL,
    editalways smallint DEFAULT 0 NOT NULL,
    rsstype smallint DEFAULT 0 NOT NULL,
    rssarticles smallint DEFAULT 0 NOT NULL,
    assessed bigint DEFAULT 0 NOT NULL,
    assesstimestart bigint DEFAULT 0 NOT NULL,
    assesstimefinish bigint DEFAULT 0 NOT NULL,
    scale bigint DEFAULT 0 NOT NULL,
    timecreated bigint DEFAULT 0 NOT NULL,
    timemodified bigint DEFAULT 0 NOT NULL,
    completionentries integer DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_glossary OWNER TO moodle;

--
-- Name: TABLE mdl_glossary; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_glossary IS 'all glossaries';


--
-- Name: mdl_glossary_alias; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_glossary_alias (
    id bigint NOT NULL,
    entryid bigint DEFAULT 0 NOT NULL,
    alias character varying(255) DEFAULT ''::character varying NOT NULL
);


ALTER TABLE public.mdl_glossary_alias OWNER TO moodle;

--
-- Name: TABLE mdl_glossary_alias; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_glossary_alias IS 'entries alias';


--
-- Name: mdl_glossary_alias_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_glossary_alias_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_glossary_alias_id_seq OWNER TO moodle;

--
-- Name: mdl_glossary_alias_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_glossary_alias_id_seq OWNED BY public.mdl_glossary_alias.id;


--
-- Name: mdl_glossary_categories; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_glossary_categories (
    id bigint NOT NULL,
    glossaryid bigint DEFAULT 0 NOT NULL,
    name character varying(255) DEFAULT ''::character varying NOT NULL,
    usedynalink smallint DEFAULT 1 NOT NULL
);


ALTER TABLE public.mdl_glossary_categories OWNER TO moodle;

--
-- Name: TABLE mdl_glossary_categories; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_glossary_categories IS 'all categories for glossary entries';


--
-- Name: mdl_glossary_categories_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_glossary_categories_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_glossary_categories_id_seq OWNER TO moodle;

--
-- Name: mdl_glossary_categories_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_glossary_categories_id_seq OWNED BY public.mdl_glossary_categories.id;


--
-- Name: mdl_glossary_entries; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_glossary_entries (
    id bigint NOT NULL,
    glossaryid bigint DEFAULT 0 NOT NULL,
    userid bigint DEFAULT 0 NOT NULL,
    concept character varying(255) DEFAULT ''::character varying NOT NULL,
    definition text NOT NULL,
    definitionformat smallint DEFAULT 0 NOT NULL,
    definitiontrust smallint DEFAULT 0 NOT NULL,
    attachment character varying(100) DEFAULT ''::character varying NOT NULL,
    timecreated bigint DEFAULT 0 NOT NULL,
    timemodified bigint DEFAULT 0 NOT NULL,
    teacherentry smallint DEFAULT 0 NOT NULL,
    sourceglossaryid bigint DEFAULT 0 NOT NULL,
    usedynalink smallint DEFAULT 1 NOT NULL,
    casesensitive smallint DEFAULT 0 NOT NULL,
    fullmatch smallint DEFAULT 1 NOT NULL,
    approved smallint DEFAULT 1 NOT NULL
);


ALTER TABLE public.mdl_glossary_entries OWNER TO moodle;

--
-- Name: TABLE mdl_glossary_entries; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_glossary_entries IS 'all glossary entries';


--
-- Name: mdl_glossary_entries_categories; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_glossary_entries_categories (
    id bigint NOT NULL,
    categoryid bigint DEFAULT 0 NOT NULL,
    entryid bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_glossary_entries_categories OWNER TO moodle;

--
-- Name: TABLE mdl_glossary_entries_categories; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_glossary_entries_categories IS 'categories of each glossary entry';


--
-- Name: mdl_glossary_entries_categories_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_glossary_entries_categories_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_glossary_entries_categories_id_seq OWNER TO moodle;

--
-- Name: mdl_glossary_entries_categories_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_glossary_entries_categories_id_seq OWNED BY public.mdl_glossary_entries_categories.id;


--
-- Name: mdl_glossary_entries_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_glossary_entries_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_glossary_entries_id_seq OWNER TO moodle;

--
-- Name: mdl_glossary_entries_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_glossary_entries_id_seq OWNED BY public.mdl_glossary_entries.id;


--
-- Name: mdl_glossary_formats; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_glossary_formats (
    id bigint NOT NULL,
    name character varying(50) DEFAULT ''::character varying NOT NULL,
    popupformatname character varying(50) DEFAULT ''::character varying NOT NULL,
    visible smallint DEFAULT 1 NOT NULL,
    showgroup smallint DEFAULT 1 NOT NULL,
    showtabs character varying(100),
    defaultmode character varying(50) DEFAULT ''::character varying NOT NULL,
    defaulthook character varying(50) DEFAULT ''::character varying NOT NULL,
    sortkey character varying(50) DEFAULT ''::character varying NOT NULL,
    sortorder character varying(50) DEFAULT ''::character varying NOT NULL
);


ALTER TABLE public.mdl_glossary_formats OWNER TO moodle;

--
-- Name: TABLE mdl_glossary_formats; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_glossary_formats IS 'Setting of the display formats';


--
-- Name: mdl_glossary_formats_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_glossary_formats_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_glossary_formats_id_seq OWNER TO moodle;

--
-- Name: mdl_glossary_formats_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_glossary_formats_id_seq OWNED BY public.mdl_glossary_formats.id;


--
-- Name: mdl_glossary_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_glossary_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_glossary_id_seq OWNER TO moodle;

--
-- Name: mdl_glossary_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_glossary_id_seq OWNED BY public.mdl_glossary.id;


--
-- Name: mdl_grade_categories; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_grade_categories (
    id bigint NOT NULL,
    courseid bigint NOT NULL,
    parent bigint,
    depth bigint DEFAULT 0 NOT NULL,
    path character varying(255),
    fullname character varying(255) DEFAULT ''::character varying NOT NULL,
    aggregation bigint DEFAULT 0 NOT NULL,
    keephigh bigint DEFAULT 0 NOT NULL,
    droplow bigint DEFAULT 0 NOT NULL,
    aggregateonlygraded smallint DEFAULT 0 NOT NULL,
    aggregateoutcomes smallint DEFAULT 0 NOT NULL,
    timecreated bigint NOT NULL,
    timemodified bigint NOT NULL,
    hidden smallint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_grade_categories OWNER TO moodle;

--
-- Name: TABLE mdl_grade_categories; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_grade_categories IS 'This table keeps information about categories, used for grouping items.';


--
-- Name: mdl_grade_categories_history; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_grade_categories_history (
    id bigint NOT NULL,
    action bigint DEFAULT 0 NOT NULL,
    oldid bigint NOT NULL,
    source character varying(255),
    timemodified bigint,
    loggeduser bigint,
    courseid bigint NOT NULL,
    parent bigint,
    depth bigint DEFAULT 0 NOT NULL,
    path character varying(255),
    fullname character varying(255) DEFAULT ''::character varying NOT NULL,
    aggregation bigint DEFAULT 0 NOT NULL,
    keephigh bigint DEFAULT 0 NOT NULL,
    droplow bigint DEFAULT 0 NOT NULL,
    aggregateonlygraded smallint DEFAULT 0 NOT NULL,
    aggregateoutcomes smallint DEFAULT 0 NOT NULL,
    aggregatesubcats smallint DEFAULT 0 NOT NULL,
    hidden smallint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_grade_categories_history OWNER TO moodle;

--
-- Name: TABLE mdl_grade_categories_history; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_grade_categories_history IS 'History of grade_categories';


--
-- Name: mdl_grade_categories_history_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_grade_categories_history_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_grade_categories_history_id_seq OWNER TO moodle;

--
-- Name: mdl_grade_categories_history_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_grade_categories_history_id_seq OWNED BY public.mdl_grade_categories_history.id;


--
-- Name: mdl_grade_categories_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_grade_categories_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_grade_categories_id_seq OWNER TO moodle;

--
-- Name: mdl_grade_categories_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_grade_categories_id_seq OWNED BY public.mdl_grade_categories.id;


--
-- Name: mdl_grade_grades; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_grade_grades (
    id bigint NOT NULL,
    itemid bigint NOT NULL,
    userid bigint NOT NULL,
    rawgrade numeric(10,5),
    rawgrademax numeric(10,5) DEFAULT 100 NOT NULL,
    rawgrademin numeric(10,5) DEFAULT 0 NOT NULL,
    rawscaleid bigint,
    usermodified bigint,
    finalgrade numeric(10,5),
    hidden bigint DEFAULT 0 NOT NULL,
    locked bigint DEFAULT 0 NOT NULL,
    locktime bigint DEFAULT 0 NOT NULL,
    exported bigint DEFAULT 0 NOT NULL,
    overridden bigint DEFAULT 0 NOT NULL,
    excluded bigint DEFAULT 0 NOT NULL,
    feedback text,
    feedbackformat bigint DEFAULT 0 NOT NULL,
    information text,
    informationformat bigint DEFAULT 0 NOT NULL,
    timecreated bigint,
    timemodified bigint,
    aggregationstatus character varying(10) DEFAULT 'unknown'::character varying NOT NULL,
    aggregationweight numeric(10,5)
);


ALTER TABLE public.mdl_grade_grades OWNER TO moodle;

--
-- Name: TABLE mdl_grade_grades; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_grade_grades IS 'grade_grades  This table keeps individual grades for each user and each item, exactly as imported or submitted by modules. The rawgrademax/min and rawscaleid are stored here to record the values at the time the grade was stored, because teachers migh';


--
-- Name: mdl_grade_grades_history; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_grade_grades_history (
    id bigint NOT NULL,
    action bigint DEFAULT 0 NOT NULL,
    oldid bigint NOT NULL,
    source character varying(255),
    timemodified bigint,
    loggeduser bigint,
    itemid bigint NOT NULL,
    userid bigint NOT NULL,
    rawgrade numeric(10,5),
    rawgrademax numeric(10,5) DEFAULT 100 NOT NULL,
    rawgrademin numeric(10,5) DEFAULT 0 NOT NULL,
    rawscaleid bigint,
    usermodified bigint,
    finalgrade numeric(10,5),
    hidden bigint DEFAULT 0 NOT NULL,
    locked bigint DEFAULT 0 NOT NULL,
    locktime bigint DEFAULT 0 NOT NULL,
    exported bigint DEFAULT 0 NOT NULL,
    overridden bigint DEFAULT 0 NOT NULL,
    excluded bigint DEFAULT 0 NOT NULL,
    feedback text,
    feedbackformat bigint DEFAULT 0 NOT NULL,
    information text,
    informationformat bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_grade_grades_history OWNER TO moodle;

--
-- Name: TABLE mdl_grade_grades_history; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_grade_grades_history IS 'History table';


--
-- Name: mdl_grade_grades_history_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_grade_grades_history_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_grade_grades_history_id_seq OWNER TO moodle;

--
-- Name: mdl_grade_grades_history_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_grade_grades_history_id_seq OWNED BY public.mdl_grade_grades_history.id;


--
-- Name: mdl_grade_grades_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_grade_grades_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_grade_grades_id_seq OWNER TO moodle;

--
-- Name: mdl_grade_grades_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_grade_grades_id_seq OWNED BY public.mdl_grade_grades.id;


--
-- Name: mdl_grade_import_newitem; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_grade_import_newitem (
    id bigint NOT NULL,
    itemname character varying(255) DEFAULT ''::character varying NOT NULL,
    importcode bigint NOT NULL,
    importer bigint NOT NULL
);


ALTER TABLE public.mdl_grade_import_newitem OWNER TO moodle;

--
-- Name: TABLE mdl_grade_import_newitem; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_grade_import_newitem IS 'temporary table for storing new grade_item names from grade import';


--
-- Name: mdl_grade_import_newitem_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_grade_import_newitem_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_grade_import_newitem_id_seq OWNER TO moodle;

--
-- Name: mdl_grade_import_newitem_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_grade_import_newitem_id_seq OWNED BY public.mdl_grade_import_newitem.id;


--
-- Name: mdl_grade_import_values; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_grade_import_values (
    id bigint NOT NULL,
    itemid bigint,
    newgradeitem bigint,
    userid bigint NOT NULL,
    finalgrade numeric(10,5),
    feedback text,
    importcode bigint NOT NULL,
    importer bigint,
    importonlyfeedback smallint DEFAULT 0
);


ALTER TABLE public.mdl_grade_import_values OWNER TO moodle;

--
-- Name: TABLE mdl_grade_import_values; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_grade_import_values IS 'Temporary table for importing grades';


--
-- Name: mdl_grade_import_values_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_grade_import_values_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_grade_import_values_id_seq OWNER TO moodle;

--
-- Name: mdl_grade_import_values_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_grade_import_values_id_seq OWNED BY public.mdl_grade_import_values.id;


--
-- Name: mdl_grade_items; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_grade_items (
    id bigint NOT NULL,
    courseid bigint,
    categoryid bigint,
    itemname character varying(255),
    itemtype character varying(30) DEFAULT ''::character varying NOT NULL,
    itemmodule character varying(30),
    iteminstance bigint,
    itemnumber bigint,
    iteminfo text,
    idnumber character varying(255),
    calculation text,
    gradetype smallint DEFAULT 1 NOT NULL,
    grademax numeric(10,5) DEFAULT 100 NOT NULL,
    grademin numeric(10,5) DEFAULT 0 NOT NULL,
    scaleid bigint,
    outcomeid bigint,
    gradepass numeric(10,5) DEFAULT 0 NOT NULL,
    multfactor numeric(10,5) DEFAULT 1.0 NOT NULL,
    plusfactor numeric(10,5) DEFAULT 0 NOT NULL,
    aggregationcoef numeric(10,5) DEFAULT 0 NOT NULL,
    aggregationcoef2 numeric(10,5) DEFAULT 0 NOT NULL,
    sortorder bigint DEFAULT 0 NOT NULL,
    display bigint DEFAULT 0 NOT NULL,
    decimals smallint,
    hidden bigint DEFAULT 0 NOT NULL,
    locked bigint DEFAULT 0 NOT NULL,
    locktime bigint DEFAULT 0 NOT NULL,
    needsupdate bigint DEFAULT 0 NOT NULL,
    weightoverride smallint DEFAULT 0 NOT NULL,
    timecreated bigint,
    timemodified bigint
);


ALTER TABLE public.mdl_grade_items OWNER TO moodle;

--
-- Name: TABLE mdl_grade_items; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_grade_items IS 'This table keeps information about gradeable items (ie columns). If an activity (eg an assignment or quiz) has multiple grade_items associated with it (eg several outcomes or numerical grades), then there will be a corresponding multiple number of ro';


--
-- Name: mdl_grade_items_history; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_grade_items_history (
    id bigint NOT NULL,
    action bigint DEFAULT 0 NOT NULL,
    oldid bigint NOT NULL,
    source character varying(255),
    timemodified bigint,
    loggeduser bigint,
    courseid bigint,
    categoryid bigint,
    itemname character varying(255),
    itemtype character varying(30) DEFAULT ''::character varying NOT NULL,
    itemmodule character varying(30),
    iteminstance bigint,
    itemnumber bigint,
    iteminfo text,
    idnumber character varying(255),
    calculation text,
    gradetype smallint DEFAULT 1 NOT NULL,
    grademax numeric(10,5) DEFAULT 100 NOT NULL,
    grademin numeric(10,5) DEFAULT 0 NOT NULL,
    scaleid bigint,
    outcomeid bigint,
    gradepass numeric(10,5) DEFAULT 0 NOT NULL,
    multfactor numeric(10,5) DEFAULT 1.0 NOT NULL,
    plusfactor numeric(10,5) DEFAULT 0 NOT NULL,
    aggregationcoef numeric(10,5) DEFAULT 0 NOT NULL,
    aggregationcoef2 numeric(10,5) DEFAULT 0 NOT NULL,
    sortorder bigint DEFAULT 0 NOT NULL,
    hidden bigint DEFAULT 0 NOT NULL,
    locked bigint DEFAULT 0 NOT NULL,
    locktime bigint DEFAULT 0 NOT NULL,
    needsupdate bigint DEFAULT 0 NOT NULL,
    display bigint DEFAULT 0 NOT NULL,
    decimals smallint,
    weightoverride smallint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_grade_items_history OWNER TO moodle;

--
-- Name: TABLE mdl_grade_items_history; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_grade_items_history IS 'History of grade_items';


--
-- Name: mdl_grade_items_history_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_grade_items_history_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_grade_items_history_id_seq OWNER TO moodle;

--
-- Name: mdl_grade_items_history_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_grade_items_history_id_seq OWNED BY public.mdl_grade_items_history.id;


--
-- Name: mdl_grade_items_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_grade_items_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_grade_items_id_seq OWNER TO moodle;

--
-- Name: mdl_grade_items_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_grade_items_id_seq OWNED BY public.mdl_grade_items.id;


--
-- Name: mdl_grade_letters; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_grade_letters (
    id bigint NOT NULL,
    contextid bigint NOT NULL,
    lowerboundary numeric(10,5) NOT NULL,
    letter character varying(255) DEFAULT ''::character varying NOT NULL
);


ALTER TABLE public.mdl_grade_letters OWNER TO moodle;

--
-- Name: TABLE mdl_grade_letters; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_grade_letters IS 'Repository for grade letters, for courses and other moodle entities that use grades.';


--
-- Name: mdl_grade_letters_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_grade_letters_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_grade_letters_id_seq OWNER TO moodle;

--
-- Name: mdl_grade_letters_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_grade_letters_id_seq OWNED BY public.mdl_grade_letters.id;


--
-- Name: mdl_grade_outcomes; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_grade_outcomes (
    id bigint NOT NULL,
    courseid bigint,
    shortname character varying(255) DEFAULT ''::character varying NOT NULL,
    fullname text NOT NULL,
    scaleid bigint,
    description text,
    descriptionformat smallint DEFAULT 0 NOT NULL,
    timecreated bigint,
    timemodified bigint,
    usermodified bigint
);


ALTER TABLE public.mdl_grade_outcomes OWNER TO moodle;

--
-- Name: TABLE mdl_grade_outcomes; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_grade_outcomes IS 'This table describes the outcomes used in the system. An outcome is a statement tied to a rubric scale from low to high, such as âNot met, Borderline, Metâ (stored as 0,1 or 2)';


--
-- Name: mdl_grade_outcomes_courses; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_grade_outcomes_courses (
    id bigint NOT NULL,
    courseid bigint NOT NULL,
    outcomeid bigint NOT NULL
);


ALTER TABLE public.mdl_grade_outcomes_courses OWNER TO moodle;

--
-- Name: TABLE mdl_grade_outcomes_courses; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_grade_outcomes_courses IS 'stores what outcomes are used in what courses.';


--
-- Name: mdl_grade_outcomes_courses_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_grade_outcomes_courses_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_grade_outcomes_courses_id_seq OWNER TO moodle;

--
-- Name: mdl_grade_outcomes_courses_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_grade_outcomes_courses_id_seq OWNED BY public.mdl_grade_outcomes_courses.id;


--
-- Name: mdl_grade_outcomes_history; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_grade_outcomes_history (
    id bigint NOT NULL,
    action bigint DEFAULT 0 NOT NULL,
    oldid bigint NOT NULL,
    source character varying(255),
    timemodified bigint,
    loggeduser bigint,
    courseid bigint,
    shortname character varying(255) DEFAULT ''::character varying NOT NULL,
    fullname text NOT NULL,
    scaleid bigint,
    description text,
    descriptionformat smallint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_grade_outcomes_history OWNER TO moodle;

--
-- Name: TABLE mdl_grade_outcomes_history; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_grade_outcomes_history IS 'History table';


--
-- Name: mdl_grade_outcomes_history_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_grade_outcomes_history_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_grade_outcomes_history_id_seq OWNER TO moodle;

--
-- Name: mdl_grade_outcomes_history_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_grade_outcomes_history_id_seq OWNED BY public.mdl_grade_outcomes_history.id;


--
-- Name: mdl_grade_outcomes_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_grade_outcomes_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_grade_outcomes_id_seq OWNER TO moodle;

--
-- Name: mdl_grade_outcomes_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_grade_outcomes_id_seq OWNED BY public.mdl_grade_outcomes.id;


--
-- Name: mdl_grade_settings; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_grade_settings (
    id bigint NOT NULL,
    courseid bigint NOT NULL,
    name character varying(255) DEFAULT ''::character varying NOT NULL,
    value text
);


ALTER TABLE public.mdl_grade_settings OWNER TO moodle;

--
-- Name: TABLE mdl_grade_settings; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_grade_settings IS 'gradebook settings';


--
-- Name: mdl_grade_settings_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_grade_settings_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_grade_settings_id_seq OWNER TO moodle;

--
-- Name: mdl_grade_settings_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_grade_settings_id_seq OWNED BY public.mdl_grade_settings.id;


--
-- Name: mdl_grading_areas; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_grading_areas (
    id bigint NOT NULL,
    contextid bigint NOT NULL,
    component character varying(100) DEFAULT ''::character varying NOT NULL,
    areaname character varying(100) DEFAULT ''::character varying NOT NULL,
    activemethod character varying(100)
);


ALTER TABLE public.mdl_grading_areas OWNER TO moodle;

--
-- Name: TABLE mdl_grading_areas; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_grading_areas IS 'Identifies gradable areas where advanced grading can happen. For each area, the current active plugin can be set.';


--
-- Name: mdl_grading_areas_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_grading_areas_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_grading_areas_id_seq OWNER TO moodle;

--
-- Name: mdl_grading_areas_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_grading_areas_id_seq OWNED BY public.mdl_grading_areas.id;


--
-- Name: mdl_grading_definitions; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_grading_definitions (
    id bigint NOT NULL,
    areaid bigint NOT NULL,
    method character varying(100) DEFAULT ''::character varying NOT NULL,
    name character varying(255) DEFAULT ''::character varying NOT NULL,
    description text,
    descriptionformat smallint,
    status bigint DEFAULT 0 NOT NULL,
    copiedfromid bigint,
    timecreated bigint NOT NULL,
    usercreated bigint NOT NULL,
    timemodified bigint NOT NULL,
    usermodified bigint NOT NULL,
    timecopied bigint DEFAULT 0,
    options text
);


ALTER TABLE public.mdl_grading_definitions OWNER TO moodle;

--
-- Name: TABLE mdl_grading_definitions; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_grading_definitions IS 'Contains the basic information about an advanced grading form defined in the given gradable area';


--
-- Name: mdl_grading_definitions_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_grading_definitions_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_grading_definitions_id_seq OWNER TO moodle;

--
-- Name: mdl_grading_definitions_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_grading_definitions_id_seq OWNED BY public.mdl_grading_definitions.id;


--
-- Name: mdl_grading_instances; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_grading_instances (
    id bigint NOT NULL,
    definitionid bigint NOT NULL,
    raterid bigint NOT NULL,
    itemid bigint,
    rawgrade numeric(10,5),
    status bigint DEFAULT 0 NOT NULL,
    feedback text,
    feedbackformat smallint,
    timemodified bigint NOT NULL
);


ALTER TABLE public.mdl_grading_instances OWNER TO moodle;

--
-- Name: TABLE mdl_grading_instances; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_grading_instances IS 'Grading form instance is an assessment record for one gradable item assessed by one rater';


--
-- Name: mdl_grading_instances_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_grading_instances_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_grading_instances_id_seq OWNER TO moodle;

--
-- Name: mdl_grading_instances_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_grading_instances_id_seq OWNED BY public.mdl_grading_instances.id;


--
-- Name: mdl_gradingform_guide_comments; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_gradingform_guide_comments (
    id bigint NOT NULL,
    definitionid bigint NOT NULL,
    sortorder bigint NOT NULL,
    description text,
    descriptionformat smallint
);


ALTER TABLE public.mdl_gradingform_guide_comments OWNER TO moodle;

--
-- Name: TABLE mdl_gradingform_guide_comments; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_gradingform_guide_comments IS 'frequently used comments used in marking guide';


--
-- Name: mdl_gradingform_guide_comments_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_gradingform_guide_comments_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_gradingform_guide_comments_id_seq OWNER TO moodle;

--
-- Name: mdl_gradingform_guide_comments_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_gradingform_guide_comments_id_seq OWNED BY public.mdl_gradingform_guide_comments.id;


--
-- Name: mdl_gradingform_guide_criteria; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_gradingform_guide_criteria (
    id bigint NOT NULL,
    definitionid bigint NOT NULL,
    sortorder bigint NOT NULL,
    shortname character varying(255) DEFAULT ''::character varying NOT NULL,
    description text,
    descriptionformat smallint,
    descriptionmarkers text,
    descriptionmarkersformat smallint,
    maxscore numeric(10,5) NOT NULL
);


ALTER TABLE public.mdl_gradingform_guide_criteria OWNER TO moodle;

--
-- Name: TABLE mdl_gradingform_guide_criteria; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_gradingform_guide_criteria IS 'Stores the rows of the criteria grid.';


--
-- Name: mdl_gradingform_guide_criteria_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_gradingform_guide_criteria_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_gradingform_guide_criteria_id_seq OWNER TO moodle;

--
-- Name: mdl_gradingform_guide_criteria_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_gradingform_guide_criteria_id_seq OWNED BY public.mdl_gradingform_guide_criteria.id;


--
-- Name: mdl_gradingform_guide_fillings; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_gradingform_guide_fillings (
    id bigint NOT NULL,
    instanceid bigint NOT NULL,
    criterionid bigint NOT NULL,
    remark text,
    remarkformat smallint,
    score numeric(10,5) NOT NULL
);


ALTER TABLE public.mdl_gradingform_guide_fillings OWNER TO moodle;

--
-- Name: TABLE mdl_gradingform_guide_fillings; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_gradingform_guide_fillings IS 'Stores the data of how the guide is filled by a particular rater';


--
-- Name: mdl_gradingform_guide_fillings_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_gradingform_guide_fillings_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_gradingform_guide_fillings_id_seq OWNER TO moodle;

--
-- Name: mdl_gradingform_guide_fillings_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_gradingform_guide_fillings_id_seq OWNED BY public.mdl_gradingform_guide_fillings.id;


--
-- Name: mdl_gradingform_rubric_criteria; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_gradingform_rubric_criteria (
    id bigint NOT NULL,
    definitionid bigint NOT NULL,
    sortorder bigint NOT NULL,
    description text,
    descriptionformat smallint
);


ALTER TABLE public.mdl_gradingform_rubric_criteria OWNER TO moodle;

--
-- Name: TABLE mdl_gradingform_rubric_criteria; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_gradingform_rubric_criteria IS 'Stores the rows of the rubric grid.';


--
-- Name: mdl_gradingform_rubric_criteria_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_gradingform_rubric_criteria_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_gradingform_rubric_criteria_id_seq OWNER TO moodle;

--
-- Name: mdl_gradingform_rubric_criteria_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_gradingform_rubric_criteria_id_seq OWNED BY public.mdl_gradingform_rubric_criteria.id;


--
-- Name: mdl_gradingform_rubric_fillings; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_gradingform_rubric_fillings (
    id bigint NOT NULL,
    instanceid bigint NOT NULL,
    criterionid bigint NOT NULL,
    levelid bigint,
    remark text,
    remarkformat smallint
);


ALTER TABLE public.mdl_gradingform_rubric_fillings OWNER TO moodle;

--
-- Name: TABLE mdl_gradingform_rubric_fillings; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_gradingform_rubric_fillings IS 'Stores the data of how the rubric is filled by a particular rater';


--
-- Name: mdl_gradingform_rubric_fillings_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_gradingform_rubric_fillings_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_gradingform_rubric_fillings_id_seq OWNER TO moodle;

--
-- Name: mdl_gradingform_rubric_fillings_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_gradingform_rubric_fillings_id_seq OWNED BY public.mdl_gradingform_rubric_fillings.id;


--
-- Name: mdl_gradingform_rubric_levels; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_gradingform_rubric_levels (
    id bigint NOT NULL,
    criterionid bigint NOT NULL,
    score numeric(10,5) NOT NULL,
    definition text,
    definitionformat bigint
);


ALTER TABLE public.mdl_gradingform_rubric_levels OWNER TO moodle;

--
-- Name: TABLE mdl_gradingform_rubric_levels; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_gradingform_rubric_levels IS 'Stores the columns of the rubric grid.';


--
-- Name: mdl_gradingform_rubric_levels_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_gradingform_rubric_levels_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_gradingform_rubric_levels_id_seq OWNER TO moodle;

--
-- Name: mdl_gradingform_rubric_levels_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_gradingform_rubric_levels_id_seq OWNED BY public.mdl_gradingform_rubric_levels.id;


--
-- Name: mdl_groupings; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_groupings (
    id bigint NOT NULL,
    courseid bigint DEFAULT 0 NOT NULL,
    name character varying(255) DEFAULT ''::character varying NOT NULL,
    idnumber character varying(100) DEFAULT ''::character varying NOT NULL,
    description text,
    descriptionformat smallint DEFAULT 0 NOT NULL,
    configdata text,
    timecreated bigint DEFAULT 0 NOT NULL,
    timemodified bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_groupings OWNER TO moodle;

--
-- Name: TABLE mdl_groupings; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_groupings IS 'A grouping is a collection of groups. WAS: groups_groupings';


--
-- Name: mdl_groupings_groups; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_groupings_groups (
    id bigint NOT NULL,
    groupingid bigint DEFAULT 0 NOT NULL,
    groupid bigint DEFAULT 0 NOT NULL,
    timeadded bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_groupings_groups OWNER TO moodle;

--
-- Name: TABLE mdl_groupings_groups; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_groupings_groups IS 'Link a grouping to a group (note, groups can be in multiple groupings ONLY in a course). WAS: groups_groupings_groups';


--
-- Name: mdl_groupings_groups_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_groupings_groups_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_groupings_groups_id_seq OWNER TO moodle;

--
-- Name: mdl_groupings_groups_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_groupings_groups_id_seq OWNED BY public.mdl_groupings_groups.id;


--
-- Name: mdl_groupings_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_groupings_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_groupings_id_seq OWNER TO moodle;

--
-- Name: mdl_groupings_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_groupings_id_seq OWNED BY public.mdl_groupings.id;


--
-- Name: mdl_groups; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_groups (
    id bigint NOT NULL,
    courseid bigint NOT NULL,
    idnumber character varying(100) DEFAULT ''::character varying NOT NULL,
    name character varying(254) DEFAULT ''::character varying NOT NULL,
    description text,
    descriptionformat smallint DEFAULT 0 NOT NULL,
    enrolmentkey character varying(50),
    picture bigint DEFAULT 0 NOT NULL,
    hidepicture smallint DEFAULT 0 NOT NULL,
    timecreated bigint DEFAULT 0 NOT NULL,
    timemodified bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_groups OWNER TO moodle;

--
-- Name: TABLE mdl_groups; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_groups IS 'Each record represents a group.';


--
-- Name: mdl_groups_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_groups_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_groups_id_seq OWNER TO moodle;

--
-- Name: mdl_groups_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_groups_id_seq OWNED BY public.mdl_groups.id;


--
-- Name: mdl_groups_members; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_groups_members (
    id bigint NOT NULL,
    groupid bigint DEFAULT 0 NOT NULL,
    userid bigint DEFAULT 0 NOT NULL,
    timeadded bigint DEFAULT 0 NOT NULL,
    component character varying(100) DEFAULT ''::character varying NOT NULL,
    itemid bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_groups_members OWNER TO moodle;

--
-- Name: TABLE mdl_groups_members; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_groups_members IS 'Link a user to a group.';


--
-- Name: mdl_groups_members_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_groups_members_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_groups_members_id_seq OWNER TO moodle;

--
-- Name: mdl_groups_members_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_groups_members_id_seq OWNED BY public.mdl_groups_members.id;


--
-- Name: mdl_h5p; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_h5p (
    id bigint NOT NULL,
    jsoncontent text NOT NULL,
    mainlibraryid bigint NOT NULL,
    displayoptions smallint,
    pathnamehash character varying(40) DEFAULT ''::character varying NOT NULL,
    contenthash character varying(40) DEFAULT ''::character varying NOT NULL,
    filtered text,
    timecreated bigint DEFAULT 0 NOT NULL,
    timemodified bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_h5p OWNER TO moodle;

--
-- Name: TABLE mdl_h5p; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_h5p IS 'Stores H5P content information';


--
-- Name: mdl_h5p_contents_libraries; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_h5p_contents_libraries (
    id bigint NOT NULL,
    h5pid bigint NOT NULL,
    libraryid bigint NOT NULL,
    dependencytype character varying(10) DEFAULT ''::character varying NOT NULL,
    dropcss smallint NOT NULL,
    weight bigint NOT NULL
);


ALTER TABLE public.mdl_h5p_contents_libraries OWNER TO moodle;

--
-- Name: TABLE mdl_h5p_contents_libraries; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_h5p_contents_libraries IS 'Store which library is used in which content.';


--
-- Name: mdl_h5p_contents_libraries_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_h5p_contents_libraries_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_h5p_contents_libraries_id_seq OWNER TO moodle;

--
-- Name: mdl_h5p_contents_libraries_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_h5p_contents_libraries_id_seq OWNED BY public.mdl_h5p_contents_libraries.id;


--
-- Name: mdl_h5p_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_h5p_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_h5p_id_seq OWNER TO moodle;

--
-- Name: mdl_h5p_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_h5p_id_seq OWNED BY public.mdl_h5p.id;


--
-- Name: mdl_h5p_libraries; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_h5p_libraries (
    id bigint NOT NULL,
    machinename character varying(255) DEFAULT ''::character varying NOT NULL,
    title character varying(255) DEFAULT ''::character varying NOT NULL,
    majorversion smallint NOT NULL,
    minorversion smallint NOT NULL,
    patchversion smallint NOT NULL,
    runnable smallint NOT NULL,
    fullscreen smallint DEFAULT 0 NOT NULL,
    embedtypes character varying(255) DEFAULT ''::character varying NOT NULL,
    preloadedjs text,
    preloadedcss text,
    droplibrarycss text,
    semantics text,
    addto text,
    coremajor smallint,
    coreminor smallint,
    metadatasettings text,
    tutorial text,
    example text
);


ALTER TABLE public.mdl_h5p_libraries OWNER TO moodle;

--
-- Name: TABLE mdl_h5p_libraries; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_h5p_libraries IS 'Stores information about libraries used by H5P content.';


--
-- Name: mdl_h5p_libraries_cachedassets; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_h5p_libraries_cachedassets (
    id bigint NOT NULL,
    libraryid bigint NOT NULL,
    hash character varying(255) DEFAULT ''::character varying NOT NULL
);


ALTER TABLE public.mdl_h5p_libraries_cachedassets OWNER TO moodle;

--
-- Name: TABLE mdl_h5p_libraries_cachedassets; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_h5p_libraries_cachedassets IS 'H5P cached library assets';


--
-- Name: mdl_h5p_libraries_cachedassets_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_h5p_libraries_cachedassets_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_h5p_libraries_cachedassets_id_seq OWNER TO moodle;

--
-- Name: mdl_h5p_libraries_cachedassets_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_h5p_libraries_cachedassets_id_seq OWNED BY public.mdl_h5p_libraries_cachedassets.id;


--
-- Name: mdl_h5p_libraries_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_h5p_libraries_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_h5p_libraries_id_seq OWNER TO moodle;

--
-- Name: mdl_h5p_libraries_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_h5p_libraries_id_seq OWNED BY public.mdl_h5p_libraries.id;


--
-- Name: mdl_h5p_library_dependencies; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_h5p_library_dependencies (
    id bigint NOT NULL,
    libraryid bigint NOT NULL,
    requiredlibraryid bigint NOT NULL,
    dependencytype character varying(255) DEFAULT ''::character varying NOT NULL
);


ALTER TABLE public.mdl_h5p_library_dependencies OWNER TO moodle;

--
-- Name: TABLE mdl_h5p_library_dependencies; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_h5p_library_dependencies IS 'Stores H5P library dependencies';


--
-- Name: mdl_h5p_library_dependencies_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_h5p_library_dependencies_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_h5p_library_dependencies_id_seq OWNER TO moodle;

--
-- Name: mdl_h5p_library_dependencies_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_h5p_library_dependencies_id_seq OWNED BY public.mdl_h5p_library_dependencies.id;


--
-- Name: mdl_h5pactivity; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_h5pactivity (
    id bigint NOT NULL,
    course bigint NOT NULL,
    name character varying(255) DEFAULT ''::character varying NOT NULL,
    timecreated bigint NOT NULL,
    timemodified bigint NOT NULL,
    intro text,
    introformat smallint DEFAULT 0 NOT NULL,
    grade bigint DEFAULT 0,
    displayoptions smallint DEFAULT 0 NOT NULL,
    enabletracking smallint DEFAULT 1 NOT NULL,
    grademethod smallint DEFAULT 1 NOT NULL,
    reviewmode smallint DEFAULT 1
);


ALTER TABLE public.mdl_h5pactivity OWNER TO moodle;

--
-- Name: TABLE mdl_h5pactivity; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_h5pactivity IS 'Stores the h5pactivity activity module instances.';


--
-- Name: mdl_h5pactivity_attempts; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_h5pactivity_attempts (
    id bigint NOT NULL,
    h5pactivityid bigint NOT NULL,
    userid bigint NOT NULL,
    timecreated bigint NOT NULL,
    timemodified bigint NOT NULL,
    attempt integer DEFAULT 1 NOT NULL,
    rawscore bigint DEFAULT 0,
    maxscore bigint DEFAULT 0,
    scaled numeric(10,5) DEFAULT 0 NOT NULL,
    duration bigint DEFAULT 0,
    completion smallint,
    success smallint
);


ALTER TABLE public.mdl_h5pactivity_attempts OWNER TO moodle;

--
-- Name: TABLE mdl_h5pactivity_attempts; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_h5pactivity_attempts IS 'Users attempts inside H5P activities';


--
-- Name: mdl_h5pactivity_attempts_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_h5pactivity_attempts_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_h5pactivity_attempts_id_seq OWNER TO moodle;

--
-- Name: mdl_h5pactivity_attempts_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_h5pactivity_attempts_id_seq OWNED BY public.mdl_h5pactivity_attempts.id;


--
-- Name: mdl_h5pactivity_attempts_results; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_h5pactivity_attempts_results (
    id bigint NOT NULL,
    attemptid bigint NOT NULL,
    subcontent character varying(128),
    timecreated bigint NOT NULL,
    interactiontype character varying(128),
    description text,
    correctpattern text,
    response text NOT NULL,
    additionals text,
    rawscore bigint DEFAULT 0 NOT NULL,
    maxscore bigint DEFAULT 0 NOT NULL,
    duration bigint DEFAULT 0,
    completion smallint,
    success smallint
);


ALTER TABLE public.mdl_h5pactivity_attempts_results OWNER TO moodle;

--
-- Name: TABLE mdl_h5pactivity_attempts_results; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_h5pactivity_attempts_results IS 'H5Pactivities_attempts tracking info';


--
-- Name: mdl_h5pactivity_attempts_results_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_h5pactivity_attempts_results_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_h5pactivity_attempts_results_id_seq OWNER TO moodle;

--
-- Name: mdl_h5pactivity_attempts_results_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_h5pactivity_attempts_results_id_seq OWNED BY public.mdl_h5pactivity_attempts_results.id;


--
-- Name: mdl_h5pactivity_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_h5pactivity_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_h5pactivity_id_seq OWNER TO moodle;

--
-- Name: mdl_h5pactivity_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_h5pactivity_id_seq OWNED BY public.mdl_h5pactivity.id;


--
-- Name: mdl_imscp; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_imscp (
    id bigint NOT NULL,
    course bigint DEFAULT 0 NOT NULL,
    name character varying(255) DEFAULT ''::character varying NOT NULL,
    intro text,
    introformat smallint DEFAULT 0 NOT NULL,
    revision bigint DEFAULT 0 NOT NULL,
    keepold bigint DEFAULT '-1'::integer NOT NULL,
    structure text,
    timemodified bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_imscp OWNER TO moodle;

--
-- Name: TABLE mdl_imscp; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_imscp IS 'each record is one imscp resource';


--
-- Name: mdl_imscp_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_imscp_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_imscp_id_seq OWNER TO moodle;

--
-- Name: mdl_imscp_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_imscp_id_seq OWNED BY public.mdl_imscp.id;


--
-- Name: mdl_infected_files; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_infected_files (
    id bigint NOT NULL,
    filename text NOT NULL,
    quarantinedfile text,
    userid bigint NOT NULL,
    reason text NOT NULL,
    timecreated bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_infected_files OWNER TO moodle;

--
-- Name: TABLE mdl_infected_files; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_infected_files IS 'Table to store infected file details.';


--
-- Name: mdl_infected_files_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_infected_files_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_infected_files_id_seq OWNER TO moodle;

--
-- Name: mdl_infected_files_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_infected_files_id_seq OWNED BY public.mdl_infected_files.id;


--
-- Name: mdl_jitsi; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_jitsi (
    id bigint NOT NULL,
    course bigint NOT NULL,
    name character varying(255) DEFAULT ''::character varying NOT NULL,
    intro text NOT NULL,
    introformat smallint DEFAULT 0 NOT NULL,
    timecreated bigint NOT NULL,
    timemodified bigint DEFAULT 0 NOT NULL,
    timeopen bigint DEFAULT 0 NOT NULL,
    minpretime smallint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_jitsi OWNER TO moodle;

--
-- Name: TABLE mdl_jitsi; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_jitsi IS 'Default comment for jitsi, please edit me';


--
-- Name: mdl_jitsi_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_jitsi_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_jitsi_id_seq OWNER TO moodle;

--
-- Name: mdl_jitsi_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_jitsi_id_seq OWNED BY public.mdl_jitsi.id;


--
-- Name: mdl_label; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_label (
    id bigint NOT NULL,
    course bigint DEFAULT 0 NOT NULL,
    name character varying(255) DEFAULT ''::character varying NOT NULL,
    intro text NOT NULL,
    introformat smallint DEFAULT 0,
    timemodified bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_label OWNER TO moodle;

--
-- Name: TABLE mdl_label; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_label IS 'Defines labels';


--
-- Name: mdl_label_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_label_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_label_id_seq OWNER TO moodle;

--
-- Name: mdl_label_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_label_id_seq OWNED BY public.mdl_label.id;


--
-- Name: mdl_lesson; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_lesson (
    id bigint NOT NULL,
    course bigint DEFAULT 0 NOT NULL,
    name character varying(255) DEFAULT ''::character varying NOT NULL,
    intro text,
    introformat smallint DEFAULT 0 NOT NULL,
    practice smallint DEFAULT 0 NOT NULL,
    modattempts smallint DEFAULT 0 NOT NULL,
    usepassword smallint DEFAULT 0 NOT NULL,
    password character varying(32) DEFAULT ''::character varying NOT NULL,
    dependency bigint DEFAULT 0 NOT NULL,
    conditions text NOT NULL,
    grade bigint DEFAULT 0 NOT NULL,
    custom smallint DEFAULT 0 NOT NULL,
    ongoing smallint DEFAULT 0 NOT NULL,
    usemaxgrade smallint DEFAULT 0 NOT NULL,
    maxanswers smallint DEFAULT 4 NOT NULL,
    maxattempts smallint DEFAULT 5 NOT NULL,
    review smallint DEFAULT 0 NOT NULL,
    nextpagedefault smallint DEFAULT 0 NOT NULL,
    feedback smallint DEFAULT 1 NOT NULL,
    minquestions smallint DEFAULT 0 NOT NULL,
    maxpages smallint DEFAULT 0 NOT NULL,
    timelimit bigint DEFAULT 0 NOT NULL,
    retake smallint DEFAULT 1 NOT NULL,
    activitylink bigint DEFAULT 0 NOT NULL,
    mediafile character varying(255) DEFAULT ''::character varying NOT NULL,
    mediaheight bigint DEFAULT 100 NOT NULL,
    mediawidth bigint DEFAULT 650 NOT NULL,
    mediaclose smallint DEFAULT 0 NOT NULL,
    slideshow smallint DEFAULT 0 NOT NULL,
    width bigint DEFAULT 640 NOT NULL,
    height bigint DEFAULT 480 NOT NULL,
    bgcolor character varying(7) DEFAULT '#FFFFFF'::character varying NOT NULL,
    displayleft smallint DEFAULT 0 NOT NULL,
    displayleftif smallint DEFAULT 0 NOT NULL,
    progressbar smallint DEFAULT 0 NOT NULL,
    available bigint DEFAULT 0 NOT NULL,
    deadline bigint DEFAULT 0 NOT NULL,
    timemodified bigint DEFAULT 0 NOT NULL,
    completionendreached smallint DEFAULT 0,
    completiontimespent bigint DEFAULT 0,
    allowofflineattempts smallint DEFAULT 0
);


ALTER TABLE public.mdl_lesson OWNER TO moodle;

--
-- Name: TABLE mdl_lesson; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_lesson IS 'Defines lesson';


--
-- Name: mdl_lesson_answers; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_lesson_answers (
    id bigint NOT NULL,
    lessonid bigint DEFAULT 0 NOT NULL,
    pageid bigint DEFAULT 0 NOT NULL,
    jumpto bigint DEFAULT 0 NOT NULL,
    grade smallint DEFAULT 0 NOT NULL,
    score bigint DEFAULT 0 NOT NULL,
    flags smallint DEFAULT 0 NOT NULL,
    timecreated bigint DEFAULT 0 NOT NULL,
    timemodified bigint DEFAULT 0 NOT NULL,
    answer text,
    answerformat smallint DEFAULT 0 NOT NULL,
    response text,
    responseformat smallint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_lesson_answers OWNER TO moodle;

--
-- Name: TABLE mdl_lesson_answers; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_lesson_answers IS 'Defines lesson_answers';


--
-- Name: mdl_lesson_answers_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_lesson_answers_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_lesson_answers_id_seq OWNER TO moodle;

--
-- Name: mdl_lesson_answers_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_lesson_answers_id_seq OWNED BY public.mdl_lesson_answers.id;


--
-- Name: mdl_lesson_attempts; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_lesson_attempts (
    id bigint NOT NULL,
    lessonid bigint DEFAULT 0 NOT NULL,
    pageid bigint DEFAULT 0 NOT NULL,
    userid bigint DEFAULT 0 NOT NULL,
    answerid bigint DEFAULT 0 NOT NULL,
    retry smallint DEFAULT 0 NOT NULL,
    correct bigint DEFAULT 0 NOT NULL,
    useranswer text,
    timeseen bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_lesson_attempts OWNER TO moodle;

--
-- Name: TABLE mdl_lesson_attempts; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_lesson_attempts IS 'Defines lesson_attempts';


--
-- Name: mdl_lesson_attempts_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_lesson_attempts_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_lesson_attempts_id_seq OWNER TO moodle;

--
-- Name: mdl_lesson_attempts_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_lesson_attempts_id_seq OWNED BY public.mdl_lesson_attempts.id;


--
-- Name: mdl_lesson_branch; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_lesson_branch (
    id bigint NOT NULL,
    lessonid bigint DEFAULT 0 NOT NULL,
    userid bigint DEFAULT 0 NOT NULL,
    pageid bigint DEFAULT 0 NOT NULL,
    retry bigint DEFAULT 0 NOT NULL,
    flag smallint DEFAULT 0 NOT NULL,
    timeseen bigint DEFAULT 0 NOT NULL,
    nextpageid bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_lesson_branch OWNER TO moodle;

--
-- Name: TABLE mdl_lesson_branch; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_lesson_branch IS 'branches for each lesson/user';


--
-- Name: mdl_lesson_branch_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_lesson_branch_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_lesson_branch_id_seq OWNER TO moodle;

--
-- Name: mdl_lesson_branch_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_lesson_branch_id_seq OWNED BY public.mdl_lesson_branch.id;


--
-- Name: mdl_lesson_grades; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_lesson_grades (
    id bigint NOT NULL,
    lessonid bigint DEFAULT 0 NOT NULL,
    userid bigint DEFAULT 0 NOT NULL,
    grade double precision DEFAULT 0 NOT NULL,
    late smallint DEFAULT 0 NOT NULL,
    completed bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_lesson_grades OWNER TO moodle;

--
-- Name: TABLE mdl_lesson_grades; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_lesson_grades IS 'Defines lesson_grades';


--
-- Name: mdl_lesson_grades_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_lesson_grades_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_lesson_grades_id_seq OWNER TO moodle;

--
-- Name: mdl_lesson_grades_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_lesson_grades_id_seq OWNED BY public.mdl_lesson_grades.id;


--
-- Name: mdl_lesson_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_lesson_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_lesson_id_seq OWNER TO moodle;

--
-- Name: mdl_lesson_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_lesson_id_seq OWNED BY public.mdl_lesson.id;


--
-- Name: mdl_lesson_overrides; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_lesson_overrides (
    id bigint NOT NULL,
    lessonid bigint DEFAULT 0 NOT NULL,
    groupid bigint,
    userid bigint,
    available bigint,
    deadline bigint,
    timelimit bigint,
    review smallint,
    maxattempts smallint,
    retake smallint,
    password character varying(32)
);


ALTER TABLE public.mdl_lesson_overrides OWNER TO moodle;

--
-- Name: TABLE mdl_lesson_overrides; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_lesson_overrides IS 'The overrides to lesson settings.';


--
-- Name: mdl_lesson_overrides_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_lesson_overrides_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_lesson_overrides_id_seq OWNER TO moodle;

--
-- Name: mdl_lesson_overrides_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_lesson_overrides_id_seq OWNED BY public.mdl_lesson_overrides.id;


--
-- Name: mdl_lesson_pages; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_lesson_pages (
    id bigint NOT NULL,
    lessonid bigint DEFAULT 0 NOT NULL,
    prevpageid bigint DEFAULT 0 NOT NULL,
    nextpageid bigint DEFAULT 0 NOT NULL,
    qtype smallint DEFAULT 0 NOT NULL,
    qoption smallint DEFAULT 0 NOT NULL,
    layout smallint DEFAULT 1 NOT NULL,
    display smallint DEFAULT 1 NOT NULL,
    timecreated bigint DEFAULT 0 NOT NULL,
    timemodified bigint DEFAULT 0 NOT NULL,
    title character varying(255) DEFAULT ''::character varying NOT NULL,
    contents text NOT NULL,
    contentsformat smallint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_lesson_pages OWNER TO moodle;

--
-- Name: TABLE mdl_lesson_pages; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_lesson_pages IS 'Defines lesson_pages';


--
-- Name: mdl_lesson_pages_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_lesson_pages_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_lesson_pages_id_seq OWNER TO moodle;

--
-- Name: mdl_lesson_pages_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_lesson_pages_id_seq OWNED BY public.mdl_lesson_pages.id;


--
-- Name: mdl_lesson_timer; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_lesson_timer (
    id bigint NOT NULL,
    lessonid bigint DEFAULT 0 NOT NULL,
    userid bigint DEFAULT 0 NOT NULL,
    starttime bigint DEFAULT 0 NOT NULL,
    lessontime bigint DEFAULT 0 NOT NULL,
    completed smallint DEFAULT 0,
    timemodifiedoffline bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_lesson_timer OWNER TO moodle;

--
-- Name: TABLE mdl_lesson_timer; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_lesson_timer IS 'lesson timer for each lesson';


--
-- Name: mdl_lesson_timer_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_lesson_timer_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_lesson_timer_id_seq OWNER TO moodle;

--
-- Name: mdl_lesson_timer_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_lesson_timer_id_seq OWNED BY public.mdl_lesson_timer.id;


--
-- Name: mdl_license; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_license (
    id bigint NOT NULL,
    shortname character varying(255),
    fullname text,
    source character varying(255),
    enabled smallint DEFAULT 1 NOT NULL,
    version bigint DEFAULT 0 NOT NULL,
    custom smallint DEFAULT 0 NOT NULL,
    sortorder integer DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_license OWNER TO moodle;

--
-- Name: TABLE mdl_license; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_license IS 'store licenses used by moodle';


--
-- Name: mdl_license_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_license_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_license_id_seq OWNER TO moodle;

--
-- Name: mdl_license_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_license_id_seq OWNED BY public.mdl_license.id;


--
-- Name: mdl_lock_db; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_lock_db (
    id bigint NOT NULL,
    resourcekey character varying(255) DEFAULT ''::character varying NOT NULL,
    expires bigint,
    owner character varying(36)
);


ALTER TABLE public.mdl_lock_db OWNER TO moodle;

--
-- Name: TABLE mdl_lock_db; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_lock_db IS 'Stores active and inactive lock types for db locking method.';


--
-- Name: mdl_lock_db_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_lock_db_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_lock_db_id_seq OWNER TO moodle;

--
-- Name: mdl_lock_db_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_lock_db_id_seq OWNED BY public.mdl_lock_db.id;


--
-- Name: mdl_log; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_log (
    id bigint NOT NULL,
    "time" bigint DEFAULT 0 NOT NULL,
    userid bigint DEFAULT 0 NOT NULL,
    ip character varying(45) DEFAULT ''::character varying NOT NULL,
    course bigint DEFAULT 0 NOT NULL,
    module character varying(20) DEFAULT ''::character varying NOT NULL,
    cmid bigint DEFAULT 0 NOT NULL,
    action character varying(40) DEFAULT ''::character varying NOT NULL,
    url character varying(100) DEFAULT ''::character varying NOT NULL,
    info character varying(255) DEFAULT ''::character varying NOT NULL
);


ALTER TABLE public.mdl_log OWNER TO moodle;

--
-- Name: TABLE mdl_log; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_log IS 'Every action is logged as far as possible';


--
-- Name: mdl_log_display; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_log_display (
    id bigint NOT NULL,
    module character varying(20) DEFAULT ''::character varying NOT NULL,
    action character varying(40) DEFAULT ''::character varying NOT NULL,
    mtable character varying(30) DEFAULT ''::character varying NOT NULL,
    field character varying(200) DEFAULT ''::character varying NOT NULL,
    component character varying(100) DEFAULT ''::character varying NOT NULL
);


ALTER TABLE public.mdl_log_display OWNER TO moodle;

--
-- Name: TABLE mdl_log_display; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_log_display IS 'For a particular module/action, specifies a moodle table/field';


--
-- Name: mdl_log_display_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_log_display_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_log_display_id_seq OWNER TO moodle;

--
-- Name: mdl_log_display_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_log_display_id_seq OWNED BY public.mdl_log_display.id;


--
-- Name: mdl_log_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_log_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_log_id_seq OWNER TO moodle;

--
-- Name: mdl_log_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_log_id_seq OWNED BY public.mdl_log.id;


--
-- Name: mdl_log_queries; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_log_queries (
    id bigint NOT NULL,
    qtype integer NOT NULL,
    sqltext text NOT NULL,
    sqlparams text,
    error integer DEFAULT 0 NOT NULL,
    info text,
    backtrace text,
    exectime numeric(10,5) NOT NULL,
    timelogged bigint NOT NULL
);


ALTER TABLE public.mdl_log_queries OWNER TO moodle;

--
-- Name: TABLE mdl_log_queries; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_log_queries IS 'Logged database queries.';


--
-- Name: mdl_log_queries_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_log_queries_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_log_queries_id_seq OWNER TO moodle;

--
-- Name: mdl_log_queries_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_log_queries_id_seq OWNED BY public.mdl_log_queries.id;


--
-- Name: mdl_logstore_standard_log; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_logstore_standard_log (
    id bigint NOT NULL,
    eventname character varying(255) DEFAULT ''::character varying NOT NULL,
    component character varying(100) DEFAULT ''::character varying NOT NULL,
    action character varying(100) DEFAULT ''::character varying NOT NULL,
    target character varying(100) DEFAULT ''::character varying NOT NULL,
    objecttable character varying(50),
    objectid bigint,
    crud character varying(1) DEFAULT ''::character varying NOT NULL,
    edulevel smallint NOT NULL,
    contextid bigint NOT NULL,
    contextlevel bigint NOT NULL,
    contextinstanceid bigint NOT NULL,
    userid bigint NOT NULL,
    courseid bigint,
    relateduserid bigint,
    anonymous smallint DEFAULT 0 NOT NULL,
    other text,
    timecreated bigint NOT NULL,
    origin character varying(10),
    ip character varying(45),
    realuserid bigint
);


ALTER TABLE public.mdl_logstore_standard_log OWNER TO moodle;

--
-- Name: TABLE mdl_logstore_standard_log; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_logstore_standard_log IS 'Standard log table';


--
-- Name: mdl_logstore_standard_log_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_logstore_standard_log_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_logstore_standard_log_id_seq OWNER TO moodle;

--
-- Name: mdl_logstore_standard_log_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_logstore_standard_log_id_seq OWNED BY public.mdl_logstore_standard_log.id;


--
-- Name: mdl_lti; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_lti (
    id bigint NOT NULL,
    course bigint DEFAULT 0 NOT NULL,
    name character varying(255) DEFAULT ''::character varying NOT NULL,
    intro text,
    introformat smallint DEFAULT 0,
    timecreated bigint DEFAULT 0 NOT NULL,
    timemodified bigint DEFAULT 0 NOT NULL,
    typeid bigint,
    toolurl text NOT NULL,
    securetoolurl text,
    instructorchoicesendname smallint,
    instructorchoicesendemailaddr smallint,
    instructorchoiceallowroster smallint,
    instructorchoiceallowsetting smallint,
    instructorcustomparameters text,
    instructorchoiceacceptgrades smallint,
    grade bigint DEFAULT 100 NOT NULL,
    launchcontainer smallint DEFAULT 1 NOT NULL,
    resourcekey character varying(255),
    password character varying(255),
    debuglaunch smallint DEFAULT 0 NOT NULL,
    showtitlelaunch smallint DEFAULT 0 NOT NULL,
    showdescriptionlaunch smallint DEFAULT 0 NOT NULL,
    servicesalt character varying(40),
    icon text,
    secureicon text
);


ALTER TABLE public.mdl_lti OWNER TO moodle;

--
-- Name: TABLE mdl_lti; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_lti IS 'This table contains Basic LTI activities instances';


--
-- Name: mdl_lti_access_tokens; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_lti_access_tokens (
    id bigint NOT NULL,
    typeid bigint NOT NULL,
    scope text NOT NULL,
    token character varying(128) DEFAULT ''::character varying NOT NULL,
    validuntil bigint NOT NULL,
    timecreated bigint NOT NULL,
    lastaccess bigint
);


ALTER TABLE public.mdl_lti_access_tokens OWNER TO moodle;

--
-- Name: TABLE mdl_lti_access_tokens; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_lti_access_tokens IS 'Security tokens for accessing of LTI services';


--
-- Name: mdl_lti_access_tokens_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_lti_access_tokens_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_lti_access_tokens_id_seq OWNER TO moodle;

--
-- Name: mdl_lti_access_tokens_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_lti_access_tokens_id_seq OWNED BY public.mdl_lti_access_tokens.id;


--
-- Name: mdl_lti_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_lti_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_lti_id_seq OWNER TO moodle;

--
-- Name: mdl_lti_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_lti_id_seq OWNED BY public.mdl_lti.id;


--
-- Name: mdl_lti_submission; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_lti_submission (
    id bigint NOT NULL,
    ltiid bigint NOT NULL,
    userid bigint NOT NULL,
    datesubmitted bigint NOT NULL,
    dateupdated bigint NOT NULL,
    gradepercent numeric(10,5) NOT NULL,
    originalgrade numeric(10,5) NOT NULL,
    launchid bigint NOT NULL,
    state smallint NOT NULL
);


ALTER TABLE public.mdl_lti_submission OWNER TO moodle;

--
-- Name: TABLE mdl_lti_submission; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_lti_submission IS 'Keeps track of individual submissions for LTI activities.';


--
-- Name: mdl_lti_submission_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_lti_submission_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_lti_submission_id_seq OWNER TO moodle;

--
-- Name: mdl_lti_submission_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_lti_submission_id_seq OWNED BY public.mdl_lti_submission.id;


--
-- Name: mdl_lti_tool_proxies; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_lti_tool_proxies (
    id bigint NOT NULL,
    name character varying(255) DEFAULT 'Tool Provider'::character varying NOT NULL,
    regurl text,
    state smallint DEFAULT 1 NOT NULL,
    guid character varying(255),
    secret character varying(255),
    vendorcode character varying(255),
    capabilityoffered text NOT NULL,
    serviceoffered text NOT NULL,
    toolproxy text,
    createdby bigint NOT NULL,
    timecreated bigint NOT NULL,
    timemodified bigint NOT NULL
);


ALTER TABLE public.mdl_lti_tool_proxies OWNER TO moodle;

--
-- Name: TABLE mdl_lti_tool_proxies; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_lti_tool_proxies IS 'LTI tool proxy registrations';


--
-- Name: mdl_lti_tool_proxies_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_lti_tool_proxies_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_lti_tool_proxies_id_seq OWNER TO moodle;

--
-- Name: mdl_lti_tool_proxies_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_lti_tool_proxies_id_seq OWNED BY public.mdl_lti_tool_proxies.id;


--
-- Name: mdl_lti_tool_settings; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_lti_tool_settings (
    id bigint NOT NULL,
    toolproxyid bigint NOT NULL,
    typeid bigint,
    course bigint,
    coursemoduleid bigint,
    settings text NOT NULL,
    timecreated bigint NOT NULL,
    timemodified bigint NOT NULL
);


ALTER TABLE public.mdl_lti_tool_settings OWNER TO moodle;

--
-- Name: TABLE mdl_lti_tool_settings; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_lti_tool_settings IS 'LTI tool setting values';


--
-- Name: mdl_lti_tool_settings_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_lti_tool_settings_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_lti_tool_settings_id_seq OWNER TO moodle;

--
-- Name: mdl_lti_tool_settings_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_lti_tool_settings_id_seq OWNED BY public.mdl_lti_tool_settings.id;


--
-- Name: mdl_lti_types; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_lti_types (
    id bigint NOT NULL,
    name character varying(255) DEFAULT 'basiclti Activity'::character varying NOT NULL,
    baseurl text NOT NULL,
    tooldomain character varying(255) DEFAULT ''::character varying NOT NULL,
    state smallint DEFAULT 2 NOT NULL,
    course bigint NOT NULL,
    coursevisible smallint DEFAULT 0 NOT NULL,
    ltiversion character varying(10) DEFAULT ''::character varying NOT NULL,
    clientid character varying(255),
    toolproxyid bigint,
    enabledcapability text,
    parameter text,
    icon text,
    secureicon text,
    createdby bigint NOT NULL,
    timecreated bigint NOT NULL,
    timemodified bigint NOT NULL,
    description text
);


ALTER TABLE public.mdl_lti_types OWNER TO moodle;

--
-- Name: TABLE mdl_lti_types; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_lti_types IS 'Basic LTI pre-configured activities';


--
-- Name: mdl_lti_types_config; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_lti_types_config (
    id bigint NOT NULL,
    typeid bigint NOT NULL,
    name character varying(100) DEFAULT ''::character varying NOT NULL,
    value text NOT NULL
);


ALTER TABLE public.mdl_lti_types_config OWNER TO moodle;

--
-- Name: TABLE mdl_lti_types_config; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_lti_types_config IS 'Basic LTI types configuration';


--
-- Name: mdl_lti_types_config_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_lti_types_config_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_lti_types_config_id_seq OWNER TO moodle;

--
-- Name: mdl_lti_types_config_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_lti_types_config_id_seq OWNED BY public.mdl_lti_types_config.id;


--
-- Name: mdl_lti_types_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_lti_types_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_lti_types_id_seq OWNER TO moodle;

--
-- Name: mdl_lti_types_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_lti_types_id_seq OWNED BY public.mdl_lti_types.id;


--
-- Name: mdl_ltiservice_gradebookservices; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_ltiservice_gradebookservices (
    id bigint NOT NULL,
    gradeitemid bigint NOT NULL,
    courseid bigint NOT NULL,
    toolproxyid bigint,
    typeid bigint,
    baseurl text,
    ltilinkid bigint,
    resourceid character varying(512),
    tag character varying(255)
);


ALTER TABLE public.mdl_ltiservice_gradebookservices OWNER TO moodle;

--
-- Name: TABLE mdl_ltiservice_gradebookservices; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_ltiservice_gradebookservices IS 'This file records the grade items created by the LTI Gradebook Services service';


--
-- Name: mdl_ltiservice_gradebookservices_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_ltiservice_gradebookservices_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_ltiservice_gradebookservices_id_seq OWNER TO moodle;

--
-- Name: mdl_ltiservice_gradebookservices_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_ltiservice_gradebookservices_id_seq OWNED BY public.mdl_ltiservice_gradebookservices.id;


--
-- Name: mdl_message; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_message (
    id bigint NOT NULL,
    useridfrom bigint DEFAULT 0 NOT NULL,
    useridto bigint DEFAULT 0 NOT NULL,
    subject text,
    fullmessage text,
    fullmessageformat smallint DEFAULT 0,
    fullmessagehtml text,
    smallmessage text,
    notification smallint DEFAULT 0,
    contexturl text,
    contexturlname text,
    timecreated bigint DEFAULT 0 NOT NULL,
    timeuserfromdeleted bigint DEFAULT 0 NOT NULL,
    timeusertodeleted bigint DEFAULT 0 NOT NULL,
    component character varying(100),
    eventtype character varying(100),
    customdata text
);


ALTER TABLE public.mdl_message OWNER TO moodle;

--
-- Name: TABLE mdl_message; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_message IS 'Stores all unread messages';


--
-- Name: mdl_message_airnotifier_devices; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_message_airnotifier_devices (
    id bigint NOT NULL,
    userdeviceid bigint NOT NULL,
    enable smallint DEFAULT 1 NOT NULL
);


ALTER TABLE public.mdl_message_airnotifier_devices OWNER TO moodle;

--
-- Name: TABLE mdl_message_airnotifier_devices; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_message_airnotifier_devices IS 'Store information about the devices registered in Airnotifier for PUSH notifications';


--
-- Name: mdl_message_airnotifier_devices_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_message_airnotifier_devices_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_message_airnotifier_devices_id_seq OWNER TO moodle;

--
-- Name: mdl_message_airnotifier_devices_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_message_airnotifier_devices_id_seq OWNED BY public.mdl_message_airnotifier_devices.id;


--
-- Name: mdl_message_contact_requests; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_message_contact_requests (
    id bigint NOT NULL,
    userid bigint NOT NULL,
    requesteduserid bigint NOT NULL,
    timecreated bigint NOT NULL
);


ALTER TABLE public.mdl_message_contact_requests OWNER TO moodle;

--
-- Name: TABLE mdl_message_contact_requests; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_message_contact_requests IS 'Maintains list of contact requests between users';


--
-- Name: mdl_message_contact_requests_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_message_contact_requests_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_message_contact_requests_id_seq OWNER TO moodle;

--
-- Name: mdl_message_contact_requests_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_message_contact_requests_id_seq OWNED BY public.mdl_message_contact_requests.id;


--
-- Name: mdl_message_contacts; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_message_contacts (
    id bigint NOT NULL,
    userid bigint NOT NULL,
    contactid bigint NOT NULL,
    timecreated bigint
);


ALTER TABLE public.mdl_message_contacts OWNER TO moodle;

--
-- Name: TABLE mdl_message_contacts; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_message_contacts IS 'Maintains lists of contacts between users';


--
-- Name: mdl_message_contacts_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_message_contacts_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_message_contacts_id_seq OWNER TO moodle;

--
-- Name: mdl_message_contacts_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_message_contacts_id_seq OWNED BY public.mdl_message_contacts.id;


--
-- Name: mdl_message_conversation_actions; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_message_conversation_actions (
    id bigint NOT NULL,
    userid bigint NOT NULL,
    conversationid bigint NOT NULL,
    action bigint NOT NULL,
    timecreated bigint NOT NULL
);


ALTER TABLE public.mdl_message_conversation_actions OWNER TO moodle;

--
-- Name: TABLE mdl_message_conversation_actions; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_message_conversation_actions IS 'Stores all per-user actions on individual conversations';


--
-- Name: mdl_message_conversation_actions_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_message_conversation_actions_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_message_conversation_actions_id_seq OWNER TO moodle;

--
-- Name: mdl_message_conversation_actions_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_message_conversation_actions_id_seq OWNED BY public.mdl_message_conversation_actions.id;


--
-- Name: mdl_message_conversation_members; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_message_conversation_members (
    id bigint NOT NULL,
    conversationid bigint NOT NULL,
    userid bigint NOT NULL,
    timecreated bigint NOT NULL
);


ALTER TABLE public.mdl_message_conversation_members OWNER TO moodle;

--
-- Name: TABLE mdl_message_conversation_members; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_message_conversation_members IS 'Stores all members in a conversations';


--
-- Name: mdl_message_conversation_members_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_message_conversation_members_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_message_conversation_members_id_seq OWNER TO moodle;

--
-- Name: mdl_message_conversation_members_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_message_conversation_members_id_seq OWNED BY public.mdl_message_conversation_members.id;


--
-- Name: mdl_message_conversations; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_message_conversations (
    id bigint NOT NULL,
    type bigint DEFAULT 1 NOT NULL,
    name character varying(255),
    convhash character varying(40),
    component character varying(100),
    itemtype character varying(100),
    itemid bigint,
    contextid bigint,
    enabled smallint DEFAULT 0 NOT NULL,
    timecreated bigint NOT NULL,
    timemodified bigint
);


ALTER TABLE public.mdl_message_conversations OWNER TO moodle;

--
-- Name: TABLE mdl_message_conversations; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_message_conversations IS 'Stores all message conversations';


--
-- Name: mdl_message_conversations_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_message_conversations_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_message_conversations_id_seq OWNER TO moodle;

--
-- Name: mdl_message_conversations_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_message_conversations_id_seq OWNED BY public.mdl_message_conversations.id;


--
-- Name: mdl_message_email_messages; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_message_email_messages (
    id bigint NOT NULL,
    useridto bigint NOT NULL,
    conversationid bigint NOT NULL,
    messageid bigint NOT NULL
);


ALTER TABLE public.mdl_message_email_messages OWNER TO moodle;

--
-- Name: TABLE mdl_message_email_messages; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_message_email_messages IS 'Keeps track of what emails to send in an email digest';


--
-- Name: mdl_message_email_messages_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_message_email_messages_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_message_email_messages_id_seq OWNER TO moodle;

--
-- Name: mdl_message_email_messages_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_message_email_messages_id_seq OWNED BY public.mdl_message_email_messages.id;


--
-- Name: mdl_message_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_message_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_message_id_seq OWNER TO moodle;

--
-- Name: mdl_message_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_message_id_seq OWNED BY public.mdl_message.id;


--
-- Name: mdl_message_popup; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_message_popup (
    id bigint NOT NULL,
    messageid bigint NOT NULL,
    isread smallint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_message_popup OWNER TO moodle;

--
-- Name: TABLE mdl_message_popup; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_message_popup IS 'Keep state of notifications for the popup message processor';


--
-- Name: mdl_message_popup_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_message_popup_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_message_popup_id_seq OWNER TO moodle;

--
-- Name: mdl_message_popup_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_message_popup_id_seq OWNED BY public.mdl_message_popup.id;


--
-- Name: mdl_message_popup_notifications; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_message_popup_notifications (
    id bigint NOT NULL,
    notificationid bigint NOT NULL
);


ALTER TABLE public.mdl_message_popup_notifications OWNER TO moodle;

--
-- Name: TABLE mdl_message_popup_notifications; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_message_popup_notifications IS 'List of notifications to display in the message output popup';


--
-- Name: mdl_message_popup_notifications_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_message_popup_notifications_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_message_popup_notifications_id_seq OWNER TO moodle;

--
-- Name: mdl_message_popup_notifications_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_message_popup_notifications_id_seq OWNED BY public.mdl_message_popup_notifications.id;


--
-- Name: mdl_message_processors; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_message_processors (
    id bigint NOT NULL,
    name character varying(166) DEFAULT ''::character varying NOT NULL,
    enabled smallint DEFAULT 1 NOT NULL
);


ALTER TABLE public.mdl_message_processors OWNER TO moodle;

--
-- Name: TABLE mdl_message_processors; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_message_processors IS 'List of message output plugins';


--
-- Name: mdl_message_processors_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_message_processors_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_message_processors_id_seq OWNER TO moodle;

--
-- Name: mdl_message_processors_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_message_processors_id_seq OWNED BY public.mdl_message_processors.id;


--
-- Name: mdl_message_providers; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_message_providers (
    id bigint NOT NULL,
    name character varying(100) DEFAULT ''::character varying NOT NULL,
    component character varying(200) DEFAULT ''::character varying NOT NULL,
    capability character varying(255)
);


ALTER TABLE public.mdl_message_providers OWNER TO moodle;

--
-- Name: TABLE mdl_message_providers; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_message_providers IS 'This table stores the message providers (modules and core systems)';


--
-- Name: mdl_message_providers_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_message_providers_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_message_providers_id_seq OWNER TO moodle;

--
-- Name: mdl_message_providers_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_message_providers_id_seq OWNED BY public.mdl_message_providers.id;


--
-- Name: mdl_message_read; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_message_read (
    id bigint NOT NULL,
    useridfrom bigint DEFAULT 0 NOT NULL,
    useridto bigint DEFAULT 0 NOT NULL,
    subject text,
    fullmessage text,
    fullmessageformat smallint DEFAULT 0,
    fullmessagehtml text,
    smallmessage text,
    notification smallint DEFAULT 0,
    contexturl text,
    contexturlname text,
    timecreated bigint DEFAULT 0 NOT NULL,
    timeread bigint DEFAULT 0 NOT NULL,
    timeuserfromdeleted bigint DEFAULT 0 NOT NULL,
    timeusertodeleted bigint DEFAULT 0 NOT NULL,
    component character varying(100),
    eventtype character varying(100)
);


ALTER TABLE public.mdl_message_read OWNER TO moodle;

--
-- Name: TABLE mdl_message_read; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_message_read IS 'Stores all messages that have been read';


--
-- Name: mdl_message_read_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_message_read_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_message_read_id_seq OWNER TO moodle;

--
-- Name: mdl_message_read_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_message_read_id_seq OWNED BY public.mdl_message_read.id;


--
-- Name: mdl_message_user_actions; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_message_user_actions (
    id bigint NOT NULL,
    userid bigint NOT NULL,
    messageid bigint NOT NULL,
    action bigint NOT NULL,
    timecreated bigint NOT NULL
);


ALTER TABLE public.mdl_message_user_actions OWNER TO moodle;

--
-- Name: TABLE mdl_message_user_actions; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_message_user_actions IS 'Stores all per-user actions on individual messages';


--
-- Name: mdl_message_user_actions_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_message_user_actions_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_message_user_actions_id_seq OWNER TO moodle;

--
-- Name: mdl_message_user_actions_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_message_user_actions_id_seq OWNED BY public.mdl_message_user_actions.id;


--
-- Name: mdl_message_users_blocked; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_message_users_blocked (
    id bigint NOT NULL,
    userid bigint NOT NULL,
    blockeduserid bigint NOT NULL,
    timecreated bigint
);


ALTER TABLE public.mdl_message_users_blocked OWNER TO moodle;

--
-- Name: TABLE mdl_message_users_blocked; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_message_users_blocked IS 'Maintains lists of blocked users';


--
-- Name: mdl_message_users_blocked_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_message_users_blocked_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_message_users_blocked_id_seq OWNER TO moodle;

--
-- Name: mdl_message_users_blocked_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_message_users_blocked_id_seq OWNED BY public.mdl_message_users_blocked.id;


--
-- Name: mdl_messageinbound_datakeys; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_messageinbound_datakeys (
    id bigint NOT NULL,
    handler bigint NOT NULL,
    datavalue bigint NOT NULL,
    datakey character varying(64),
    timecreated bigint NOT NULL,
    expires bigint
);


ALTER TABLE public.mdl_messageinbound_datakeys OWNER TO moodle;

--
-- Name: TABLE mdl_messageinbound_datakeys; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_messageinbound_datakeys IS 'Inbound Message data item secret keys.';


--
-- Name: mdl_messageinbound_datakeys_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_messageinbound_datakeys_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_messageinbound_datakeys_id_seq OWNER TO moodle;

--
-- Name: mdl_messageinbound_datakeys_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_messageinbound_datakeys_id_seq OWNED BY public.mdl_messageinbound_datakeys.id;


--
-- Name: mdl_messageinbound_handlers; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_messageinbound_handlers (
    id bigint NOT NULL,
    component character varying(100) DEFAULT ''::character varying NOT NULL,
    classname character varying(255) DEFAULT ''::character varying NOT NULL,
    defaultexpiration bigint DEFAULT 86400 NOT NULL,
    validateaddress smallint DEFAULT 1 NOT NULL,
    enabled smallint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_messageinbound_handlers OWNER TO moodle;

--
-- Name: TABLE mdl_messageinbound_handlers; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_messageinbound_handlers IS 'Inbound Message Handler definitions.';


--
-- Name: mdl_messageinbound_handlers_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_messageinbound_handlers_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_messageinbound_handlers_id_seq OWNER TO moodle;

--
-- Name: mdl_messageinbound_handlers_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_messageinbound_handlers_id_seq OWNED BY public.mdl_messageinbound_handlers.id;


--
-- Name: mdl_messageinbound_messagelist; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_messageinbound_messagelist (
    id bigint NOT NULL,
    messageid text NOT NULL,
    userid bigint NOT NULL,
    address text NOT NULL,
    timecreated bigint NOT NULL
);


ALTER TABLE public.mdl_messageinbound_messagelist OWNER TO moodle;

--
-- Name: TABLE mdl_messageinbound_messagelist; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_messageinbound_messagelist IS 'A list of message IDs for existing replies';


--
-- Name: mdl_messageinbound_messagelist_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_messageinbound_messagelist_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_messageinbound_messagelist_id_seq OWNER TO moodle;

--
-- Name: mdl_messageinbound_messagelist_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_messageinbound_messagelist_id_seq OWNED BY public.mdl_messageinbound_messagelist.id;


--
-- Name: mdl_messages; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_messages (
    id bigint NOT NULL,
    useridfrom bigint NOT NULL,
    conversationid bigint NOT NULL,
    subject text,
    fullmessage text,
    fullmessageformat smallint DEFAULT 0 NOT NULL,
    fullmessagehtml text,
    smallmessage text,
    timecreated bigint NOT NULL,
    fullmessagetrust smallint DEFAULT 0 NOT NULL,
    customdata text
);


ALTER TABLE public.mdl_messages OWNER TO moodle;

--
-- Name: TABLE mdl_messages; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_messages IS 'Stores all messages';


--
-- Name: mdl_messages_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_messages_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_messages_id_seq OWNER TO moodle;

--
-- Name: mdl_messages_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_messages_id_seq OWNED BY public.mdl_messages.id;


--
-- Name: mdl_mnet_application; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_mnet_application (
    id bigint NOT NULL,
    name character varying(50) DEFAULT ''::character varying NOT NULL,
    display_name character varying(50) DEFAULT ''::character varying NOT NULL,
    xmlrpc_server_url character varying(255) DEFAULT ''::character varying NOT NULL,
    sso_land_url character varying(255) DEFAULT ''::character varying NOT NULL,
    sso_jump_url character varying(255) DEFAULT ''::character varying NOT NULL
);


ALTER TABLE public.mdl_mnet_application OWNER TO moodle;

--
-- Name: TABLE mdl_mnet_application; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_mnet_application IS 'Information about applications on remote hosts';


--
-- Name: mdl_mnet_application_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_mnet_application_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_mnet_application_id_seq OWNER TO moodle;

--
-- Name: mdl_mnet_application_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_mnet_application_id_seq OWNED BY public.mdl_mnet_application.id;


--
-- Name: mdl_mnet_host; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_mnet_host (
    id bigint NOT NULL,
    deleted smallint DEFAULT 0 NOT NULL,
    wwwroot character varying(255) DEFAULT ''::character varying NOT NULL,
    ip_address character varying(45) DEFAULT ''::character varying NOT NULL,
    name character varying(80) DEFAULT ''::character varying NOT NULL,
    public_key text NOT NULL,
    public_key_expires bigint DEFAULT 0 NOT NULL,
    transport smallint DEFAULT 0 NOT NULL,
    portno integer DEFAULT 0 NOT NULL,
    last_connect_time bigint DEFAULT 0 NOT NULL,
    last_log_id bigint DEFAULT 0 NOT NULL,
    force_theme smallint DEFAULT 0 NOT NULL,
    theme character varying(100),
    applicationid bigint DEFAULT 1 NOT NULL,
    sslverification smallint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_mnet_host OWNER TO moodle;

--
-- Name: TABLE mdl_mnet_host; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_mnet_host IS 'Information about the local and remote hosts for RPC';


--
-- Name: mdl_mnet_host2service; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_mnet_host2service (
    id bigint NOT NULL,
    hostid bigint DEFAULT 0 NOT NULL,
    serviceid bigint DEFAULT 0 NOT NULL,
    publish smallint DEFAULT 0 NOT NULL,
    subscribe smallint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_mnet_host2service OWNER TO moodle;

--
-- Name: TABLE mdl_mnet_host2service; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_mnet_host2service IS 'Information about the services for a given host';


--
-- Name: mdl_mnet_host2service_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_mnet_host2service_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_mnet_host2service_id_seq OWNER TO moodle;

--
-- Name: mdl_mnet_host2service_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_mnet_host2service_id_seq OWNED BY public.mdl_mnet_host2service.id;


--
-- Name: mdl_mnet_host_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_mnet_host_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_mnet_host_id_seq OWNER TO moodle;

--
-- Name: mdl_mnet_host_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_mnet_host_id_seq OWNED BY public.mdl_mnet_host.id;


--
-- Name: mdl_mnet_log; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_mnet_log (
    id bigint NOT NULL,
    hostid bigint DEFAULT 0 NOT NULL,
    remoteid bigint DEFAULT 0 NOT NULL,
    "time" bigint DEFAULT 0 NOT NULL,
    userid bigint DEFAULT 0 NOT NULL,
    ip character varying(45) DEFAULT ''::character varying NOT NULL,
    course bigint DEFAULT 0 NOT NULL,
    coursename character varying(40) DEFAULT ''::character varying NOT NULL,
    module character varying(20) DEFAULT ''::character varying NOT NULL,
    cmid bigint DEFAULT 0 NOT NULL,
    action character varying(40) DEFAULT ''::character varying NOT NULL,
    url character varying(100) DEFAULT ''::character varying NOT NULL,
    info character varying(255) DEFAULT ''::character varying NOT NULL
);


ALTER TABLE public.mdl_mnet_log OWNER TO moodle;

--
-- Name: TABLE mdl_mnet_log; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_mnet_log IS 'Store session data from users migrating to other sites';


--
-- Name: mdl_mnet_log_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_mnet_log_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_mnet_log_id_seq OWNER TO moodle;

--
-- Name: mdl_mnet_log_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_mnet_log_id_seq OWNED BY public.mdl_mnet_log.id;


--
-- Name: mdl_mnet_remote_rpc; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_mnet_remote_rpc (
    id bigint NOT NULL,
    functionname character varying(40) DEFAULT ''::character varying NOT NULL,
    xmlrpcpath character varying(80) DEFAULT ''::character varying NOT NULL,
    plugintype character varying(20) DEFAULT ''::character varying NOT NULL,
    pluginname character varying(20) DEFAULT ''::character varying NOT NULL,
    enabled smallint NOT NULL
);


ALTER TABLE public.mdl_mnet_remote_rpc OWNER TO moodle;

--
-- Name: TABLE mdl_mnet_remote_rpc; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_mnet_remote_rpc IS 'This table describes functions that might be called remotely (we have less information about them than local functions)';


--
-- Name: mdl_mnet_remote_rpc_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_mnet_remote_rpc_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_mnet_remote_rpc_id_seq OWNER TO moodle;

--
-- Name: mdl_mnet_remote_rpc_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_mnet_remote_rpc_id_seq OWNED BY public.mdl_mnet_remote_rpc.id;


--
-- Name: mdl_mnet_remote_service2rpc; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_mnet_remote_service2rpc (
    id bigint NOT NULL,
    serviceid bigint DEFAULT 0 NOT NULL,
    rpcid bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_mnet_remote_service2rpc OWNER TO moodle;

--
-- Name: TABLE mdl_mnet_remote_service2rpc; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_mnet_remote_service2rpc IS 'Group functions or methods under a service';


--
-- Name: mdl_mnet_remote_service2rpc_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_mnet_remote_service2rpc_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_mnet_remote_service2rpc_id_seq OWNER TO moodle;

--
-- Name: mdl_mnet_remote_service2rpc_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_mnet_remote_service2rpc_id_seq OWNED BY public.mdl_mnet_remote_service2rpc.id;


--
-- Name: mdl_mnet_rpc; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_mnet_rpc (
    id bigint NOT NULL,
    functionname character varying(40) DEFAULT ''::character varying NOT NULL,
    xmlrpcpath character varying(80) DEFAULT ''::character varying NOT NULL,
    plugintype character varying(20) DEFAULT ''::character varying NOT NULL,
    pluginname character varying(20) DEFAULT ''::character varying NOT NULL,
    enabled smallint DEFAULT 0 NOT NULL,
    help text NOT NULL,
    profile text NOT NULL,
    filename character varying(100) DEFAULT ''::character varying NOT NULL,
    classname character varying(150),
    static smallint
);


ALTER TABLE public.mdl_mnet_rpc OWNER TO moodle;

--
-- Name: TABLE mdl_mnet_rpc; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_mnet_rpc IS 'Functions or methods that we may publish or subscribe to';


--
-- Name: mdl_mnet_rpc_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_mnet_rpc_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_mnet_rpc_id_seq OWNER TO moodle;

--
-- Name: mdl_mnet_rpc_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_mnet_rpc_id_seq OWNED BY public.mdl_mnet_rpc.id;


--
-- Name: mdl_mnet_service; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_mnet_service (
    id bigint NOT NULL,
    name character varying(40) DEFAULT ''::character varying NOT NULL,
    description character varying(40) DEFAULT ''::character varying NOT NULL,
    apiversion character varying(10) DEFAULT ''::character varying NOT NULL,
    offer smallint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_mnet_service OWNER TO moodle;

--
-- Name: TABLE mdl_mnet_service; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_mnet_service IS 'A service is a group of functions';


--
-- Name: mdl_mnet_service2rpc; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_mnet_service2rpc (
    id bigint NOT NULL,
    serviceid bigint DEFAULT 0 NOT NULL,
    rpcid bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_mnet_service2rpc OWNER TO moodle;

--
-- Name: TABLE mdl_mnet_service2rpc; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_mnet_service2rpc IS 'Group functions or methods under a service';


--
-- Name: mdl_mnet_service2rpc_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_mnet_service2rpc_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_mnet_service2rpc_id_seq OWNER TO moodle;

--
-- Name: mdl_mnet_service2rpc_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_mnet_service2rpc_id_seq OWNED BY public.mdl_mnet_service2rpc.id;


--
-- Name: mdl_mnet_service_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_mnet_service_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_mnet_service_id_seq OWNER TO moodle;

--
-- Name: mdl_mnet_service_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_mnet_service_id_seq OWNED BY public.mdl_mnet_service.id;


--
-- Name: mdl_mnet_session; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_mnet_session (
    id bigint NOT NULL,
    userid bigint DEFAULT 0 NOT NULL,
    username character varying(100) DEFAULT ''::character varying NOT NULL,
    token character varying(40) DEFAULT ''::character varying NOT NULL,
    mnethostid bigint DEFAULT 0 NOT NULL,
    useragent character varying(40) DEFAULT ''::character varying NOT NULL,
    confirm_timeout bigint DEFAULT 0 NOT NULL,
    session_id character varying(40) DEFAULT ''::character varying NOT NULL,
    expires bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_mnet_session OWNER TO moodle;

--
-- Name: TABLE mdl_mnet_session; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_mnet_session IS 'Store session data from users migrating to other sites';


--
-- Name: mdl_mnet_session_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_mnet_session_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_mnet_session_id_seq OWNER TO moodle;

--
-- Name: mdl_mnet_session_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_mnet_session_id_seq OWNED BY public.mdl_mnet_session.id;


--
-- Name: mdl_mnet_sso_access_control; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_mnet_sso_access_control (
    id bigint NOT NULL,
    username character varying(100) DEFAULT ''::character varying NOT NULL,
    mnet_host_id bigint DEFAULT 0 NOT NULL,
    accessctrl character varying(20) DEFAULT 'allow'::character varying NOT NULL
);


ALTER TABLE public.mdl_mnet_sso_access_control OWNER TO moodle;

--
-- Name: TABLE mdl_mnet_sso_access_control; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_mnet_sso_access_control IS 'Users by host permitted (or not) to login from a remote provider';


--
-- Name: mdl_mnet_sso_access_control_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_mnet_sso_access_control_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_mnet_sso_access_control_id_seq OWNER TO moodle;

--
-- Name: mdl_mnet_sso_access_control_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_mnet_sso_access_control_id_seq OWNED BY public.mdl_mnet_sso_access_control.id;


--
-- Name: mdl_mnetservice_enrol_courses; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_mnetservice_enrol_courses (
    id bigint NOT NULL,
    hostid bigint NOT NULL,
    remoteid bigint NOT NULL,
    categoryid bigint NOT NULL,
    categoryname character varying(255) DEFAULT ''::character varying NOT NULL,
    sortorder bigint DEFAULT 0 NOT NULL,
    fullname character varying(254) DEFAULT ''::character varying NOT NULL,
    shortname character varying(100) DEFAULT ''::character varying NOT NULL,
    idnumber character varying(100) DEFAULT ''::character varying NOT NULL,
    summary text NOT NULL,
    summaryformat smallint DEFAULT 0,
    startdate bigint NOT NULL,
    roleid bigint NOT NULL,
    rolename character varying(255) DEFAULT ''::character varying NOT NULL
);


ALTER TABLE public.mdl_mnetservice_enrol_courses OWNER TO moodle;

--
-- Name: TABLE mdl_mnetservice_enrol_courses; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_mnetservice_enrol_courses IS 'Caches the information fetched via XML-RPC about courses on remote hosts that are offered for our users';


--
-- Name: mdl_mnetservice_enrol_courses_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_mnetservice_enrol_courses_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_mnetservice_enrol_courses_id_seq OWNER TO moodle;

--
-- Name: mdl_mnetservice_enrol_courses_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_mnetservice_enrol_courses_id_seq OWNED BY public.mdl_mnetservice_enrol_courses.id;


--
-- Name: mdl_mnetservice_enrol_enrolments; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_mnetservice_enrol_enrolments (
    id bigint NOT NULL,
    hostid bigint NOT NULL,
    userid bigint NOT NULL,
    remotecourseid bigint NOT NULL,
    rolename character varying(255) DEFAULT ''::character varying NOT NULL,
    enroltime bigint DEFAULT 0 NOT NULL,
    enroltype character varying(20) DEFAULT ''::character varying NOT NULL
);


ALTER TABLE public.mdl_mnetservice_enrol_enrolments OWNER TO moodle;

--
-- Name: TABLE mdl_mnetservice_enrol_enrolments; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_mnetservice_enrol_enrolments IS 'Caches the information about enrolments of our local users in courses on remote hosts';


--
-- Name: mdl_mnetservice_enrol_enrolments_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_mnetservice_enrol_enrolments_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_mnetservice_enrol_enrolments_id_seq OWNER TO moodle;

--
-- Name: mdl_mnetservice_enrol_enrolments_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_mnetservice_enrol_enrolments_id_seq OWNED BY public.mdl_mnetservice_enrol_enrolments.id;


--
-- Name: mdl_modules; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_modules (
    id bigint NOT NULL,
    name character varying(20) DEFAULT ''::character varying NOT NULL,
    cron bigint DEFAULT 0 NOT NULL,
    lastcron bigint DEFAULT 0 NOT NULL,
    search character varying(255) DEFAULT ''::character varying NOT NULL,
    visible smallint DEFAULT 1 NOT NULL
);


ALTER TABLE public.mdl_modules OWNER TO moodle;

--
-- Name: TABLE mdl_modules; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_modules IS 'modules available in the site';


--
-- Name: mdl_modules_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_modules_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_modules_id_seq OWNER TO moodle;

--
-- Name: mdl_modules_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_modules_id_seq OWNED BY public.mdl_modules.id;


--
-- Name: mdl_my_pages; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_my_pages (
    id bigint NOT NULL,
    userid bigint DEFAULT 0,
    name character varying(200) DEFAULT ''::character varying NOT NULL,
    private smallint DEFAULT 1 NOT NULL,
    sortorder integer DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_my_pages OWNER TO moodle;

--
-- Name: TABLE mdl_my_pages; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_my_pages IS 'Extra user pages for the My Moodle system';


--
-- Name: mdl_my_pages_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_my_pages_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_my_pages_id_seq OWNER TO moodle;

--
-- Name: mdl_my_pages_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_my_pages_id_seq OWNED BY public.mdl_my_pages.id;


--
-- Name: mdl_notifications; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_notifications (
    id bigint NOT NULL,
    useridfrom bigint NOT NULL,
    useridto bigint NOT NULL,
    subject text,
    fullmessage text,
    fullmessageformat smallint DEFAULT 0 NOT NULL,
    fullmessagehtml text,
    smallmessage text,
    component character varying(100),
    eventtype character varying(100),
    contexturl text,
    contexturlname text,
    timeread bigint,
    timecreated bigint NOT NULL,
    customdata text
);


ALTER TABLE public.mdl_notifications OWNER TO moodle;

--
-- Name: TABLE mdl_notifications; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_notifications IS 'Stores all notifications';


--
-- Name: mdl_notifications_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_notifications_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_notifications_id_seq OWNER TO moodle;

--
-- Name: mdl_notifications_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_notifications_id_seq OWNED BY public.mdl_notifications.id;


--
-- Name: mdl_oauth2_access_token; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_oauth2_access_token (
    id bigint NOT NULL,
    timecreated bigint NOT NULL,
    timemodified bigint NOT NULL,
    usermodified bigint NOT NULL,
    issuerid bigint NOT NULL,
    token text NOT NULL,
    expires bigint NOT NULL,
    scope text NOT NULL
);


ALTER TABLE public.mdl_oauth2_access_token OWNER TO moodle;

--
-- Name: TABLE mdl_oauth2_access_token; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_oauth2_access_token IS 'Stores access tokens for system accounts in order to be able to use a single token across multiple sessions';


--
-- Name: mdl_oauth2_access_token_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_oauth2_access_token_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_oauth2_access_token_id_seq OWNER TO moodle;

--
-- Name: mdl_oauth2_access_token_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_oauth2_access_token_id_seq OWNED BY public.mdl_oauth2_access_token.id;


--
-- Name: mdl_oauth2_endpoint; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_oauth2_endpoint (
    id bigint NOT NULL,
    timecreated bigint NOT NULL,
    timemodified bigint NOT NULL,
    usermodified bigint NOT NULL,
    name character varying(255) DEFAULT ''::character varying NOT NULL,
    url text NOT NULL,
    issuerid bigint NOT NULL
);


ALTER TABLE public.mdl_oauth2_endpoint OWNER TO moodle;

--
-- Name: TABLE mdl_oauth2_endpoint; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_oauth2_endpoint IS 'Describes the named endpoint for an oauth2 service.';


--
-- Name: mdl_oauth2_endpoint_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_oauth2_endpoint_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_oauth2_endpoint_id_seq OWNER TO moodle;

--
-- Name: mdl_oauth2_endpoint_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_oauth2_endpoint_id_seq OWNED BY public.mdl_oauth2_endpoint.id;


--
-- Name: mdl_oauth2_issuer; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_oauth2_issuer (
    id bigint NOT NULL,
    timecreated bigint NOT NULL,
    timemodified bigint NOT NULL,
    usermodified bigint NOT NULL,
    name character varying(255) DEFAULT ''::character varying NOT NULL,
    image text NOT NULL,
    baseurl text NOT NULL,
    clientid text NOT NULL,
    clientsecret text NOT NULL,
    loginscopes text NOT NULL,
    loginscopesoffline text NOT NULL,
    loginparams text NOT NULL,
    loginparamsoffline text NOT NULL,
    alloweddomains text NOT NULL,
    scopessupported text,
    enabled smallint DEFAULT 1 NOT NULL,
    showonloginpage smallint DEFAULT 1 NOT NULL,
    basicauth smallint DEFAULT 0 NOT NULL,
    sortorder bigint NOT NULL,
    requireconfirmation smallint DEFAULT 1 NOT NULL
);


ALTER TABLE public.mdl_oauth2_issuer OWNER TO moodle;

--
-- Name: TABLE mdl_oauth2_issuer; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_oauth2_issuer IS 'Details for an oauth 2 connect identity issuer.';


--
-- Name: mdl_oauth2_issuer_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_oauth2_issuer_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_oauth2_issuer_id_seq OWNER TO moodle;

--
-- Name: mdl_oauth2_issuer_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_oauth2_issuer_id_seq OWNED BY public.mdl_oauth2_issuer.id;


--
-- Name: mdl_oauth2_refresh_token; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_oauth2_refresh_token (
    id bigint NOT NULL,
    timecreated bigint NOT NULL,
    timemodified bigint NOT NULL,
    userid bigint NOT NULL,
    issuerid bigint NOT NULL,
    token text NOT NULL,
    scopehash character varying(40) DEFAULT ''::character varying NOT NULL
);


ALTER TABLE public.mdl_oauth2_refresh_token OWNER TO moodle;

--
-- Name: TABLE mdl_oauth2_refresh_token; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_oauth2_refresh_token IS 'Stores refresh tokens which can be exchanged for access tokens';


--
-- Name: mdl_oauth2_refresh_token_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_oauth2_refresh_token_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_oauth2_refresh_token_id_seq OWNER TO moodle;

--
-- Name: mdl_oauth2_refresh_token_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_oauth2_refresh_token_id_seq OWNED BY public.mdl_oauth2_refresh_token.id;


--
-- Name: mdl_oauth2_system_account; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_oauth2_system_account (
    id bigint NOT NULL,
    timecreated bigint NOT NULL,
    timemodified bigint NOT NULL,
    usermodified bigint NOT NULL,
    issuerid bigint NOT NULL,
    refreshtoken text NOT NULL,
    grantedscopes text NOT NULL,
    email text,
    username text NOT NULL
);


ALTER TABLE public.mdl_oauth2_system_account OWNER TO moodle;

--
-- Name: TABLE mdl_oauth2_system_account; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_oauth2_system_account IS 'Stored details used to get an access token as a system user for this oauth2 service.';


--
-- Name: mdl_oauth2_system_account_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_oauth2_system_account_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_oauth2_system_account_id_seq OWNER TO moodle;

--
-- Name: mdl_oauth2_system_account_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_oauth2_system_account_id_seq OWNED BY public.mdl_oauth2_system_account.id;


--
-- Name: mdl_oauth2_user_field_mapping; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_oauth2_user_field_mapping (
    id bigint NOT NULL,
    timemodified bigint NOT NULL,
    timecreated bigint NOT NULL,
    usermodified bigint NOT NULL,
    issuerid bigint NOT NULL,
    externalfield character varying(64) DEFAULT ''::character varying NOT NULL,
    internalfield character varying(64) DEFAULT ''::character varying NOT NULL
);


ALTER TABLE public.mdl_oauth2_user_field_mapping OWNER TO moodle;

--
-- Name: TABLE mdl_oauth2_user_field_mapping; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_oauth2_user_field_mapping IS 'Mapping of oauth user fields to moodle fields.';


--
-- Name: mdl_oauth2_user_field_mapping_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_oauth2_user_field_mapping_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_oauth2_user_field_mapping_id_seq OWNER TO moodle;

--
-- Name: mdl_oauth2_user_field_mapping_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_oauth2_user_field_mapping_id_seq OWNED BY public.mdl_oauth2_user_field_mapping.id;


--
-- Name: mdl_page; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_page (
    id bigint NOT NULL,
    course bigint DEFAULT 0 NOT NULL,
    name character varying(255) DEFAULT ''::character varying NOT NULL,
    intro text,
    introformat smallint DEFAULT 0 NOT NULL,
    content text,
    contentformat smallint DEFAULT 0 NOT NULL,
    legacyfiles smallint DEFAULT 0 NOT NULL,
    legacyfileslast bigint,
    display smallint DEFAULT 0 NOT NULL,
    displayoptions text,
    revision bigint DEFAULT 0 NOT NULL,
    timemodified bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_page OWNER TO moodle;

--
-- Name: TABLE mdl_page; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_page IS 'Each record is one page and its config data';


--
-- Name: mdl_page_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_page_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_page_id_seq OWNER TO moodle;

--
-- Name: mdl_page_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_page_id_seq OWNED BY public.mdl_page.id;


--
-- Name: mdl_paygw_paypal; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_paygw_paypal (
    id bigint NOT NULL,
    paymentid bigint NOT NULL,
    pp_orderid character varying(255) DEFAULT 'The ID of the order in PayPal'::character varying NOT NULL
);


ALTER TABLE public.mdl_paygw_paypal OWNER TO moodle;

--
-- Name: TABLE mdl_paygw_paypal; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_paygw_paypal IS 'Stores PayPal related information';


--
-- Name: mdl_paygw_paypal_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_paygw_paypal_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_paygw_paypal_id_seq OWNER TO moodle;

--
-- Name: mdl_paygw_paypal_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_paygw_paypal_id_seq OWNED BY public.mdl_paygw_paypal.id;


--
-- Name: mdl_payment_accounts; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_payment_accounts (
    id bigint NOT NULL,
    name character varying(255) DEFAULT ''::character varying NOT NULL,
    idnumber character varying(100),
    contextid bigint NOT NULL,
    enabled smallint DEFAULT 0 NOT NULL,
    archived smallint DEFAULT 0 NOT NULL,
    timecreated bigint,
    timemodified bigint
);


ALTER TABLE public.mdl_payment_accounts OWNER TO moodle;

--
-- Name: TABLE mdl_payment_accounts; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_payment_accounts IS 'Payment accounts';


--
-- Name: mdl_payment_accounts_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_payment_accounts_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_payment_accounts_id_seq OWNER TO moodle;

--
-- Name: mdl_payment_accounts_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_payment_accounts_id_seq OWNED BY public.mdl_payment_accounts.id;


--
-- Name: mdl_payment_gateways; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_payment_gateways (
    id bigint NOT NULL,
    accountid bigint NOT NULL,
    gateway character varying(100) DEFAULT ''::character varying NOT NULL,
    enabled smallint DEFAULT 1 NOT NULL,
    config text,
    timecreated bigint NOT NULL,
    timemodified bigint NOT NULL
);


ALTER TABLE public.mdl_payment_gateways OWNER TO moodle;

--
-- Name: TABLE mdl_payment_gateways; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_payment_gateways IS 'Configuration for one gateway for one payment account';


--
-- Name: mdl_payment_gateways_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_payment_gateways_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_payment_gateways_id_seq OWNER TO moodle;

--
-- Name: mdl_payment_gateways_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_payment_gateways_id_seq OWNED BY public.mdl_payment_gateways.id;


--
-- Name: mdl_payments; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_payments (
    id bigint NOT NULL,
    component character varying(100) DEFAULT ''::character varying NOT NULL,
    paymentarea character varying(50) DEFAULT ''::character varying NOT NULL,
    itemid bigint NOT NULL,
    userid bigint NOT NULL,
    amount character varying(20) DEFAULT ''::character varying NOT NULL,
    currency character varying(3) DEFAULT ''::character varying NOT NULL,
    accountid bigint NOT NULL,
    gateway character varying(100) DEFAULT ''::character varying NOT NULL,
    timecreated bigint DEFAULT 0 NOT NULL,
    timemodified bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_payments OWNER TO moodle;

--
-- Name: TABLE mdl_payments; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_payments IS 'Stores information about payments';


--
-- Name: mdl_payments_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_payments_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_payments_id_seq OWNER TO moodle;

--
-- Name: mdl_payments_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_payments_id_seq OWNED BY public.mdl_payments.id;


--
-- Name: mdl_portfolio_instance; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_portfolio_instance (
    id bigint NOT NULL,
    plugin character varying(50) DEFAULT ''::character varying NOT NULL,
    name character varying(255) DEFAULT ''::character varying NOT NULL,
    visible smallint DEFAULT 1 NOT NULL
);


ALTER TABLE public.mdl_portfolio_instance OWNER TO moodle;

--
-- Name: TABLE mdl_portfolio_instance; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_portfolio_instance IS 'base table (not including config data) for instances of portfolio plugins.';


--
-- Name: mdl_portfolio_instance_config; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_portfolio_instance_config (
    id bigint NOT NULL,
    instance bigint NOT NULL,
    name character varying(255) DEFAULT ''::character varying NOT NULL,
    value text
);


ALTER TABLE public.mdl_portfolio_instance_config OWNER TO moodle;

--
-- Name: TABLE mdl_portfolio_instance_config; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_portfolio_instance_config IS 'config for portfolio plugin instances';


--
-- Name: mdl_portfolio_instance_config_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_portfolio_instance_config_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_portfolio_instance_config_id_seq OWNER TO moodle;

--
-- Name: mdl_portfolio_instance_config_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_portfolio_instance_config_id_seq OWNED BY public.mdl_portfolio_instance_config.id;


--
-- Name: mdl_portfolio_instance_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_portfolio_instance_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_portfolio_instance_id_seq OWNER TO moodle;

--
-- Name: mdl_portfolio_instance_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_portfolio_instance_id_seq OWNED BY public.mdl_portfolio_instance.id;


--
-- Name: mdl_portfolio_instance_user; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_portfolio_instance_user (
    id bigint NOT NULL,
    instance bigint NOT NULL,
    userid bigint NOT NULL,
    name character varying(255) DEFAULT ''::character varying NOT NULL,
    value text
);


ALTER TABLE public.mdl_portfolio_instance_user OWNER TO moodle;

--
-- Name: TABLE mdl_portfolio_instance_user; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_portfolio_instance_user IS 'user data for portfolio instances.';


--
-- Name: mdl_portfolio_instance_user_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_portfolio_instance_user_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_portfolio_instance_user_id_seq OWNER TO moodle;

--
-- Name: mdl_portfolio_instance_user_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_portfolio_instance_user_id_seq OWNED BY public.mdl_portfolio_instance_user.id;


--
-- Name: mdl_portfolio_log; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_portfolio_log (
    id bigint NOT NULL,
    userid bigint NOT NULL,
    "time" bigint NOT NULL,
    portfolio bigint NOT NULL,
    caller_class character varying(150) DEFAULT ''::character varying NOT NULL,
    caller_file character varying(255) DEFAULT ''::character varying NOT NULL,
    caller_component character varying(255),
    caller_sha1 character varying(255) DEFAULT ''::character varying NOT NULL,
    tempdataid bigint DEFAULT 0 NOT NULL,
    returnurl character varying(255) DEFAULT ''::character varying NOT NULL,
    continueurl character varying(255) DEFAULT ''::character varying NOT NULL
);


ALTER TABLE public.mdl_portfolio_log OWNER TO moodle;

--
-- Name: TABLE mdl_portfolio_log; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_portfolio_log IS 'log of portfolio transfers (used to later check for duplicates)';


--
-- Name: mdl_portfolio_log_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_portfolio_log_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_portfolio_log_id_seq OWNER TO moodle;

--
-- Name: mdl_portfolio_log_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_portfolio_log_id_seq OWNED BY public.mdl_portfolio_log.id;


--
-- Name: mdl_portfolio_mahara_queue; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_portfolio_mahara_queue (
    id bigint NOT NULL,
    transferid bigint NOT NULL,
    token character varying(50) DEFAULT ''::character varying NOT NULL
);


ALTER TABLE public.mdl_portfolio_mahara_queue OWNER TO moodle;

--
-- Name: TABLE mdl_portfolio_mahara_queue; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_portfolio_mahara_queue IS 'maps mahara tokens to transfer ids';


--
-- Name: mdl_portfolio_mahara_queue_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_portfolio_mahara_queue_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_portfolio_mahara_queue_id_seq OWNER TO moodle;

--
-- Name: mdl_portfolio_mahara_queue_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_portfolio_mahara_queue_id_seq OWNED BY public.mdl_portfolio_mahara_queue.id;


--
-- Name: mdl_portfolio_tempdata; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_portfolio_tempdata (
    id bigint NOT NULL,
    data text,
    expirytime bigint NOT NULL,
    userid bigint NOT NULL,
    instance bigint DEFAULT 0,
    queued smallint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_portfolio_tempdata OWNER TO moodle;

--
-- Name: TABLE mdl_portfolio_tempdata; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_portfolio_tempdata IS 'stores temporary data for portfolio exports. the id of this table is used for the itemid for the temporary files area.  cron can clean up stale records (and associated file data) after expirytime.';


--
-- Name: mdl_portfolio_tempdata_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_portfolio_tempdata_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_portfolio_tempdata_id_seq OWNER TO moodle;

--
-- Name: mdl_portfolio_tempdata_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_portfolio_tempdata_id_seq OWNED BY public.mdl_portfolio_tempdata.id;


--
-- Name: mdl_post; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_post (
    id bigint NOT NULL,
    module character varying(20) DEFAULT ''::character varying NOT NULL,
    userid bigint DEFAULT 0 NOT NULL,
    courseid bigint DEFAULT 0 NOT NULL,
    groupid bigint DEFAULT 0 NOT NULL,
    moduleid bigint DEFAULT 0 NOT NULL,
    coursemoduleid bigint DEFAULT 0 NOT NULL,
    subject character varying(128) DEFAULT ''::character varying NOT NULL,
    summary text,
    content text,
    uniquehash character varying(255) DEFAULT ''::character varying NOT NULL,
    rating bigint DEFAULT 0 NOT NULL,
    format bigint DEFAULT 0 NOT NULL,
    summaryformat smallint DEFAULT 0 NOT NULL,
    attachment character varying(100),
    publishstate character varying(20) DEFAULT 'draft'::character varying NOT NULL,
    lastmodified bigint DEFAULT 0 NOT NULL,
    created bigint DEFAULT 0 NOT NULL,
    usermodified bigint
);


ALTER TABLE public.mdl_post OWNER TO moodle;

--
-- Name: TABLE mdl_post; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_post IS 'Generic post table to hold data blog entries etc in different modules';


--
-- Name: mdl_post_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_post_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_post_id_seq OWNER TO moodle;

--
-- Name: mdl_post_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_post_id_seq OWNED BY public.mdl_post.id;


--
-- Name: mdl_profiling; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_profiling (
    id bigint NOT NULL,
    runid character varying(32) DEFAULT ''::character varying NOT NULL,
    url character varying(255) DEFAULT ''::character varying NOT NULL,
    data text NOT NULL,
    totalexecutiontime bigint NOT NULL,
    totalcputime bigint NOT NULL,
    totalcalls bigint NOT NULL,
    totalmemory bigint NOT NULL,
    runreference smallint DEFAULT 0 NOT NULL,
    runcomment character varying(255) DEFAULT ''::character varying NOT NULL,
    timecreated bigint NOT NULL
);


ALTER TABLE public.mdl_profiling OWNER TO moodle;

--
-- Name: TABLE mdl_profiling; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_profiling IS 'Stores the results of all the profiling runs';


--
-- Name: mdl_profiling_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_profiling_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_profiling_id_seq OWNER TO moodle;

--
-- Name: mdl_profiling_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_profiling_id_seq OWNED BY public.mdl_profiling.id;


--
-- Name: mdl_qtype_ddimageortext; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_qtype_ddimageortext (
    id bigint NOT NULL,
    questionid bigint DEFAULT 0 NOT NULL,
    shuffleanswers smallint DEFAULT 1 NOT NULL,
    correctfeedback text NOT NULL,
    correctfeedbackformat smallint DEFAULT 0 NOT NULL,
    partiallycorrectfeedback text NOT NULL,
    partiallycorrectfeedbackformat smallint DEFAULT 0 NOT NULL,
    incorrectfeedback text NOT NULL,
    incorrectfeedbackformat smallint DEFAULT 0 NOT NULL,
    shownumcorrect smallint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_qtype_ddimageortext OWNER TO moodle;

--
-- Name: TABLE mdl_qtype_ddimageortext; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_qtype_ddimageortext IS 'Defines drag and drop (text or images onto a background image) questions';


--
-- Name: mdl_qtype_ddimageortext_drags; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_qtype_ddimageortext_drags (
    id bigint NOT NULL,
    questionid bigint DEFAULT 0 NOT NULL,
    no bigint DEFAULT 0 NOT NULL,
    draggroup bigint DEFAULT 0 NOT NULL,
    infinite smallint DEFAULT 0 NOT NULL,
    label text NOT NULL
);


ALTER TABLE public.mdl_qtype_ddimageortext_drags OWNER TO moodle;

--
-- Name: TABLE mdl_qtype_ddimageortext_drags; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_qtype_ddimageortext_drags IS 'Images to drag. Actual file names are not stored here we use the file names as found in the file storage area.';


--
-- Name: mdl_qtype_ddimageortext_drags_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_qtype_ddimageortext_drags_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_qtype_ddimageortext_drags_id_seq OWNER TO moodle;

--
-- Name: mdl_qtype_ddimageortext_drags_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_qtype_ddimageortext_drags_id_seq OWNED BY public.mdl_qtype_ddimageortext_drags.id;


--
-- Name: mdl_qtype_ddimageortext_drops; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_qtype_ddimageortext_drops (
    id bigint NOT NULL,
    questionid bigint DEFAULT 0 NOT NULL,
    no bigint DEFAULT 0 NOT NULL,
    xleft bigint DEFAULT 0 NOT NULL,
    ytop bigint DEFAULT 0 NOT NULL,
    choice bigint DEFAULT 0 NOT NULL,
    label text NOT NULL
);


ALTER TABLE public.mdl_qtype_ddimageortext_drops OWNER TO moodle;

--
-- Name: TABLE mdl_qtype_ddimageortext_drops; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_qtype_ddimageortext_drops IS 'Drop boxes';


--
-- Name: mdl_qtype_ddimageortext_drops_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_qtype_ddimageortext_drops_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_qtype_ddimageortext_drops_id_seq OWNER TO moodle;

--
-- Name: mdl_qtype_ddimageortext_drops_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_qtype_ddimageortext_drops_id_seq OWNED BY public.mdl_qtype_ddimageortext_drops.id;


--
-- Name: mdl_qtype_ddimageortext_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_qtype_ddimageortext_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_qtype_ddimageortext_id_seq OWNER TO moodle;

--
-- Name: mdl_qtype_ddimageortext_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_qtype_ddimageortext_id_seq OWNED BY public.mdl_qtype_ddimageortext.id;


--
-- Name: mdl_qtype_ddmarker; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_qtype_ddmarker (
    id bigint NOT NULL,
    questionid bigint DEFAULT 0 NOT NULL,
    shuffleanswers smallint DEFAULT 1 NOT NULL,
    correctfeedback text NOT NULL,
    correctfeedbackformat smallint DEFAULT 0 NOT NULL,
    partiallycorrectfeedback text NOT NULL,
    partiallycorrectfeedbackformat smallint DEFAULT 0 NOT NULL,
    incorrectfeedback text NOT NULL,
    incorrectfeedbackformat smallint DEFAULT 0 NOT NULL,
    shownumcorrect smallint DEFAULT 0 NOT NULL,
    showmisplaced smallint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_qtype_ddmarker OWNER TO moodle;

--
-- Name: TABLE mdl_qtype_ddmarker; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_qtype_ddmarker IS 'Defines drag and drop (text or images onto a background image) questions';


--
-- Name: mdl_qtype_ddmarker_drags; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_qtype_ddmarker_drags (
    id bigint NOT NULL,
    questionid bigint DEFAULT 0 NOT NULL,
    no bigint DEFAULT 0 NOT NULL,
    label text NOT NULL,
    infinite smallint DEFAULT 0 NOT NULL,
    noofdrags bigint DEFAULT 1 NOT NULL
);


ALTER TABLE public.mdl_qtype_ddmarker_drags OWNER TO moodle;

--
-- Name: TABLE mdl_qtype_ddmarker_drags; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_qtype_ddmarker_drags IS 'Labels for markers to drag.';


--
-- Name: mdl_qtype_ddmarker_drags_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_qtype_ddmarker_drags_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_qtype_ddmarker_drags_id_seq OWNER TO moodle;

--
-- Name: mdl_qtype_ddmarker_drags_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_qtype_ddmarker_drags_id_seq OWNED BY public.mdl_qtype_ddmarker_drags.id;


--
-- Name: mdl_qtype_ddmarker_drops; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_qtype_ddmarker_drops (
    id bigint NOT NULL,
    questionid bigint DEFAULT 0 NOT NULL,
    no bigint DEFAULT 0 NOT NULL,
    shape character varying(255),
    coords text NOT NULL,
    choice bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_qtype_ddmarker_drops OWNER TO moodle;

--
-- Name: TABLE mdl_qtype_ddmarker_drops; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_qtype_ddmarker_drops IS 'drop regions';


--
-- Name: mdl_qtype_ddmarker_drops_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_qtype_ddmarker_drops_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_qtype_ddmarker_drops_id_seq OWNER TO moodle;

--
-- Name: mdl_qtype_ddmarker_drops_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_qtype_ddmarker_drops_id_seq OWNED BY public.mdl_qtype_ddmarker_drops.id;


--
-- Name: mdl_qtype_ddmarker_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_qtype_ddmarker_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_qtype_ddmarker_id_seq OWNER TO moodle;

--
-- Name: mdl_qtype_ddmarker_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_qtype_ddmarker_id_seq OWNED BY public.mdl_qtype_ddmarker.id;


--
-- Name: mdl_qtype_essay_options; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_qtype_essay_options (
    id bigint NOT NULL,
    questionid bigint NOT NULL,
    responseformat character varying(16) DEFAULT 'editor'::character varying NOT NULL,
    responserequired smallint DEFAULT 1 NOT NULL,
    responsefieldlines smallint DEFAULT 15 NOT NULL,
    attachments smallint DEFAULT 0 NOT NULL,
    attachmentsrequired smallint DEFAULT 0 NOT NULL,
    graderinfo text,
    graderinfoformat smallint DEFAULT 0 NOT NULL,
    responsetemplate text,
    responsetemplateformat smallint DEFAULT 0 NOT NULL,
    maxbytes bigint DEFAULT 0 NOT NULL,
    filetypeslist text
);


ALTER TABLE public.mdl_qtype_essay_options OWNER TO moodle;

--
-- Name: TABLE mdl_qtype_essay_options; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_qtype_essay_options IS 'Extra options for essay questions.';


--
-- Name: mdl_qtype_essay_options_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_qtype_essay_options_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_qtype_essay_options_id_seq OWNER TO moodle;

--
-- Name: mdl_qtype_essay_options_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_qtype_essay_options_id_seq OWNED BY public.mdl_qtype_essay_options.id;


--
-- Name: mdl_qtype_match_options; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_qtype_match_options (
    id bigint NOT NULL,
    questionid bigint DEFAULT 0 NOT NULL,
    shuffleanswers smallint DEFAULT 1 NOT NULL,
    correctfeedback text NOT NULL,
    correctfeedbackformat smallint DEFAULT 0 NOT NULL,
    partiallycorrectfeedback text NOT NULL,
    partiallycorrectfeedbackformat smallint DEFAULT 0 NOT NULL,
    incorrectfeedback text NOT NULL,
    incorrectfeedbackformat smallint DEFAULT 0 NOT NULL,
    shownumcorrect smallint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_qtype_match_options OWNER TO moodle;

--
-- Name: TABLE mdl_qtype_match_options; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_qtype_match_options IS 'Defines the question-type specific options for matching questions';


--
-- Name: mdl_qtype_match_options_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_qtype_match_options_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_qtype_match_options_id_seq OWNER TO moodle;

--
-- Name: mdl_qtype_match_options_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_qtype_match_options_id_seq OWNED BY public.mdl_qtype_match_options.id;


--
-- Name: mdl_qtype_match_subquestions; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_qtype_match_subquestions (
    id bigint NOT NULL,
    questionid bigint DEFAULT 0 NOT NULL,
    questiontext text NOT NULL,
    questiontextformat smallint DEFAULT 0 NOT NULL,
    answertext character varying(255) DEFAULT ''::character varying NOT NULL
);


ALTER TABLE public.mdl_qtype_match_subquestions OWNER TO moodle;

--
-- Name: TABLE mdl_qtype_match_subquestions; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_qtype_match_subquestions IS 'The subquestions that make up a matching question';


--
-- Name: mdl_qtype_match_subquestions_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_qtype_match_subquestions_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_qtype_match_subquestions_id_seq OWNER TO moodle;

--
-- Name: mdl_qtype_match_subquestions_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_qtype_match_subquestions_id_seq OWNED BY public.mdl_qtype_match_subquestions.id;


--
-- Name: mdl_qtype_multichoice_options; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_qtype_multichoice_options (
    id bigint NOT NULL,
    questionid bigint DEFAULT 0 NOT NULL,
    layout smallint DEFAULT 0 NOT NULL,
    single smallint DEFAULT 0 NOT NULL,
    shuffleanswers smallint DEFAULT 1 NOT NULL,
    correctfeedback text NOT NULL,
    correctfeedbackformat smallint DEFAULT 0 NOT NULL,
    partiallycorrectfeedback text NOT NULL,
    partiallycorrectfeedbackformat smallint DEFAULT 0 NOT NULL,
    incorrectfeedback text NOT NULL,
    incorrectfeedbackformat smallint DEFAULT 0 NOT NULL,
    answernumbering character varying(10) DEFAULT 'abc'::character varying NOT NULL,
    shownumcorrect smallint DEFAULT 0 NOT NULL,
    showstandardinstruction smallint DEFAULT 1 NOT NULL
);


ALTER TABLE public.mdl_qtype_multichoice_options OWNER TO moodle;

--
-- Name: TABLE mdl_qtype_multichoice_options; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_qtype_multichoice_options IS 'Options for multiple choice questions';


--
-- Name: mdl_qtype_multichoice_options_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_qtype_multichoice_options_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_qtype_multichoice_options_id_seq OWNER TO moodle;

--
-- Name: mdl_qtype_multichoice_options_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_qtype_multichoice_options_id_seq OWNED BY public.mdl_qtype_multichoice_options.id;


--
-- Name: mdl_qtype_randomsamatch_options; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_qtype_randomsamatch_options (
    id bigint NOT NULL,
    questionid bigint DEFAULT 0 NOT NULL,
    choose bigint DEFAULT 4 NOT NULL,
    subcats smallint DEFAULT 1 NOT NULL,
    correctfeedback text NOT NULL,
    correctfeedbackformat smallint DEFAULT 0 NOT NULL,
    partiallycorrectfeedback text NOT NULL,
    partiallycorrectfeedbackformat smallint DEFAULT 0 NOT NULL,
    incorrectfeedback text NOT NULL,
    incorrectfeedbackformat smallint DEFAULT 0 NOT NULL,
    shownumcorrect smallint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_qtype_randomsamatch_options OWNER TO moodle;

--
-- Name: TABLE mdl_qtype_randomsamatch_options; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_qtype_randomsamatch_options IS 'Info about a random short-answer matching question';


--
-- Name: mdl_qtype_randomsamatch_options_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_qtype_randomsamatch_options_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_qtype_randomsamatch_options_id_seq OWNER TO moodle;

--
-- Name: mdl_qtype_randomsamatch_options_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_qtype_randomsamatch_options_id_seq OWNED BY public.mdl_qtype_randomsamatch_options.id;


--
-- Name: mdl_qtype_shortanswer_options; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_qtype_shortanswer_options (
    id bigint NOT NULL,
    questionid bigint DEFAULT 0 NOT NULL,
    usecase smallint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_qtype_shortanswer_options OWNER TO moodle;

--
-- Name: TABLE mdl_qtype_shortanswer_options; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_qtype_shortanswer_options IS 'Options for short answer questions';


--
-- Name: mdl_qtype_shortanswer_options_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_qtype_shortanswer_options_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_qtype_shortanswer_options_id_seq OWNER TO moodle;

--
-- Name: mdl_qtype_shortanswer_options_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_qtype_shortanswer_options_id_seq OWNED BY public.mdl_qtype_shortanswer_options.id;


--
-- Name: mdl_question; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_question (
    id bigint NOT NULL,
    category bigint DEFAULT 0 NOT NULL,
    parent bigint DEFAULT 0 NOT NULL,
    name character varying(255) DEFAULT ''::character varying NOT NULL,
    questiontext text NOT NULL,
    questiontextformat smallint DEFAULT 0 NOT NULL,
    generalfeedback text NOT NULL,
    generalfeedbackformat smallint DEFAULT 0 NOT NULL,
    defaultmark numeric(12,7) DEFAULT 1 NOT NULL,
    penalty numeric(12,7) DEFAULT 0.3333333 NOT NULL,
    qtype character varying(20) DEFAULT ''::character varying NOT NULL,
    length bigint DEFAULT 1 NOT NULL,
    stamp character varying(255) DEFAULT ''::character varying NOT NULL,
    version character varying(255) DEFAULT ''::character varying NOT NULL,
    hidden smallint DEFAULT 0 NOT NULL,
    timecreated bigint DEFAULT 0 NOT NULL,
    timemodified bigint DEFAULT 0 NOT NULL,
    createdby bigint,
    modifiedby bigint,
    idnumber character varying(100)
);


ALTER TABLE public.mdl_question OWNER TO moodle;

--
-- Name: TABLE mdl_question; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_question IS 'The questions themselves';


--
-- Name: mdl_question_answers; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_question_answers (
    id bigint NOT NULL,
    question bigint DEFAULT 0 NOT NULL,
    answer text NOT NULL,
    answerformat smallint DEFAULT 0 NOT NULL,
    fraction numeric(12,7) DEFAULT 0 NOT NULL,
    feedback text NOT NULL,
    feedbackformat smallint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_question_answers OWNER TO moodle;

--
-- Name: TABLE mdl_question_answers; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_question_answers IS 'Answers, with a fractional grade (0-1) and feedback';


--
-- Name: mdl_question_answers_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_question_answers_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_question_answers_id_seq OWNER TO moodle;

--
-- Name: mdl_question_answers_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_question_answers_id_seq OWNED BY public.mdl_question_answers.id;


--
-- Name: mdl_question_attempt_step_data; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_question_attempt_step_data (
    id bigint NOT NULL,
    attemptstepid bigint NOT NULL,
    name character varying(32) DEFAULT ''::character varying NOT NULL,
    value text
);


ALTER TABLE public.mdl_question_attempt_step_data OWNER TO moodle;

--
-- Name: TABLE mdl_question_attempt_step_data; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_question_attempt_step_data IS 'Each question_attempt_step has an associative array of the data that was submitted by the user in the POST request. It can also contain extra data from the question type or behaviour to avoid re-computation. The convention is that names belonging to ';


--
-- Name: mdl_question_attempt_step_data_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_question_attempt_step_data_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_question_attempt_step_data_id_seq OWNER TO moodle;

--
-- Name: mdl_question_attempt_step_data_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_question_attempt_step_data_id_seq OWNED BY public.mdl_question_attempt_step_data.id;


--
-- Name: mdl_question_attempt_steps; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_question_attempt_steps (
    id bigint NOT NULL,
    questionattemptid bigint NOT NULL,
    sequencenumber bigint NOT NULL,
    state character varying(13) DEFAULT ''::character varying NOT NULL,
    fraction numeric(12,7),
    timecreated bigint NOT NULL,
    userid bigint
);


ALTER TABLE public.mdl_question_attempt_steps OWNER TO moodle;

--
-- Name: TABLE mdl_question_attempt_steps; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_question_attempt_steps IS 'Stores one step in in a question attempt. As well as the data here, the step will have some data in the question_attempt_step_data table.';


--
-- Name: mdl_question_attempt_steps_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_question_attempt_steps_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_question_attempt_steps_id_seq OWNER TO moodle;

--
-- Name: mdl_question_attempt_steps_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_question_attempt_steps_id_seq OWNED BY public.mdl_question_attempt_steps.id;


--
-- Name: mdl_question_attempts; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_question_attempts (
    id bigint NOT NULL,
    questionusageid bigint NOT NULL,
    slot bigint NOT NULL,
    behaviour character varying(32) DEFAULT ''::character varying NOT NULL,
    questionid bigint NOT NULL,
    variant bigint DEFAULT 1 NOT NULL,
    maxmark numeric(12,7) NOT NULL,
    minfraction numeric(12,7) NOT NULL,
    maxfraction numeric(12,7) DEFAULT 1 NOT NULL,
    flagged smallint DEFAULT 0 NOT NULL,
    questionsummary text,
    rightanswer text,
    responsesummary text,
    timemodified bigint NOT NULL
);


ALTER TABLE public.mdl_question_attempts OWNER TO moodle;

--
-- Name: TABLE mdl_question_attempts; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_question_attempts IS 'Each row here corresponds to an attempt at one question, as part of a question_usage. A question_attempt will have some question_attempt_steps';


--
-- Name: mdl_question_attempts_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_question_attempts_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_question_attempts_id_seq OWNER TO moodle;

--
-- Name: mdl_question_attempts_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_question_attempts_id_seq OWNED BY public.mdl_question_attempts.id;


--
-- Name: mdl_question_calculated; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_question_calculated (
    id bigint NOT NULL,
    question bigint DEFAULT 0 NOT NULL,
    answer bigint DEFAULT 0 NOT NULL,
    tolerance character varying(20) DEFAULT '0.0'::character varying NOT NULL,
    tolerancetype bigint DEFAULT 1 NOT NULL,
    correctanswerlength bigint DEFAULT 2 NOT NULL,
    correctanswerformat bigint DEFAULT 2 NOT NULL
);


ALTER TABLE public.mdl_question_calculated OWNER TO moodle;

--
-- Name: TABLE mdl_question_calculated; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_question_calculated IS 'Options for questions of type calculated';


--
-- Name: mdl_question_calculated_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_question_calculated_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_question_calculated_id_seq OWNER TO moodle;

--
-- Name: mdl_question_calculated_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_question_calculated_id_seq OWNED BY public.mdl_question_calculated.id;


--
-- Name: mdl_question_calculated_options; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_question_calculated_options (
    id bigint NOT NULL,
    question bigint DEFAULT 0 NOT NULL,
    synchronize smallint DEFAULT 0 NOT NULL,
    single smallint DEFAULT 0 NOT NULL,
    shuffleanswers smallint DEFAULT 0 NOT NULL,
    correctfeedback text,
    correctfeedbackformat smallint DEFAULT 0 NOT NULL,
    partiallycorrectfeedback text,
    partiallycorrectfeedbackformat smallint DEFAULT 0 NOT NULL,
    incorrectfeedback text,
    incorrectfeedbackformat smallint DEFAULT 0 NOT NULL,
    answernumbering character varying(10) DEFAULT 'abc'::character varying NOT NULL,
    shownumcorrect smallint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_question_calculated_options OWNER TO moodle;

--
-- Name: TABLE mdl_question_calculated_options; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_question_calculated_options IS 'Options for questions of type calculated';


--
-- Name: mdl_question_calculated_options_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_question_calculated_options_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_question_calculated_options_id_seq OWNER TO moodle;

--
-- Name: mdl_question_calculated_options_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_question_calculated_options_id_seq OWNED BY public.mdl_question_calculated_options.id;


--
-- Name: mdl_question_categories; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_question_categories (
    id bigint NOT NULL,
    name character varying(255) DEFAULT ''::character varying NOT NULL,
    contextid bigint DEFAULT 0 NOT NULL,
    info text NOT NULL,
    infoformat smallint DEFAULT 0 NOT NULL,
    stamp character varying(255) DEFAULT ''::character varying NOT NULL,
    parent bigint DEFAULT 0 NOT NULL,
    sortorder bigint DEFAULT 999 NOT NULL,
    idnumber character varying(100)
);


ALTER TABLE public.mdl_question_categories OWNER TO moodle;

--
-- Name: TABLE mdl_question_categories; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_question_categories IS 'Categories are for grouping questions';


--
-- Name: mdl_question_categories_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_question_categories_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_question_categories_id_seq OWNER TO moodle;

--
-- Name: mdl_question_categories_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_question_categories_id_seq OWNED BY public.mdl_question_categories.id;


--
-- Name: mdl_question_dataset_definitions; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_question_dataset_definitions (
    id bigint NOT NULL,
    category bigint DEFAULT 0 NOT NULL,
    name character varying(255) DEFAULT ''::character varying NOT NULL,
    type bigint DEFAULT 0 NOT NULL,
    options character varying(255) DEFAULT ''::character varying NOT NULL,
    itemcount bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_question_dataset_definitions OWNER TO moodle;

--
-- Name: TABLE mdl_question_dataset_definitions; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_question_dataset_definitions IS 'Organises and stores properties for dataset items';


--
-- Name: mdl_question_dataset_definitions_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_question_dataset_definitions_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_question_dataset_definitions_id_seq OWNER TO moodle;

--
-- Name: mdl_question_dataset_definitions_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_question_dataset_definitions_id_seq OWNED BY public.mdl_question_dataset_definitions.id;


--
-- Name: mdl_question_dataset_items; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_question_dataset_items (
    id bigint NOT NULL,
    definition bigint DEFAULT 0 NOT NULL,
    itemnumber bigint DEFAULT 0 NOT NULL,
    value character varying(255) DEFAULT ''::character varying NOT NULL
);


ALTER TABLE public.mdl_question_dataset_items OWNER TO moodle;

--
-- Name: TABLE mdl_question_dataset_items; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_question_dataset_items IS 'Individual dataset items';


--
-- Name: mdl_question_dataset_items_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_question_dataset_items_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_question_dataset_items_id_seq OWNER TO moodle;

--
-- Name: mdl_question_dataset_items_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_question_dataset_items_id_seq OWNED BY public.mdl_question_dataset_items.id;


--
-- Name: mdl_question_datasets; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_question_datasets (
    id bigint NOT NULL,
    question bigint DEFAULT 0 NOT NULL,
    datasetdefinition bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_question_datasets OWNER TO moodle;

--
-- Name: TABLE mdl_question_datasets; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_question_datasets IS 'Many-many relation between questions and dataset definitions';


--
-- Name: mdl_question_datasets_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_question_datasets_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_question_datasets_id_seq OWNER TO moodle;

--
-- Name: mdl_question_datasets_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_question_datasets_id_seq OWNED BY public.mdl_question_datasets.id;


--
-- Name: mdl_question_ddwtos; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_question_ddwtos (
    id bigint NOT NULL,
    questionid bigint DEFAULT 0 NOT NULL,
    shuffleanswers smallint DEFAULT 1 NOT NULL,
    correctfeedback text NOT NULL,
    correctfeedbackformat smallint DEFAULT 0 NOT NULL,
    partiallycorrectfeedback text NOT NULL,
    partiallycorrectfeedbackformat smallint DEFAULT 0 NOT NULL,
    incorrectfeedback text NOT NULL,
    incorrectfeedbackformat smallint DEFAULT 0 NOT NULL,
    shownumcorrect smallint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_question_ddwtos OWNER TO moodle;

--
-- Name: TABLE mdl_question_ddwtos; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_question_ddwtos IS 'Defines drag and drop (words into sentences) questions';


--
-- Name: mdl_question_ddwtos_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_question_ddwtos_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_question_ddwtos_id_seq OWNER TO moodle;

--
-- Name: mdl_question_ddwtos_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_question_ddwtos_id_seq OWNED BY public.mdl_question_ddwtos.id;


--
-- Name: mdl_question_gapselect; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_question_gapselect (
    id bigint NOT NULL,
    questionid bigint DEFAULT 0 NOT NULL,
    shuffleanswers smallint DEFAULT 1 NOT NULL,
    correctfeedback text NOT NULL,
    correctfeedbackformat smallint DEFAULT 0 NOT NULL,
    partiallycorrectfeedback text NOT NULL,
    partiallycorrectfeedbackformat smallint DEFAULT 0 NOT NULL,
    incorrectfeedback text NOT NULL,
    incorrectfeedbackformat smallint DEFAULT 0 NOT NULL,
    shownumcorrect smallint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_question_gapselect OWNER TO moodle;

--
-- Name: TABLE mdl_question_gapselect; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_question_gapselect IS 'Defines select missing words questions';


--
-- Name: mdl_question_gapselect_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_question_gapselect_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_question_gapselect_id_seq OWNER TO moodle;

--
-- Name: mdl_question_gapselect_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_question_gapselect_id_seq OWNED BY public.mdl_question_gapselect.id;


--
-- Name: mdl_question_hints; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_question_hints (
    id bigint NOT NULL,
    questionid bigint NOT NULL,
    hint text NOT NULL,
    hintformat smallint DEFAULT 0 NOT NULL,
    shownumcorrect smallint,
    clearwrong smallint,
    options character varying(255)
);


ALTER TABLE public.mdl_question_hints OWNER TO moodle;

--
-- Name: TABLE mdl_question_hints; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_question_hints IS 'Stores the the part of the question definition that gives different feedback after each try in interactive and similar behaviours.';


--
-- Name: mdl_question_hints_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_question_hints_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_question_hints_id_seq OWNER TO moodle;

--
-- Name: mdl_question_hints_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_question_hints_id_seq OWNED BY public.mdl_question_hints.id;


--
-- Name: mdl_question_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_question_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_question_id_seq OWNER TO moodle;

--
-- Name: mdl_question_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_question_id_seq OWNED BY public.mdl_question.id;


--
-- Name: mdl_question_multianswer; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_question_multianswer (
    id bigint NOT NULL,
    question bigint DEFAULT 0 NOT NULL,
    sequence text NOT NULL
);


ALTER TABLE public.mdl_question_multianswer OWNER TO moodle;

--
-- Name: TABLE mdl_question_multianswer; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_question_multianswer IS 'Options for multianswer questions';


--
-- Name: mdl_question_multianswer_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_question_multianswer_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_question_multianswer_id_seq OWNER TO moodle;

--
-- Name: mdl_question_multianswer_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_question_multianswer_id_seq OWNED BY public.mdl_question_multianswer.id;


--
-- Name: mdl_question_numerical; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_question_numerical (
    id bigint NOT NULL,
    question bigint DEFAULT 0 NOT NULL,
    answer bigint DEFAULT 0 NOT NULL,
    tolerance character varying(255) DEFAULT '0.0'::character varying NOT NULL
);


ALTER TABLE public.mdl_question_numerical OWNER TO moodle;

--
-- Name: TABLE mdl_question_numerical; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_question_numerical IS 'Options for numerical questions.';


--
-- Name: mdl_question_numerical_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_question_numerical_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_question_numerical_id_seq OWNER TO moodle;

--
-- Name: mdl_question_numerical_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_question_numerical_id_seq OWNED BY public.mdl_question_numerical.id;


--
-- Name: mdl_question_numerical_options; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_question_numerical_options (
    id bigint NOT NULL,
    question bigint DEFAULT 0 NOT NULL,
    showunits smallint DEFAULT 0 NOT NULL,
    unitsleft smallint DEFAULT 0 NOT NULL,
    unitgradingtype smallint DEFAULT 0 NOT NULL,
    unitpenalty numeric(12,7) DEFAULT 0.1 NOT NULL
);


ALTER TABLE public.mdl_question_numerical_options OWNER TO moodle;

--
-- Name: TABLE mdl_question_numerical_options; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_question_numerical_options IS 'Options for questions of type numerical This table is also used by the calculated question type';


--
-- Name: mdl_question_numerical_options_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_question_numerical_options_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_question_numerical_options_id_seq OWNER TO moodle;

--
-- Name: mdl_question_numerical_options_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_question_numerical_options_id_seq OWNED BY public.mdl_question_numerical_options.id;


--
-- Name: mdl_question_numerical_units; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_question_numerical_units (
    id bigint NOT NULL,
    question bigint DEFAULT 0 NOT NULL,
    multiplier numeric(38,19) DEFAULT 1.00000000000000000000 NOT NULL,
    unit character varying(50) DEFAULT ''::character varying NOT NULL
);


ALTER TABLE public.mdl_question_numerical_units OWNER TO moodle;

--
-- Name: TABLE mdl_question_numerical_units; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_question_numerical_units IS 'Optional unit options for numerical questions. This table is also used by the calculated question type.';


--
-- Name: mdl_question_numerical_units_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_question_numerical_units_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_question_numerical_units_id_seq OWNER TO moodle;

--
-- Name: mdl_question_numerical_units_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_question_numerical_units_id_seq OWNED BY public.mdl_question_numerical_units.id;


--
-- Name: mdl_question_response_analysis; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_question_response_analysis (
    id bigint NOT NULL,
    hashcode character varying(40) DEFAULT ''::character varying NOT NULL,
    whichtries character varying(255) DEFAULT ''::character varying NOT NULL,
    timemodified bigint NOT NULL,
    questionid bigint NOT NULL,
    variant bigint,
    subqid character varying(100) DEFAULT ''::character varying NOT NULL,
    aid character varying(100),
    response text,
    credit numeric(15,5) NOT NULL
);


ALTER TABLE public.mdl_question_response_analysis OWNER TO moodle;

--
-- Name: TABLE mdl_question_response_analysis; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_question_response_analysis IS 'Analysis of student responses given to questions.';


--
-- Name: mdl_question_response_analysis_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_question_response_analysis_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_question_response_analysis_id_seq OWNER TO moodle;

--
-- Name: mdl_question_response_analysis_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_question_response_analysis_id_seq OWNED BY public.mdl_question_response_analysis.id;


--
-- Name: mdl_question_response_count; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_question_response_count (
    id bigint NOT NULL,
    analysisid bigint NOT NULL,
    try bigint NOT NULL,
    rcount bigint NOT NULL
);


ALTER TABLE public.mdl_question_response_count OWNER TO moodle;

--
-- Name: TABLE mdl_question_response_count; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_question_response_count IS 'Count for each responses for each try at a question.';


--
-- Name: mdl_question_response_count_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_question_response_count_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_question_response_count_id_seq OWNER TO moodle;

--
-- Name: mdl_question_response_count_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_question_response_count_id_seq OWNED BY public.mdl_question_response_count.id;


--
-- Name: mdl_question_statistics; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_question_statistics (
    id bigint NOT NULL,
    hashcode character varying(40) DEFAULT ''::character varying NOT NULL,
    timemodified bigint NOT NULL,
    questionid bigint NOT NULL,
    slot bigint,
    subquestion smallint NOT NULL,
    variant bigint,
    s bigint DEFAULT 0 NOT NULL,
    effectiveweight numeric(15,5),
    negcovar smallint DEFAULT 0 NOT NULL,
    discriminationindex numeric(15,5),
    discriminativeefficiency numeric(15,5),
    sd numeric(15,10),
    facility numeric(15,10),
    subquestions text,
    maxmark numeric(12,7),
    positions text,
    randomguessscore numeric(12,7)
);


ALTER TABLE public.mdl_question_statistics OWNER TO moodle;

--
-- Name: TABLE mdl_question_statistics; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_question_statistics IS 'Statistics for individual questions used in an activity.';


--
-- Name: mdl_question_statistics_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_question_statistics_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_question_statistics_id_seq OWNER TO moodle;

--
-- Name: mdl_question_statistics_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_question_statistics_id_seq OWNED BY public.mdl_question_statistics.id;


--
-- Name: mdl_question_truefalse; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_question_truefalse (
    id bigint NOT NULL,
    question bigint DEFAULT 0 NOT NULL,
    trueanswer bigint DEFAULT 0 NOT NULL,
    falseanswer bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_question_truefalse OWNER TO moodle;

--
-- Name: TABLE mdl_question_truefalse; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_question_truefalse IS 'Options for True-False questions';


--
-- Name: mdl_question_truefalse_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_question_truefalse_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_question_truefalse_id_seq OWNER TO moodle;

--
-- Name: mdl_question_truefalse_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_question_truefalse_id_seq OWNED BY public.mdl_question_truefalse.id;


--
-- Name: mdl_question_usages; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_question_usages (
    id bigint NOT NULL,
    contextid bigint NOT NULL,
    component character varying(255) DEFAULT ''::character varying NOT NULL,
    preferredbehaviour character varying(32) DEFAULT ''::character varying NOT NULL
);


ALTER TABLE public.mdl_question_usages OWNER TO moodle;

--
-- Name: TABLE mdl_question_usages; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_question_usages IS 'This table''s main purpose it to assign a unique id to each attempt at a set of questions by some part of Moodle. A question usage is made up of a number of question_attempts.';


--
-- Name: mdl_question_usages_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_question_usages_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_question_usages_id_seq OWNER TO moodle;

--
-- Name: mdl_question_usages_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_question_usages_id_seq OWNED BY public.mdl_question_usages.id;


--
-- Name: mdl_quiz; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_quiz (
    id bigint NOT NULL,
    course bigint DEFAULT 0 NOT NULL,
    name character varying(255) DEFAULT ''::character varying NOT NULL,
    intro text NOT NULL,
    introformat smallint DEFAULT 0 NOT NULL,
    timeopen bigint DEFAULT 0 NOT NULL,
    timeclose bigint DEFAULT 0 NOT NULL,
    timelimit bigint DEFAULT 0 NOT NULL,
    overduehandling character varying(16) DEFAULT 'autoabandon'::character varying NOT NULL,
    graceperiod bigint DEFAULT 0 NOT NULL,
    preferredbehaviour character varying(32) DEFAULT ''::character varying NOT NULL,
    canredoquestions smallint DEFAULT 0 NOT NULL,
    attempts integer DEFAULT 0 NOT NULL,
    attemptonlast smallint DEFAULT 0 NOT NULL,
    grademethod smallint DEFAULT 1 NOT NULL,
    decimalpoints smallint DEFAULT 2 NOT NULL,
    questiondecimalpoints smallint DEFAULT '-1'::integer NOT NULL,
    reviewattempt integer DEFAULT 0 NOT NULL,
    reviewcorrectness integer DEFAULT 0 NOT NULL,
    reviewmarks integer DEFAULT 0 NOT NULL,
    reviewspecificfeedback integer DEFAULT 0 NOT NULL,
    reviewgeneralfeedback integer DEFAULT 0 NOT NULL,
    reviewrightanswer integer DEFAULT 0 NOT NULL,
    reviewoverallfeedback integer DEFAULT 0 NOT NULL,
    questionsperpage bigint DEFAULT 0 NOT NULL,
    navmethod character varying(16) DEFAULT 'free'::character varying NOT NULL,
    shuffleanswers smallint DEFAULT 0 NOT NULL,
    sumgrades numeric(10,5) DEFAULT 0 NOT NULL,
    grade numeric(10,5) DEFAULT 0 NOT NULL,
    timecreated bigint DEFAULT 0 NOT NULL,
    timemodified bigint DEFAULT 0 NOT NULL,
    password character varying(255) DEFAULT ''::character varying NOT NULL,
    subnet character varying(255) DEFAULT ''::character varying NOT NULL,
    browsersecurity character varying(32) DEFAULT ''::character varying NOT NULL,
    delay1 bigint DEFAULT 0 NOT NULL,
    delay2 bigint DEFAULT 0 NOT NULL,
    showuserpicture smallint DEFAULT 0 NOT NULL,
    showblocks smallint DEFAULT 0 NOT NULL,
    completionattemptsexhausted smallint DEFAULT 0,
    completionpass smallint DEFAULT 0,
    completionminattempts bigint DEFAULT 0 NOT NULL,
    allowofflineattempts smallint DEFAULT 0
);


ALTER TABLE public.mdl_quiz OWNER TO moodle;

--
-- Name: TABLE mdl_quiz; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_quiz IS 'The settings for each quiz.';


--
-- Name: mdl_quiz_attempts; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_quiz_attempts (
    id bigint NOT NULL,
    quiz bigint DEFAULT 0 NOT NULL,
    userid bigint DEFAULT 0 NOT NULL,
    attempt integer DEFAULT 0 NOT NULL,
    uniqueid bigint DEFAULT 0 NOT NULL,
    layout text NOT NULL,
    currentpage bigint DEFAULT 0 NOT NULL,
    preview smallint DEFAULT 0 NOT NULL,
    state character varying(16) DEFAULT 'inprogress'::character varying NOT NULL,
    timestart bigint DEFAULT 0 NOT NULL,
    timefinish bigint DEFAULT 0 NOT NULL,
    timemodified bigint DEFAULT 0 NOT NULL,
    timemodifiedoffline bigint DEFAULT 0 NOT NULL,
    timecheckstate bigint DEFAULT 0,
    sumgrades numeric(10,5)
);


ALTER TABLE public.mdl_quiz_attempts OWNER TO moodle;

--
-- Name: TABLE mdl_quiz_attempts; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_quiz_attempts IS 'Stores users attempts at quizzes.';


--
-- Name: mdl_quiz_attempts_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_quiz_attempts_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_quiz_attempts_id_seq OWNER TO moodle;

--
-- Name: mdl_quiz_attempts_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_quiz_attempts_id_seq OWNED BY public.mdl_quiz_attempts.id;


--
-- Name: mdl_quiz_feedback; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_quiz_feedback (
    id bigint NOT NULL,
    quizid bigint DEFAULT 0 NOT NULL,
    feedbacktext text NOT NULL,
    feedbacktextformat smallint DEFAULT 0 NOT NULL,
    mingrade numeric(10,5) DEFAULT 0 NOT NULL,
    maxgrade numeric(10,5) DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_quiz_feedback OWNER TO moodle;

--
-- Name: TABLE mdl_quiz_feedback; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_quiz_feedback IS 'Feedback given to students based on which grade band their overall score lies.';


--
-- Name: mdl_quiz_feedback_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_quiz_feedback_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_quiz_feedback_id_seq OWNER TO moodle;

--
-- Name: mdl_quiz_feedback_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_quiz_feedback_id_seq OWNED BY public.mdl_quiz_feedback.id;


--
-- Name: mdl_quiz_grades; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_quiz_grades (
    id bigint NOT NULL,
    quiz bigint DEFAULT 0 NOT NULL,
    userid bigint DEFAULT 0 NOT NULL,
    grade numeric(10,5) DEFAULT 0 NOT NULL,
    timemodified bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_quiz_grades OWNER TO moodle;

--
-- Name: TABLE mdl_quiz_grades; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_quiz_grades IS 'Stores the overall grade for each user on the quiz, based on their various attempts and the quiz.grademethod setting.';


--
-- Name: mdl_quiz_grades_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_quiz_grades_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_quiz_grades_id_seq OWNER TO moodle;

--
-- Name: mdl_quiz_grades_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_quiz_grades_id_seq OWNED BY public.mdl_quiz_grades.id;


--
-- Name: mdl_quiz_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_quiz_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_quiz_id_seq OWNER TO moodle;

--
-- Name: mdl_quiz_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_quiz_id_seq OWNED BY public.mdl_quiz.id;


--
-- Name: mdl_quiz_overrides; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_quiz_overrides (
    id bigint NOT NULL,
    quiz bigint DEFAULT 0 NOT NULL,
    groupid bigint,
    userid bigint,
    timeopen bigint,
    timeclose bigint,
    timelimit bigint,
    attempts integer,
    password character varying(255)
);


ALTER TABLE public.mdl_quiz_overrides OWNER TO moodle;

--
-- Name: TABLE mdl_quiz_overrides; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_quiz_overrides IS 'The overrides to quiz settings on a per-user and per-group basis.';


--
-- Name: mdl_quiz_overrides_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_quiz_overrides_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_quiz_overrides_id_seq OWNER TO moodle;

--
-- Name: mdl_quiz_overrides_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_quiz_overrides_id_seq OWNED BY public.mdl_quiz_overrides.id;


--
-- Name: mdl_quiz_overview_regrades; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_quiz_overview_regrades (
    id bigint NOT NULL,
    questionusageid bigint NOT NULL,
    slot bigint NOT NULL,
    newfraction numeric(12,7),
    oldfraction numeric(12,7),
    regraded smallint NOT NULL,
    timemodified bigint NOT NULL
);


ALTER TABLE public.mdl_quiz_overview_regrades OWNER TO moodle;

--
-- Name: TABLE mdl_quiz_overview_regrades; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_quiz_overview_regrades IS 'This table records which question attempts need regrading and the grade they will be regraded to.';


--
-- Name: mdl_quiz_overview_regrades_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_quiz_overview_regrades_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_quiz_overview_regrades_id_seq OWNER TO moodle;

--
-- Name: mdl_quiz_overview_regrades_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_quiz_overview_regrades_id_seq OWNED BY public.mdl_quiz_overview_regrades.id;


--
-- Name: mdl_quiz_reports; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_quiz_reports (
    id bigint NOT NULL,
    name character varying(255),
    displayorder bigint NOT NULL,
    capability character varying(255)
);


ALTER TABLE public.mdl_quiz_reports OWNER TO moodle;

--
-- Name: TABLE mdl_quiz_reports; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_quiz_reports IS 'Lists all the installed quiz reports and their display order and so on. No need to worry about deleting old records. Only records with an equivalent directory are displayed.';


--
-- Name: mdl_quiz_reports_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_quiz_reports_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_quiz_reports_id_seq OWNER TO moodle;

--
-- Name: mdl_quiz_reports_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_quiz_reports_id_seq OWNED BY public.mdl_quiz_reports.id;


--
-- Name: mdl_quiz_sections; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_quiz_sections (
    id bigint NOT NULL,
    quizid bigint NOT NULL,
    firstslot bigint NOT NULL,
    heading character varying(1333),
    shufflequestions smallint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_quiz_sections OWNER TO moodle;

--
-- Name: TABLE mdl_quiz_sections; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_quiz_sections IS 'Stores sections of a quiz with section name (heading), from slot-number N and whether the question order should be shuffled.';


--
-- Name: mdl_quiz_sections_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_quiz_sections_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_quiz_sections_id_seq OWNER TO moodle;

--
-- Name: mdl_quiz_sections_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_quiz_sections_id_seq OWNED BY public.mdl_quiz_sections.id;


--
-- Name: mdl_quiz_slot_tags; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_quiz_slot_tags (
    id bigint NOT NULL,
    slotid bigint,
    tagid bigint,
    tagname character varying(255)
);


ALTER TABLE public.mdl_quiz_slot_tags OWNER TO moodle;

--
-- Name: TABLE mdl_quiz_slot_tags; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_quiz_slot_tags IS 'Stores data about the tags that a question must have so that it can be selected for a quiz slot (when having a random question by tags on that slot).';


--
-- Name: mdl_quiz_slot_tags_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_quiz_slot_tags_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_quiz_slot_tags_id_seq OWNER TO moodle;

--
-- Name: mdl_quiz_slot_tags_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_quiz_slot_tags_id_seq OWNED BY public.mdl_quiz_slot_tags.id;


--
-- Name: mdl_quiz_slots; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_quiz_slots (
    id bigint NOT NULL,
    slot bigint NOT NULL,
    quizid bigint DEFAULT 0 NOT NULL,
    page bigint NOT NULL,
    requireprevious smallint DEFAULT 0 NOT NULL,
    questionid bigint DEFAULT 0 NOT NULL,
    questioncategoryid bigint,
    includingsubcategories smallint,
    maxmark numeric(12,7) DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_quiz_slots OWNER TO moodle;

--
-- Name: TABLE mdl_quiz_slots; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_quiz_slots IS 'Stores the question used in a quiz, with the order, and for each question, which page it appears on, and the maximum mark (weight).';


--
-- Name: mdl_quiz_slots_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_quiz_slots_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_quiz_slots_id_seq OWNER TO moodle;

--
-- Name: mdl_quiz_slots_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_quiz_slots_id_seq OWNED BY public.mdl_quiz_slots.id;


--
-- Name: mdl_quiz_statistics; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_quiz_statistics (
    id bigint NOT NULL,
    hashcode character varying(40) DEFAULT ''::character varying NOT NULL,
    whichattempts smallint NOT NULL,
    timemodified bigint NOT NULL,
    firstattemptscount bigint NOT NULL,
    highestattemptscount bigint NOT NULL,
    lastattemptscount bigint NOT NULL,
    allattemptscount bigint NOT NULL,
    firstattemptsavg numeric(15,5),
    highestattemptsavg numeric(15,5),
    lastattemptsavg numeric(15,5),
    allattemptsavg numeric(15,5),
    median numeric(15,5),
    standarddeviation numeric(15,5),
    skewness numeric(15,10),
    kurtosis numeric(15,5),
    cic numeric(15,10),
    errorratio numeric(15,10),
    standarderror numeric(15,10)
);


ALTER TABLE public.mdl_quiz_statistics OWNER TO moodle;

--
-- Name: TABLE mdl_quiz_statistics; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_quiz_statistics IS 'table to cache results from analysis done in statistics report for quizzes.';


--
-- Name: mdl_quiz_statistics_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_quiz_statistics_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_quiz_statistics_id_seq OWNER TO moodle;

--
-- Name: mdl_quiz_statistics_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_quiz_statistics_id_seq OWNED BY public.mdl_quiz_statistics.id;


--
-- Name: mdl_quizaccess_seb_quizsettings; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_quizaccess_seb_quizsettings (
    id bigint NOT NULL,
    quizid bigint NOT NULL,
    cmid bigint NOT NULL,
    templateid bigint NOT NULL,
    requiresafeexambrowser smallint NOT NULL,
    showsebtaskbar smallint,
    showwificontrol smallint,
    showreloadbutton smallint,
    showtime smallint,
    showkeyboardlayout smallint,
    allowuserquitseb smallint,
    quitpassword text,
    linkquitseb text,
    userconfirmquit smallint,
    enableaudiocontrol smallint,
    muteonstartup smallint,
    allowspellchecking smallint,
    allowreloadinexam smallint,
    activateurlfiltering smallint,
    filterembeddedcontent smallint,
    expressionsallowed text,
    regexallowed text,
    expressionsblocked text,
    regexblocked text,
    allowedbrowserexamkeys text,
    showsebdownloadlink smallint,
    usermodified bigint DEFAULT 0 NOT NULL,
    timecreated bigint DEFAULT 0 NOT NULL,
    timemodified bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_quizaccess_seb_quizsettings OWNER TO moodle;

--
-- Name: TABLE mdl_quizaccess_seb_quizsettings; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_quizaccess_seb_quizsettings IS 'Stores the quiz level Safe Exam Browser configuration.';


--
-- Name: mdl_quizaccess_seb_quizsettings_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_quizaccess_seb_quizsettings_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_quizaccess_seb_quizsettings_id_seq OWNER TO moodle;

--
-- Name: mdl_quizaccess_seb_quizsettings_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_quizaccess_seb_quizsettings_id_seq OWNED BY public.mdl_quizaccess_seb_quizsettings.id;


--
-- Name: mdl_quizaccess_seb_template; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_quizaccess_seb_template (
    id bigint NOT NULL,
    name character varying(255) DEFAULT ''::character varying NOT NULL,
    description text NOT NULL,
    content text NOT NULL,
    enabled smallint NOT NULL,
    sortorder bigint NOT NULL,
    usermodified bigint DEFAULT 0 NOT NULL,
    timecreated bigint DEFAULT 0 NOT NULL,
    timemodified bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_quizaccess_seb_template OWNER TO moodle;

--
-- Name: TABLE mdl_quizaccess_seb_template; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_quizaccess_seb_template IS 'Templates for Safe Exam Browser configuration.';


--
-- Name: mdl_quizaccess_seb_template_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_quizaccess_seb_template_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_quizaccess_seb_template_id_seq OWNER TO moodle;

--
-- Name: mdl_quizaccess_seb_template_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_quizaccess_seb_template_id_seq OWNED BY public.mdl_quizaccess_seb_template.id;


--
-- Name: mdl_rating; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_rating (
    id bigint NOT NULL,
    contextid bigint NOT NULL,
    component character varying(100) DEFAULT ''::character varying NOT NULL,
    ratingarea character varying(50) DEFAULT ''::character varying NOT NULL,
    itemid bigint NOT NULL,
    scaleid bigint NOT NULL,
    rating bigint NOT NULL,
    userid bigint NOT NULL,
    timecreated bigint NOT NULL,
    timemodified bigint NOT NULL
);


ALTER TABLE public.mdl_rating OWNER TO moodle;

--
-- Name: TABLE mdl_rating; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_rating IS 'moodle ratings';


--
-- Name: mdl_rating_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_rating_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_rating_id_seq OWNER TO moodle;

--
-- Name: mdl_rating_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_rating_id_seq OWNED BY public.mdl_rating.id;


--
-- Name: mdl_registration_hubs; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_registration_hubs (
    id bigint NOT NULL,
    token character varying(255) DEFAULT ''::character varying NOT NULL,
    hubname character varying(255) DEFAULT ''::character varying NOT NULL,
    huburl character varying(255) DEFAULT ''::character varying NOT NULL,
    confirmed smallint DEFAULT 0 NOT NULL,
    secret character varying(255),
    timemodified bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_registration_hubs OWNER TO moodle;

--
-- Name: TABLE mdl_registration_hubs; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_registration_hubs IS 'hub where the site is registered on with their associated token';


--
-- Name: mdl_registration_hubs_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_registration_hubs_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_registration_hubs_id_seq OWNER TO moodle;

--
-- Name: mdl_registration_hubs_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_registration_hubs_id_seq OWNED BY public.mdl_registration_hubs.id;


--
-- Name: mdl_repository; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_repository (
    id bigint NOT NULL,
    type character varying(255) DEFAULT ''::character varying NOT NULL,
    visible smallint DEFAULT 1,
    sortorder bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_repository OWNER TO moodle;

--
-- Name: TABLE mdl_repository; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_repository IS 'This table contains one entry for every configured external repository instance.';


--
-- Name: mdl_repository_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_repository_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_repository_id_seq OWNER TO moodle;

--
-- Name: mdl_repository_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_repository_id_seq OWNED BY public.mdl_repository.id;


--
-- Name: mdl_repository_instance_config; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_repository_instance_config (
    id bigint NOT NULL,
    instanceid bigint NOT NULL,
    name character varying(255) DEFAULT ''::character varying NOT NULL,
    value text
);


ALTER TABLE public.mdl_repository_instance_config OWNER TO moodle;

--
-- Name: TABLE mdl_repository_instance_config; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_repository_instance_config IS 'The config for intances';


--
-- Name: mdl_repository_instance_config_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_repository_instance_config_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_repository_instance_config_id_seq OWNER TO moodle;

--
-- Name: mdl_repository_instance_config_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_repository_instance_config_id_seq OWNED BY public.mdl_repository_instance_config.id;


--
-- Name: mdl_repository_instances; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_repository_instances (
    id bigint NOT NULL,
    name character varying(255) DEFAULT ''::character varying NOT NULL,
    typeid bigint NOT NULL,
    userid bigint DEFAULT 0 NOT NULL,
    contextid bigint NOT NULL,
    username character varying(255),
    password character varying(255),
    timecreated bigint,
    timemodified bigint,
    readonly smallint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_repository_instances OWNER TO moodle;

--
-- Name: TABLE mdl_repository_instances; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_repository_instances IS 'This table contains one entry for every configured external repository instance.';


--
-- Name: mdl_repository_instances_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_repository_instances_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_repository_instances_id_seq OWNER TO moodle;

--
-- Name: mdl_repository_instances_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_repository_instances_id_seq OWNED BY public.mdl_repository_instances.id;


--
-- Name: mdl_repository_onedrive_access; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_repository_onedrive_access (
    id bigint NOT NULL,
    timemodified bigint NOT NULL,
    timecreated bigint NOT NULL,
    usermodified bigint NOT NULL,
    permissionid character varying(255) DEFAULT ''::character varying NOT NULL,
    itemid character varying(255) DEFAULT ''::character varying NOT NULL
);


ALTER TABLE public.mdl_repository_onedrive_access OWNER TO moodle;

--
-- Name: TABLE mdl_repository_onedrive_access; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_repository_onedrive_access IS 'List of temporary access grants.';


--
-- Name: mdl_repository_onedrive_access_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_repository_onedrive_access_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_repository_onedrive_access_id_seq OWNER TO moodle;

--
-- Name: mdl_repository_onedrive_access_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_repository_onedrive_access_id_seq OWNED BY public.mdl_repository_onedrive_access.id;


--
-- Name: mdl_resource; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_resource (
    id bigint NOT NULL,
    course bigint DEFAULT 0 NOT NULL,
    name character varying(255) DEFAULT ''::character varying NOT NULL,
    intro text,
    introformat smallint DEFAULT 0 NOT NULL,
    tobemigrated smallint DEFAULT 0 NOT NULL,
    legacyfiles smallint DEFAULT 0 NOT NULL,
    legacyfileslast bigint,
    display smallint DEFAULT 0 NOT NULL,
    displayoptions text,
    filterfiles smallint DEFAULT 0 NOT NULL,
    revision bigint DEFAULT 0 NOT NULL,
    timemodified bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_resource OWNER TO moodle;

--
-- Name: TABLE mdl_resource; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_resource IS 'Each record is one resource and its config data';


--
-- Name: mdl_resource_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_resource_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_resource_id_seq OWNER TO moodle;

--
-- Name: mdl_resource_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_resource_id_seq OWNED BY public.mdl_resource.id;


--
-- Name: mdl_resource_old; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_resource_old (
    id bigint NOT NULL,
    course bigint DEFAULT 0 NOT NULL,
    name character varying(255) DEFAULT ''::character varying NOT NULL,
    type character varying(30) DEFAULT ''::character varying NOT NULL,
    reference character varying(255) DEFAULT ''::character varying NOT NULL,
    intro text,
    introformat smallint DEFAULT 0 NOT NULL,
    alltext text NOT NULL,
    popup text NOT NULL,
    options character varying(255) DEFAULT ''::character varying NOT NULL,
    timemodified bigint DEFAULT 0 NOT NULL,
    oldid bigint NOT NULL,
    cmid bigint,
    newmodule character varying(50),
    newid bigint,
    migrated bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_resource_old OWNER TO moodle;

--
-- Name: TABLE mdl_resource_old; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_resource_old IS 'backup of all old resource instances from 1.9';


--
-- Name: mdl_resource_old_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_resource_old_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_resource_old_id_seq OWNER TO moodle;

--
-- Name: mdl_resource_old_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_resource_old_id_seq OWNED BY public.mdl_resource_old.id;


--
-- Name: mdl_role; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_role (
    id bigint NOT NULL,
    name character varying(255) DEFAULT ''::character varying NOT NULL,
    shortname character varying(100) DEFAULT ''::character varying NOT NULL,
    description text NOT NULL,
    sortorder bigint DEFAULT 0 NOT NULL,
    archetype character varying(30) DEFAULT ''::character varying NOT NULL
);


ALTER TABLE public.mdl_role OWNER TO moodle;

--
-- Name: TABLE mdl_role; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_role IS 'moodle roles';


--
-- Name: mdl_role_allow_assign; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_role_allow_assign (
    id bigint NOT NULL,
    roleid bigint DEFAULT 0 NOT NULL,
    allowassign bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_role_allow_assign OWNER TO moodle;

--
-- Name: TABLE mdl_role_allow_assign; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_role_allow_assign IS 'this defines what role can assign what role';


--
-- Name: mdl_role_allow_assign_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_role_allow_assign_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_role_allow_assign_id_seq OWNER TO moodle;

--
-- Name: mdl_role_allow_assign_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_role_allow_assign_id_seq OWNED BY public.mdl_role_allow_assign.id;


--
-- Name: mdl_role_allow_override; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_role_allow_override (
    id bigint NOT NULL,
    roleid bigint DEFAULT 0 NOT NULL,
    allowoverride bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_role_allow_override OWNER TO moodle;

--
-- Name: TABLE mdl_role_allow_override; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_role_allow_override IS 'this defines what role can override what role';


--
-- Name: mdl_role_allow_override_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_role_allow_override_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_role_allow_override_id_seq OWNER TO moodle;

--
-- Name: mdl_role_allow_override_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_role_allow_override_id_seq OWNED BY public.mdl_role_allow_override.id;


--
-- Name: mdl_role_allow_switch; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_role_allow_switch (
    id bigint NOT NULL,
    roleid bigint NOT NULL,
    allowswitch bigint NOT NULL
);


ALTER TABLE public.mdl_role_allow_switch OWNER TO moodle;

--
-- Name: TABLE mdl_role_allow_switch; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_role_allow_switch IS 'This table stores which which other roles a user is allowed to switch to if they have one role.';


--
-- Name: mdl_role_allow_switch_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_role_allow_switch_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_role_allow_switch_id_seq OWNER TO moodle;

--
-- Name: mdl_role_allow_switch_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_role_allow_switch_id_seq OWNED BY public.mdl_role_allow_switch.id;


--
-- Name: mdl_role_allow_view; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_role_allow_view (
    id bigint NOT NULL,
    roleid bigint NOT NULL,
    allowview bigint NOT NULL
);


ALTER TABLE public.mdl_role_allow_view OWNER TO moodle;

--
-- Name: TABLE mdl_role_allow_view; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_role_allow_view IS 'This table stores which which other roles a user is allowed to view to if they have one role.';


--
-- Name: mdl_role_allow_view_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_role_allow_view_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_role_allow_view_id_seq OWNER TO moodle;

--
-- Name: mdl_role_allow_view_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_role_allow_view_id_seq OWNED BY public.mdl_role_allow_view.id;


--
-- Name: mdl_role_assignments; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_role_assignments (
    id bigint NOT NULL,
    roleid bigint DEFAULT 0 NOT NULL,
    contextid bigint DEFAULT 0 NOT NULL,
    userid bigint DEFAULT 0 NOT NULL,
    timemodified bigint DEFAULT 0 NOT NULL,
    modifierid bigint DEFAULT 0 NOT NULL,
    component character varying(100) DEFAULT ''::character varying NOT NULL,
    itemid bigint DEFAULT 0 NOT NULL,
    sortorder bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_role_assignments OWNER TO moodle;

--
-- Name: TABLE mdl_role_assignments; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_role_assignments IS 'assigning roles in different context';


--
-- Name: mdl_role_assignments_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_role_assignments_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_role_assignments_id_seq OWNER TO moodle;

--
-- Name: mdl_role_assignments_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_role_assignments_id_seq OWNED BY public.mdl_role_assignments.id;


--
-- Name: mdl_role_capabilities; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_role_capabilities (
    id bigint NOT NULL,
    contextid bigint DEFAULT 0 NOT NULL,
    roleid bigint DEFAULT 0 NOT NULL,
    capability character varying(255) DEFAULT ''::character varying NOT NULL,
    permission bigint DEFAULT 0 NOT NULL,
    timemodified bigint DEFAULT 0 NOT NULL,
    modifierid bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_role_capabilities OWNER TO moodle;

--
-- Name: TABLE mdl_role_capabilities; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_role_capabilities IS 'permission has to be signed, overriding a capability for a particular role in a particular context';


--
-- Name: mdl_role_capabilities_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_role_capabilities_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_role_capabilities_id_seq OWNER TO moodle;

--
-- Name: mdl_role_capabilities_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_role_capabilities_id_seq OWNED BY public.mdl_role_capabilities.id;


--
-- Name: mdl_role_context_levels; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_role_context_levels (
    id bigint NOT NULL,
    roleid bigint NOT NULL,
    contextlevel bigint NOT NULL
);


ALTER TABLE public.mdl_role_context_levels OWNER TO moodle;

--
-- Name: TABLE mdl_role_context_levels; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_role_context_levels IS 'Lists which roles can be assigned at which context levels. The assignment is allowed in the corresponding row is present in this table.';


--
-- Name: mdl_role_context_levels_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_role_context_levels_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_role_context_levels_id_seq OWNER TO moodle;

--
-- Name: mdl_role_context_levels_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_role_context_levels_id_seq OWNED BY public.mdl_role_context_levels.id;


--
-- Name: mdl_role_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_role_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_role_id_seq OWNER TO moodle;

--
-- Name: mdl_role_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_role_id_seq OWNED BY public.mdl_role.id;


--
-- Name: mdl_role_names; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_role_names (
    id bigint NOT NULL,
    roleid bigint DEFAULT 0 NOT NULL,
    contextid bigint DEFAULT 0 NOT NULL,
    name character varying(255) DEFAULT ''::character varying NOT NULL
);


ALTER TABLE public.mdl_role_names OWNER TO moodle;

--
-- Name: TABLE mdl_role_names; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_role_names IS 'role names in native strings';


--
-- Name: mdl_role_names_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_role_names_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_role_names_id_seq OWNER TO moodle;

--
-- Name: mdl_role_names_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_role_names_id_seq OWNED BY public.mdl_role_names.id;


--
-- Name: mdl_scale; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_scale (
    id bigint NOT NULL,
    courseid bigint DEFAULT 0 NOT NULL,
    userid bigint DEFAULT 0 NOT NULL,
    name character varying(255) DEFAULT ''::character varying NOT NULL,
    scale text NOT NULL,
    description text NOT NULL,
    descriptionformat smallint DEFAULT 0 NOT NULL,
    timemodified bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_scale OWNER TO moodle;

--
-- Name: TABLE mdl_scale; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_scale IS 'Defines grading scales';


--
-- Name: mdl_scale_history; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_scale_history (
    id bigint NOT NULL,
    action bigint DEFAULT 0 NOT NULL,
    oldid bigint NOT NULL,
    source character varying(255),
    timemodified bigint,
    loggeduser bigint,
    courseid bigint DEFAULT 0 NOT NULL,
    userid bigint DEFAULT 0 NOT NULL,
    name character varying(255) DEFAULT ''::character varying NOT NULL,
    scale text NOT NULL,
    description text NOT NULL
);


ALTER TABLE public.mdl_scale_history OWNER TO moodle;

--
-- Name: TABLE mdl_scale_history; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_scale_history IS 'History table';


--
-- Name: mdl_scale_history_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_scale_history_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_scale_history_id_seq OWNER TO moodle;

--
-- Name: mdl_scale_history_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_scale_history_id_seq OWNED BY public.mdl_scale_history.id;


--
-- Name: mdl_scale_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_scale_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_scale_id_seq OWNER TO moodle;

--
-- Name: mdl_scale_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_scale_id_seq OWNED BY public.mdl_scale.id;


--
-- Name: mdl_scorm; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_scorm (
    id bigint NOT NULL,
    course bigint DEFAULT 0 NOT NULL,
    name character varying(255) DEFAULT ''::character varying NOT NULL,
    scormtype character varying(50) DEFAULT 'local'::character varying NOT NULL,
    reference character varying(255) DEFAULT ''::character varying NOT NULL,
    intro text NOT NULL,
    introformat smallint DEFAULT 0 NOT NULL,
    version character varying(9) DEFAULT ''::character varying NOT NULL,
    maxgrade double precision DEFAULT 0 NOT NULL,
    grademethod smallint DEFAULT 0 NOT NULL,
    whatgrade bigint DEFAULT 0 NOT NULL,
    maxattempt bigint DEFAULT 1 NOT NULL,
    forcecompleted smallint DEFAULT 0 NOT NULL,
    forcenewattempt smallint DEFAULT 0 NOT NULL,
    lastattemptlock smallint DEFAULT 0 NOT NULL,
    masteryoverride smallint DEFAULT 1 NOT NULL,
    displayattemptstatus smallint DEFAULT 1 NOT NULL,
    displaycoursestructure smallint DEFAULT 0 NOT NULL,
    updatefreq smallint DEFAULT 0 NOT NULL,
    sha1hash character varying(40),
    md5hash character varying(32) DEFAULT ''::character varying NOT NULL,
    revision bigint DEFAULT 0 NOT NULL,
    launch bigint DEFAULT 0 NOT NULL,
    skipview smallint DEFAULT 1 NOT NULL,
    hidebrowse smallint DEFAULT 0 NOT NULL,
    hidetoc smallint DEFAULT 0 NOT NULL,
    nav smallint DEFAULT 1 NOT NULL,
    navpositionleft bigint DEFAULT '-100'::integer,
    navpositiontop bigint DEFAULT '-100'::integer,
    auto smallint DEFAULT 0 NOT NULL,
    popup smallint DEFAULT 0 NOT NULL,
    options character varying(255) DEFAULT ''::character varying NOT NULL,
    width bigint DEFAULT 100 NOT NULL,
    height bigint DEFAULT 600 NOT NULL,
    timeopen bigint DEFAULT 0 NOT NULL,
    timeclose bigint DEFAULT 0 NOT NULL,
    timemodified bigint DEFAULT 0 NOT NULL,
    completionstatusrequired smallint,
    completionscorerequired bigint,
    completionstatusallscos smallint,
    displayactivityname smallint DEFAULT 1 NOT NULL,
    autocommit smallint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_scorm OWNER TO moodle;

--
-- Name: TABLE mdl_scorm; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_scorm IS 'each table is one SCORM module and its configuration';


--
-- Name: mdl_scorm_aicc_session; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_scorm_aicc_session (
    id bigint NOT NULL,
    userid bigint DEFAULT 0 NOT NULL,
    scormid bigint DEFAULT 0 NOT NULL,
    hacpsession character varying(255) DEFAULT ''::character varying NOT NULL,
    scoid bigint DEFAULT 0,
    scormmode character varying(50),
    scormstatus character varying(255),
    attempt bigint,
    lessonstatus character varying(255),
    sessiontime character varying(255),
    timecreated bigint DEFAULT 0 NOT NULL,
    timemodified bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_scorm_aicc_session OWNER TO moodle;

--
-- Name: TABLE mdl_scorm_aicc_session; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_scorm_aicc_session IS 'Used by AICC HACP to store session information';


--
-- Name: mdl_scorm_aicc_session_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_scorm_aicc_session_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_scorm_aicc_session_id_seq OWNER TO moodle;

--
-- Name: mdl_scorm_aicc_session_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_scorm_aicc_session_id_seq OWNED BY public.mdl_scorm_aicc_session.id;


--
-- Name: mdl_scorm_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_scorm_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_scorm_id_seq OWNER TO moodle;

--
-- Name: mdl_scorm_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_scorm_id_seq OWNED BY public.mdl_scorm.id;


--
-- Name: mdl_scorm_scoes; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_scorm_scoes (
    id bigint NOT NULL,
    scorm bigint DEFAULT 0 NOT NULL,
    manifest character varying(255) DEFAULT ''::character varying NOT NULL,
    organization character varying(255) DEFAULT ''::character varying NOT NULL,
    parent character varying(255) DEFAULT ''::character varying NOT NULL,
    identifier character varying(255) DEFAULT ''::character varying NOT NULL,
    launch text NOT NULL,
    scormtype character varying(5) DEFAULT ''::character varying NOT NULL,
    title character varying(255) DEFAULT ''::character varying NOT NULL,
    sortorder bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_scorm_scoes OWNER TO moodle;

--
-- Name: TABLE mdl_scorm_scoes; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_scorm_scoes IS 'each SCO part of the SCORM module';


--
-- Name: mdl_scorm_scoes_data; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_scorm_scoes_data (
    id bigint NOT NULL,
    scoid bigint DEFAULT 0 NOT NULL,
    name character varying(255) DEFAULT ''::character varying NOT NULL,
    value text NOT NULL
);


ALTER TABLE public.mdl_scorm_scoes_data OWNER TO moodle;

--
-- Name: TABLE mdl_scorm_scoes_data; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_scorm_scoes_data IS 'Contains variable data get from packages';


--
-- Name: mdl_scorm_scoes_data_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_scorm_scoes_data_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_scorm_scoes_data_id_seq OWNER TO moodle;

--
-- Name: mdl_scorm_scoes_data_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_scorm_scoes_data_id_seq OWNED BY public.mdl_scorm_scoes_data.id;


--
-- Name: mdl_scorm_scoes_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_scorm_scoes_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_scorm_scoes_id_seq OWNER TO moodle;

--
-- Name: mdl_scorm_scoes_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_scorm_scoes_id_seq OWNED BY public.mdl_scorm_scoes.id;


--
-- Name: mdl_scorm_scoes_track; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_scorm_scoes_track (
    id bigint NOT NULL,
    userid bigint DEFAULT 0 NOT NULL,
    scormid bigint DEFAULT 0 NOT NULL,
    scoid bigint DEFAULT 0 NOT NULL,
    attempt bigint DEFAULT 1 NOT NULL,
    element character varying(255) DEFAULT ''::character varying NOT NULL,
    value text NOT NULL,
    timemodified bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_scorm_scoes_track OWNER TO moodle;

--
-- Name: TABLE mdl_scorm_scoes_track; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_scorm_scoes_track IS 'to track SCOes';


--
-- Name: mdl_scorm_scoes_track_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_scorm_scoes_track_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_scorm_scoes_track_id_seq OWNER TO moodle;

--
-- Name: mdl_scorm_scoes_track_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_scorm_scoes_track_id_seq OWNED BY public.mdl_scorm_scoes_track.id;


--
-- Name: mdl_scorm_seq_mapinfo; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_scorm_seq_mapinfo (
    id bigint NOT NULL,
    scoid bigint DEFAULT 0 NOT NULL,
    objectiveid bigint DEFAULT 0 NOT NULL,
    targetobjectiveid bigint DEFAULT 0 NOT NULL,
    readsatisfiedstatus smallint DEFAULT 1 NOT NULL,
    readnormalizedmeasure smallint DEFAULT 1 NOT NULL,
    writesatisfiedstatus smallint DEFAULT 0 NOT NULL,
    writenormalizedmeasure smallint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_scorm_seq_mapinfo OWNER TO moodle;

--
-- Name: TABLE mdl_scorm_seq_mapinfo; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_scorm_seq_mapinfo IS 'SCORM2004 objective mapinfo description';


--
-- Name: mdl_scorm_seq_mapinfo_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_scorm_seq_mapinfo_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_scorm_seq_mapinfo_id_seq OWNER TO moodle;

--
-- Name: mdl_scorm_seq_mapinfo_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_scorm_seq_mapinfo_id_seq OWNED BY public.mdl_scorm_seq_mapinfo.id;


--
-- Name: mdl_scorm_seq_objective; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_scorm_seq_objective (
    id bigint NOT NULL,
    scoid bigint DEFAULT 0 NOT NULL,
    primaryobj smallint DEFAULT 0 NOT NULL,
    objectiveid character varying(255) DEFAULT ''::character varying NOT NULL,
    satisfiedbymeasure smallint DEFAULT 1 NOT NULL,
    minnormalizedmeasure real DEFAULT 0.0000 NOT NULL
);


ALTER TABLE public.mdl_scorm_seq_objective OWNER TO moodle;

--
-- Name: TABLE mdl_scorm_seq_objective; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_scorm_seq_objective IS 'SCORM2004 objective description';


--
-- Name: mdl_scorm_seq_objective_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_scorm_seq_objective_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_scorm_seq_objective_id_seq OWNER TO moodle;

--
-- Name: mdl_scorm_seq_objective_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_scorm_seq_objective_id_seq OWNED BY public.mdl_scorm_seq_objective.id;


--
-- Name: mdl_scorm_seq_rolluprule; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_scorm_seq_rolluprule (
    id bigint NOT NULL,
    scoid bigint DEFAULT 0 NOT NULL,
    childactivityset character varying(15) DEFAULT ''::character varying NOT NULL,
    minimumcount bigint DEFAULT 0 NOT NULL,
    minimumpercent real DEFAULT 0.0000 NOT NULL,
    conditioncombination character varying(3) DEFAULT 'all'::character varying NOT NULL,
    action character varying(15) DEFAULT ''::character varying NOT NULL
);


ALTER TABLE public.mdl_scorm_seq_rolluprule OWNER TO moodle;

--
-- Name: TABLE mdl_scorm_seq_rolluprule; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_scorm_seq_rolluprule IS 'SCORM2004 sequencing rule';


--
-- Name: mdl_scorm_seq_rolluprule_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_scorm_seq_rolluprule_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_scorm_seq_rolluprule_id_seq OWNER TO moodle;

--
-- Name: mdl_scorm_seq_rolluprule_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_scorm_seq_rolluprule_id_seq OWNED BY public.mdl_scorm_seq_rolluprule.id;


--
-- Name: mdl_scorm_seq_rolluprulecond; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_scorm_seq_rolluprulecond (
    id bigint NOT NULL,
    scoid bigint DEFAULT 0 NOT NULL,
    rollupruleid bigint DEFAULT 0 NOT NULL,
    operator character varying(5) DEFAULT 'noOp'::character varying NOT NULL,
    cond character varying(25) DEFAULT ''::character varying NOT NULL
);


ALTER TABLE public.mdl_scorm_seq_rolluprulecond OWNER TO moodle;

--
-- Name: TABLE mdl_scorm_seq_rolluprulecond; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_scorm_seq_rolluprulecond IS 'SCORM2004 sequencing rule';


--
-- Name: mdl_scorm_seq_rolluprulecond_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_scorm_seq_rolluprulecond_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_scorm_seq_rolluprulecond_id_seq OWNER TO moodle;

--
-- Name: mdl_scorm_seq_rolluprulecond_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_scorm_seq_rolluprulecond_id_seq OWNED BY public.mdl_scorm_seq_rolluprulecond.id;


--
-- Name: mdl_scorm_seq_rulecond; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_scorm_seq_rulecond (
    id bigint NOT NULL,
    scoid bigint DEFAULT 0 NOT NULL,
    ruleconditionsid bigint DEFAULT 0 NOT NULL,
    refrencedobjective character varying(255) DEFAULT ''::character varying NOT NULL,
    measurethreshold real DEFAULT 0.0000 NOT NULL,
    operator character varying(5) DEFAULT 'noOp'::character varying NOT NULL,
    cond character varying(30) DEFAULT 'always'::character varying NOT NULL
);


ALTER TABLE public.mdl_scorm_seq_rulecond OWNER TO moodle;

--
-- Name: TABLE mdl_scorm_seq_rulecond; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_scorm_seq_rulecond IS 'SCORM2004 rule condition';


--
-- Name: mdl_scorm_seq_rulecond_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_scorm_seq_rulecond_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_scorm_seq_rulecond_id_seq OWNER TO moodle;

--
-- Name: mdl_scorm_seq_rulecond_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_scorm_seq_rulecond_id_seq OWNED BY public.mdl_scorm_seq_rulecond.id;


--
-- Name: mdl_scorm_seq_ruleconds; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_scorm_seq_ruleconds (
    id bigint NOT NULL,
    scoid bigint DEFAULT 0 NOT NULL,
    conditioncombination character varying(3) DEFAULT 'all'::character varying NOT NULL,
    ruletype smallint DEFAULT 0 NOT NULL,
    action character varying(25) DEFAULT ''::character varying NOT NULL
);


ALTER TABLE public.mdl_scorm_seq_ruleconds OWNER TO moodle;

--
-- Name: TABLE mdl_scorm_seq_ruleconds; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_scorm_seq_ruleconds IS 'SCORM2004 rule conditions';


--
-- Name: mdl_scorm_seq_ruleconds_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_scorm_seq_ruleconds_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_scorm_seq_ruleconds_id_seq OWNER TO moodle;

--
-- Name: mdl_scorm_seq_ruleconds_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_scorm_seq_ruleconds_id_seq OWNED BY public.mdl_scorm_seq_ruleconds.id;


--
-- Name: mdl_search_index_requests; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_search_index_requests (
    id bigint NOT NULL,
    contextid bigint NOT NULL,
    searcharea character varying(255) DEFAULT ''::character varying NOT NULL,
    timerequested bigint NOT NULL,
    partialarea character varying(255) DEFAULT ''::character varying NOT NULL,
    partialtime bigint NOT NULL,
    indexpriority bigint NOT NULL
);


ALTER TABLE public.mdl_search_index_requests OWNER TO moodle;

--
-- Name: TABLE mdl_search_index_requests; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_search_index_requests IS 'Records requests for (re)indexing of specific contexts. Entries will be removed from this table when indexing of that context is complete. (This table is not used for normal time-based indexing of new content.)';


--
-- Name: mdl_search_index_requests_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_search_index_requests_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_search_index_requests_id_seq OWNER TO moodle;

--
-- Name: mdl_search_index_requests_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_search_index_requests_id_seq OWNED BY public.mdl_search_index_requests.id;


--
-- Name: mdl_search_simpledb_index; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_search_simpledb_index (
    id bigint NOT NULL,
    docid character varying(255) DEFAULT ''::character varying NOT NULL,
    itemid bigint NOT NULL,
    title text,
    content text,
    contextid bigint NOT NULL,
    areaid character varying(255) DEFAULT ''::character varying NOT NULL,
    type smallint NOT NULL,
    courseid bigint NOT NULL,
    owneruserid bigint,
    modified bigint NOT NULL,
    userid bigint,
    description1 text,
    description2 text
);


ALTER TABLE public.mdl_search_simpledb_index OWNER TO moodle;

--
-- Name: TABLE mdl_search_simpledb_index; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_search_simpledb_index IS 'search_simpledb table containing the index data.';


--
-- Name: mdl_search_simpledb_index_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_search_simpledb_index_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_search_simpledb_index_id_seq OWNER TO moodle;

--
-- Name: mdl_search_simpledb_index_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_search_simpledb_index_id_seq OWNED BY public.mdl_search_simpledb_index.id;


--
-- Name: mdl_sessions; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_sessions (
    id bigint NOT NULL,
    state bigint DEFAULT 0 NOT NULL,
    sid character varying(128) DEFAULT ''::character varying NOT NULL,
    userid bigint NOT NULL,
    sessdata text,
    timecreated bigint NOT NULL,
    timemodified bigint NOT NULL,
    firstip character varying(45),
    lastip character varying(45)
);


ALTER TABLE public.mdl_sessions OWNER TO moodle;

--
-- Name: TABLE mdl_sessions; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_sessions IS 'Database based session storage - now recommended';


--
-- Name: mdl_sessions_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_sessions_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_sessions_id_seq OWNER TO moodle;

--
-- Name: mdl_sessions_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_sessions_id_seq OWNED BY public.mdl_sessions.id;


--
-- Name: mdl_stats_daily; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_stats_daily (
    id bigint NOT NULL,
    courseid bigint DEFAULT 0 NOT NULL,
    timeend bigint DEFAULT 0 NOT NULL,
    roleid bigint DEFAULT 0 NOT NULL,
    stattype character varying(20) DEFAULT 'activity'::character varying NOT NULL,
    stat1 bigint DEFAULT 0 NOT NULL,
    stat2 bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_stats_daily OWNER TO moodle;

--
-- Name: TABLE mdl_stats_daily; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_stats_daily IS 'to accumulate daily stats';


--
-- Name: mdl_stats_daily_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_stats_daily_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_stats_daily_id_seq OWNER TO moodle;

--
-- Name: mdl_stats_daily_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_stats_daily_id_seq OWNED BY public.mdl_stats_daily.id;


--
-- Name: mdl_stats_monthly; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_stats_monthly (
    id bigint NOT NULL,
    courseid bigint DEFAULT 0 NOT NULL,
    timeend bigint DEFAULT 0 NOT NULL,
    roleid bigint DEFAULT 0 NOT NULL,
    stattype character varying(20) DEFAULT 'activity'::character varying NOT NULL,
    stat1 bigint DEFAULT 0 NOT NULL,
    stat2 bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_stats_monthly OWNER TO moodle;

--
-- Name: TABLE mdl_stats_monthly; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_stats_monthly IS 'To accumulate monthly stats';


--
-- Name: mdl_stats_monthly_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_stats_monthly_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_stats_monthly_id_seq OWNER TO moodle;

--
-- Name: mdl_stats_monthly_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_stats_monthly_id_seq OWNED BY public.mdl_stats_monthly.id;


--
-- Name: mdl_stats_user_daily; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_stats_user_daily (
    id bigint NOT NULL,
    courseid bigint DEFAULT 0 NOT NULL,
    userid bigint DEFAULT 0 NOT NULL,
    roleid bigint DEFAULT 0 NOT NULL,
    timeend bigint DEFAULT 0 NOT NULL,
    statsreads bigint DEFAULT 0 NOT NULL,
    statswrites bigint DEFAULT 0 NOT NULL,
    stattype character varying(30) DEFAULT ''::character varying NOT NULL
);


ALTER TABLE public.mdl_stats_user_daily OWNER TO moodle;

--
-- Name: TABLE mdl_stats_user_daily; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_stats_user_daily IS 'To accumulate daily stats per course/user';


--
-- Name: mdl_stats_user_daily_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_stats_user_daily_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_stats_user_daily_id_seq OWNER TO moodle;

--
-- Name: mdl_stats_user_daily_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_stats_user_daily_id_seq OWNED BY public.mdl_stats_user_daily.id;


--
-- Name: mdl_stats_user_monthly; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_stats_user_monthly (
    id bigint NOT NULL,
    courseid bigint DEFAULT 0 NOT NULL,
    userid bigint DEFAULT 0 NOT NULL,
    roleid bigint DEFAULT 0 NOT NULL,
    timeend bigint DEFAULT 0 NOT NULL,
    statsreads bigint DEFAULT 0 NOT NULL,
    statswrites bigint DEFAULT 0 NOT NULL,
    stattype character varying(30) DEFAULT ''::character varying NOT NULL
);


ALTER TABLE public.mdl_stats_user_monthly OWNER TO moodle;

--
-- Name: TABLE mdl_stats_user_monthly; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_stats_user_monthly IS 'To accumulate monthly stats per course/user';


--
-- Name: mdl_stats_user_monthly_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_stats_user_monthly_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_stats_user_monthly_id_seq OWNER TO moodle;

--
-- Name: mdl_stats_user_monthly_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_stats_user_monthly_id_seq OWNED BY public.mdl_stats_user_monthly.id;


--
-- Name: mdl_stats_user_weekly; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_stats_user_weekly (
    id bigint NOT NULL,
    courseid bigint DEFAULT 0 NOT NULL,
    userid bigint DEFAULT 0 NOT NULL,
    roleid bigint DEFAULT 0 NOT NULL,
    timeend bigint DEFAULT 0 NOT NULL,
    statsreads bigint DEFAULT 0 NOT NULL,
    statswrites bigint DEFAULT 0 NOT NULL,
    stattype character varying(30) DEFAULT ''::character varying NOT NULL
);


ALTER TABLE public.mdl_stats_user_weekly OWNER TO moodle;

--
-- Name: TABLE mdl_stats_user_weekly; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_stats_user_weekly IS 'To accumulate weekly stats per course/user';


--
-- Name: mdl_stats_user_weekly_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_stats_user_weekly_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_stats_user_weekly_id_seq OWNER TO moodle;

--
-- Name: mdl_stats_user_weekly_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_stats_user_weekly_id_seq OWNED BY public.mdl_stats_user_weekly.id;


--
-- Name: mdl_stats_weekly; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_stats_weekly (
    id bigint NOT NULL,
    courseid bigint DEFAULT 0 NOT NULL,
    timeend bigint DEFAULT 0 NOT NULL,
    roleid bigint DEFAULT 0 NOT NULL,
    stattype character varying(20) DEFAULT 'activity'::character varying NOT NULL,
    stat1 bigint DEFAULT 0 NOT NULL,
    stat2 bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_stats_weekly OWNER TO moodle;

--
-- Name: TABLE mdl_stats_weekly; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_stats_weekly IS 'To accumulate weekly stats';


--
-- Name: mdl_stats_weekly_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_stats_weekly_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_stats_weekly_id_seq OWNER TO moodle;

--
-- Name: mdl_stats_weekly_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_stats_weekly_id_seq OWNED BY public.mdl_stats_weekly.id;


--
-- Name: mdl_survey; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_survey (
    id bigint NOT NULL,
    course bigint DEFAULT 0 NOT NULL,
    template bigint DEFAULT 0 NOT NULL,
    days integer DEFAULT 0 NOT NULL,
    timecreated bigint DEFAULT 0 NOT NULL,
    timemodified bigint DEFAULT 0 NOT NULL,
    name character varying(255) DEFAULT ''::character varying NOT NULL,
    intro text NOT NULL,
    introformat smallint DEFAULT 0 NOT NULL,
    questions character varying(255) DEFAULT ''::character varying NOT NULL,
    completionsubmit smallint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_survey OWNER TO moodle;

--
-- Name: TABLE mdl_survey; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_survey IS 'Each record is one SURVEY module with its configuration';


--
-- Name: mdl_survey_analysis; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_survey_analysis (
    id bigint NOT NULL,
    survey bigint DEFAULT 0 NOT NULL,
    userid bigint DEFAULT 0 NOT NULL,
    notes text NOT NULL
);


ALTER TABLE public.mdl_survey_analysis OWNER TO moodle;

--
-- Name: TABLE mdl_survey_analysis; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_survey_analysis IS 'text about each survey submission';


--
-- Name: mdl_survey_analysis_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_survey_analysis_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_survey_analysis_id_seq OWNER TO moodle;

--
-- Name: mdl_survey_analysis_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_survey_analysis_id_seq OWNED BY public.mdl_survey_analysis.id;


--
-- Name: mdl_survey_answers; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_survey_answers (
    id bigint NOT NULL,
    userid bigint DEFAULT 0 NOT NULL,
    survey bigint DEFAULT 0 NOT NULL,
    question bigint DEFAULT 0 NOT NULL,
    "time" bigint DEFAULT 0 NOT NULL,
    answer1 text NOT NULL,
    answer2 text NOT NULL
);


ALTER TABLE public.mdl_survey_answers OWNER TO moodle;

--
-- Name: TABLE mdl_survey_answers; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_survey_answers IS 'the answers to each questions filled by the users';


--
-- Name: mdl_survey_answers_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_survey_answers_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_survey_answers_id_seq OWNER TO moodle;

--
-- Name: mdl_survey_answers_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_survey_answers_id_seq OWNED BY public.mdl_survey_answers.id;


--
-- Name: mdl_survey_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_survey_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_survey_id_seq OWNER TO moodle;

--
-- Name: mdl_survey_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_survey_id_seq OWNED BY public.mdl_survey.id;


--
-- Name: mdl_survey_questions; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_survey_questions (
    id bigint NOT NULL,
    text character varying(255) DEFAULT ''::character varying NOT NULL,
    shorttext character varying(30) DEFAULT ''::character varying NOT NULL,
    multi character varying(100) DEFAULT ''::character varying NOT NULL,
    intro character varying(50) DEFAULT ''::character varying NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    options text
);


ALTER TABLE public.mdl_survey_questions OWNER TO moodle;

--
-- Name: TABLE mdl_survey_questions; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_survey_questions IS 'the questions conforming one survey';


--
-- Name: mdl_survey_questions_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_survey_questions_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_survey_questions_id_seq OWNER TO moodle;

--
-- Name: mdl_survey_questions_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_survey_questions_id_seq OWNED BY public.mdl_survey_questions.id;


--
-- Name: mdl_tag; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_tag (
    id bigint NOT NULL,
    userid bigint NOT NULL,
    tagcollid bigint NOT NULL,
    name character varying(255) DEFAULT ''::character varying NOT NULL,
    rawname character varying(255) DEFAULT ''::character varying NOT NULL,
    isstandard smallint DEFAULT 0 NOT NULL,
    description text,
    descriptionformat smallint DEFAULT 0 NOT NULL,
    flag smallint DEFAULT 0,
    timemodified bigint
);


ALTER TABLE public.mdl_tag OWNER TO moodle;

--
-- Name: TABLE mdl_tag; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_tag IS 'Tag table - this generic table will replace the old "tags" table.';


--
-- Name: mdl_tag_area; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_tag_area (
    id bigint NOT NULL,
    component character varying(100) DEFAULT ''::character varying NOT NULL,
    itemtype character varying(100) DEFAULT ''::character varying NOT NULL,
    enabled smallint DEFAULT 1 NOT NULL,
    tagcollid bigint NOT NULL,
    callback character varying(100),
    callbackfile character varying(100),
    showstandard smallint DEFAULT 0 NOT NULL,
    multiplecontexts smallint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_tag_area OWNER TO moodle;

--
-- Name: TABLE mdl_tag_area; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_tag_area IS 'Defines various tag areas, one area is identified by component and itemtype';


--
-- Name: mdl_tag_area_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_tag_area_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_tag_area_id_seq OWNER TO moodle;

--
-- Name: mdl_tag_area_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_tag_area_id_seq OWNED BY public.mdl_tag_area.id;


--
-- Name: mdl_tag_coll; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_tag_coll (
    id bigint NOT NULL,
    name character varying(255),
    isdefault smallint DEFAULT 0 NOT NULL,
    component character varying(100),
    sortorder integer DEFAULT 0 NOT NULL,
    searchable smallint DEFAULT 1 NOT NULL,
    customurl character varying(255)
);


ALTER TABLE public.mdl_tag_coll OWNER TO moodle;

--
-- Name: TABLE mdl_tag_coll; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_tag_coll IS 'Defines different set of tags';


--
-- Name: mdl_tag_coll_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_tag_coll_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_tag_coll_id_seq OWNER TO moodle;

--
-- Name: mdl_tag_coll_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_tag_coll_id_seq OWNED BY public.mdl_tag_coll.id;


--
-- Name: mdl_tag_correlation; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_tag_correlation (
    id bigint NOT NULL,
    tagid bigint NOT NULL,
    correlatedtags text NOT NULL
);


ALTER TABLE public.mdl_tag_correlation OWNER TO moodle;

--
-- Name: TABLE mdl_tag_correlation; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_tag_correlation IS 'The rationale for the ''tag_correlation'' table is performance.   It works as a cache for a potentially heavy load query done at the ''tag_instance'' table.   So, the ''tag_correlation'' table stores redundant information derived from the ''tag_instance'' ta';


--
-- Name: mdl_tag_correlation_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_tag_correlation_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_tag_correlation_id_seq OWNER TO moodle;

--
-- Name: mdl_tag_correlation_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_tag_correlation_id_seq OWNED BY public.mdl_tag_correlation.id;


--
-- Name: mdl_tag_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_tag_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_tag_id_seq OWNER TO moodle;

--
-- Name: mdl_tag_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_tag_id_seq OWNED BY public.mdl_tag.id;


--
-- Name: mdl_tag_instance; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_tag_instance (
    id bigint NOT NULL,
    tagid bigint NOT NULL,
    component character varying(100) DEFAULT ''::character varying NOT NULL,
    itemtype character varying(100) DEFAULT ''::character varying NOT NULL,
    itemid bigint NOT NULL,
    contextid bigint,
    tiuserid bigint DEFAULT 0 NOT NULL,
    ordering bigint,
    timecreated bigint DEFAULT 0 NOT NULL,
    timemodified bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_tag_instance OWNER TO moodle;

--
-- Name: TABLE mdl_tag_instance; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_tag_instance IS 'tag_instance table holds the information of associations between tags and other items';


--
-- Name: mdl_tag_instance_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_tag_instance_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_tag_instance_id_seq OWNER TO moodle;

--
-- Name: mdl_tag_instance_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_tag_instance_id_seq OWNED BY public.mdl_tag_instance.id;


--
-- Name: mdl_task_adhoc; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_task_adhoc (
    id bigint NOT NULL,
    component character varying(255) DEFAULT ''::character varying NOT NULL,
    classname character varying(255) DEFAULT ''::character varying NOT NULL,
    nextruntime bigint NOT NULL,
    faildelay bigint,
    customdata text,
    userid bigint,
    blocking smallint DEFAULT 0 NOT NULL,
    timecreated bigint DEFAULT 0 NOT NULL,
    timestarted bigint,
    hostname character varying(255),
    pid bigint
);


ALTER TABLE public.mdl_task_adhoc OWNER TO moodle;

--
-- Name: TABLE mdl_task_adhoc; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_task_adhoc IS 'List of adhoc tasks waiting to run.';


--
-- Name: mdl_task_adhoc_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_task_adhoc_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_task_adhoc_id_seq OWNER TO moodle;

--
-- Name: mdl_task_adhoc_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_task_adhoc_id_seq OWNED BY public.mdl_task_adhoc.id;


--
-- Name: mdl_task_log; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_task_log (
    id bigint NOT NULL,
    type smallint NOT NULL,
    component character varying(255) DEFAULT ''::character varying NOT NULL,
    classname character varying(255) DEFAULT ''::character varying NOT NULL,
    userid bigint NOT NULL,
    timestart numeric(20,10) NOT NULL,
    timeend numeric(20,10) NOT NULL,
    dbreads bigint NOT NULL,
    dbwrites bigint NOT NULL,
    result smallint NOT NULL,
    output text NOT NULL,
    hostname character varying(255),
    pid bigint
);


ALTER TABLE public.mdl_task_log OWNER TO moodle;

--
-- Name: TABLE mdl_task_log; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_task_log IS 'The log table for all tasks';


--
-- Name: mdl_task_log_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_task_log_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_task_log_id_seq OWNER TO moodle;

--
-- Name: mdl_task_log_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_task_log_id_seq OWNED BY public.mdl_task_log.id;


--
-- Name: mdl_task_scheduled; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_task_scheduled (
    id bigint NOT NULL,
    component character varying(255) DEFAULT ''::character varying NOT NULL,
    classname character varying(255) DEFAULT ''::character varying NOT NULL,
    lastruntime bigint,
    nextruntime bigint,
    blocking smallint DEFAULT 0 NOT NULL,
    minute character varying(25) DEFAULT ''::character varying NOT NULL,
    hour character varying(25) DEFAULT ''::character varying NOT NULL,
    day character varying(25) DEFAULT ''::character varying NOT NULL,
    month character varying(25) DEFAULT ''::character varying NOT NULL,
    dayofweek character varying(25) DEFAULT ''::character varying NOT NULL,
    faildelay bigint,
    customised smallint DEFAULT 0 NOT NULL,
    disabled smallint DEFAULT 0 NOT NULL,
    timestarted bigint,
    hostname character varying(255),
    pid bigint
);


ALTER TABLE public.mdl_task_scheduled OWNER TO moodle;

--
-- Name: TABLE mdl_task_scheduled; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_task_scheduled IS 'List of scheduled tasks to be run by cron.';


--
-- Name: mdl_task_scheduled_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_task_scheduled_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_task_scheduled_id_seq OWNER TO moodle;

--
-- Name: mdl_task_scheduled_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_task_scheduled_id_seq OWNED BY public.mdl_task_scheduled.id;


--
-- Name: mdl_tool_cohortroles; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_tool_cohortroles (
    id bigint NOT NULL,
    cohortid bigint NOT NULL,
    roleid bigint NOT NULL,
    userid bigint NOT NULL,
    timecreated bigint NOT NULL,
    timemodified bigint NOT NULL,
    usermodified bigint
);


ALTER TABLE public.mdl_tool_cohortroles OWNER TO moodle;

--
-- Name: TABLE mdl_tool_cohortroles; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_tool_cohortroles IS 'Mapping of users to cohort role assignments.';


--
-- Name: mdl_tool_cohortroles_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_tool_cohortroles_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_tool_cohortroles_id_seq OWNER TO moodle;

--
-- Name: mdl_tool_cohortroles_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_tool_cohortroles_id_seq OWNED BY public.mdl_tool_cohortroles.id;


--
-- Name: mdl_tool_customlang; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_tool_customlang (
    id bigint NOT NULL,
    lang character varying(20) DEFAULT ''::character varying NOT NULL,
    componentid bigint NOT NULL,
    stringid character varying(255) DEFAULT ''::character varying NOT NULL,
    original text NOT NULL,
    master text,
    local text,
    timemodified bigint NOT NULL,
    timecustomized bigint,
    outdated smallint DEFAULT 0,
    modified smallint DEFAULT 0
);


ALTER TABLE public.mdl_tool_customlang OWNER TO moodle;

--
-- Name: TABLE mdl_tool_customlang; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_tool_customlang IS 'Contains the working checkout of all strings and their customization';


--
-- Name: mdl_tool_customlang_components; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_tool_customlang_components (
    id bigint NOT NULL,
    name character varying(255) DEFAULT ''::character varying NOT NULL,
    version character varying(255)
);


ALTER TABLE public.mdl_tool_customlang_components OWNER TO moodle;

--
-- Name: TABLE mdl_tool_customlang_components; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_tool_customlang_components IS 'Contains the list of all installed plugins that provide their own language pack';


--
-- Name: mdl_tool_customlang_components_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_tool_customlang_components_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_tool_customlang_components_id_seq OWNER TO moodle;

--
-- Name: mdl_tool_customlang_components_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_tool_customlang_components_id_seq OWNED BY public.mdl_tool_customlang_components.id;


--
-- Name: mdl_tool_customlang_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_tool_customlang_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_tool_customlang_id_seq OWNER TO moodle;

--
-- Name: mdl_tool_customlang_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_tool_customlang_id_seq OWNED BY public.mdl_tool_customlang.id;


--
-- Name: mdl_tool_dataprivacy_category; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_tool_dataprivacy_category (
    id bigint NOT NULL,
    name character varying(100) DEFAULT ''::character varying NOT NULL,
    description text,
    descriptionformat smallint,
    usermodified bigint NOT NULL,
    timecreated bigint NOT NULL,
    timemodified bigint NOT NULL
);


ALTER TABLE public.mdl_tool_dataprivacy_category OWNER TO moodle;

--
-- Name: TABLE mdl_tool_dataprivacy_category; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_tool_dataprivacy_category IS 'Data categories';


--
-- Name: mdl_tool_dataprivacy_category_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_tool_dataprivacy_category_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_tool_dataprivacy_category_id_seq OWNER TO moodle;

--
-- Name: mdl_tool_dataprivacy_category_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_tool_dataprivacy_category_id_seq OWNED BY public.mdl_tool_dataprivacy_category.id;


--
-- Name: mdl_tool_dataprivacy_ctxexpired; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_tool_dataprivacy_ctxexpired (
    id bigint NOT NULL,
    contextid bigint NOT NULL,
    unexpiredroles text,
    expiredroles text,
    defaultexpired smallint NOT NULL,
    status smallint DEFAULT 0 NOT NULL,
    usermodified bigint NOT NULL,
    timecreated bigint NOT NULL,
    timemodified bigint NOT NULL
);


ALTER TABLE public.mdl_tool_dataprivacy_ctxexpired OWNER TO moodle;

--
-- Name: TABLE mdl_tool_dataprivacy_ctxexpired; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_tool_dataprivacy_ctxexpired IS 'Default comment for the table, please edit me';


--
-- Name: mdl_tool_dataprivacy_ctxexpired_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_tool_dataprivacy_ctxexpired_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_tool_dataprivacy_ctxexpired_id_seq OWNER TO moodle;

--
-- Name: mdl_tool_dataprivacy_ctxexpired_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_tool_dataprivacy_ctxexpired_id_seq OWNED BY public.mdl_tool_dataprivacy_ctxexpired.id;


--
-- Name: mdl_tool_dataprivacy_ctxinstance; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_tool_dataprivacy_ctxinstance (
    id bigint NOT NULL,
    contextid bigint NOT NULL,
    purposeid bigint,
    categoryid bigint,
    usermodified bigint NOT NULL,
    timecreated bigint NOT NULL,
    timemodified bigint NOT NULL
);


ALTER TABLE public.mdl_tool_dataprivacy_ctxinstance OWNER TO moodle;

--
-- Name: TABLE mdl_tool_dataprivacy_ctxinstance; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_tool_dataprivacy_ctxinstance IS 'Default comment for the table, please edit me';


--
-- Name: mdl_tool_dataprivacy_ctxinstance_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_tool_dataprivacy_ctxinstance_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_tool_dataprivacy_ctxinstance_id_seq OWNER TO moodle;

--
-- Name: mdl_tool_dataprivacy_ctxinstance_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_tool_dataprivacy_ctxinstance_id_seq OWNED BY public.mdl_tool_dataprivacy_ctxinstance.id;


--
-- Name: mdl_tool_dataprivacy_ctxlevel; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_tool_dataprivacy_ctxlevel (
    id bigint NOT NULL,
    contextlevel smallint NOT NULL,
    purposeid bigint,
    categoryid bigint,
    usermodified bigint NOT NULL,
    timecreated bigint NOT NULL,
    timemodified bigint NOT NULL
);


ALTER TABLE public.mdl_tool_dataprivacy_ctxlevel OWNER TO moodle;

--
-- Name: TABLE mdl_tool_dataprivacy_ctxlevel; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_tool_dataprivacy_ctxlevel IS 'Default comment for the table, please edit me';


--
-- Name: mdl_tool_dataprivacy_ctxlevel_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_tool_dataprivacy_ctxlevel_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_tool_dataprivacy_ctxlevel_id_seq OWNER TO moodle;

--
-- Name: mdl_tool_dataprivacy_ctxlevel_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_tool_dataprivacy_ctxlevel_id_seq OWNED BY public.mdl_tool_dataprivacy_ctxlevel.id;


--
-- Name: mdl_tool_dataprivacy_purpose; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_tool_dataprivacy_purpose (
    id bigint NOT NULL,
    name character varying(100) DEFAULT ''::character varying NOT NULL,
    description text,
    descriptionformat smallint,
    lawfulbases text NOT NULL,
    sensitivedatareasons text,
    retentionperiod character varying(255) DEFAULT ''::character varying NOT NULL,
    protected smallint,
    usermodified bigint NOT NULL,
    timecreated bigint NOT NULL,
    timemodified bigint NOT NULL
);


ALTER TABLE public.mdl_tool_dataprivacy_purpose OWNER TO moodle;

--
-- Name: TABLE mdl_tool_dataprivacy_purpose; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_tool_dataprivacy_purpose IS 'Data purposes';


--
-- Name: mdl_tool_dataprivacy_purpose_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_tool_dataprivacy_purpose_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_tool_dataprivacy_purpose_id_seq OWNER TO moodle;

--
-- Name: mdl_tool_dataprivacy_purpose_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_tool_dataprivacy_purpose_id_seq OWNED BY public.mdl_tool_dataprivacy_purpose.id;


--
-- Name: mdl_tool_dataprivacy_purposerole; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_tool_dataprivacy_purposerole (
    id bigint NOT NULL,
    purposeid bigint NOT NULL,
    roleid bigint NOT NULL,
    lawfulbases text,
    sensitivedatareasons text,
    retentionperiod character varying(255) DEFAULT ''::character varying NOT NULL,
    protected smallint,
    usermodified bigint NOT NULL,
    timecreated bigint NOT NULL,
    timemodified bigint NOT NULL
);


ALTER TABLE public.mdl_tool_dataprivacy_purposerole OWNER TO moodle;

--
-- Name: TABLE mdl_tool_dataprivacy_purposerole; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_tool_dataprivacy_purposerole IS 'Data purpose overrides for a specific role';


--
-- Name: mdl_tool_dataprivacy_purposerole_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_tool_dataprivacy_purposerole_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_tool_dataprivacy_purposerole_id_seq OWNER TO moodle;

--
-- Name: mdl_tool_dataprivacy_purposerole_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_tool_dataprivacy_purposerole_id_seq OWNED BY public.mdl_tool_dataprivacy_purposerole.id;


--
-- Name: mdl_tool_dataprivacy_request; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_tool_dataprivacy_request (
    id bigint NOT NULL,
    type bigint DEFAULT 0 NOT NULL,
    comments text,
    commentsformat smallint DEFAULT 0 NOT NULL,
    userid bigint DEFAULT 0 NOT NULL,
    requestedby bigint DEFAULT 0 NOT NULL,
    status smallint DEFAULT 0 NOT NULL,
    dpo bigint DEFAULT 0,
    dpocomment text,
    dpocommentformat smallint DEFAULT 0 NOT NULL,
    systemapproved smallint DEFAULT 0 NOT NULL,
    usermodified bigint DEFAULT 0 NOT NULL,
    timecreated bigint DEFAULT 0 NOT NULL,
    timemodified bigint DEFAULT 0 NOT NULL,
    creationmethod bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_tool_dataprivacy_request OWNER TO moodle;

--
-- Name: TABLE mdl_tool_dataprivacy_request; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_tool_dataprivacy_request IS 'Table for data requests';


--
-- Name: mdl_tool_dataprivacy_request_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_tool_dataprivacy_request_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_tool_dataprivacy_request_id_seq OWNER TO moodle;

--
-- Name: mdl_tool_dataprivacy_request_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_tool_dataprivacy_request_id_seq OWNED BY public.mdl_tool_dataprivacy_request.id;


--
-- Name: mdl_tool_monitor_events; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_tool_monitor_events (
    id bigint NOT NULL,
    eventname character varying(254) DEFAULT ''::character varying NOT NULL,
    contextid bigint NOT NULL,
    contextlevel bigint NOT NULL,
    contextinstanceid bigint NOT NULL,
    link character varying(254) DEFAULT ''::character varying NOT NULL,
    courseid bigint NOT NULL,
    timecreated bigint NOT NULL
);


ALTER TABLE public.mdl_tool_monitor_events OWNER TO moodle;

--
-- Name: TABLE mdl_tool_monitor_events; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_tool_monitor_events IS 'A table that keeps a log of events related to subscriptions';


--
-- Name: mdl_tool_monitor_events_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_tool_monitor_events_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_tool_monitor_events_id_seq OWNER TO moodle;

--
-- Name: mdl_tool_monitor_events_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_tool_monitor_events_id_seq OWNED BY public.mdl_tool_monitor_events.id;


--
-- Name: mdl_tool_monitor_history; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_tool_monitor_history (
    id bigint NOT NULL,
    sid bigint NOT NULL,
    userid bigint NOT NULL,
    timesent bigint NOT NULL
);


ALTER TABLE public.mdl_tool_monitor_history OWNER TO moodle;

--
-- Name: TABLE mdl_tool_monitor_history; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_tool_monitor_history IS 'Table to store history of message notifications sent';


--
-- Name: mdl_tool_monitor_history_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_tool_monitor_history_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_tool_monitor_history_id_seq OWNER TO moodle;

--
-- Name: mdl_tool_monitor_history_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_tool_monitor_history_id_seq OWNED BY public.mdl_tool_monitor_history.id;


--
-- Name: mdl_tool_monitor_rules; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_tool_monitor_rules (
    id bigint NOT NULL,
    description text,
    descriptionformat smallint NOT NULL,
    name character varying(254) DEFAULT ''::character varying NOT NULL,
    userid bigint NOT NULL,
    courseid bigint NOT NULL,
    plugin character varying(254) DEFAULT ''::character varying NOT NULL,
    eventname character varying(254) DEFAULT ''::character varying NOT NULL,
    template text NOT NULL,
    templateformat smallint NOT NULL,
    frequency smallint NOT NULL,
    timewindow integer NOT NULL,
    timemodified bigint NOT NULL,
    timecreated bigint NOT NULL
);


ALTER TABLE public.mdl_tool_monitor_rules OWNER TO moodle;

--
-- Name: TABLE mdl_tool_monitor_rules; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_tool_monitor_rules IS 'Table to store rules';


--
-- Name: mdl_tool_monitor_rules_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_tool_monitor_rules_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_tool_monitor_rules_id_seq OWNER TO moodle;

--
-- Name: mdl_tool_monitor_rules_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_tool_monitor_rules_id_seq OWNED BY public.mdl_tool_monitor_rules.id;


--
-- Name: mdl_tool_monitor_subscriptions; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_tool_monitor_subscriptions (
    id bigint NOT NULL,
    courseid bigint NOT NULL,
    ruleid bigint NOT NULL,
    cmid bigint NOT NULL,
    userid bigint NOT NULL,
    timecreated bigint NOT NULL,
    lastnotificationsent bigint DEFAULT 0 NOT NULL,
    inactivedate bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_tool_monitor_subscriptions OWNER TO moodle;

--
-- Name: TABLE mdl_tool_monitor_subscriptions; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_tool_monitor_subscriptions IS 'Table to store user subscriptions to various rules';


--
-- Name: mdl_tool_monitor_subscriptions_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_tool_monitor_subscriptions_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_tool_monitor_subscriptions_id_seq OWNER TO moodle;

--
-- Name: mdl_tool_monitor_subscriptions_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_tool_monitor_subscriptions_id_seq OWNED BY public.mdl_tool_monitor_subscriptions.id;


--
-- Name: mdl_tool_policy; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_tool_policy (
    id bigint NOT NULL,
    sortorder integer DEFAULT 999 NOT NULL,
    currentversionid bigint
);


ALTER TABLE public.mdl_tool_policy OWNER TO moodle;

--
-- Name: TABLE mdl_tool_policy; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_tool_policy IS 'Contains the list of policy documents defined on the site.';


--
-- Name: mdl_tool_policy_acceptances; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_tool_policy_acceptances (
    id bigint NOT NULL,
    policyversionid bigint NOT NULL,
    userid bigint NOT NULL,
    status smallint,
    lang character varying(30) DEFAULT ''::character varying NOT NULL,
    usermodified bigint NOT NULL,
    timecreated bigint NOT NULL,
    timemodified bigint NOT NULL,
    note text
);


ALTER TABLE public.mdl_tool_policy_acceptances OWNER TO moodle;

--
-- Name: TABLE mdl_tool_policy_acceptances; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_tool_policy_acceptances IS 'Tracks users accepting the policy versions';


--
-- Name: mdl_tool_policy_acceptances_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_tool_policy_acceptances_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_tool_policy_acceptances_id_seq OWNER TO moodle;

--
-- Name: mdl_tool_policy_acceptances_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_tool_policy_acceptances_id_seq OWNED BY public.mdl_tool_policy_acceptances.id;


--
-- Name: mdl_tool_policy_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_tool_policy_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_tool_policy_id_seq OWNER TO moodle;

--
-- Name: mdl_tool_policy_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_tool_policy_id_seq OWNED BY public.mdl_tool_policy.id;


--
-- Name: mdl_tool_policy_versions; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_tool_policy_versions (
    id bigint NOT NULL,
    name character varying(1333) DEFAULT ''::character varying NOT NULL,
    type smallint DEFAULT 0 NOT NULL,
    audience smallint DEFAULT 0 NOT NULL,
    archived smallint DEFAULT 0 NOT NULL,
    usermodified bigint NOT NULL,
    timecreated bigint NOT NULL,
    timemodified bigint NOT NULL,
    policyid bigint NOT NULL,
    agreementstyle smallint DEFAULT 0 NOT NULL,
    optional smallint DEFAULT 0 NOT NULL,
    revision character varying(1333) DEFAULT ''::character varying NOT NULL,
    summary text NOT NULL,
    summaryformat smallint NOT NULL,
    content text NOT NULL,
    contentformat smallint NOT NULL
);


ALTER TABLE public.mdl_tool_policy_versions OWNER TO moodle;

--
-- Name: TABLE mdl_tool_policy_versions; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_tool_policy_versions IS 'Holds versions of the policy documents';


--
-- Name: mdl_tool_policy_versions_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_tool_policy_versions_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_tool_policy_versions_id_seq OWNER TO moodle;

--
-- Name: mdl_tool_policy_versions_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_tool_policy_versions_id_seq OWNED BY public.mdl_tool_policy_versions.id;


--
-- Name: mdl_tool_recyclebin_category; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_tool_recyclebin_category (
    id bigint NOT NULL,
    categoryid bigint NOT NULL,
    shortname character varying(255) DEFAULT ''::character varying NOT NULL,
    fullname character varying(255) DEFAULT ''::character varying NOT NULL,
    timecreated bigint NOT NULL
);


ALTER TABLE public.mdl_tool_recyclebin_category OWNER TO moodle;

--
-- Name: TABLE mdl_tool_recyclebin_category; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_tool_recyclebin_category IS 'A list of items in the category recycle bin';


--
-- Name: mdl_tool_recyclebin_category_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_tool_recyclebin_category_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_tool_recyclebin_category_id_seq OWNER TO moodle;

--
-- Name: mdl_tool_recyclebin_category_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_tool_recyclebin_category_id_seq OWNED BY public.mdl_tool_recyclebin_category.id;


--
-- Name: mdl_tool_recyclebin_course; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_tool_recyclebin_course (
    id bigint NOT NULL,
    courseid bigint NOT NULL,
    section bigint NOT NULL,
    module bigint NOT NULL,
    name character varying(255),
    timecreated bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_tool_recyclebin_course OWNER TO moodle;

--
-- Name: TABLE mdl_tool_recyclebin_course; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_tool_recyclebin_course IS 'A list of items in the course recycle bin';


--
-- Name: mdl_tool_recyclebin_course_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_tool_recyclebin_course_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_tool_recyclebin_course_id_seq OWNER TO moodle;

--
-- Name: mdl_tool_recyclebin_course_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_tool_recyclebin_course_id_seq OWNED BY public.mdl_tool_recyclebin_course.id;


--
-- Name: mdl_tool_usertours_steps; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_tool_usertours_steps (
    id bigint NOT NULL,
    tourid bigint NOT NULL,
    title text,
    content text,
    targettype smallint NOT NULL,
    targetvalue text NOT NULL,
    sortorder bigint DEFAULT 0 NOT NULL,
    configdata text NOT NULL
);


ALTER TABLE public.mdl_tool_usertours_steps OWNER TO moodle;

--
-- Name: TABLE mdl_tool_usertours_steps; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_tool_usertours_steps IS 'Steps in an tour';


--
-- Name: mdl_tool_usertours_steps_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_tool_usertours_steps_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_tool_usertours_steps_id_seq OWNER TO moodle;

--
-- Name: mdl_tool_usertours_steps_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_tool_usertours_steps_id_seq OWNED BY public.mdl_tool_usertours_steps.id;


--
-- Name: mdl_tool_usertours_tours; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_tool_usertours_tours (
    id bigint NOT NULL,
    name character varying(255) DEFAULT ''::character varying NOT NULL,
    description text,
    pathmatch character varying(255),
    enabled smallint DEFAULT 0 NOT NULL,
    sortorder bigint DEFAULT 0 NOT NULL,
    configdata text NOT NULL
);


ALTER TABLE public.mdl_tool_usertours_tours OWNER TO moodle;

--
-- Name: TABLE mdl_tool_usertours_tours; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_tool_usertours_tours IS 'List of tours';


--
-- Name: mdl_tool_usertours_tours_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_tool_usertours_tours_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_tool_usertours_tours_id_seq OWNER TO moodle;

--
-- Name: mdl_tool_usertours_tours_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_tool_usertours_tours_id_seq OWNED BY public.mdl_tool_usertours_tours.id;


--
-- Name: mdl_upgrade_log; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_upgrade_log (
    id bigint NOT NULL,
    type bigint NOT NULL,
    plugin character varying(100),
    version character varying(100),
    targetversion character varying(100),
    info character varying(255) DEFAULT ''::character varying NOT NULL,
    details text,
    backtrace text,
    userid bigint NOT NULL,
    timemodified bigint NOT NULL
);


ALTER TABLE public.mdl_upgrade_log OWNER TO moodle;

--
-- Name: TABLE mdl_upgrade_log; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_upgrade_log IS 'Upgrade logging';


--
-- Name: mdl_upgrade_log_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_upgrade_log_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_upgrade_log_id_seq OWNER TO moodle;

--
-- Name: mdl_upgrade_log_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_upgrade_log_id_seq OWNED BY public.mdl_upgrade_log.id;


--
-- Name: mdl_url; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_url (
    id bigint NOT NULL,
    course bigint DEFAULT 0 NOT NULL,
    name character varying(255) DEFAULT ''::character varying NOT NULL,
    intro text,
    introformat smallint DEFAULT 0 NOT NULL,
    externalurl text NOT NULL,
    display smallint DEFAULT 0 NOT NULL,
    displayoptions text,
    parameters text,
    timemodified bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_url OWNER TO moodle;

--
-- Name: TABLE mdl_url; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_url IS 'each record is one url resource';


--
-- Name: mdl_url_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_url_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_url_id_seq OWNER TO moodle;

--
-- Name: mdl_url_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_url_id_seq OWNED BY public.mdl_url.id;


--
-- Name: mdl_user; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_user (
    id bigint NOT NULL,
    auth character varying(20) DEFAULT 'manual'::character varying NOT NULL,
    confirmed smallint DEFAULT 0 NOT NULL,
    policyagreed smallint DEFAULT 0 NOT NULL,
    deleted smallint DEFAULT 0 NOT NULL,
    suspended smallint DEFAULT 0 NOT NULL,
    mnethostid bigint DEFAULT 0 NOT NULL,
    username character varying(100) DEFAULT ''::character varying NOT NULL,
    password character varying(255) DEFAULT ''::character varying NOT NULL,
    idnumber character varying(255) DEFAULT ''::character varying NOT NULL,
    firstname character varying(100) DEFAULT ''::character varying NOT NULL,
    lastname character varying(100) DEFAULT ''::character varying NOT NULL,
    email character varying(100) DEFAULT ''::character varying NOT NULL,
    emailstop smallint DEFAULT 0 NOT NULL,
    icq character varying(15) DEFAULT ''::character varying NOT NULL,
    skype character varying(50) DEFAULT ''::character varying NOT NULL,
    yahoo character varying(50) DEFAULT ''::character varying NOT NULL,
    aim character varying(50) DEFAULT ''::character varying NOT NULL,
    msn character varying(50) DEFAULT ''::character varying NOT NULL,
    phone1 character varying(20) DEFAULT ''::character varying NOT NULL,
    phone2 character varying(20) DEFAULT ''::character varying NOT NULL,
    institution character varying(255) DEFAULT ''::character varying NOT NULL,
    department character varying(255) DEFAULT ''::character varying NOT NULL,
    address character varying(255) DEFAULT ''::character varying NOT NULL,
    city character varying(120) DEFAULT ''::character varying NOT NULL,
    country character varying(2) DEFAULT ''::character varying NOT NULL,
    lang character varying(30) DEFAULT 'en'::character varying NOT NULL,
    calendartype character varying(30) DEFAULT 'gregorian'::character varying NOT NULL,
    theme character varying(50) DEFAULT ''::character varying NOT NULL,
    timezone character varying(100) DEFAULT '99'::character varying NOT NULL,
    firstaccess bigint DEFAULT 0 NOT NULL,
    lastaccess bigint DEFAULT 0 NOT NULL,
    lastlogin bigint DEFAULT 0 NOT NULL,
    currentlogin bigint DEFAULT 0 NOT NULL,
    lastip character varying(45) DEFAULT ''::character varying NOT NULL,
    secret character varying(15) DEFAULT ''::character varying NOT NULL,
    picture bigint DEFAULT 0 NOT NULL,
    url character varying(255) DEFAULT ''::character varying NOT NULL,
    description text,
    descriptionformat smallint DEFAULT 1 NOT NULL,
    mailformat smallint DEFAULT 1 NOT NULL,
    maildigest smallint DEFAULT 0 NOT NULL,
    maildisplay smallint DEFAULT 2 NOT NULL,
    autosubscribe smallint DEFAULT 1 NOT NULL,
    trackforums smallint DEFAULT 0 NOT NULL,
    timecreated bigint DEFAULT 0 NOT NULL,
    timemodified bigint DEFAULT 0 NOT NULL,
    trustbitmask bigint DEFAULT 0 NOT NULL,
    imagealt character varying(255),
    lastnamephonetic character varying(255),
    firstnamephonetic character varying(255),
    middlename character varying(255),
    alternatename character varying(255),
    moodlenetprofile character varying(255)
);


ALTER TABLE public.mdl_user OWNER TO moodle;

--
-- Name: TABLE mdl_user; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_user IS 'One record for each person';


--
-- Name: mdl_user_devices; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_user_devices (
    id bigint NOT NULL,
    userid bigint DEFAULT 0 NOT NULL,
    appid character varying(128) DEFAULT ''::character varying NOT NULL,
    name character varying(32) DEFAULT ''::character varying NOT NULL,
    model character varying(32) DEFAULT ''::character varying NOT NULL,
    platform character varying(32) DEFAULT ''::character varying NOT NULL,
    version character varying(32) DEFAULT ''::character varying NOT NULL,
    pushid character varying(255) DEFAULT ''::character varying NOT NULL,
    uuid character varying(255) DEFAULT ''::character varying NOT NULL,
    timecreated bigint NOT NULL,
    timemodified bigint NOT NULL
);


ALTER TABLE public.mdl_user_devices OWNER TO moodle;

--
-- Name: TABLE mdl_user_devices; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_user_devices IS 'This table stores user''s mobile devices information in order to send PUSH notifications';


--
-- Name: mdl_user_devices_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_user_devices_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_user_devices_id_seq OWNER TO moodle;

--
-- Name: mdl_user_devices_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_user_devices_id_seq OWNED BY public.mdl_user_devices.id;


--
-- Name: mdl_user_enrolments; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_user_enrolments (
    id bigint NOT NULL,
    status bigint DEFAULT 0 NOT NULL,
    enrolid bigint NOT NULL,
    userid bigint NOT NULL,
    timestart bigint DEFAULT 0 NOT NULL,
    timeend bigint DEFAULT 2147483647 NOT NULL,
    modifierid bigint DEFAULT 0 NOT NULL,
    timecreated bigint DEFAULT 0 NOT NULL,
    timemodified bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_user_enrolments OWNER TO moodle;

--
-- Name: TABLE mdl_user_enrolments; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_user_enrolments IS 'Users participating in courses (aka enrolled users) - everybody who is participating/visible in course, that means both teachers and students';


--
-- Name: mdl_user_enrolments_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_user_enrolments_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_user_enrolments_id_seq OWNER TO moodle;

--
-- Name: mdl_user_enrolments_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_user_enrolments_id_seq OWNED BY public.mdl_user_enrolments.id;


--
-- Name: mdl_user_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_user_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_user_id_seq OWNER TO moodle;

--
-- Name: mdl_user_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_user_id_seq OWNED BY public.mdl_user.id;


--
-- Name: mdl_user_info_category; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_user_info_category (
    id bigint NOT NULL,
    name character varying(255) DEFAULT ''::character varying NOT NULL,
    sortorder bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_user_info_category OWNER TO moodle;

--
-- Name: TABLE mdl_user_info_category; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_user_info_category IS 'Customisable fields categories';


--
-- Name: mdl_user_info_category_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_user_info_category_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_user_info_category_id_seq OWNER TO moodle;

--
-- Name: mdl_user_info_category_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_user_info_category_id_seq OWNED BY public.mdl_user_info_category.id;


--
-- Name: mdl_user_info_data; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_user_info_data (
    id bigint NOT NULL,
    userid bigint DEFAULT 0 NOT NULL,
    fieldid bigint DEFAULT 0 NOT NULL,
    data text NOT NULL,
    dataformat smallint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_user_info_data OWNER TO moodle;

--
-- Name: TABLE mdl_user_info_data; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_user_info_data IS 'Data for the customisable user fields';


--
-- Name: mdl_user_info_data_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_user_info_data_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_user_info_data_id_seq OWNER TO moodle;

--
-- Name: mdl_user_info_data_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_user_info_data_id_seq OWNED BY public.mdl_user_info_data.id;


--
-- Name: mdl_user_info_field; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_user_info_field (
    id bigint NOT NULL,
    shortname character varying(255) DEFAULT 'shortname'::character varying NOT NULL,
    name text NOT NULL,
    datatype character varying(255) DEFAULT ''::character varying NOT NULL,
    description text,
    descriptionformat smallint DEFAULT 0 NOT NULL,
    categoryid bigint DEFAULT 0 NOT NULL,
    sortorder bigint DEFAULT 0 NOT NULL,
    required smallint DEFAULT 0 NOT NULL,
    locked smallint DEFAULT 0 NOT NULL,
    visible smallint DEFAULT 0 NOT NULL,
    forceunique smallint DEFAULT 0 NOT NULL,
    signup smallint DEFAULT 0 NOT NULL,
    defaultdata text,
    defaultdataformat smallint DEFAULT 0 NOT NULL,
    param1 text,
    param2 text,
    param3 text,
    param4 text,
    param5 text
);


ALTER TABLE public.mdl_user_info_field OWNER TO moodle;

--
-- Name: TABLE mdl_user_info_field; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_user_info_field IS 'Customisable user profile fields';


--
-- Name: mdl_user_info_field_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_user_info_field_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_user_info_field_id_seq OWNER TO moodle;

--
-- Name: mdl_user_info_field_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_user_info_field_id_seq OWNED BY public.mdl_user_info_field.id;


--
-- Name: mdl_user_lastaccess; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_user_lastaccess (
    id bigint NOT NULL,
    userid bigint DEFAULT 0 NOT NULL,
    courseid bigint DEFAULT 0 NOT NULL,
    timeaccess bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_user_lastaccess OWNER TO moodle;

--
-- Name: TABLE mdl_user_lastaccess; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_user_lastaccess IS 'To keep track of course page access times, used in online participants block, and participants list';


--
-- Name: mdl_user_lastaccess_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_user_lastaccess_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_user_lastaccess_id_seq OWNER TO moodle;

--
-- Name: mdl_user_lastaccess_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_user_lastaccess_id_seq OWNED BY public.mdl_user_lastaccess.id;


--
-- Name: mdl_user_password_history; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_user_password_history (
    id bigint NOT NULL,
    userid bigint NOT NULL,
    hash character varying(255) DEFAULT ''::character varying NOT NULL,
    timecreated bigint NOT NULL
);


ALTER TABLE public.mdl_user_password_history OWNER TO moodle;

--
-- Name: TABLE mdl_user_password_history; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_user_password_history IS 'A rotating log of hashes of previously used passwords for each user.';


--
-- Name: mdl_user_password_history_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_user_password_history_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_user_password_history_id_seq OWNER TO moodle;

--
-- Name: mdl_user_password_history_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_user_password_history_id_seq OWNED BY public.mdl_user_password_history.id;


--
-- Name: mdl_user_password_resets; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_user_password_resets (
    id bigint NOT NULL,
    userid bigint NOT NULL,
    timerequested bigint NOT NULL,
    timererequested bigint DEFAULT 0 NOT NULL,
    token character varying(32) DEFAULT ''::character varying NOT NULL
);


ALTER TABLE public.mdl_user_password_resets OWNER TO moodle;

--
-- Name: TABLE mdl_user_password_resets; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_user_password_resets IS 'table tracking password reset confirmation tokens';


--
-- Name: mdl_user_password_resets_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_user_password_resets_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_user_password_resets_id_seq OWNER TO moodle;

--
-- Name: mdl_user_password_resets_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_user_password_resets_id_seq OWNED BY public.mdl_user_password_resets.id;


--
-- Name: mdl_user_preferences; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_user_preferences (
    id bigint NOT NULL,
    userid bigint DEFAULT 0 NOT NULL,
    name character varying(255) DEFAULT ''::character varying NOT NULL,
    value character varying(1333) DEFAULT ''::character varying NOT NULL
);


ALTER TABLE public.mdl_user_preferences OWNER TO moodle;

--
-- Name: TABLE mdl_user_preferences; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_user_preferences IS 'Allows modules to store arbitrary user preferences';


--
-- Name: mdl_user_preferences_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_user_preferences_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_user_preferences_id_seq OWNER TO moodle;

--
-- Name: mdl_user_preferences_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_user_preferences_id_seq OWNED BY public.mdl_user_preferences.id;


--
-- Name: mdl_user_private_key; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_user_private_key (
    id bigint NOT NULL,
    script character varying(128) DEFAULT ''::character varying NOT NULL,
    value character varying(128) DEFAULT ''::character varying NOT NULL,
    userid bigint NOT NULL,
    instance bigint,
    iprestriction character varying(255),
    validuntil bigint,
    timecreated bigint
);


ALTER TABLE public.mdl_user_private_key OWNER TO moodle;

--
-- Name: TABLE mdl_user_private_key; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_user_private_key IS 'access keys used in cookieless scripts - rss, etc.';


--
-- Name: mdl_user_private_key_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_user_private_key_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_user_private_key_id_seq OWNER TO moodle;

--
-- Name: mdl_user_private_key_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_user_private_key_id_seq OWNED BY public.mdl_user_private_key.id;


--
-- Name: mdl_wiki; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_wiki (
    id bigint NOT NULL,
    course bigint DEFAULT 0 NOT NULL,
    name character varying(255) DEFAULT 'Wiki'::character varying NOT NULL,
    intro text,
    introformat smallint DEFAULT 0 NOT NULL,
    timecreated bigint DEFAULT 0 NOT NULL,
    timemodified bigint DEFAULT 0 NOT NULL,
    firstpagetitle character varying(255) DEFAULT 'First Page'::character varying NOT NULL,
    wikimode character varying(20) DEFAULT 'collaborative'::character varying NOT NULL,
    defaultformat character varying(20) DEFAULT 'creole'::character varying NOT NULL,
    forceformat smallint DEFAULT 1 NOT NULL,
    editbegin bigint DEFAULT 0 NOT NULL,
    editend bigint DEFAULT 0
);


ALTER TABLE public.mdl_wiki OWNER TO moodle;

--
-- Name: TABLE mdl_wiki; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_wiki IS 'Stores Wiki activity configuration';


--
-- Name: mdl_wiki_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_wiki_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_wiki_id_seq OWNER TO moodle;

--
-- Name: mdl_wiki_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_wiki_id_seq OWNED BY public.mdl_wiki.id;


--
-- Name: mdl_wiki_links; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_wiki_links (
    id bigint NOT NULL,
    subwikiid bigint DEFAULT 0 NOT NULL,
    frompageid bigint DEFAULT 0 NOT NULL,
    topageid bigint DEFAULT 0 NOT NULL,
    tomissingpage character varying(255)
);


ALTER TABLE public.mdl_wiki_links OWNER TO moodle;

--
-- Name: TABLE mdl_wiki_links; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_wiki_links IS 'Page wiki links';


--
-- Name: mdl_wiki_links_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_wiki_links_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_wiki_links_id_seq OWNER TO moodle;

--
-- Name: mdl_wiki_links_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_wiki_links_id_seq OWNED BY public.mdl_wiki_links.id;


--
-- Name: mdl_wiki_locks; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_wiki_locks (
    id bigint NOT NULL,
    pageid bigint DEFAULT 0 NOT NULL,
    sectionname character varying(255),
    userid bigint DEFAULT 0 NOT NULL,
    lockedat bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_wiki_locks OWNER TO moodle;

--
-- Name: TABLE mdl_wiki_locks; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_wiki_locks IS 'Manages page locks';


--
-- Name: mdl_wiki_locks_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_wiki_locks_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_wiki_locks_id_seq OWNER TO moodle;

--
-- Name: mdl_wiki_locks_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_wiki_locks_id_seq OWNED BY public.mdl_wiki_locks.id;


--
-- Name: mdl_wiki_pages; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_wiki_pages (
    id bigint NOT NULL,
    subwikiid bigint DEFAULT 0 NOT NULL,
    title character varying(255) DEFAULT 'title'::character varying NOT NULL,
    cachedcontent text NOT NULL,
    timecreated bigint DEFAULT 0 NOT NULL,
    timemodified bigint DEFAULT 0 NOT NULL,
    timerendered bigint DEFAULT 0 NOT NULL,
    userid bigint DEFAULT 0 NOT NULL,
    pageviews bigint DEFAULT 0 NOT NULL,
    readonly smallint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_wiki_pages OWNER TO moodle;

--
-- Name: TABLE mdl_wiki_pages; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_wiki_pages IS 'Stores wiki pages';


--
-- Name: mdl_wiki_pages_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_wiki_pages_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_wiki_pages_id_seq OWNER TO moodle;

--
-- Name: mdl_wiki_pages_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_wiki_pages_id_seq OWNED BY public.mdl_wiki_pages.id;


--
-- Name: mdl_wiki_subwikis; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_wiki_subwikis (
    id bigint NOT NULL,
    wikiid bigint DEFAULT 0 NOT NULL,
    groupid bigint DEFAULT 0 NOT NULL,
    userid bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_wiki_subwikis OWNER TO moodle;

--
-- Name: TABLE mdl_wiki_subwikis; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_wiki_subwikis IS 'Stores subwiki instances';


--
-- Name: mdl_wiki_subwikis_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_wiki_subwikis_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_wiki_subwikis_id_seq OWNER TO moodle;

--
-- Name: mdl_wiki_subwikis_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_wiki_subwikis_id_seq OWNED BY public.mdl_wiki_subwikis.id;


--
-- Name: mdl_wiki_synonyms; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_wiki_synonyms (
    id bigint NOT NULL,
    subwikiid bigint DEFAULT 0 NOT NULL,
    pageid bigint DEFAULT 0 NOT NULL,
    pagesynonym character varying(255) DEFAULT 'Pagesynonym'::character varying NOT NULL
);


ALTER TABLE public.mdl_wiki_synonyms OWNER TO moodle;

--
-- Name: TABLE mdl_wiki_synonyms; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_wiki_synonyms IS 'Stores wiki pages synonyms';


--
-- Name: mdl_wiki_synonyms_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_wiki_synonyms_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_wiki_synonyms_id_seq OWNER TO moodle;

--
-- Name: mdl_wiki_synonyms_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_wiki_synonyms_id_seq OWNED BY public.mdl_wiki_synonyms.id;


--
-- Name: mdl_wiki_versions; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_wiki_versions (
    id bigint NOT NULL,
    pageid bigint DEFAULT 0 NOT NULL,
    content text NOT NULL,
    contentformat character varying(20) DEFAULT 'creole'::character varying NOT NULL,
    version integer DEFAULT 0 NOT NULL,
    timecreated bigint DEFAULT 0 NOT NULL,
    userid bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_wiki_versions OWNER TO moodle;

--
-- Name: TABLE mdl_wiki_versions; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_wiki_versions IS 'Stores wiki page history';


--
-- Name: mdl_wiki_versions_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_wiki_versions_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_wiki_versions_id_seq OWNER TO moodle;

--
-- Name: mdl_wiki_versions_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_wiki_versions_id_seq OWNED BY public.mdl_wiki_versions.id;


--
-- Name: mdl_workshop; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_workshop (
    id bigint NOT NULL,
    course bigint NOT NULL,
    name character varying(255) DEFAULT ''::character varying NOT NULL,
    intro text,
    introformat smallint DEFAULT 0 NOT NULL,
    instructauthors text,
    instructauthorsformat smallint DEFAULT 0 NOT NULL,
    instructreviewers text,
    instructreviewersformat smallint DEFAULT 0 NOT NULL,
    timemodified bigint NOT NULL,
    phase smallint DEFAULT 0,
    useexamples smallint DEFAULT 0,
    usepeerassessment smallint DEFAULT 0,
    useselfassessment smallint DEFAULT 0,
    grade numeric(10,5) DEFAULT 80,
    gradinggrade numeric(10,5) DEFAULT 20,
    strategy character varying(30) DEFAULT ''::character varying NOT NULL,
    evaluation character varying(30) DEFAULT ''::character varying NOT NULL,
    gradedecimals smallint DEFAULT 0,
    submissiontypetext smallint DEFAULT 1 NOT NULL,
    submissiontypefile smallint DEFAULT 1 NOT NULL,
    nattachments smallint DEFAULT 1,
    submissionfiletypes character varying(255),
    latesubmissions smallint DEFAULT 0,
    maxbytes bigint DEFAULT 100000,
    examplesmode smallint DEFAULT 0,
    submissionstart bigint DEFAULT 0,
    submissionend bigint DEFAULT 0,
    assessmentstart bigint DEFAULT 0,
    assessmentend bigint DEFAULT 0,
    phaseswitchassessment smallint DEFAULT 0 NOT NULL,
    conclusion text,
    conclusionformat smallint DEFAULT 1 NOT NULL,
    overallfeedbackmode smallint DEFAULT 1,
    overallfeedbackfiles smallint DEFAULT 0,
    overallfeedbackfiletypes character varying(255),
    overallfeedbackmaxbytes bigint DEFAULT 100000
);


ALTER TABLE public.mdl_workshop OWNER TO moodle;

--
-- Name: TABLE mdl_workshop; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_workshop IS 'This table keeps information about the module instances and their settings';


--
-- Name: mdl_workshop_aggregations; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_workshop_aggregations (
    id bigint NOT NULL,
    workshopid bigint NOT NULL,
    userid bigint NOT NULL,
    gradinggrade numeric(10,5),
    timegraded bigint
);


ALTER TABLE public.mdl_workshop_aggregations OWNER TO moodle;

--
-- Name: TABLE mdl_workshop_aggregations; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_workshop_aggregations IS 'Aggregated grades for assessment are stored here. The aggregated grade for submission is stored in workshop_submissions';


--
-- Name: mdl_workshop_aggregations_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_workshop_aggregations_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_workshop_aggregations_id_seq OWNER TO moodle;

--
-- Name: mdl_workshop_aggregations_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_workshop_aggregations_id_seq OWNED BY public.mdl_workshop_aggregations.id;


--
-- Name: mdl_workshop_assessments; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_workshop_assessments (
    id bigint NOT NULL,
    submissionid bigint NOT NULL,
    reviewerid bigint NOT NULL,
    weight bigint DEFAULT 1 NOT NULL,
    timecreated bigint DEFAULT 0,
    timemodified bigint DEFAULT 0,
    grade numeric(10,5),
    gradinggrade numeric(10,5),
    gradinggradeover numeric(10,5),
    gradinggradeoverby bigint,
    feedbackauthor text,
    feedbackauthorformat smallint DEFAULT 0,
    feedbackauthorattachment smallint DEFAULT 0,
    feedbackreviewer text,
    feedbackreviewerformat smallint DEFAULT 0
);


ALTER TABLE public.mdl_workshop_assessments OWNER TO moodle;

--
-- Name: TABLE mdl_workshop_assessments; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_workshop_assessments IS 'Info about the made assessment and automatically calculated grade for it. The proposed grade can be overridden by teacher.';


--
-- Name: mdl_workshop_assessments_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_workshop_assessments_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_workshop_assessments_id_seq OWNER TO moodle;

--
-- Name: mdl_workshop_assessments_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_workshop_assessments_id_seq OWNED BY public.mdl_workshop_assessments.id;


--
-- Name: mdl_workshop_grades; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_workshop_grades (
    id bigint NOT NULL,
    assessmentid bigint NOT NULL,
    strategy character varying(30) DEFAULT ''::character varying NOT NULL,
    dimensionid bigint NOT NULL,
    grade numeric(10,5),
    peercomment text,
    peercommentformat smallint DEFAULT 0
);


ALTER TABLE public.mdl_workshop_grades OWNER TO moodle;

--
-- Name: TABLE mdl_workshop_grades; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_workshop_grades IS 'How the reviewers filled-up the grading forms, given grades and comments';


--
-- Name: mdl_workshop_grades_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_workshop_grades_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_workshop_grades_id_seq OWNER TO moodle;

--
-- Name: mdl_workshop_grades_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_workshop_grades_id_seq OWNED BY public.mdl_workshop_grades.id;


--
-- Name: mdl_workshop_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_workshop_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_workshop_id_seq OWNER TO moodle;

--
-- Name: mdl_workshop_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_workshop_id_seq OWNED BY public.mdl_workshop.id;


--
-- Name: mdl_workshop_submissions; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_workshop_submissions (
    id bigint NOT NULL,
    workshopid bigint NOT NULL,
    example smallint DEFAULT 0,
    authorid bigint NOT NULL,
    timecreated bigint NOT NULL,
    timemodified bigint NOT NULL,
    title character varying(255) DEFAULT ''::character varying NOT NULL,
    content text,
    contentformat smallint DEFAULT 0 NOT NULL,
    contenttrust smallint DEFAULT 0 NOT NULL,
    attachment smallint DEFAULT 0,
    grade numeric(10,5),
    gradeover numeric(10,5),
    gradeoverby bigint,
    feedbackauthor text,
    feedbackauthorformat smallint DEFAULT 0,
    timegraded bigint,
    published smallint DEFAULT 0,
    late smallint DEFAULT 0 NOT NULL
);


ALTER TABLE public.mdl_workshop_submissions OWNER TO moodle;

--
-- Name: TABLE mdl_workshop_submissions; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_workshop_submissions IS 'Info about the submission and the aggregation of the grade for submission, grade for assessment and final grade. Both grade for submission and grade for assessment can be overridden by teacher. Final grade is always the sum of them. All grades are st';


--
-- Name: mdl_workshop_submissions_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_workshop_submissions_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_workshop_submissions_id_seq OWNER TO moodle;

--
-- Name: mdl_workshop_submissions_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_workshop_submissions_id_seq OWNED BY public.mdl_workshop_submissions.id;


--
-- Name: mdl_workshopallocation_scheduled; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_workshopallocation_scheduled (
    id bigint NOT NULL,
    workshopid bigint NOT NULL,
    enabled smallint DEFAULT 0 NOT NULL,
    submissionend bigint NOT NULL,
    timeallocated bigint,
    settings text,
    resultstatus bigint,
    resultmessage character varying(1333),
    resultlog text
);


ALTER TABLE public.mdl_workshopallocation_scheduled OWNER TO moodle;

--
-- Name: TABLE mdl_workshopallocation_scheduled; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_workshopallocation_scheduled IS 'Stores the allocation settings for the scheduled allocator';


--
-- Name: mdl_workshopallocation_scheduled_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_workshopallocation_scheduled_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_workshopallocation_scheduled_id_seq OWNER TO moodle;

--
-- Name: mdl_workshopallocation_scheduled_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_workshopallocation_scheduled_id_seq OWNED BY public.mdl_workshopallocation_scheduled.id;


--
-- Name: mdl_workshopeval_best_settings; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_workshopeval_best_settings (
    id bigint NOT NULL,
    workshopid bigint NOT NULL,
    comparison smallint DEFAULT 5
);


ALTER TABLE public.mdl_workshopeval_best_settings OWNER TO moodle;

--
-- Name: TABLE mdl_workshopeval_best_settings; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_workshopeval_best_settings IS 'Settings for the grading evaluation subplugin Comparison with the best assessment.';


--
-- Name: mdl_workshopeval_best_settings_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_workshopeval_best_settings_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_workshopeval_best_settings_id_seq OWNER TO moodle;

--
-- Name: mdl_workshopeval_best_settings_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_workshopeval_best_settings_id_seq OWNED BY public.mdl_workshopeval_best_settings.id;


--
-- Name: mdl_workshopform_accumulative; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_workshopform_accumulative (
    id bigint NOT NULL,
    workshopid bigint NOT NULL,
    sort bigint DEFAULT 0,
    description text,
    descriptionformat smallint DEFAULT 0,
    grade bigint NOT NULL,
    weight integer DEFAULT 1
);


ALTER TABLE public.mdl_workshopform_accumulative OWNER TO moodle;

--
-- Name: TABLE mdl_workshopform_accumulative; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_workshopform_accumulative IS 'The assessment dimensions definitions of Accumulative grading strategy forms';


--
-- Name: mdl_workshopform_accumulative_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_workshopform_accumulative_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_workshopform_accumulative_id_seq OWNER TO moodle;

--
-- Name: mdl_workshopform_accumulative_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_workshopform_accumulative_id_seq OWNED BY public.mdl_workshopform_accumulative.id;


--
-- Name: mdl_workshopform_comments; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_workshopform_comments (
    id bigint NOT NULL,
    workshopid bigint NOT NULL,
    sort bigint DEFAULT 0,
    description text,
    descriptionformat smallint DEFAULT 0
);


ALTER TABLE public.mdl_workshopform_comments OWNER TO moodle;

--
-- Name: TABLE mdl_workshopform_comments; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_workshopform_comments IS 'The assessment dimensions definitions of Comments strategy forms';


--
-- Name: mdl_workshopform_comments_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_workshopform_comments_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_workshopform_comments_id_seq OWNER TO moodle;

--
-- Name: mdl_workshopform_comments_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_workshopform_comments_id_seq OWNED BY public.mdl_workshopform_comments.id;


--
-- Name: mdl_workshopform_numerrors; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_workshopform_numerrors (
    id bigint NOT NULL,
    workshopid bigint NOT NULL,
    sort bigint DEFAULT 0,
    description text,
    descriptionformat smallint DEFAULT 0,
    descriptiontrust bigint,
    grade0 character varying(50),
    grade1 character varying(50),
    weight integer DEFAULT 1
);


ALTER TABLE public.mdl_workshopform_numerrors OWNER TO moodle;

--
-- Name: TABLE mdl_workshopform_numerrors; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_workshopform_numerrors IS 'The assessment dimensions definitions of Number of errors grading strategy forms';


--
-- Name: mdl_workshopform_numerrors_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_workshopform_numerrors_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_workshopform_numerrors_id_seq OWNER TO moodle;

--
-- Name: mdl_workshopform_numerrors_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_workshopform_numerrors_id_seq OWNED BY public.mdl_workshopform_numerrors.id;


--
-- Name: mdl_workshopform_numerrors_map; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_workshopform_numerrors_map (
    id bigint NOT NULL,
    workshopid bigint NOT NULL,
    nonegative bigint NOT NULL,
    grade numeric(10,5) NOT NULL
);


ALTER TABLE public.mdl_workshopform_numerrors_map OWNER TO moodle;

--
-- Name: TABLE mdl_workshopform_numerrors_map; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_workshopform_numerrors_map IS 'This maps the number of errors to a percentual grade for submission';


--
-- Name: mdl_workshopform_numerrors_map_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_workshopform_numerrors_map_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_workshopform_numerrors_map_id_seq OWNER TO moodle;

--
-- Name: mdl_workshopform_numerrors_map_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_workshopform_numerrors_map_id_seq OWNED BY public.mdl_workshopform_numerrors_map.id;


--
-- Name: mdl_workshopform_rubric; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_workshopform_rubric (
    id bigint NOT NULL,
    workshopid bigint NOT NULL,
    sort bigint DEFAULT 0,
    description text,
    descriptionformat smallint DEFAULT 0
);


ALTER TABLE public.mdl_workshopform_rubric OWNER TO moodle;

--
-- Name: TABLE mdl_workshopform_rubric; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_workshopform_rubric IS 'The assessment dimensions definitions of Rubric grading strategy forms';


--
-- Name: mdl_workshopform_rubric_config; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_workshopform_rubric_config (
    id bigint NOT NULL,
    workshopid bigint NOT NULL,
    layout character varying(30) DEFAULT 'list'::character varying
);


ALTER TABLE public.mdl_workshopform_rubric_config OWNER TO moodle;

--
-- Name: TABLE mdl_workshopform_rubric_config; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_workshopform_rubric_config IS 'Configuration table for the Rubric grading strategy';


--
-- Name: mdl_workshopform_rubric_config_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_workshopform_rubric_config_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_workshopform_rubric_config_id_seq OWNER TO moodle;

--
-- Name: mdl_workshopform_rubric_config_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_workshopform_rubric_config_id_seq OWNED BY public.mdl_workshopform_rubric_config.id;


--
-- Name: mdl_workshopform_rubric_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_workshopform_rubric_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_workshopform_rubric_id_seq OWNER TO moodle;

--
-- Name: mdl_workshopform_rubric_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_workshopform_rubric_id_seq OWNED BY public.mdl_workshopform_rubric.id;


--
-- Name: mdl_workshopform_rubric_levels; Type: TABLE; Schema: public; Owner: moodle
--

CREATE TABLE public.mdl_workshopform_rubric_levels (
    id bigint NOT NULL,
    dimensionid bigint NOT NULL,
    grade numeric(10,5) NOT NULL,
    definition text,
    definitionformat smallint DEFAULT 0
);


ALTER TABLE public.mdl_workshopform_rubric_levels OWNER TO moodle;

--
-- Name: TABLE mdl_workshopform_rubric_levels; Type: COMMENT; Schema: public; Owner: moodle
--

COMMENT ON TABLE public.mdl_workshopform_rubric_levels IS 'The definition of rubric rating scales';


--
-- Name: mdl_workshopform_rubric_levels_id_seq; Type: SEQUENCE; Schema: public; Owner: moodle
--

CREATE SEQUENCE public.mdl_workshopform_rubric_levels_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.mdl_workshopform_rubric_levels_id_seq OWNER TO moodle;

--
-- Name: mdl_workshopform_rubric_levels_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: moodle
--

ALTER SEQUENCE public.mdl_workshopform_rubric_levels_id_seq OWNED BY public.mdl_workshopform_rubric_levels.id;


--
-- Name: mdl_analytics_indicator_calc id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_analytics_indicator_calc ALTER COLUMN id SET DEFAULT nextval('public.mdl_analytics_indicator_calc_id_seq'::regclass);


--
-- Name: mdl_analytics_models id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_analytics_models ALTER COLUMN id SET DEFAULT nextval('public.mdl_analytics_models_id_seq'::regclass);


--
-- Name: mdl_analytics_models_log id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_analytics_models_log ALTER COLUMN id SET DEFAULT nextval('public.mdl_analytics_models_log_id_seq'::regclass);


--
-- Name: mdl_analytics_predict_samples id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_analytics_predict_samples ALTER COLUMN id SET DEFAULT nextval('public.mdl_analytics_predict_samples_id_seq'::regclass);


--
-- Name: mdl_analytics_prediction_actions id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_analytics_prediction_actions ALTER COLUMN id SET DEFAULT nextval('public.mdl_analytics_prediction_actions_id_seq'::regclass);


--
-- Name: mdl_analytics_predictions id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_analytics_predictions ALTER COLUMN id SET DEFAULT nextval('public.mdl_analytics_predictions_id_seq'::regclass);


--
-- Name: mdl_analytics_train_samples id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_analytics_train_samples ALTER COLUMN id SET DEFAULT nextval('public.mdl_analytics_train_samples_id_seq'::regclass);


--
-- Name: mdl_analytics_used_analysables id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_analytics_used_analysables ALTER COLUMN id SET DEFAULT nextval('public.mdl_analytics_used_analysables_id_seq'::regclass);


--
-- Name: mdl_analytics_used_files id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_analytics_used_files ALTER COLUMN id SET DEFAULT nextval('public.mdl_analytics_used_files_id_seq'::regclass);


--
-- Name: mdl_assign id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_assign ALTER COLUMN id SET DEFAULT nextval('public.mdl_assign_id_seq'::regclass);


--
-- Name: mdl_assign_grades id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_assign_grades ALTER COLUMN id SET DEFAULT nextval('public.mdl_assign_grades_id_seq'::regclass);


--
-- Name: mdl_assign_overrides id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_assign_overrides ALTER COLUMN id SET DEFAULT nextval('public.mdl_assign_overrides_id_seq'::regclass);


--
-- Name: mdl_assign_plugin_config id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_assign_plugin_config ALTER COLUMN id SET DEFAULT nextval('public.mdl_assign_plugin_config_id_seq'::regclass);


--
-- Name: mdl_assign_submission id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_assign_submission ALTER COLUMN id SET DEFAULT nextval('public.mdl_assign_submission_id_seq'::regclass);


--
-- Name: mdl_assign_user_flags id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_assign_user_flags ALTER COLUMN id SET DEFAULT nextval('public.mdl_assign_user_flags_id_seq'::regclass);


--
-- Name: mdl_assign_user_mapping id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_assign_user_mapping ALTER COLUMN id SET DEFAULT nextval('public.mdl_assign_user_mapping_id_seq'::regclass);


--
-- Name: mdl_assignfeedback_comments id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_assignfeedback_comments ALTER COLUMN id SET DEFAULT nextval('public.mdl_assignfeedback_comments_id_seq'::regclass);


--
-- Name: mdl_assignfeedback_editpdf_annot id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_assignfeedback_editpdf_annot ALTER COLUMN id SET DEFAULT nextval('public.mdl_assignfeedback_editpdf_annot_id_seq'::regclass);


--
-- Name: mdl_assignfeedback_editpdf_cmnt id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_assignfeedback_editpdf_cmnt ALTER COLUMN id SET DEFAULT nextval('public.mdl_assignfeedback_editpdf_cmnt_id_seq'::regclass);


--
-- Name: mdl_assignfeedback_editpdf_queue id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_assignfeedback_editpdf_queue ALTER COLUMN id SET DEFAULT nextval('public.mdl_assignfeedback_editpdf_queue_id_seq'::regclass);


--
-- Name: mdl_assignfeedback_editpdf_quick id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_assignfeedback_editpdf_quick ALTER COLUMN id SET DEFAULT nextval('public.mdl_assignfeedback_editpdf_quick_id_seq'::regclass);


--
-- Name: mdl_assignfeedback_editpdf_rot id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_assignfeedback_editpdf_rot ALTER COLUMN id SET DEFAULT nextval('public.mdl_assignfeedback_editpdf_rot_id_seq'::regclass);


--
-- Name: mdl_assignfeedback_file id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_assignfeedback_file ALTER COLUMN id SET DEFAULT nextval('public.mdl_assignfeedback_file_id_seq'::regclass);


--
-- Name: mdl_assignment id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_assignment ALTER COLUMN id SET DEFAULT nextval('public.mdl_assignment_id_seq'::regclass);


--
-- Name: mdl_assignment_submissions id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_assignment_submissions ALTER COLUMN id SET DEFAULT nextval('public.mdl_assignment_submissions_id_seq'::regclass);


--
-- Name: mdl_assignment_upgrade id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_assignment_upgrade ALTER COLUMN id SET DEFAULT nextval('public.mdl_assignment_upgrade_id_seq'::regclass);


--
-- Name: mdl_assignsubmission_file id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_assignsubmission_file ALTER COLUMN id SET DEFAULT nextval('public.mdl_assignsubmission_file_id_seq'::regclass);


--
-- Name: mdl_assignsubmission_onlinetext id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_assignsubmission_onlinetext ALTER COLUMN id SET DEFAULT nextval('public.mdl_assignsubmission_onlinetext_id_seq'::regclass);


--
-- Name: mdl_auth_oauth2_linked_login id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_auth_oauth2_linked_login ALTER COLUMN id SET DEFAULT nextval('public.mdl_auth_oauth2_linked_login_id_seq'::regclass);


--
-- Name: mdl_auth_oidc_prevlogin id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_auth_oidc_prevlogin ALTER COLUMN id SET DEFAULT nextval('public.mdl_auth_oidc_prevlogin_id_seq'::regclass);


--
-- Name: mdl_auth_oidc_state id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_auth_oidc_state ALTER COLUMN id SET DEFAULT nextval('public.mdl_auth_oidc_state_id_seq'::regclass);


--
-- Name: mdl_auth_oidc_token id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_auth_oidc_token ALTER COLUMN id SET DEFAULT nextval('public.mdl_auth_oidc_token_id_seq'::regclass);


--
-- Name: mdl_auth_saml2_idps id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_auth_saml2_idps ALTER COLUMN id SET DEFAULT nextval('public.mdl_auth_saml2_idps_id_seq'::regclass);


--
-- Name: mdl_auth_saml2_kvstore id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_auth_saml2_kvstore ALTER COLUMN id SET DEFAULT nextval('public.mdl_auth_saml2_kvstore_id_seq'::regclass);


--
-- Name: mdl_backup_controllers id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_backup_controllers ALTER COLUMN id SET DEFAULT nextval('public.mdl_backup_controllers_id_seq'::regclass);


--
-- Name: mdl_backup_courses id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_backup_courses ALTER COLUMN id SET DEFAULT nextval('public.mdl_backup_courses_id_seq'::regclass);


--
-- Name: mdl_backup_logs id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_backup_logs ALTER COLUMN id SET DEFAULT nextval('public.mdl_backup_logs_id_seq'::regclass);


--
-- Name: mdl_badge id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_badge ALTER COLUMN id SET DEFAULT nextval('public.mdl_badge_id_seq'::regclass);


--
-- Name: mdl_badge_alignment id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_badge_alignment ALTER COLUMN id SET DEFAULT nextval('public.mdl_badge_alignment_id_seq'::regclass);


--
-- Name: mdl_badge_backpack id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_badge_backpack ALTER COLUMN id SET DEFAULT nextval('public.mdl_badge_backpack_id_seq'::regclass);


--
-- Name: mdl_badge_backpack_oauth2 id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_badge_backpack_oauth2 ALTER COLUMN id SET DEFAULT nextval('public.mdl_badge_backpack_oauth2_id_seq'::regclass);


--
-- Name: mdl_badge_criteria id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_badge_criteria ALTER COLUMN id SET DEFAULT nextval('public.mdl_badge_criteria_id_seq'::regclass);


--
-- Name: mdl_badge_criteria_met id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_badge_criteria_met ALTER COLUMN id SET DEFAULT nextval('public.mdl_badge_criteria_met_id_seq'::regclass);


--
-- Name: mdl_badge_criteria_param id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_badge_criteria_param ALTER COLUMN id SET DEFAULT nextval('public.mdl_badge_criteria_param_id_seq'::regclass);


--
-- Name: mdl_badge_endorsement id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_badge_endorsement ALTER COLUMN id SET DEFAULT nextval('public.mdl_badge_endorsement_id_seq'::regclass);


--
-- Name: mdl_badge_external id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_badge_external ALTER COLUMN id SET DEFAULT nextval('public.mdl_badge_external_id_seq'::regclass);


--
-- Name: mdl_badge_external_backpack id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_badge_external_backpack ALTER COLUMN id SET DEFAULT nextval('public.mdl_badge_external_backpack_id_seq'::regclass);


--
-- Name: mdl_badge_external_identifier id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_badge_external_identifier ALTER COLUMN id SET DEFAULT nextval('public.mdl_badge_external_identifier_id_seq'::regclass);


--
-- Name: mdl_badge_issued id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_badge_issued ALTER COLUMN id SET DEFAULT nextval('public.mdl_badge_issued_id_seq'::regclass);


--
-- Name: mdl_badge_manual_award id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_badge_manual_award ALTER COLUMN id SET DEFAULT nextval('public.mdl_badge_manual_award_id_seq'::regclass);


--
-- Name: mdl_badge_related id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_badge_related ALTER COLUMN id SET DEFAULT nextval('public.mdl_badge_related_id_seq'::regclass);


--
-- Name: mdl_bigbluebuttonbn id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_bigbluebuttonbn ALTER COLUMN id SET DEFAULT nextval('public.mdl_bigbluebuttonbn_id_seq'::regclass);


--
-- Name: mdl_bigbluebuttonbn_logs id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_bigbluebuttonbn_logs ALTER COLUMN id SET DEFAULT nextval('public.mdl_bigbluebuttonbn_logs_id_seq'::regclass);


--
-- Name: mdl_block id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_block ALTER COLUMN id SET DEFAULT nextval('public.mdl_block_id_seq'::regclass);


--
-- Name: mdl_block_instances id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_block_instances ALTER COLUMN id SET DEFAULT nextval('public.mdl_block_instances_id_seq'::regclass);


--
-- Name: mdl_block_positions id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_block_positions ALTER COLUMN id SET DEFAULT nextval('public.mdl_block_positions_id_seq'::regclass);


--
-- Name: mdl_block_recent_activity id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_block_recent_activity ALTER COLUMN id SET DEFAULT nextval('public.mdl_block_recent_activity_id_seq'::regclass);


--
-- Name: mdl_block_recentlyaccesseditems id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_block_recentlyaccesseditems ALTER COLUMN id SET DEFAULT nextval('public.mdl_block_recentlyaccesseditems_id_seq'::regclass);


--
-- Name: mdl_block_rss_client id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_block_rss_client ALTER COLUMN id SET DEFAULT nextval('public.mdl_block_rss_client_id_seq'::regclass);


--
-- Name: mdl_blog_association id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_blog_association ALTER COLUMN id SET DEFAULT nextval('public.mdl_blog_association_id_seq'::regclass);


--
-- Name: mdl_blog_external id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_blog_external ALTER COLUMN id SET DEFAULT nextval('public.mdl_blog_external_id_seq'::regclass);


--
-- Name: mdl_book id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_book ALTER COLUMN id SET DEFAULT nextval('public.mdl_book_id_seq'::regclass);


--
-- Name: mdl_book_chapters id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_book_chapters ALTER COLUMN id SET DEFAULT nextval('public.mdl_book_chapters_id_seq'::regclass);


--
-- Name: mdl_cache_filters id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_cache_filters ALTER COLUMN id SET DEFAULT nextval('public.mdl_cache_filters_id_seq'::regclass);


--
-- Name: mdl_cache_flags id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_cache_flags ALTER COLUMN id SET DEFAULT nextval('public.mdl_cache_flags_id_seq'::regclass);


--
-- Name: mdl_capabilities id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_capabilities ALTER COLUMN id SET DEFAULT nextval('public.mdl_capabilities_id_seq'::regclass);


--
-- Name: mdl_chat id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_chat ALTER COLUMN id SET DEFAULT nextval('public.mdl_chat_id_seq'::regclass);


--
-- Name: mdl_chat_messages id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_chat_messages ALTER COLUMN id SET DEFAULT nextval('public.mdl_chat_messages_id_seq'::regclass);


--
-- Name: mdl_chat_messages_current id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_chat_messages_current ALTER COLUMN id SET DEFAULT nextval('public.mdl_chat_messages_current_id_seq'::regclass);


--
-- Name: mdl_chat_users id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_chat_users ALTER COLUMN id SET DEFAULT nextval('public.mdl_chat_users_id_seq'::regclass);


--
-- Name: mdl_choice id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_choice ALTER COLUMN id SET DEFAULT nextval('public.mdl_choice_id_seq'::regclass);


--
-- Name: mdl_choice_answers id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_choice_answers ALTER COLUMN id SET DEFAULT nextval('public.mdl_choice_answers_id_seq'::regclass);


--
-- Name: mdl_choice_options id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_choice_options ALTER COLUMN id SET DEFAULT nextval('public.mdl_choice_options_id_seq'::regclass);


--
-- Name: mdl_cohort id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_cohort ALTER COLUMN id SET DEFAULT nextval('public.mdl_cohort_id_seq'::regclass);


--
-- Name: mdl_cohort_members id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_cohort_members ALTER COLUMN id SET DEFAULT nextval('public.mdl_cohort_members_id_seq'::regclass);


--
-- Name: mdl_comments id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_comments ALTER COLUMN id SET DEFAULT nextval('public.mdl_comments_id_seq'::regclass);


--
-- Name: mdl_competency id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_competency ALTER COLUMN id SET DEFAULT nextval('public.mdl_competency_id_seq'::regclass);


--
-- Name: mdl_competency_coursecomp id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_competency_coursecomp ALTER COLUMN id SET DEFAULT nextval('public.mdl_competency_coursecomp_id_seq'::regclass);


--
-- Name: mdl_competency_coursecompsetting id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_competency_coursecompsetting ALTER COLUMN id SET DEFAULT nextval('public.mdl_competency_coursecompsetting_id_seq'::regclass);


--
-- Name: mdl_competency_evidence id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_competency_evidence ALTER COLUMN id SET DEFAULT nextval('public.mdl_competency_evidence_id_seq'::regclass);


--
-- Name: mdl_competency_framework id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_competency_framework ALTER COLUMN id SET DEFAULT nextval('public.mdl_competency_framework_id_seq'::regclass);


--
-- Name: mdl_competency_modulecomp id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_competency_modulecomp ALTER COLUMN id SET DEFAULT nextval('public.mdl_competency_modulecomp_id_seq'::regclass);


--
-- Name: mdl_competency_plan id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_competency_plan ALTER COLUMN id SET DEFAULT nextval('public.mdl_competency_plan_id_seq'::regclass);


--
-- Name: mdl_competency_plancomp id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_competency_plancomp ALTER COLUMN id SET DEFAULT nextval('public.mdl_competency_plancomp_id_seq'::regclass);


--
-- Name: mdl_competency_relatedcomp id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_competency_relatedcomp ALTER COLUMN id SET DEFAULT nextval('public.mdl_competency_relatedcomp_id_seq'::regclass);


--
-- Name: mdl_competency_template id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_competency_template ALTER COLUMN id SET DEFAULT nextval('public.mdl_competency_template_id_seq'::regclass);


--
-- Name: mdl_competency_templatecohort id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_competency_templatecohort ALTER COLUMN id SET DEFAULT nextval('public.mdl_competency_templatecohort_id_seq'::regclass);


--
-- Name: mdl_competency_templatecomp id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_competency_templatecomp ALTER COLUMN id SET DEFAULT nextval('public.mdl_competency_templatecomp_id_seq'::regclass);


--
-- Name: mdl_competency_usercomp id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_competency_usercomp ALTER COLUMN id SET DEFAULT nextval('public.mdl_competency_usercomp_id_seq'::regclass);


--
-- Name: mdl_competency_usercompcourse id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_competency_usercompcourse ALTER COLUMN id SET DEFAULT nextval('public.mdl_competency_usercompcourse_id_seq'::regclass);


--
-- Name: mdl_competency_usercompplan id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_competency_usercompplan ALTER COLUMN id SET DEFAULT nextval('public.mdl_competency_usercompplan_id_seq'::regclass);


--
-- Name: mdl_competency_userevidence id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_competency_userevidence ALTER COLUMN id SET DEFAULT nextval('public.mdl_competency_userevidence_id_seq'::regclass);


--
-- Name: mdl_competency_userevidencecomp id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_competency_userevidencecomp ALTER COLUMN id SET DEFAULT nextval('public.mdl_competency_userevidencecomp_id_seq'::regclass);


--
-- Name: mdl_config id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_config ALTER COLUMN id SET DEFAULT nextval('public.mdl_config_id_seq'::regclass);


--
-- Name: mdl_config_log id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_config_log ALTER COLUMN id SET DEFAULT nextval('public.mdl_config_log_id_seq'::regclass);


--
-- Name: mdl_config_plugins id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_config_plugins ALTER COLUMN id SET DEFAULT nextval('public.mdl_config_plugins_id_seq'::regclass);


--
-- Name: mdl_contentbank_content id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_contentbank_content ALTER COLUMN id SET DEFAULT nextval('public.mdl_contentbank_content_id_seq'::regclass);


--
-- Name: mdl_context id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_context ALTER COLUMN id SET DEFAULT nextval('public.mdl_context_id_seq'::regclass);


--
-- Name: mdl_course id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_course ALTER COLUMN id SET DEFAULT nextval('public.mdl_course_id_seq'::regclass);


--
-- Name: mdl_course_categories id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_course_categories ALTER COLUMN id SET DEFAULT nextval('public.mdl_course_categories_id_seq'::regclass);


--
-- Name: mdl_course_completion_aggr_methd id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_course_completion_aggr_methd ALTER COLUMN id SET DEFAULT nextval('public.mdl_course_completion_aggr_methd_id_seq'::regclass);


--
-- Name: mdl_course_completion_crit_compl id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_course_completion_crit_compl ALTER COLUMN id SET DEFAULT nextval('public.mdl_course_completion_crit_compl_id_seq'::regclass);


--
-- Name: mdl_course_completion_criteria id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_course_completion_criteria ALTER COLUMN id SET DEFAULT nextval('public.mdl_course_completion_criteria_id_seq'::regclass);


--
-- Name: mdl_course_completion_defaults id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_course_completion_defaults ALTER COLUMN id SET DEFAULT nextval('public.mdl_course_completion_defaults_id_seq'::regclass);


--
-- Name: mdl_course_completions id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_course_completions ALTER COLUMN id SET DEFAULT nextval('public.mdl_course_completions_id_seq'::regclass);


--
-- Name: mdl_course_format_options id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_course_format_options ALTER COLUMN id SET DEFAULT nextval('public.mdl_course_format_options_id_seq'::regclass);


--
-- Name: mdl_course_modules id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_course_modules ALTER COLUMN id SET DEFAULT nextval('public.mdl_course_modules_id_seq'::regclass);


--
-- Name: mdl_course_modules_completion id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_course_modules_completion ALTER COLUMN id SET DEFAULT nextval('public.mdl_course_modules_completion_id_seq'::regclass);


--
-- Name: mdl_course_published id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_course_published ALTER COLUMN id SET DEFAULT nextval('public.mdl_course_published_id_seq'::regclass);


--
-- Name: mdl_course_request id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_course_request ALTER COLUMN id SET DEFAULT nextval('public.mdl_course_request_id_seq'::regclass);


--
-- Name: mdl_course_sections id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_course_sections ALTER COLUMN id SET DEFAULT nextval('public.mdl_course_sections_id_seq'::regclass);


--
-- Name: mdl_customfield_category id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_customfield_category ALTER COLUMN id SET DEFAULT nextval('public.mdl_customfield_category_id_seq'::regclass);


--
-- Name: mdl_customfield_data id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_customfield_data ALTER COLUMN id SET DEFAULT nextval('public.mdl_customfield_data_id_seq'::regclass);


--
-- Name: mdl_customfield_field id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_customfield_field ALTER COLUMN id SET DEFAULT nextval('public.mdl_customfield_field_id_seq'::regclass);


--
-- Name: mdl_data id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_data ALTER COLUMN id SET DEFAULT nextval('public.mdl_data_id_seq'::regclass);


--
-- Name: mdl_data_content id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_data_content ALTER COLUMN id SET DEFAULT nextval('public.mdl_data_content_id_seq'::regclass);


--
-- Name: mdl_data_fields id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_data_fields ALTER COLUMN id SET DEFAULT nextval('public.mdl_data_fields_id_seq'::regclass);


--
-- Name: mdl_data_records id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_data_records ALTER COLUMN id SET DEFAULT nextval('public.mdl_data_records_id_seq'::regclass);


--
-- Name: mdl_editor_atto_autosave id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_editor_atto_autosave ALTER COLUMN id SET DEFAULT nextval('public.mdl_editor_atto_autosave_id_seq'::regclass);


--
-- Name: mdl_enrol id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_enrol ALTER COLUMN id SET DEFAULT nextval('public.mdl_enrol_id_seq'::regclass);


--
-- Name: mdl_enrol_flatfile id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_enrol_flatfile ALTER COLUMN id SET DEFAULT nextval('public.mdl_enrol_flatfile_id_seq'::regclass);


--
-- Name: mdl_enrol_lti_lti2_consumer id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_enrol_lti_lti2_consumer ALTER COLUMN id SET DEFAULT nextval('public.mdl_enrol_lti_lti2_consumer_id_seq'::regclass);


--
-- Name: mdl_enrol_lti_lti2_context id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_enrol_lti_lti2_context ALTER COLUMN id SET DEFAULT nextval('public.mdl_enrol_lti_lti2_context_id_seq'::regclass);


--
-- Name: mdl_enrol_lti_lti2_nonce id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_enrol_lti_lti2_nonce ALTER COLUMN id SET DEFAULT nextval('public.mdl_enrol_lti_lti2_nonce_id_seq'::regclass);


--
-- Name: mdl_enrol_lti_lti2_resource_link id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_enrol_lti_lti2_resource_link ALTER COLUMN id SET DEFAULT nextval('public.mdl_enrol_lti_lti2_resource_link_id_seq'::regclass);


--
-- Name: mdl_enrol_lti_lti2_share_key id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_enrol_lti_lti2_share_key ALTER COLUMN id SET DEFAULT nextval('public.mdl_enrol_lti_lti2_share_key_id_seq'::regclass);


--
-- Name: mdl_enrol_lti_lti2_tool_proxy id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_enrol_lti_lti2_tool_proxy ALTER COLUMN id SET DEFAULT nextval('public.mdl_enrol_lti_lti2_tool_proxy_id_seq'::regclass);


--
-- Name: mdl_enrol_lti_lti2_user_result id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_enrol_lti_lti2_user_result ALTER COLUMN id SET DEFAULT nextval('public.mdl_enrol_lti_lti2_user_result_id_seq'::regclass);


--
-- Name: mdl_enrol_lti_tool_consumer_map id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_enrol_lti_tool_consumer_map ALTER COLUMN id SET DEFAULT nextval('public.mdl_enrol_lti_tool_consumer_map_id_seq'::regclass);


--
-- Name: mdl_enrol_lti_tools id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_enrol_lti_tools ALTER COLUMN id SET DEFAULT nextval('public.mdl_enrol_lti_tools_id_seq'::regclass);


--
-- Name: mdl_enrol_lti_users id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_enrol_lti_users ALTER COLUMN id SET DEFAULT nextval('public.mdl_enrol_lti_users_id_seq'::regclass);


--
-- Name: mdl_enrol_paypal id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_enrol_paypal ALTER COLUMN id SET DEFAULT nextval('public.mdl_enrol_paypal_id_seq'::regclass);


--
-- Name: mdl_event id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_event ALTER COLUMN id SET DEFAULT nextval('public.mdl_event_id_seq'::regclass);


--
-- Name: mdl_event_subscriptions id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_event_subscriptions ALTER COLUMN id SET DEFAULT nextval('public.mdl_event_subscriptions_id_seq'::regclass);


--
-- Name: mdl_events_handlers id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_events_handlers ALTER COLUMN id SET DEFAULT nextval('public.mdl_events_handlers_id_seq'::regclass);


--
-- Name: mdl_events_queue id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_events_queue ALTER COLUMN id SET DEFAULT nextval('public.mdl_events_queue_id_seq'::regclass);


--
-- Name: mdl_events_queue_handlers id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_events_queue_handlers ALTER COLUMN id SET DEFAULT nextval('public.mdl_events_queue_handlers_id_seq'::regclass);


--
-- Name: mdl_external_functions id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_external_functions ALTER COLUMN id SET DEFAULT nextval('public.mdl_external_functions_id_seq'::regclass);


--
-- Name: mdl_external_services id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_external_services ALTER COLUMN id SET DEFAULT nextval('public.mdl_external_services_id_seq'::regclass);


--
-- Name: mdl_external_services_functions id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_external_services_functions ALTER COLUMN id SET DEFAULT nextval('public.mdl_external_services_functions_id_seq'::regclass);


--
-- Name: mdl_external_services_users id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_external_services_users ALTER COLUMN id SET DEFAULT nextval('public.mdl_external_services_users_id_seq'::regclass);


--
-- Name: mdl_external_tokens id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_external_tokens ALTER COLUMN id SET DEFAULT nextval('public.mdl_external_tokens_id_seq'::regclass);


--
-- Name: mdl_favourite id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_favourite ALTER COLUMN id SET DEFAULT nextval('public.mdl_favourite_id_seq'::regclass);


--
-- Name: mdl_feedback id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_feedback ALTER COLUMN id SET DEFAULT nextval('public.mdl_feedback_id_seq'::regclass);


--
-- Name: mdl_feedback_completed id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_feedback_completed ALTER COLUMN id SET DEFAULT nextval('public.mdl_feedback_completed_id_seq'::regclass);


--
-- Name: mdl_feedback_completedtmp id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_feedback_completedtmp ALTER COLUMN id SET DEFAULT nextval('public.mdl_feedback_completedtmp_id_seq'::regclass);


--
-- Name: mdl_feedback_item id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_feedback_item ALTER COLUMN id SET DEFAULT nextval('public.mdl_feedback_item_id_seq'::regclass);


--
-- Name: mdl_feedback_sitecourse_map id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_feedback_sitecourse_map ALTER COLUMN id SET DEFAULT nextval('public.mdl_feedback_sitecourse_map_id_seq'::regclass);


--
-- Name: mdl_feedback_template id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_feedback_template ALTER COLUMN id SET DEFAULT nextval('public.mdl_feedback_template_id_seq'::regclass);


--
-- Name: mdl_feedback_value id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_feedback_value ALTER COLUMN id SET DEFAULT nextval('public.mdl_feedback_value_id_seq'::regclass);


--
-- Name: mdl_feedback_valuetmp id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_feedback_valuetmp ALTER COLUMN id SET DEFAULT nextval('public.mdl_feedback_valuetmp_id_seq'::regclass);


--
-- Name: mdl_file_conversion id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_file_conversion ALTER COLUMN id SET DEFAULT nextval('public.mdl_file_conversion_id_seq'::regclass);


--
-- Name: mdl_files id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_files ALTER COLUMN id SET DEFAULT nextval('public.mdl_files_id_seq'::regclass);


--
-- Name: mdl_files_reference id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_files_reference ALTER COLUMN id SET DEFAULT nextval('public.mdl_files_reference_id_seq'::regclass);


--
-- Name: mdl_filter_active id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_filter_active ALTER COLUMN id SET DEFAULT nextval('public.mdl_filter_active_id_seq'::regclass);


--
-- Name: mdl_filter_config id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_filter_config ALTER COLUMN id SET DEFAULT nextval('public.mdl_filter_config_id_seq'::regclass);


--
-- Name: mdl_folder id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_folder ALTER COLUMN id SET DEFAULT nextval('public.mdl_folder_id_seq'::regclass);


--
-- Name: mdl_forum id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_forum ALTER COLUMN id SET DEFAULT nextval('public.mdl_forum_id_seq'::regclass);


--
-- Name: mdl_forum_digests id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_forum_digests ALTER COLUMN id SET DEFAULT nextval('public.mdl_forum_digests_id_seq'::regclass);


--
-- Name: mdl_forum_discussion_subs id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_forum_discussion_subs ALTER COLUMN id SET DEFAULT nextval('public.mdl_forum_discussion_subs_id_seq'::regclass);


--
-- Name: mdl_forum_discussions id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_forum_discussions ALTER COLUMN id SET DEFAULT nextval('public.mdl_forum_discussions_id_seq'::regclass);


--
-- Name: mdl_forum_grades id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_forum_grades ALTER COLUMN id SET DEFAULT nextval('public.mdl_forum_grades_id_seq'::regclass);


--
-- Name: mdl_forum_posts id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_forum_posts ALTER COLUMN id SET DEFAULT nextval('public.mdl_forum_posts_id_seq'::regclass);


--
-- Name: mdl_forum_queue id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_forum_queue ALTER COLUMN id SET DEFAULT nextval('public.mdl_forum_queue_id_seq'::regclass);


--
-- Name: mdl_forum_read id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_forum_read ALTER COLUMN id SET DEFAULT nextval('public.mdl_forum_read_id_seq'::regclass);


--
-- Name: mdl_forum_subscriptions id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_forum_subscriptions ALTER COLUMN id SET DEFAULT nextval('public.mdl_forum_subscriptions_id_seq'::regclass);


--
-- Name: mdl_forum_track_prefs id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_forum_track_prefs ALTER COLUMN id SET DEFAULT nextval('public.mdl_forum_track_prefs_id_seq'::regclass);


--
-- Name: mdl_glossary id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_glossary ALTER COLUMN id SET DEFAULT nextval('public.mdl_glossary_id_seq'::regclass);


--
-- Name: mdl_glossary_alias id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_glossary_alias ALTER COLUMN id SET DEFAULT nextval('public.mdl_glossary_alias_id_seq'::regclass);


--
-- Name: mdl_glossary_categories id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_glossary_categories ALTER COLUMN id SET DEFAULT nextval('public.mdl_glossary_categories_id_seq'::regclass);


--
-- Name: mdl_glossary_entries id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_glossary_entries ALTER COLUMN id SET DEFAULT nextval('public.mdl_glossary_entries_id_seq'::regclass);


--
-- Name: mdl_glossary_entries_categories id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_glossary_entries_categories ALTER COLUMN id SET DEFAULT nextval('public.mdl_glossary_entries_categories_id_seq'::regclass);


--
-- Name: mdl_glossary_formats id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_glossary_formats ALTER COLUMN id SET DEFAULT nextval('public.mdl_glossary_formats_id_seq'::regclass);


--
-- Name: mdl_grade_categories id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_grade_categories ALTER COLUMN id SET DEFAULT nextval('public.mdl_grade_categories_id_seq'::regclass);


--
-- Name: mdl_grade_categories_history id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_grade_categories_history ALTER COLUMN id SET DEFAULT nextval('public.mdl_grade_categories_history_id_seq'::regclass);


--
-- Name: mdl_grade_grades id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_grade_grades ALTER COLUMN id SET DEFAULT nextval('public.mdl_grade_grades_id_seq'::regclass);


--
-- Name: mdl_grade_grades_history id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_grade_grades_history ALTER COLUMN id SET DEFAULT nextval('public.mdl_grade_grades_history_id_seq'::regclass);


--
-- Name: mdl_grade_import_newitem id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_grade_import_newitem ALTER COLUMN id SET DEFAULT nextval('public.mdl_grade_import_newitem_id_seq'::regclass);


--
-- Name: mdl_grade_import_values id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_grade_import_values ALTER COLUMN id SET DEFAULT nextval('public.mdl_grade_import_values_id_seq'::regclass);


--
-- Name: mdl_grade_items id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_grade_items ALTER COLUMN id SET DEFAULT nextval('public.mdl_grade_items_id_seq'::regclass);


--
-- Name: mdl_grade_items_history id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_grade_items_history ALTER COLUMN id SET DEFAULT nextval('public.mdl_grade_items_history_id_seq'::regclass);


--
-- Name: mdl_grade_letters id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_grade_letters ALTER COLUMN id SET DEFAULT nextval('public.mdl_grade_letters_id_seq'::regclass);


--
-- Name: mdl_grade_outcomes id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_grade_outcomes ALTER COLUMN id SET DEFAULT nextval('public.mdl_grade_outcomes_id_seq'::regclass);


--
-- Name: mdl_grade_outcomes_courses id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_grade_outcomes_courses ALTER COLUMN id SET DEFAULT nextval('public.mdl_grade_outcomes_courses_id_seq'::regclass);


--
-- Name: mdl_grade_outcomes_history id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_grade_outcomes_history ALTER COLUMN id SET DEFAULT nextval('public.mdl_grade_outcomes_history_id_seq'::regclass);


--
-- Name: mdl_grade_settings id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_grade_settings ALTER COLUMN id SET DEFAULT nextval('public.mdl_grade_settings_id_seq'::regclass);


--
-- Name: mdl_grading_areas id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_grading_areas ALTER COLUMN id SET DEFAULT nextval('public.mdl_grading_areas_id_seq'::regclass);


--
-- Name: mdl_grading_definitions id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_grading_definitions ALTER COLUMN id SET DEFAULT nextval('public.mdl_grading_definitions_id_seq'::regclass);


--
-- Name: mdl_grading_instances id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_grading_instances ALTER COLUMN id SET DEFAULT nextval('public.mdl_grading_instances_id_seq'::regclass);


--
-- Name: mdl_gradingform_guide_comments id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_gradingform_guide_comments ALTER COLUMN id SET DEFAULT nextval('public.mdl_gradingform_guide_comments_id_seq'::regclass);


--
-- Name: mdl_gradingform_guide_criteria id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_gradingform_guide_criteria ALTER COLUMN id SET DEFAULT nextval('public.mdl_gradingform_guide_criteria_id_seq'::regclass);


--
-- Name: mdl_gradingform_guide_fillings id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_gradingform_guide_fillings ALTER COLUMN id SET DEFAULT nextval('public.mdl_gradingform_guide_fillings_id_seq'::regclass);


--
-- Name: mdl_gradingform_rubric_criteria id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_gradingform_rubric_criteria ALTER COLUMN id SET DEFAULT nextval('public.mdl_gradingform_rubric_criteria_id_seq'::regclass);


--
-- Name: mdl_gradingform_rubric_fillings id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_gradingform_rubric_fillings ALTER COLUMN id SET DEFAULT nextval('public.mdl_gradingform_rubric_fillings_id_seq'::regclass);


--
-- Name: mdl_gradingform_rubric_levels id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_gradingform_rubric_levels ALTER COLUMN id SET DEFAULT nextval('public.mdl_gradingform_rubric_levels_id_seq'::regclass);


--
-- Name: mdl_groupings id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_groupings ALTER COLUMN id SET DEFAULT nextval('public.mdl_groupings_id_seq'::regclass);


--
-- Name: mdl_groupings_groups id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_groupings_groups ALTER COLUMN id SET DEFAULT nextval('public.mdl_groupings_groups_id_seq'::regclass);


--
-- Name: mdl_groups id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_groups ALTER COLUMN id SET DEFAULT nextval('public.mdl_groups_id_seq'::regclass);


--
-- Name: mdl_groups_members id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_groups_members ALTER COLUMN id SET DEFAULT nextval('public.mdl_groups_members_id_seq'::regclass);


--
-- Name: mdl_h5p id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_h5p ALTER COLUMN id SET DEFAULT nextval('public.mdl_h5p_id_seq'::regclass);


--
-- Name: mdl_h5p_contents_libraries id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_h5p_contents_libraries ALTER COLUMN id SET DEFAULT nextval('public.mdl_h5p_contents_libraries_id_seq'::regclass);


--
-- Name: mdl_h5p_libraries id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_h5p_libraries ALTER COLUMN id SET DEFAULT nextval('public.mdl_h5p_libraries_id_seq'::regclass);


--
-- Name: mdl_h5p_libraries_cachedassets id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_h5p_libraries_cachedassets ALTER COLUMN id SET DEFAULT nextval('public.mdl_h5p_libraries_cachedassets_id_seq'::regclass);


--
-- Name: mdl_h5p_library_dependencies id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_h5p_library_dependencies ALTER COLUMN id SET DEFAULT nextval('public.mdl_h5p_library_dependencies_id_seq'::regclass);


--
-- Name: mdl_h5pactivity id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_h5pactivity ALTER COLUMN id SET DEFAULT nextval('public.mdl_h5pactivity_id_seq'::regclass);


--
-- Name: mdl_h5pactivity_attempts id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_h5pactivity_attempts ALTER COLUMN id SET DEFAULT nextval('public.mdl_h5pactivity_attempts_id_seq'::regclass);


--
-- Name: mdl_h5pactivity_attempts_results id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_h5pactivity_attempts_results ALTER COLUMN id SET DEFAULT nextval('public.mdl_h5pactivity_attempts_results_id_seq'::regclass);


--
-- Name: mdl_imscp id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_imscp ALTER COLUMN id SET DEFAULT nextval('public.mdl_imscp_id_seq'::regclass);


--
-- Name: mdl_infected_files id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_infected_files ALTER COLUMN id SET DEFAULT nextval('public.mdl_infected_files_id_seq'::regclass);


--
-- Name: mdl_jitsi id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_jitsi ALTER COLUMN id SET DEFAULT nextval('public.mdl_jitsi_id_seq'::regclass);


--
-- Name: mdl_label id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_label ALTER COLUMN id SET DEFAULT nextval('public.mdl_label_id_seq'::regclass);


--
-- Name: mdl_lesson id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_lesson ALTER COLUMN id SET DEFAULT nextval('public.mdl_lesson_id_seq'::regclass);


--
-- Name: mdl_lesson_answers id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_lesson_answers ALTER COLUMN id SET DEFAULT nextval('public.mdl_lesson_answers_id_seq'::regclass);


--
-- Name: mdl_lesson_attempts id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_lesson_attempts ALTER COLUMN id SET DEFAULT nextval('public.mdl_lesson_attempts_id_seq'::regclass);


--
-- Name: mdl_lesson_branch id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_lesson_branch ALTER COLUMN id SET DEFAULT nextval('public.mdl_lesson_branch_id_seq'::regclass);


--
-- Name: mdl_lesson_grades id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_lesson_grades ALTER COLUMN id SET DEFAULT nextval('public.mdl_lesson_grades_id_seq'::regclass);


--
-- Name: mdl_lesson_overrides id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_lesson_overrides ALTER COLUMN id SET DEFAULT nextval('public.mdl_lesson_overrides_id_seq'::regclass);


--
-- Name: mdl_lesson_pages id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_lesson_pages ALTER COLUMN id SET DEFAULT nextval('public.mdl_lesson_pages_id_seq'::regclass);


--
-- Name: mdl_lesson_timer id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_lesson_timer ALTER COLUMN id SET DEFAULT nextval('public.mdl_lesson_timer_id_seq'::regclass);


--
-- Name: mdl_license id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_license ALTER COLUMN id SET DEFAULT nextval('public.mdl_license_id_seq'::regclass);


--
-- Name: mdl_lock_db id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_lock_db ALTER COLUMN id SET DEFAULT nextval('public.mdl_lock_db_id_seq'::regclass);


--
-- Name: mdl_log id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_log ALTER COLUMN id SET DEFAULT nextval('public.mdl_log_id_seq'::regclass);


--
-- Name: mdl_log_display id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_log_display ALTER COLUMN id SET DEFAULT nextval('public.mdl_log_display_id_seq'::regclass);


--
-- Name: mdl_log_queries id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_log_queries ALTER COLUMN id SET DEFAULT nextval('public.mdl_log_queries_id_seq'::regclass);


--
-- Name: mdl_logstore_standard_log id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_logstore_standard_log ALTER COLUMN id SET DEFAULT nextval('public.mdl_logstore_standard_log_id_seq'::regclass);


--
-- Name: mdl_lti id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_lti ALTER COLUMN id SET DEFAULT nextval('public.mdl_lti_id_seq'::regclass);


--
-- Name: mdl_lti_access_tokens id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_lti_access_tokens ALTER COLUMN id SET DEFAULT nextval('public.mdl_lti_access_tokens_id_seq'::regclass);


--
-- Name: mdl_lti_submission id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_lti_submission ALTER COLUMN id SET DEFAULT nextval('public.mdl_lti_submission_id_seq'::regclass);


--
-- Name: mdl_lti_tool_proxies id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_lti_tool_proxies ALTER COLUMN id SET DEFAULT nextval('public.mdl_lti_tool_proxies_id_seq'::regclass);


--
-- Name: mdl_lti_tool_settings id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_lti_tool_settings ALTER COLUMN id SET DEFAULT nextval('public.mdl_lti_tool_settings_id_seq'::regclass);


--
-- Name: mdl_lti_types id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_lti_types ALTER COLUMN id SET DEFAULT nextval('public.mdl_lti_types_id_seq'::regclass);


--
-- Name: mdl_lti_types_config id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_lti_types_config ALTER COLUMN id SET DEFAULT nextval('public.mdl_lti_types_config_id_seq'::regclass);


--
-- Name: mdl_ltiservice_gradebookservices id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_ltiservice_gradebookservices ALTER COLUMN id SET DEFAULT nextval('public.mdl_ltiservice_gradebookservices_id_seq'::regclass);


--
-- Name: mdl_message id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_message ALTER COLUMN id SET DEFAULT nextval('public.mdl_message_id_seq'::regclass);


--
-- Name: mdl_message_airnotifier_devices id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_message_airnotifier_devices ALTER COLUMN id SET DEFAULT nextval('public.mdl_message_airnotifier_devices_id_seq'::regclass);


--
-- Name: mdl_message_contact_requests id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_message_contact_requests ALTER COLUMN id SET DEFAULT nextval('public.mdl_message_contact_requests_id_seq'::regclass);


--
-- Name: mdl_message_contacts id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_message_contacts ALTER COLUMN id SET DEFAULT nextval('public.mdl_message_contacts_id_seq'::regclass);


--
-- Name: mdl_message_conversation_actions id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_message_conversation_actions ALTER COLUMN id SET DEFAULT nextval('public.mdl_message_conversation_actions_id_seq'::regclass);


--
-- Name: mdl_message_conversation_members id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_message_conversation_members ALTER COLUMN id SET DEFAULT nextval('public.mdl_message_conversation_members_id_seq'::regclass);


--
-- Name: mdl_message_conversations id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_message_conversations ALTER COLUMN id SET DEFAULT nextval('public.mdl_message_conversations_id_seq'::regclass);


--
-- Name: mdl_message_email_messages id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_message_email_messages ALTER COLUMN id SET DEFAULT nextval('public.mdl_message_email_messages_id_seq'::regclass);


--
-- Name: mdl_message_popup id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_message_popup ALTER COLUMN id SET DEFAULT nextval('public.mdl_message_popup_id_seq'::regclass);


--
-- Name: mdl_message_popup_notifications id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_message_popup_notifications ALTER COLUMN id SET DEFAULT nextval('public.mdl_message_popup_notifications_id_seq'::regclass);


--
-- Name: mdl_message_processors id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_message_processors ALTER COLUMN id SET DEFAULT nextval('public.mdl_message_processors_id_seq'::regclass);


--
-- Name: mdl_message_providers id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_message_providers ALTER COLUMN id SET DEFAULT nextval('public.mdl_message_providers_id_seq'::regclass);


--
-- Name: mdl_message_read id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_message_read ALTER COLUMN id SET DEFAULT nextval('public.mdl_message_read_id_seq'::regclass);


--
-- Name: mdl_message_user_actions id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_message_user_actions ALTER COLUMN id SET DEFAULT nextval('public.mdl_message_user_actions_id_seq'::regclass);


--
-- Name: mdl_message_users_blocked id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_message_users_blocked ALTER COLUMN id SET DEFAULT nextval('public.mdl_message_users_blocked_id_seq'::regclass);


--
-- Name: mdl_messageinbound_datakeys id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_messageinbound_datakeys ALTER COLUMN id SET DEFAULT nextval('public.mdl_messageinbound_datakeys_id_seq'::regclass);


--
-- Name: mdl_messageinbound_handlers id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_messageinbound_handlers ALTER COLUMN id SET DEFAULT nextval('public.mdl_messageinbound_handlers_id_seq'::regclass);


--
-- Name: mdl_messageinbound_messagelist id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_messageinbound_messagelist ALTER COLUMN id SET DEFAULT nextval('public.mdl_messageinbound_messagelist_id_seq'::regclass);


--
-- Name: mdl_messages id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_messages ALTER COLUMN id SET DEFAULT nextval('public.mdl_messages_id_seq'::regclass);


--
-- Name: mdl_mnet_application id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_mnet_application ALTER COLUMN id SET DEFAULT nextval('public.mdl_mnet_application_id_seq'::regclass);


--
-- Name: mdl_mnet_host id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_mnet_host ALTER COLUMN id SET DEFAULT nextval('public.mdl_mnet_host_id_seq'::regclass);


--
-- Name: mdl_mnet_host2service id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_mnet_host2service ALTER COLUMN id SET DEFAULT nextval('public.mdl_mnet_host2service_id_seq'::regclass);


--
-- Name: mdl_mnet_log id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_mnet_log ALTER COLUMN id SET DEFAULT nextval('public.mdl_mnet_log_id_seq'::regclass);


--
-- Name: mdl_mnet_remote_rpc id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_mnet_remote_rpc ALTER COLUMN id SET DEFAULT nextval('public.mdl_mnet_remote_rpc_id_seq'::regclass);


--
-- Name: mdl_mnet_remote_service2rpc id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_mnet_remote_service2rpc ALTER COLUMN id SET DEFAULT nextval('public.mdl_mnet_remote_service2rpc_id_seq'::regclass);


--
-- Name: mdl_mnet_rpc id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_mnet_rpc ALTER COLUMN id SET DEFAULT nextval('public.mdl_mnet_rpc_id_seq'::regclass);


--
-- Name: mdl_mnet_service id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_mnet_service ALTER COLUMN id SET DEFAULT nextval('public.mdl_mnet_service_id_seq'::regclass);


--
-- Name: mdl_mnet_service2rpc id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_mnet_service2rpc ALTER COLUMN id SET DEFAULT nextval('public.mdl_mnet_service2rpc_id_seq'::regclass);


--
-- Name: mdl_mnet_session id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_mnet_session ALTER COLUMN id SET DEFAULT nextval('public.mdl_mnet_session_id_seq'::regclass);


--
-- Name: mdl_mnet_sso_access_control id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_mnet_sso_access_control ALTER COLUMN id SET DEFAULT nextval('public.mdl_mnet_sso_access_control_id_seq'::regclass);


--
-- Name: mdl_mnetservice_enrol_courses id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_mnetservice_enrol_courses ALTER COLUMN id SET DEFAULT nextval('public.mdl_mnetservice_enrol_courses_id_seq'::regclass);


--
-- Name: mdl_mnetservice_enrol_enrolments id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_mnetservice_enrol_enrolments ALTER COLUMN id SET DEFAULT nextval('public.mdl_mnetservice_enrol_enrolments_id_seq'::regclass);


--
-- Name: mdl_modules id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_modules ALTER COLUMN id SET DEFAULT nextval('public.mdl_modules_id_seq'::regclass);


--
-- Name: mdl_my_pages id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_my_pages ALTER COLUMN id SET DEFAULT nextval('public.mdl_my_pages_id_seq'::regclass);


--
-- Name: mdl_notifications id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_notifications ALTER COLUMN id SET DEFAULT nextval('public.mdl_notifications_id_seq'::regclass);


--
-- Name: mdl_oauth2_access_token id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_oauth2_access_token ALTER COLUMN id SET DEFAULT nextval('public.mdl_oauth2_access_token_id_seq'::regclass);


--
-- Name: mdl_oauth2_endpoint id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_oauth2_endpoint ALTER COLUMN id SET DEFAULT nextval('public.mdl_oauth2_endpoint_id_seq'::regclass);


--
-- Name: mdl_oauth2_issuer id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_oauth2_issuer ALTER COLUMN id SET DEFAULT nextval('public.mdl_oauth2_issuer_id_seq'::regclass);


--
-- Name: mdl_oauth2_refresh_token id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_oauth2_refresh_token ALTER COLUMN id SET DEFAULT nextval('public.mdl_oauth2_refresh_token_id_seq'::regclass);


--
-- Name: mdl_oauth2_system_account id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_oauth2_system_account ALTER COLUMN id SET DEFAULT nextval('public.mdl_oauth2_system_account_id_seq'::regclass);


--
-- Name: mdl_oauth2_user_field_mapping id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_oauth2_user_field_mapping ALTER COLUMN id SET DEFAULT nextval('public.mdl_oauth2_user_field_mapping_id_seq'::regclass);


--
-- Name: mdl_page id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_page ALTER COLUMN id SET DEFAULT nextval('public.mdl_page_id_seq'::regclass);


--
-- Name: mdl_paygw_paypal id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_paygw_paypal ALTER COLUMN id SET DEFAULT nextval('public.mdl_paygw_paypal_id_seq'::regclass);


--
-- Name: mdl_payment_accounts id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_payment_accounts ALTER COLUMN id SET DEFAULT nextval('public.mdl_payment_accounts_id_seq'::regclass);


--
-- Name: mdl_payment_gateways id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_payment_gateways ALTER COLUMN id SET DEFAULT nextval('public.mdl_payment_gateways_id_seq'::regclass);


--
-- Name: mdl_payments id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_payments ALTER COLUMN id SET DEFAULT nextval('public.mdl_payments_id_seq'::regclass);


--
-- Name: mdl_portfolio_instance id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_portfolio_instance ALTER COLUMN id SET DEFAULT nextval('public.mdl_portfolio_instance_id_seq'::regclass);


--
-- Name: mdl_portfolio_instance_config id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_portfolio_instance_config ALTER COLUMN id SET DEFAULT nextval('public.mdl_portfolio_instance_config_id_seq'::regclass);


--
-- Name: mdl_portfolio_instance_user id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_portfolio_instance_user ALTER COLUMN id SET DEFAULT nextval('public.mdl_portfolio_instance_user_id_seq'::regclass);


--
-- Name: mdl_portfolio_log id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_portfolio_log ALTER COLUMN id SET DEFAULT nextval('public.mdl_portfolio_log_id_seq'::regclass);


--
-- Name: mdl_portfolio_mahara_queue id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_portfolio_mahara_queue ALTER COLUMN id SET DEFAULT nextval('public.mdl_portfolio_mahara_queue_id_seq'::regclass);


--
-- Name: mdl_portfolio_tempdata id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_portfolio_tempdata ALTER COLUMN id SET DEFAULT nextval('public.mdl_portfolio_tempdata_id_seq'::regclass);


--
-- Name: mdl_post id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_post ALTER COLUMN id SET DEFAULT nextval('public.mdl_post_id_seq'::regclass);


--
-- Name: mdl_profiling id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_profiling ALTER COLUMN id SET DEFAULT nextval('public.mdl_profiling_id_seq'::regclass);


--
-- Name: mdl_qtype_ddimageortext id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_qtype_ddimageortext ALTER COLUMN id SET DEFAULT nextval('public.mdl_qtype_ddimageortext_id_seq'::regclass);


--
-- Name: mdl_qtype_ddimageortext_drags id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_qtype_ddimageortext_drags ALTER COLUMN id SET DEFAULT nextval('public.mdl_qtype_ddimageortext_drags_id_seq'::regclass);


--
-- Name: mdl_qtype_ddimageortext_drops id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_qtype_ddimageortext_drops ALTER COLUMN id SET DEFAULT nextval('public.mdl_qtype_ddimageortext_drops_id_seq'::regclass);


--
-- Name: mdl_qtype_ddmarker id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_qtype_ddmarker ALTER COLUMN id SET DEFAULT nextval('public.mdl_qtype_ddmarker_id_seq'::regclass);


--
-- Name: mdl_qtype_ddmarker_drags id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_qtype_ddmarker_drags ALTER COLUMN id SET DEFAULT nextval('public.mdl_qtype_ddmarker_drags_id_seq'::regclass);


--
-- Name: mdl_qtype_ddmarker_drops id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_qtype_ddmarker_drops ALTER COLUMN id SET DEFAULT nextval('public.mdl_qtype_ddmarker_drops_id_seq'::regclass);


--
-- Name: mdl_qtype_essay_options id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_qtype_essay_options ALTER COLUMN id SET DEFAULT nextval('public.mdl_qtype_essay_options_id_seq'::regclass);


--
-- Name: mdl_qtype_match_options id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_qtype_match_options ALTER COLUMN id SET DEFAULT nextval('public.mdl_qtype_match_options_id_seq'::regclass);


--
-- Name: mdl_qtype_match_subquestions id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_qtype_match_subquestions ALTER COLUMN id SET DEFAULT nextval('public.mdl_qtype_match_subquestions_id_seq'::regclass);


--
-- Name: mdl_qtype_multichoice_options id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_qtype_multichoice_options ALTER COLUMN id SET DEFAULT nextval('public.mdl_qtype_multichoice_options_id_seq'::regclass);


--
-- Name: mdl_qtype_randomsamatch_options id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_qtype_randomsamatch_options ALTER COLUMN id SET DEFAULT nextval('public.mdl_qtype_randomsamatch_options_id_seq'::regclass);


--
-- Name: mdl_qtype_shortanswer_options id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_qtype_shortanswer_options ALTER COLUMN id SET DEFAULT nextval('public.mdl_qtype_shortanswer_options_id_seq'::regclass);


--
-- Name: mdl_question id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_question ALTER COLUMN id SET DEFAULT nextval('public.mdl_question_id_seq'::regclass);


--
-- Name: mdl_question_answers id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_question_answers ALTER COLUMN id SET DEFAULT nextval('public.mdl_question_answers_id_seq'::regclass);


--
-- Name: mdl_question_attempt_step_data id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_question_attempt_step_data ALTER COLUMN id SET DEFAULT nextval('public.mdl_question_attempt_step_data_id_seq'::regclass);


--
-- Name: mdl_question_attempt_steps id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_question_attempt_steps ALTER COLUMN id SET DEFAULT nextval('public.mdl_question_attempt_steps_id_seq'::regclass);


--
-- Name: mdl_question_attempts id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_question_attempts ALTER COLUMN id SET DEFAULT nextval('public.mdl_question_attempts_id_seq'::regclass);


--
-- Name: mdl_question_calculated id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_question_calculated ALTER COLUMN id SET DEFAULT nextval('public.mdl_question_calculated_id_seq'::regclass);


--
-- Name: mdl_question_calculated_options id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_question_calculated_options ALTER COLUMN id SET DEFAULT nextval('public.mdl_question_calculated_options_id_seq'::regclass);


--
-- Name: mdl_question_categories id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_question_categories ALTER COLUMN id SET DEFAULT nextval('public.mdl_question_categories_id_seq'::regclass);


--
-- Name: mdl_question_dataset_definitions id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_question_dataset_definitions ALTER COLUMN id SET DEFAULT nextval('public.mdl_question_dataset_definitions_id_seq'::regclass);


--
-- Name: mdl_question_dataset_items id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_question_dataset_items ALTER COLUMN id SET DEFAULT nextval('public.mdl_question_dataset_items_id_seq'::regclass);


--
-- Name: mdl_question_datasets id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_question_datasets ALTER COLUMN id SET DEFAULT nextval('public.mdl_question_datasets_id_seq'::regclass);


--
-- Name: mdl_question_ddwtos id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_question_ddwtos ALTER COLUMN id SET DEFAULT nextval('public.mdl_question_ddwtos_id_seq'::regclass);


--
-- Name: mdl_question_gapselect id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_question_gapselect ALTER COLUMN id SET DEFAULT nextval('public.mdl_question_gapselect_id_seq'::regclass);


--
-- Name: mdl_question_hints id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_question_hints ALTER COLUMN id SET DEFAULT nextval('public.mdl_question_hints_id_seq'::regclass);


--
-- Name: mdl_question_multianswer id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_question_multianswer ALTER COLUMN id SET DEFAULT nextval('public.mdl_question_multianswer_id_seq'::regclass);


--
-- Name: mdl_question_numerical id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_question_numerical ALTER COLUMN id SET DEFAULT nextval('public.mdl_question_numerical_id_seq'::regclass);


--
-- Name: mdl_question_numerical_options id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_question_numerical_options ALTER COLUMN id SET DEFAULT nextval('public.mdl_question_numerical_options_id_seq'::regclass);


--
-- Name: mdl_question_numerical_units id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_question_numerical_units ALTER COLUMN id SET DEFAULT nextval('public.mdl_question_numerical_units_id_seq'::regclass);


--
-- Name: mdl_question_response_analysis id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_question_response_analysis ALTER COLUMN id SET DEFAULT nextval('public.mdl_question_response_analysis_id_seq'::regclass);


--
-- Name: mdl_question_response_count id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_question_response_count ALTER COLUMN id SET DEFAULT nextval('public.mdl_question_response_count_id_seq'::regclass);


--
-- Name: mdl_question_statistics id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_question_statistics ALTER COLUMN id SET DEFAULT nextval('public.mdl_question_statistics_id_seq'::regclass);


--
-- Name: mdl_question_truefalse id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_question_truefalse ALTER COLUMN id SET DEFAULT nextval('public.mdl_question_truefalse_id_seq'::regclass);


--
-- Name: mdl_question_usages id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_question_usages ALTER COLUMN id SET DEFAULT nextval('public.mdl_question_usages_id_seq'::regclass);


--
-- Name: mdl_quiz id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_quiz ALTER COLUMN id SET DEFAULT nextval('public.mdl_quiz_id_seq'::regclass);


--
-- Name: mdl_quiz_attempts id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_quiz_attempts ALTER COLUMN id SET DEFAULT nextval('public.mdl_quiz_attempts_id_seq'::regclass);


--
-- Name: mdl_quiz_feedback id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_quiz_feedback ALTER COLUMN id SET DEFAULT nextval('public.mdl_quiz_feedback_id_seq'::regclass);


--
-- Name: mdl_quiz_grades id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_quiz_grades ALTER COLUMN id SET DEFAULT nextval('public.mdl_quiz_grades_id_seq'::regclass);


--
-- Name: mdl_quiz_overrides id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_quiz_overrides ALTER COLUMN id SET DEFAULT nextval('public.mdl_quiz_overrides_id_seq'::regclass);


--
-- Name: mdl_quiz_overview_regrades id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_quiz_overview_regrades ALTER COLUMN id SET DEFAULT nextval('public.mdl_quiz_overview_regrades_id_seq'::regclass);


--
-- Name: mdl_quiz_reports id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_quiz_reports ALTER COLUMN id SET DEFAULT nextval('public.mdl_quiz_reports_id_seq'::regclass);


--
-- Name: mdl_quiz_sections id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_quiz_sections ALTER COLUMN id SET DEFAULT nextval('public.mdl_quiz_sections_id_seq'::regclass);


--
-- Name: mdl_quiz_slot_tags id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_quiz_slot_tags ALTER COLUMN id SET DEFAULT nextval('public.mdl_quiz_slot_tags_id_seq'::regclass);


--
-- Name: mdl_quiz_slots id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_quiz_slots ALTER COLUMN id SET DEFAULT nextval('public.mdl_quiz_slots_id_seq'::regclass);


--
-- Name: mdl_quiz_statistics id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_quiz_statistics ALTER COLUMN id SET DEFAULT nextval('public.mdl_quiz_statistics_id_seq'::regclass);


--
-- Name: mdl_quizaccess_seb_quizsettings id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_quizaccess_seb_quizsettings ALTER COLUMN id SET DEFAULT nextval('public.mdl_quizaccess_seb_quizsettings_id_seq'::regclass);


--
-- Name: mdl_quizaccess_seb_template id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_quizaccess_seb_template ALTER COLUMN id SET DEFAULT nextval('public.mdl_quizaccess_seb_template_id_seq'::regclass);


--
-- Name: mdl_rating id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_rating ALTER COLUMN id SET DEFAULT nextval('public.mdl_rating_id_seq'::regclass);


--
-- Name: mdl_registration_hubs id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_registration_hubs ALTER COLUMN id SET DEFAULT nextval('public.mdl_registration_hubs_id_seq'::regclass);


--
-- Name: mdl_repository id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_repository ALTER COLUMN id SET DEFAULT nextval('public.mdl_repository_id_seq'::regclass);


--
-- Name: mdl_repository_instance_config id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_repository_instance_config ALTER COLUMN id SET DEFAULT nextval('public.mdl_repository_instance_config_id_seq'::regclass);


--
-- Name: mdl_repository_instances id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_repository_instances ALTER COLUMN id SET DEFAULT nextval('public.mdl_repository_instances_id_seq'::regclass);


--
-- Name: mdl_repository_onedrive_access id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_repository_onedrive_access ALTER COLUMN id SET DEFAULT nextval('public.mdl_repository_onedrive_access_id_seq'::regclass);


--
-- Name: mdl_resource id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_resource ALTER COLUMN id SET DEFAULT nextval('public.mdl_resource_id_seq'::regclass);


--
-- Name: mdl_resource_old id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_resource_old ALTER COLUMN id SET DEFAULT nextval('public.mdl_resource_old_id_seq'::regclass);


--
-- Name: mdl_role id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_role ALTER COLUMN id SET DEFAULT nextval('public.mdl_role_id_seq'::regclass);


--
-- Name: mdl_role_allow_assign id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_role_allow_assign ALTER COLUMN id SET DEFAULT nextval('public.mdl_role_allow_assign_id_seq'::regclass);


--
-- Name: mdl_role_allow_override id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_role_allow_override ALTER COLUMN id SET DEFAULT nextval('public.mdl_role_allow_override_id_seq'::regclass);


--
-- Name: mdl_role_allow_switch id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_role_allow_switch ALTER COLUMN id SET DEFAULT nextval('public.mdl_role_allow_switch_id_seq'::regclass);


--
-- Name: mdl_role_allow_view id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_role_allow_view ALTER COLUMN id SET DEFAULT nextval('public.mdl_role_allow_view_id_seq'::regclass);


--
-- Name: mdl_role_assignments id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_role_assignments ALTER COLUMN id SET DEFAULT nextval('public.mdl_role_assignments_id_seq'::regclass);


--
-- Name: mdl_role_capabilities id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_role_capabilities ALTER COLUMN id SET DEFAULT nextval('public.mdl_role_capabilities_id_seq'::regclass);


--
-- Name: mdl_role_context_levels id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_role_context_levels ALTER COLUMN id SET DEFAULT nextval('public.mdl_role_context_levels_id_seq'::regclass);


--
-- Name: mdl_role_names id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_role_names ALTER COLUMN id SET DEFAULT nextval('public.mdl_role_names_id_seq'::regclass);


--
-- Name: mdl_scale id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_scale ALTER COLUMN id SET DEFAULT nextval('public.mdl_scale_id_seq'::regclass);


--
-- Name: mdl_scale_history id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_scale_history ALTER COLUMN id SET DEFAULT nextval('public.mdl_scale_history_id_seq'::regclass);


--
-- Name: mdl_scorm id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_scorm ALTER COLUMN id SET DEFAULT nextval('public.mdl_scorm_id_seq'::regclass);


--
-- Name: mdl_scorm_aicc_session id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_scorm_aicc_session ALTER COLUMN id SET DEFAULT nextval('public.mdl_scorm_aicc_session_id_seq'::regclass);


--
-- Name: mdl_scorm_scoes id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_scorm_scoes ALTER COLUMN id SET DEFAULT nextval('public.mdl_scorm_scoes_id_seq'::regclass);


--
-- Name: mdl_scorm_scoes_data id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_scorm_scoes_data ALTER COLUMN id SET DEFAULT nextval('public.mdl_scorm_scoes_data_id_seq'::regclass);


--
-- Name: mdl_scorm_scoes_track id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_scorm_scoes_track ALTER COLUMN id SET DEFAULT nextval('public.mdl_scorm_scoes_track_id_seq'::regclass);


--
-- Name: mdl_scorm_seq_mapinfo id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_scorm_seq_mapinfo ALTER COLUMN id SET DEFAULT nextval('public.mdl_scorm_seq_mapinfo_id_seq'::regclass);


--
-- Name: mdl_scorm_seq_objective id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_scorm_seq_objective ALTER COLUMN id SET DEFAULT nextval('public.mdl_scorm_seq_objective_id_seq'::regclass);


--
-- Name: mdl_scorm_seq_rolluprule id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_scorm_seq_rolluprule ALTER COLUMN id SET DEFAULT nextval('public.mdl_scorm_seq_rolluprule_id_seq'::regclass);


--
-- Name: mdl_scorm_seq_rolluprulecond id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_scorm_seq_rolluprulecond ALTER COLUMN id SET DEFAULT nextval('public.mdl_scorm_seq_rolluprulecond_id_seq'::regclass);


--
-- Name: mdl_scorm_seq_rulecond id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_scorm_seq_rulecond ALTER COLUMN id SET DEFAULT nextval('public.mdl_scorm_seq_rulecond_id_seq'::regclass);


--
-- Name: mdl_scorm_seq_ruleconds id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_scorm_seq_ruleconds ALTER COLUMN id SET DEFAULT nextval('public.mdl_scorm_seq_ruleconds_id_seq'::regclass);


--
-- Name: mdl_search_index_requests id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_search_index_requests ALTER COLUMN id SET DEFAULT nextval('public.mdl_search_index_requests_id_seq'::regclass);


--
-- Name: mdl_search_simpledb_index id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_search_simpledb_index ALTER COLUMN id SET DEFAULT nextval('public.mdl_search_simpledb_index_id_seq'::regclass);


--
-- Name: mdl_sessions id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_sessions ALTER COLUMN id SET DEFAULT nextval('public.mdl_sessions_id_seq'::regclass);


--
-- Name: mdl_stats_daily id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_stats_daily ALTER COLUMN id SET DEFAULT nextval('public.mdl_stats_daily_id_seq'::regclass);


--
-- Name: mdl_stats_monthly id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_stats_monthly ALTER COLUMN id SET DEFAULT nextval('public.mdl_stats_monthly_id_seq'::regclass);


--
-- Name: mdl_stats_user_daily id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_stats_user_daily ALTER COLUMN id SET DEFAULT nextval('public.mdl_stats_user_daily_id_seq'::regclass);


--
-- Name: mdl_stats_user_monthly id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_stats_user_monthly ALTER COLUMN id SET DEFAULT nextval('public.mdl_stats_user_monthly_id_seq'::regclass);


--
-- Name: mdl_stats_user_weekly id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_stats_user_weekly ALTER COLUMN id SET DEFAULT nextval('public.mdl_stats_user_weekly_id_seq'::regclass);


--
-- Name: mdl_stats_weekly id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_stats_weekly ALTER COLUMN id SET DEFAULT nextval('public.mdl_stats_weekly_id_seq'::regclass);


--
-- Name: mdl_survey id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_survey ALTER COLUMN id SET DEFAULT nextval('public.mdl_survey_id_seq'::regclass);


--
-- Name: mdl_survey_analysis id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_survey_analysis ALTER COLUMN id SET DEFAULT nextval('public.mdl_survey_analysis_id_seq'::regclass);


--
-- Name: mdl_survey_answers id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_survey_answers ALTER COLUMN id SET DEFAULT nextval('public.mdl_survey_answers_id_seq'::regclass);


--
-- Name: mdl_survey_questions id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_survey_questions ALTER COLUMN id SET DEFAULT nextval('public.mdl_survey_questions_id_seq'::regclass);


--
-- Name: mdl_tag id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_tag ALTER COLUMN id SET DEFAULT nextval('public.mdl_tag_id_seq'::regclass);


--
-- Name: mdl_tag_area id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_tag_area ALTER COLUMN id SET DEFAULT nextval('public.mdl_tag_area_id_seq'::regclass);


--
-- Name: mdl_tag_coll id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_tag_coll ALTER COLUMN id SET DEFAULT nextval('public.mdl_tag_coll_id_seq'::regclass);


--
-- Name: mdl_tag_correlation id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_tag_correlation ALTER COLUMN id SET DEFAULT nextval('public.mdl_tag_correlation_id_seq'::regclass);


--
-- Name: mdl_tag_instance id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_tag_instance ALTER COLUMN id SET DEFAULT nextval('public.mdl_tag_instance_id_seq'::regclass);


--
-- Name: mdl_task_adhoc id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_task_adhoc ALTER COLUMN id SET DEFAULT nextval('public.mdl_task_adhoc_id_seq'::regclass);


--
-- Name: mdl_task_log id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_task_log ALTER COLUMN id SET DEFAULT nextval('public.mdl_task_log_id_seq'::regclass);


--
-- Name: mdl_task_scheduled id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_task_scheduled ALTER COLUMN id SET DEFAULT nextval('public.mdl_task_scheduled_id_seq'::regclass);


--
-- Name: mdl_tool_cohortroles id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_tool_cohortroles ALTER COLUMN id SET DEFAULT nextval('public.mdl_tool_cohortroles_id_seq'::regclass);


--
-- Name: mdl_tool_customlang id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_tool_customlang ALTER COLUMN id SET DEFAULT nextval('public.mdl_tool_customlang_id_seq'::regclass);


--
-- Name: mdl_tool_customlang_components id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_tool_customlang_components ALTER COLUMN id SET DEFAULT nextval('public.mdl_tool_customlang_components_id_seq'::regclass);


--
-- Name: mdl_tool_dataprivacy_category id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_tool_dataprivacy_category ALTER COLUMN id SET DEFAULT nextval('public.mdl_tool_dataprivacy_category_id_seq'::regclass);


--
-- Name: mdl_tool_dataprivacy_ctxexpired id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_tool_dataprivacy_ctxexpired ALTER COLUMN id SET DEFAULT nextval('public.mdl_tool_dataprivacy_ctxexpired_id_seq'::regclass);


--
-- Name: mdl_tool_dataprivacy_ctxinstance id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_tool_dataprivacy_ctxinstance ALTER COLUMN id SET DEFAULT nextval('public.mdl_tool_dataprivacy_ctxinstance_id_seq'::regclass);


--
-- Name: mdl_tool_dataprivacy_ctxlevel id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_tool_dataprivacy_ctxlevel ALTER COLUMN id SET DEFAULT nextval('public.mdl_tool_dataprivacy_ctxlevel_id_seq'::regclass);


--
-- Name: mdl_tool_dataprivacy_purpose id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_tool_dataprivacy_purpose ALTER COLUMN id SET DEFAULT nextval('public.mdl_tool_dataprivacy_purpose_id_seq'::regclass);


--
-- Name: mdl_tool_dataprivacy_purposerole id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_tool_dataprivacy_purposerole ALTER COLUMN id SET DEFAULT nextval('public.mdl_tool_dataprivacy_purposerole_id_seq'::regclass);


--
-- Name: mdl_tool_dataprivacy_request id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_tool_dataprivacy_request ALTER COLUMN id SET DEFAULT nextval('public.mdl_tool_dataprivacy_request_id_seq'::regclass);


--
-- Name: mdl_tool_monitor_events id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_tool_monitor_events ALTER COLUMN id SET DEFAULT nextval('public.mdl_tool_monitor_events_id_seq'::regclass);


--
-- Name: mdl_tool_monitor_history id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_tool_monitor_history ALTER COLUMN id SET DEFAULT nextval('public.mdl_tool_monitor_history_id_seq'::regclass);


--
-- Name: mdl_tool_monitor_rules id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_tool_monitor_rules ALTER COLUMN id SET DEFAULT nextval('public.mdl_tool_monitor_rules_id_seq'::regclass);


--
-- Name: mdl_tool_monitor_subscriptions id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_tool_monitor_subscriptions ALTER COLUMN id SET DEFAULT nextval('public.mdl_tool_monitor_subscriptions_id_seq'::regclass);


--
-- Name: mdl_tool_policy id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_tool_policy ALTER COLUMN id SET DEFAULT nextval('public.mdl_tool_policy_id_seq'::regclass);


--
-- Name: mdl_tool_policy_acceptances id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_tool_policy_acceptances ALTER COLUMN id SET DEFAULT nextval('public.mdl_tool_policy_acceptances_id_seq'::regclass);


--
-- Name: mdl_tool_policy_versions id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_tool_policy_versions ALTER COLUMN id SET DEFAULT nextval('public.mdl_tool_policy_versions_id_seq'::regclass);


--
-- Name: mdl_tool_recyclebin_category id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_tool_recyclebin_category ALTER COLUMN id SET DEFAULT nextval('public.mdl_tool_recyclebin_category_id_seq'::regclass);


--
-- Name: mdl_tool_recyclebin_course id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_tool_recyclebin_course ALTER COLUMN id SET DEFAULT nextval('public.mdl_tool_recyclebin_course_id_seq'::regclass);


--
-- Name: mdl_tool_usertours_steps id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_tool_usertours_steps ALTER COLUMN id SET DEFAULT nextval('public.mdl_tool_usertours_steps_id_seq'::regclass);


--
-- Name: mdl_tool_usertours_tours id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_tool_usertours_tours ALTER COLUMN id SET DEFAULT nextval('public.mdl_tool_usertours_tours_id_seq'::regclass);


--
-- Name: mdl_upgrade_log id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_upgrade_log ALTER COLUMN id SET DEFAULT nextval('public.mdl_upgrade_log_id_seq'::regclass);


--
-- Name: mdl_url id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_url ALTER COLUMN id SET DEFAULT nextval('public.mdl_url_id_seq'::regclass);


--
-- Name: mdl_user id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_user ALTER COLUMN id SET DEFAULT nextval('public.mdl_user_id_seq'::regclass);


--
-- Name: mdl_user_devices id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_user_devices ALTER COLUMN id SET DEFAULT nextval('public.mdl_user_devices_id_seq'::regclass);


--
-- Name: mdl_user_enrolments id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_user_enrolments ALTER COLUMN id SET DEFAULT nextval('public.mdl_user_enrolments_id_seq'::regclass);


--
-- Name: mdl_user_info_category id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_user_info_category ALTER COLUMN id SET DEFAULT nextval('public.mdl_user_info_category_id_seq'::regclass);


--
-- Name: mdl_user_info_data id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_user_info_data ALTER COLUMN id SET DEFAULT nextval('public.mdl_user_info_data_id_seq'::regclass);


--
-- Name: mdl_user_info_field id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_user_info_field ALTER COLUMN id SET DEFAULT nextval('public.mdl_user_info_field_id_seq'::regclass);


--
-- Name: mdl_user_lastaccess id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_user_lastaccess ALTER COLUMN id SET DEFAULT nextval('public.mdl_user_lastaccess_id_seq'::regclass);


--
-- Name: mdl_user_password_history id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_user_password_history ALTER COLUMN id SET DEFAULT nextval('public.mdl_user_password_history_id_seq'::regclass);


--
-- Name: mdl_user_password_resets id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_user_password_resets ALTER COLUMN id SET DEFAULT nextval('public.mdl_user_password_resets_id_seq'::regclass);


--
-- Name: mdl_user_preferences id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_user_preferences ALTER COLUMN id SET DEFAULT nextval('public.mdl_user_preferences_id_seq'::regclass);


--
-- Name: mdl_user_private_key id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_user_private_key ALTER COLUMN id SET DEFAULT nextval('public.mdl_user_private_key_id_seq'::regclass);


--
-- Name: mdl_wiki id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_wiki ALTER COLUMN id SET DEFAULT nextval('public.mdl_wiki_id_seq'::regclass);


--
-- Name: mdl_wiki_links id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_wiki_links ALTER COLUMN id SET DEFAULT nextval('public.mdl_wiki_links_id_seq'::regclass);


--
-- Name: mdl_wiki_locks id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_wiki_locks ALTER COLUMN id SET DEFAULT nextval('public.mdl_wiki_locks_id_seq'::regclass);


--
-- Name: mdl_wiki_pages id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_wiki_pages ALTER COLUMN id SET DEFAULT nextval('public.mdl_wiki_pages_id_seq'::regclass);


--
-- Name: mdl_wiki_subwikis id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_wiki_subwikis ALTER COLUMN id SET DEFAULT nextval('public.mdl_wiki_subwikis_id_seq'::regclass);


--
-- Name: mdl_wiki_synonyms id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_wiki_synonyms ALTER COLUMN id SET DEFAULT nextval('public.mdl_wiki_synonyms_id_seq'::regclass);


--
-- Name: mdl_wiki_versions id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_wiki_versions ALTER COLUMN id SET DEFAULT nextval('public.mdl_wiki_versions_id_seq'::regclass);


--
-- Name: mdl_workshop id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_workshop ALTER COLUMN id SET DEFAULT nextval('public.mdl_workshop_id_seq'::regclass);


--
-- Name: mdl_workshop_aggregations id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_workshop_aggregations ALTER COLUMN id SET DEFAULT nextval('public.mdl_workshop_aggregations_id_seq'::regclass);


--
-- Name: mdl_workshop_assessments id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_workshop_assessments ALTER COLUMN id SET DEFAULT nextval('public.mdl_workshop_assessments_id_seq'::regclass);


--
-- Name: mdl_workshop_grades id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_workshop_grades ALTER COLUMN id SET DEFAULT nextval('public.mdl_workshop_grades_id_seq'::regclass);


--
-- Name: mdl_workshop_submissions id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_workshop_submissions ALTER COLUMN id SET DEFAULT nextval('public.mdl_workshop_submissions_id_seq'::regclass);


--
-- Name: mdl_workshopallocation_scheduled id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_workshopallocation_scheduled ALTER COLUMN id SET DEFAULT nextval('public.mdl_workshopallocation_scheduled_id_seq'::regclass);


--
-- Name: mdl_workshopeval_best_settings id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_workshopeval_best_settings ALTER COLUMN id SET DEFAULT nextval('public.mdl_workshopeval_best_settings_id_seq'::regclass);


--
-- Name: mdl_workshopform_accumulative id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_workshopform_accumulative ALTER COLUMN id SET DEFAULT nextval('public.mdl_workshopform_accumulative_id_seq'::regclass);


--
-- Name: mdl_workshopform_comments id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_workshopform_comments ALTER COLUMN id SET DEFAULT nextval('public.mdl_workshopform_comments_id_seq'::regclass);


--
-- Name: mdl_workshopform_numerrors id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_workshopform_numerrors ALTER COLUMN id SET DEFAULT nextval('public.mdl_workshopform_numerrors_id_seq'::regclass);


--
-- Name: mdl_workshopform_numerrors_map id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_workshopform_numerrors_map ALTER COLUMN id SET DEFAULT nextval('public.mdl_workshopform_numerrors_map_id_seq'::regclass);


--
-- Name: mdl_workshopform_rubric id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_workshopform_rubric ALTER COLUMN id SET DEFAULT nextval('public.mdl_workshopform_rubric_id_seq'::regclass);


--
-- Name: mdl_workshopform_rubric_config id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_workshopform_rubric_config ALTER COLUMN id SET DEFAULT nextval('public.mdl_workshopform_rubric_config_id_seq'::regclass);


--
-- Name: mdl_workshopform_rubric_levels id; Type: DEFAULT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_workshopform_rubric_levels ALTER COLUMN id SET DEFAULT nextval('public.mdl_workshopform_rubric_levels_id_seq'::regclass);


--
-- Data for Name: mdl_analytics_indicator_calc; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_analytics_indicator_calc (id, starttime, endtime, contextid, sampleorigin, sampleid, indicator, value, timecreated) FROM stdin;
\.


--
-- Data for Name: mdl_analytics_models; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_analytics_models (id, enabled, trained, name, target, indicators, timesplitting, predictionsprocessor, version, contextids, timecreated, timemodified, usermodified) FROM stdin;
1	0	0	\N	\\core_course\\analytics\\target\\course_dropout	["\\\\core\\\\analytics\\\\indicator\\\\any_access_after_end","\\\\core\\\\analytics\\\\indicator\\\\any_access_before_start","\\\\core\\\\analytics\\\\indicator\\\\any_write_action_in_course","\\\\core\\\\analytics\\\\indicator\\\\read_actions","\\\\core_course\\\\analytics\\\\indicator\\\\completion_enabled","\\\\core_course\\\\analytics\\\\indicator\\\\potential_cognitive_depth","\\\\core_course\\\\analytics\\\\indicator\\\\potential_social_breadth","\\\\mod_assign\\\\analytics\\\\indicator\\\\cognitive_depth","\\\\mod_assign\\\\analytics\\\\indicator\\\\social_breadth","\\\\mod_book\\\\analytics\\\\indicator\\\\cognitive_depth","\\\\mod_book\\\\analytics\\\\indicator\\\\social_breadth","\\\\mod_chat\\\\analytics\\\\indicator\\\\cognitive_depth","\\\\mod_chat\\\\analytics\\\\indicator\\\\social_breadth","\\\\mod_choice\\\\analytics\\\\indicator\\\\cognitive_depth","\\\\mod_choice\\\\analytics\\\\indicator\\\\social_breadth","\\\\mod_data\\\\analytics\\\\indicator\\\\cognitive_depth","\\\\mod_data\\\\analytics\\\\indicator\\\\social_breadth","\\\\mod_feedback\\\\analytics\\\\indicator\\\\cognitive_depth","\\\\mod_feedback\\\\analytics\\\\indicator\\\\social_breadth","\\\\mod_folder\\\\analytics\\\\indicator\\\\cognitive_depth","\\\\mod_folder\\\\analytics\\\\indicator\\\\social_breadth","\\\\mod_forum\\\\analytics\\\\indicator\\\\cognitive_depth","\\\\mod_forum\\\\analytics\\\\indicator\\\\social_breadth","\\\\mod_glossary\\\\analytics\\\\indicator\\\\cognitive_depth","\\\\mod_glossary\\\\analytics\\\\indicator\\\\social_breadth","\\\\mod_imscp\\\\analytics\\\\indicator\\\\cognitive_depth","\\\\mod_imscp\\\\analytics\\\\indicator\\\\social_breadth","\\\\mod_label\\\\analytics\\\\indicator\\\\cognitive_depth","\\\\mod_label\\\\analytics\\\\indicator\\\\social_breadth","\\\\mod_lesson\\\\analytics\\\\indicator\\\\cognitive_depth","\\\\mod_lesson\\\\analytics\\\\indicator\\\\social_breadth","\\\\mod_lti\\\\analytics\\\\indicator\\\\cognitive_depth","\\\\mod_lti\\\\analytics\\\\indicator\\\\social_breadth","\\\\mod_page\\\\analytics\\\\indicator\\\\cognitive_depth","\\\\mod_page\\\\analytics\\\\indicator\\\\social_breadth","\\\\mod_quiz\\\\analytics\\\\indicator\\\\cognitive_depth","\\\\mod_quiz\\\\analytics\\\\indicator\\\\social_breadth","\\\\mod_resource\\\\analytics\\\\indicator\\\\cognitive_depth","\\\\mod_resource\\\\analytics\\\\indicator\\\\social_breadth","\\\\mod_scorm\\\\analytics\\\\indicator\\\\cognitive_depth","\\\\mod_scorm\\\\analytics\\\\indicator\\\\social_breadth","\\\\mod_survey\\\\analytics\\\\indicator\\\\cognitive_depth","\\\\mod_survey\\\\analytics\\\\indicator\\\\social_breadth","\\\\mod_url\\\\analytics\\\\indicator\\\\cognitive_depth","\\\\mod_url\\\\analytics\\\\indicator\\\\social_breadth","\\\\mod_wiki\\\\analytics\\\\indicator\\\\cognitive_depth","\\\\mod_wiki\\\\analytics\\\\indicator\\\\social_breadth","\\\\mod_workshop\\\\analytics\\\\indicator\\\\cognitive_depth","\\\\mod_workshop\\\\analytics\\\\indicator\\\\social_breadth"]	\N	\N	1617856671	\N	1617856671	1617856671	0
2	1	1	\N	\\core_course\\analytics\\target\\no_teaching	["\\\\core_course\\\\analytics\\\\indicator\\\\no_teacher","\\\\core_course\\\\analytics\\\\indicator\\\\no_student"]	\\core\\analytics\\time_splitting\\single_range	\N	1617856671	\N	1617856671	1617856671	0
3	1	1	\N	\\core_user\\analytics\\target\\upcoming_activities_due	["\\\\core_course\\\\analytics\\\\indicator\\\\activities_due"]	\\core\\analytics\\time_splitting\\upcoming_week	\N	1617856671	\N	1617856671	1617856671	0
4	1	1	\N	\\core_course\\analytics\\target\\no_access_since_course_start	["\\\\core\\\\analytics\\\\indicator\\\\any_course_access"]	\\core\\analytics\\time_splitting\\one_month_after_start	\N	1617856671	\N	1617856671	1617856671	0
5	1	1	\N	\\core_course\\analytics\\target\\no_recent_accesses	["\\\\core\\\\analytics\\\\indicator\\\\any_course_access"]	\\core\\analytics\\time_splitting\\past_month	\N	1617856671	\N	1617856671	1617856671	0
\.


--
-- Data for Name: mdl_analytics_models_log; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_analytics_models_log (id, modelid, version, evaluationmode, target, indicators, timesplitting, score, info, dir, timecreated, usermodified) FROM stdin;
\.


--
-- Data for Name: mdl_analytics_predict_samples; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_analytics_predict_samples (id, modelid, analysableid, timesplitting, rangeindex, sampleids, timecreated, timemodified) FROM stdin;
\.


--
-- Data for Name: mdl_analytics_prediction_actions; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_analytics_prediction_actions (id, predictionid, userid, actionname, timecreated) FROM stdin;
\.


--
-- Data for Name: mdl_analytics_predictions; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_analytics_predictions (id, modelid, contextid, sampleid, rangeindex, prediction, predictionscore, calculations, timecreated, timestart, timeend) FROM stdin;
\.


--
-- Data for Name: mdl_analytics_train_samples; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_analytics_train_samples (id, modelid, analysableid, timesplitting, sampleids, timecreated) FROM stdin;
\.


--
-- Data for Name: mdl_analytics_used_analysables; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_analytics_used_analysables (id, modelid, action, analysableid, firstanalysis, timeanalysed) FROM stdin;
\.


--
-- Data for Name: mdl_analytics_used_files; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_analytics_used_files (id, modelid, fileid, action, "time") FROM stdin;
\.


--
-- Data for Name: mdl_assign; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_assign (id, course, name, intro, introformat, alwaysshowdescription, nosubmissions, submissiondrafts, sendnotifications, sendlatenotifications, duedate, allowsubmissionsfromdate, grade, timemodified, requiresubmissionstatement, completionsubmit, cutoffdate, gradingduedate, teamsubmission, requireallteammemberssubmit, teamsubmissiongroupingid, blindmarking, hidegrader, revealidentities, attemptreopenmethod, maxattempts, markingworkflow, markingallocation, sendstudentnotifications, preventsubmissionnotingroup) FROM stdin;
\.


--
-- Data for Name: mdl_assign_grades; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_assign_grades (id, assignment, userid, timecreated, timemodified, grader, grade, attemptnumber) FROM stdin;
\.


--
-- Data for Name: mdl_assign_overrides; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_assign_overrides (id, assignid, groupid, userid, sortorder, allowsubmissionsfromdate, duedate, cutoffdate) FROM stdin;
\.


--
-- Data for Name: mdl_assign_plugin_config; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_assign_plugin_config (id, assignment, plugin, subtype, name, value) FROM stdin;
\.


--
-- Data for Name: mdl_assign_submission; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_assign_submission (id, assignment, userid, timecreated, timemodified, status, groupid, attemptnumber, latest) FROM stdin;
\.


--
-- Data for Name: mdl_assign_user_flags; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_assign_user_flags (id, userid, assignment, locked, mailed, extensionduedate, workflowstate, allocatedmarker) FROM stdin;
\.


--
-- Data for Name: mdl_assign_user_mapping; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_assign_user_mapping (id, assignment, userid) FROM stdin;
\.


--
-- Data for Name: mdl_assignfeedback_comments; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_assignfeedback_comments (id, assignment, grade, commenttext, commentformat) FROM stdin;
\.


--
-- Data for Name: mdl_assignfeedback_editpdf_annot; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_assignfeedback_editpdf_annot (id, gradeid, pageno, x, y, endx, endy, path, type, colour, draft) FROM stdin;
\.


--
-- Data for Name: mdl_assignfeedback_editpdf_cmnt; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_assignfeedback_editpdf_cmnt (id, gradeid, x, y, width, rawtext, pageno, colour, draft) FROM stdin;
\.


--
-- Data for Name: mdl_assignfeedback_editpdf_queue; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_assignfeedback_editpdf_queue (id, submissionid, submissionattempt, attemptedconversions) FROM stdin;
\.


--
-- Data for Name: mdl_assignfeedback_editpdf_quick; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_assignfeedback_editpdf_quick (id, userid, rawtext, width, colour) FROM stdin;
\.


--
-- Data for Name: mdl_assignfeedback_editpdf_rot; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_assignfeedback_editpdf_rot (id, gradeid, pageno, pathnamehash, isrotated, degree) FROM stdin;
\.


--
-- Data for Name: mdl_assignfeedback_file; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_assignfeedback_file (id, assignment, grade, numfiles) FROM stdin;
\.


--
-- Data for Name: mdl_assignment; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_assignment (id, course, name, intro, introformat, assignmenttype, resubmit, preventlate, emailteachers, var1, var2, var3, var4, var5, maxbytes, timedue, timeavailable, grade, timemodified) FROM stdin;
\.


--
-- Data for Name: mdl_assignment_submissions; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_assignment_submissions (id, assignment, userid, timecreated, timemodified, numfiles, data1, data2, grade, submissioncomment, format, teacher, timemarked, mailed) FROM stdin;
\.


--
-- Data for Name: mdl_assignment_upgrade; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_assignment_upgrade (id, oldcmid, oldinstance, newcmid, newinstance, timecreated) FROM stdin;
\.


--
-- Data for Name: mdl_assignsubmission_file; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_assignsubmission_file (id, assignment, submission, numfiles) FROM stdin;
\.


--
-- Data for Name: mdl_assignsubmission_onlinetext; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_assignsubmission_onlinetext (id, assignment, submission, onlinetext, onlineformat) FROM stdin;
\.


--
-- Data for Name: mdl_auth_oauth2_linked_login; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_auth_oauth2_linked_login (id, timecreated, timemodified, usermodified, userid, issuerid, username, email, confirmtoken, confirmtokenexpires) FROM stdin;
\.


--
-- Data for Name: mdl_auth_oidc_prevlogin; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_auth_oidc_prevlogin (id, userid, method, password) FROM stdin;
\.


--
-- Data for Name: mdl_auth_oidc_state; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_auth_oidc_state (id, sesskey, state, nonce, timecreated, additionaldata) FROM stdin;
\.


--
-- Data for Name: mdl_auth_oidc_token; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_auth_oidc_token (id, oidcuniqid, username, userid, oidcusername, scope, resource, authcode, token, expiry, refreshtoken, idtoken) FROM stdin;
\.


--
-- Data for Name: mdl_auth_saml2_idps; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_auth_saml2_idps (id, metadataurl, entityid, activeidp, defaultidp, adminidp, defaultname, displayname, logo, alias, whitelist) FROM stdin;
\.


--
-- Data for Name: mdl_auth_saml2_kvstore; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_auth_saml2_kvstore (id, type, k, value, expire) FROM stdin;
\.


--
-- Data for Name: mdl_backup_controllers; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_backup_controllers (id, backupid, operation, type, itemid, format, interactive, purpose, userid, status, execution, executiontime, checksum, timecreated, timemodified, progress, controller) FROM stdin;
\.


--
-- Data for Name: mdl_backup_courses; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_backup_courses (id, courseid, laststarttime, lastendtime, laststatus, nextstarttime) FROM stdin;
\.


--
-- Data for Name: mdl_backup_logs; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_backup_logs (id, backupid, loglevel, message, timecreated) FROM stdin;
\.


--
-- Data for Name: mdl_badge; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_badge (id, name, description, timecreated, timemodified, usercreated, usermodified, issuername, issuerurl, issuercontact, expiredate, expireperiod, type, courseid, message, messagesubject, attachment, notification, status, nextcron, version, language, imageauthorname, imageauthoremail, imageauthorurl, imagecaption) FROM stdin;
\.


--
-- Data for Name: mdl_badge_alignment; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_badge_alignment (id, badgeid, targetname, targeturl, targetdescription, targetframework, targetcode) FROM stdin;
\.


--
-- Data for Name: mdl_badge_backpack; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_badge_backpack (id, userid, email, backpackuid, autosync, password, externalbackpackid) FROM stdin;
\.


--
-- Data for Name: mdl_badge_backpack_oauth2; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_badge_backpack_oauth2 (id, usermodified, timecreated, timemodified, userid, issuerid, externalbackpackid, token, refreshtoken, expires, scope) FROM stdin;
\.


--
-- Data for Name: mdl_badge_criteria; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_badge_criteria (id, badgeid, criteriatype, method, description, descriptionformat) FROM stdin;
\.


--
-- Data for Name: mdl_badge_criteria_met; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_badge_criteria_met (id, issuedid, critid, userid, datemet) FROM stdin;
\.


--
-- Data for Name: mdl_badge_criteria_param; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_badge_criteria_param (id, critid, name, value) FROM stdin;
\.


--
-- Data for Name: mdl_badge_endorsement; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_badge_endorsement (id, badgeid, issuername, issuerurl, issueremail, claimid, claimcomment, dateissued) FROM stdin;
\.


--
-- Data for Name: mdl_badge_external; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_badge_external (id, backpackid, collectionid, entityid, assertion) FROM stdin;
\.


--
-- Data for Name: mdl_badge_external_backpack; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_badge_external_backpack (id, backpackapiurl, backpackweburl, apiversion, sortorder, oauth2_issuerid) FROM stdin;
1	https://api.badgr.io/v2	https://badgr.io	2	1	\N
\.


--
-- Data for Name: mdl_badge_external_identifier; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_badge_external_identifier (id, sitebackpackid, internalid, externalid, type) FROM stdin;
\.


--
-- Data for Name: mdl_badge_issued; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_badge_issued (id, badgeid, userid, uniquehash, dateissued, dateexpire, visible, issuernotified) FROM stdin;
\.


--
-- Data for Name: mdl_badge_manual_award; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_badge_manual_award (id, badgeid, recipientid, issuerid, issuerrole, datemet) FROM stdin;
\.


--
-- Data for Name: mdl_badge_related; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_badge_related (id, badgeid, relatedbadgeid) FROM stdin;
\.


--
-- Data for Name: mdl_bigbluebuttonbn; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_bigbluebuttonbn (id, type, course, name, intro, introformat, meetingid, moderatorpass, viewerpass, wait, record, recordallfromstart, recordhidebutton, welcome, voicebridge, openingtime, closingtime, timecreated, timemodified, presentation, participants, userlimit, recordings_html, recordings_deleted, recordings_imported, recordings_preview, clienttype, muteonstart, disablecam, disablemic, disableprivatechat, disablepublicchat, disablenote, hideuserlist, lockedlayout, lockonjoin, lockonjoinconfigurable, completionattendance, completionengagementchats, completionengagementtalks, completionengagementraisehand, completionengagementpollvotes, completionengagementemojis) FROM stdin;
\.


--
-- Data for Name: mdl_bigbluebuttonbn_logs; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_bigbluebuttonbn_logs (id, courseid, bigbluebuttonbnid, userid, timecreated, meetingid, log, meta) FROM stdin;
\.


--
-- Data for Name: mdl_block; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_block (id, name, cron, lastcron, visible) FROM stdin;
1	activity_modules	0	0	1
2	activity_results	0	0	1
3	admin_bookmarks	0	0	1
4	badges	0	0	1
5	blog_menu	0	0	1
6	blog_recent	0	0	1
7	blog_tags	0	0	1
8	calendar_month	0	0	1
9	calendar_upcoming	0	0	1
10	comments	0	0	1
11	completionstatus	0	0	1
12	course_list	0	0	1
13	course_summary	0	0	1
14	feedback	0	0	1
15	globalsearch	0	0	1
16	glossary_random	0	0	1
17	html	0	0	1
18	login	0	0	1
19	lp	0	0	1
20	mentees	0	0	1
21	mnet_hosts	0	0	1
22	myoverview	0	0	1
23	myprofile	0	0	1
24	navigation	0	0	1
25	news_items	0	0	1
26	online_users	0	0	1
27	private_files	0	0	1
28	quiz_results	0	0	0
29	recent_activity	0	0	1
30	recentlyaccessedcourses	0	0	1
31	recentlyaccesseditems	0	0	1
32	rss_client	0	0	1
33	search_forums	0	0	1
34	section_links	0	0	1
35	selfcompletion	0	0	1
36	settings	0	0	1
37	site_main_menu	0	0	1
38	social_activities	0	0	1
39	starredcourses	0	0	1
40	tag_flickr	0	0	1
41	tag_youtube	0	0	0
42	tags	0	0	1
43	timeline	0	0	1
\.


--
-- Data for Name: mdl_block_instances; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_block_instances (id, blockname, parentcontextid, showinsubcontexts, requiredbytheme, pagetypepattern, subpagepattern, defaultregion, defaultweight, configdata, timecreated, timemodified) FROM stdin;
1	admin_bookmarks	1	0	0	admin-*	\N	side-pre	2		1617856711	1617856711
2	timeline	1	0	0	my-index	2	side-post	0		1617856711	1617856711
3	private_files	1	0	0	my-index	2	side-post	1		1617856711	1617856711
4	online_users	1	0	0	my-index	2	side-post	2		1617856711	1617856711
5	badges	1	0	0	my-index	2	side-post	3		1617856711	1617856711
6	calendar_month	1	0	0	my-index	2	side-post	4		1617856711	1617856711
7	calendar_upcoming	1	0	0	my-index	2	side-post	5		1617856711	1617856711
8	lp	1	0	0	my-index	2	content	0		1617856711	1617856711
9	recentlyaccessedcourses	1	0	0	my-index	2	content	1		1617856711	1617856711
10	myoverview	1	0	0	my-index	2	content	2		1617856711	1617856711
\.


--
-- Data for Name: mdl_block_positions; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_block_positions (id, blockinstanceid, contextid, pagetype, subpage, visible, region, weight) FROM stdin;
\.


--
-- Data for Name: mdl_block_recent_activity; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_block_recent_activity (id, courseid, cmid, timecreated, userid, action, modname) FROM stdin;
\.


--
-- Data for Name: mdl_block_recentlyaccesseditems; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_block_recentlyaccesseditems (id, courseid, cmid, userid, timeaccess) FROM stdin;
\.


--
-- Data for Name: mdl_block_rss_client; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_block_rss_client (id, userid, title, preferredtitle, description, shared, url, skiptime, skipuntil) FROM stdin;
\.


--
-- Data for Name: mdl_blog_association; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_blog_association (id, contextid, blogid) FROM stdin;
\.


--
-- Data for Name: mdl_blog_external; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_blog_external (id, userid, name, description, url, filtertags, failedlastsync, timemodified, timefetched) FROM stdin;
\.


--
-- Data for Name: mdl_book; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_book (id, course, name, intro, introformat, numbering, navstyle, customtitles, revision, timecreated, timemodified) FROM stdin;
\.


--
-- Data for Name: mdl_book_chapters; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_book_chapters (id, bookid, pagenum, subchapter, title, content, contentformat, hidden, timecreated, timemodified, importsrc) FROM stdin;
\.


--
-- Data for Name: mdl_cache_filters; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_cache_filters (id, filter, version, md5key, rawtext, timemodified) FROM stdin;
\.


--
-- Data for Name: mdl_cache_flags; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_cache_flags (id, flagtype, name, timemodified, value, expiry) FROM stdin;
\.


--
-- Data for Name: mdl_capabilities; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_capabilities (id, name, captype, contextlevel, component, riskbitmask) FROM stdin;
1	moodle/site:config	write	10	moodle	62
2	moodle/site:configview	read	10	moodle	0
3	moodle/site:readallmessages	read	10	moodle	8
4	moodle/site:manageallmessaging	write	10	moodle	8
5	moodle/site:deleteanymessage	write	10	moodle	32
6	moodle/site:sendmessage	write	10	moodle	16
7	moodle/site:senderrormessage	write	10	moodle	16
8	moodle/site:deleteownmessage	write	10	moodle	0
9	moodle/site:approvecourse	write	40	moodle	4
10	moodle/backup:backupcourse	write	50	moodle	28
11	moodle/backup:backupsection	write	50	moodle	28
12	moodle/backup:backupactivity	write	70	moodle	28
13	moodle/backup:backuptargetimport	read	50	moodle	28
14	moodle/backup:downloadfile	write	50	moodle	28
15	moodle/backup:configure	write	50	moodle	28
16	moodle/backup:userinfo	read	50	moodle	8
17	moodle/backup:anonymise	read	50	moodle	8
18	moodle/restore:restorecourse	write	50	moodle	28
19	moodle/restore:restoresection	write	50	moodle	28
20	moodle/restore:restoreactivity	write	50	moodle	28
21	moodle/restore:viewautomatedfilearea	write	50	moodle	28
22	moodle/restore:restoretargetimport	write	50	moodle	28
23	moodle/restore:uploadfile	write	50	moodle	28
24	moodle/restore:configure	write	50	moodle	28
25	moodle/restore:rolldates	write	50	moodle	0
26	moodle/restore:userinfo	write	50	moodle	30
27	moodle/restore:createuser	write	10	moodle	24
28	moodle/site:manageblocks	write	80	moodle	20
29	moodle/site:accessallgroups	read	70	moodle	0
30	moodle/site:viewanonymousevents	read	70	moodle	8
31	moodle/site:viewfullnames	read	70	moodle	0
32	moodle/site:viewuseridentity	read	70	moodle	0
33	moodle/site:viewreports	read	50	moodle	8
34	moodle/site:trustcontent	write	70	moodle	4
35	moodle/site:uploadusers	write	10	moodle	24
36	moodle/filter:manage	write	50	moodle	0
37	moodle/user:create	write	10	moodle	24
38	moodle/user:delete	write	10	moodle	40
39	moodle/user:update	write	10	moodle	24
40	moodle/user:viewdetails	read	50	moodle	0
41	moodle/user:viewalldetails	read	30	moodle	8
42	moodle/user:viewlastip	read	30	moodle	8
43	moodle/user:viewhiddendetails	read	50	moodle	8
44	moodle/user:loginas	write	50	moodle	30
45	moodle/user:managesyspages	write	10	moodle	0
46	moodle/user:manageblocks	write	30	moodle	0
47	moodle/user:manageownblocks	write	10	moodle	0
48	moodle/user:manageownfiles	write	10	moodle	0
49	moodle/user:ignoreuserquota	write	10	moodle	0
50	moodle/my:configsyspages	write	10	moodle	0
51	moodle/role:assign	write	50	moodle	28
52	moodle/role:review	read	50	moodle	8
53	moodle/role:override	write	50	moodle	28
54	moodle/role:safeoverride	write	50	moodle	16
55	moodle/role:manage	write	10	moodle	28
56	moodle/role:switchroles	read	50	moodle	12
57	moodle/category:manage	write	40	moodle	4
58	moodle/category:viewcourselist	read	40	moodle	0
59	moodle/category:viewhiddencategories	read	40	moodle	0
60	moodle/cohort:manage	write	40	moodle	0
61	moodle/cohort:assign	write	40	moodle	0
62	moodle/cohort:view	read	50	moodle	0
63	moodle/course:create	write	40	moodle	4
64	moodle/course:creategroupconversations	write	50	moodle	4
65	moodle/course:request	write	40	moodle	0
66	moodle/course:delete	write	50	moodle	32
67	moodle/course:update	write	50	moodle	4
68	moodle/course:view	read	50	moodle	0
69	moodle/course:enrolreview	read	50	moodle	8
70	moodle/course:enrolconfig	write	50	moodle	8
71	moodle/course:reviewotherusers	read	50	moodle	0
72	moodle/course:bulkmessaging	write	50	moodle	16
73	moodle/course:viewhiddenuserfields	read	50	moodle	8
74	moodle/course:viewhiddencourses	read	50	moodle	0
75	moodle/course:visibility	write	50	moodle	0
76	moodle/course:managefiles	write	50	moodle	4
77	moodle/course:ignoreavailabilityrestrictions	read	70	moodle	0
78	moodle/course:ignorefilesizelimits	write	50	moodle	0
79	moodle/course:manageactivities	write	70	moodle	4
80	moodle/course:activityvisibility	write	70	moodle	0
81	moodle/course:viewhiddenactivities	read	70	moodle	0
82	moodle/course:viewparticipants	read	50	moodle	0
83	moodle/course:changefullname	write	50	moodle	4
84	moodle/course:changeshortname	write	50	moodle	4
171	moodle/rating:viewall	read	50	moodle	8
85	moodle/course:changelockedcustomfields	write	50	moodle	16
86	moodle/course:configurecustomfields	write	10	moodle	16
87	moodle/course:renameroles	write	50	moodle	0
88	moodle/course:changeidnumber	write	50	moodle	4
89	moodle/course:changecategory	write	50	moodle	4
90	moodle/course:changesummary	write	50	moodle	4
91	moodle/course:setforcedlanguage	write	50	moodle	0
92	moodle/site:viewparticipants	read	10	moodle	0
93	moodle/course:isincompletionreports	read	50	moodle	0
94	moodle/course:viewscales	read	50	moodle	0
95	moodle/course:managescales	write	50	moodle	0
96	moodle/course:managegroups	write	50	moodle	4
97	moodle/course:reset	write	50	moodle	32
98	moodle/course:viewsuspendedusers	read	50	moodle	0
99	moodle/course:tag	write	50	moodle	16
100	moodle/blog:view	read	10	moodle	0
101	moodle/blog:search	read	10	moodle	0
102	moodle/blog:viewdrafts	read	10	moodle	8
103	moodle/blog:create	write	10	moodle	16
104	moodle/blog:manageentries	write	10	moodle	16
105	moodle/blog:manageexternal	write	10	moodle	16
106	moodle/calendar:manageownentries	write	50	moodle	16
107	moodle/calendar:managegroupentries	write	50	moodle	16
108	moodle/calendar:manageentries	write	50	moodle	16
109	moodle/user:editprofile	write	30	moodle	24
110	moodle/user:editownprofile	write	10	moodle	16
111	moodle/user:changeownpassword	write	10	moodle	0
112	moodle/user:readuserposts	read	30	moodle	0
113	moodle/user:readuserblogs	read	30	moodle	0
114	moodle/user:viewuseractivitiesreport	read	30	moodle	8
115	moodle/user:editmessageprofile	write	30	moodle	16
116	moodle/user:editownmessageprofile	write	10	moodle	0
117	moodle/question:managecategory	write	50	moodle	20
118	moodle/question:add	write	50	moodle	20
119	moodle/question:editmine	write	50	moodle	20
120	moodle/question:editall	write	50	moodle	20
121	moodle/question:viewmine	read	50	moodle	0
122	moodle/question:viewall	read	50	moodle	0
123	moodle/question:usemine	read	50	moodle	0
124	moodle/question:useall	read	50	moodle	0
125	moodle/question:movemine	write	50	moodle	0
126	moodle/question:moveall	write	50	moodle	0
127	moodle/question:config	write	10	moodle	2
128	moodle/question:flag	write	50	moodle	0
129	moodle/question:tagmine	write	50	moodle	0
130	moodle/question:tagall	write	50	moodle	0
131	moodle/site:doclinks	read	10	moodle	0
132	moodle/course:sectionvisibility	write	50	moodle	0
133	moodle/course:useremail	write	50	moodle	0
134	moodle/course:viewhiddensections	read	50	moodle	0
135	moodle/course:setcurrentsection	write	50	moodle	0
136	moodle/course:movesections	write	50	moodle	0
137	moodle/site:mnetlogintoremote	read	10	moodle	0
138	moodle/grade:viewall	read	50	moodle	8
139	moodle/grade:view	read	50	moodle	0
140	moodle/grade:viewhidden	read	50	moodle	8
141	moodle/grade:import	write	50	moodle	12
142	moodle/grade:export	read	50	moodle	8
143	moodle/grade:manage	write	50	moodle	12
144	moodle/grade:edit	write	50	moodle	12
145	moodle/grade:managegradingforms	write	50	moodle	12
146	moodle/grade:sharegradingforms	write	10	moodle	4
147	moodle/grade:managesharedforms	write	10	moodle	4
148	moodle/grade:manageoutcomes	write	50	moodle	0
149	moodle/grade:manageletters	write	50	moodle	0
150	moodle/grade:hide	write	50	moodle	0
151	moodle/grade:lock	write	50	moodle	0
152	moodle/grade:unlock	write	50	moodle	0
153	moodle/my:manageblocks	write	10	moodle	0
154	moodle/notes:view	read	50	moodle	0
155	moodle/notes:manage	write	50	moodle	16
156	moodle/tag:manage	write	10	moodle	16
157	moodle/tag:edit	write	10	moodle	16
158	moodle/tag:flag	write	10	moodle	16
159	moodle/tag:editblocks	write	10	moodle	0
160	moodle/block:view	read	80	moodle	0
161	moodle/block:edit	write	80	moodle	20
162	moodle/portfolio:export	read	10	moodle	0
163	moodle/comment:view	read	50	moodle	0
164	moodle/comment:post	write	50	moodle	24
165	moodle/comment:delete	write	50	moodle	32
166	moodle/webservice:createtoken	write	10	moodle	62
167	moodle/webservice:managealltokens	write	10	moodle	42
168	moodle/webservice:createmobiletoken	write	10	moodle	24
169	moodle/rating:view	read	50	moodle	0
170	moodle/rating:viewany	read	50	moodle	8
172	moodle/rating:rate	write	50	moodle	0
173	moodle/course:markcomplete	write	50	moodle	0
174	moodle/course:overridecompletion	write	50	moodle	0
175	moodle/badges:manageglobalsettings	write	10	moodle	34
176	moodle/badges:viewbadges	read	50	moodle	0
177	moodle/badges:manageownbadges	write	30	moodle	0
178	moodle/badges:viewotherbadges	read	30	moodle	0
179	moodle/badges:earnbadge	write	50	moodle	0
180	moodle/badges:createbadge	write	50	moodle	16
181	moodle/badges:deletebadge	write	50	moodle	32
182	moodle/badges:configuredetails	write	50	moodle	16
183	moodle/badges:configurecriteria	write	50	moodle	4
184	moodle/badges:configuremessages	write	50	moodle	16
185	moodle/badges:awardbadge	write	50	moodle	16
186	moodle/badges:revokebadge	write	50	moodle	16
187	moodle/badges:viewawarded	read	50	moodle	8
188	moodle/site:forcelanguage	read	10	moodle	0
189	moodle/search:query	read	10	moodle	0
190	moodle/competency:competencymanage	write	40	moodle	0
191	moodle/competency:competencyview	read	40	moodle	0
192	moodle/competency:competencygrade	write	50	moodle	0
193	moodle/competency:coursecompetencymanage	write	50	moodle	0
194	moodle/competency:coursecompetencyconfigure	write	70	moodle	0
195	moodle/competency:coursecompetencygradable	read	50	moodle	0
196	moodle/competency:coursecompetencyview	read	50	moodle	0
197	moodle/competency:evidencedelete	write	30	moodle	0
198	moodle/competency:planmanage	write	30	moodle	0
199	moodle/competency:planmanagedraft	write	30	moodle	0
200	moodle/competency:planmanageown	write	30	moodle	0
201	moodle/competency:planmanageowndraft	write	30	moodle	0
202	moodle/competency:planview	read	30	moodle	0
203	moodle/competency:planviewdraft	read	30	moodle	0
204	moodle/competency:planviewown	read	30	moodle	0
205	moodle/competency:planviewowndraft	read	30	moodle	0
206	moodle/competency:planrequestreview	write	30	moodle	0
207	moodle/competency:planrequestreviewown	write	30	moodle	0
208	moodle/competency:planreview	write	30	moodle	0
209	moodle/competency:plancomment	write	30	moodle	0
210	moodle/competency:plancommentown	write	30	moodle	0
211	moodle/competency:usercompetencyview	read	30	moodle	0
212	moodle/competency:usercompetencyrequestreview	write	30	moodle	0
213	moodle/competency:usercompetencyrequestreviewown	write	30	moodle	0
214	moodle/competency:usercompetencyreview	write	30	moodle	0
215	moodle/competency:usercompetencycomment	write	30	moodle	0
216	moodle/competency:usercompetencycommentown	write	30	moodle	0
217	moodle/competency:templatemanage	write	40	moodle	0
218	moodle/analytics:listinsights	read	50	moodle	8
219	moodle/analytics:managemodels	write	10	moodle	2
220	moodle/competency:templateview	read	40	moodle	0
221	moodle/competency:userevidencemanage	write	30	moodle	0
222	moodle/competency:userevidencemanageown	write	30	moodle	0
223	moodle/competency:userevidenceview	read	30	moodle	0
224	moodle/site:maintenanceaccess	write	10	moodle	0
225	moodle/site:messageanyuser	write	10	moodle	16
226	moodle/site:managecontextlocks	write	70	moodle	0
227	moodle/course:togglecompletion	write	70	moodle	0
228	moodle/analytics:listowninsights	read	10	moodle	0
229	moodle/h5p:setdisplayoptions	write	70	moodle	0
230	moodle/h5p:deploy	write	70	moodle	4
231	moodle/h5p:updatelibraries	write	70	moodle	4
232	moodle/course:recommendactivity	write	10	moodle	0
233	moodle/contentbank:access	read	50	moodle	0
234	moodle/contentbank:upload	write	50	moodle	16
235	moodle/contentbank:deleteanycontent	write	50	moodle	32
236	moodle/contentbank:deleteowncontent	write	50	moodle	0
237	moodle/contentbank:manageanycontent	write	50	moodle	32
238	moodle/contentbank:manageowncontent	write	50	moodle	0
239	moodle/contentbank:useeditor	write	50	moodle	16
240	moodle/contentbank:downloadcontent	read	50	moodle	0
241	moodle/course:downloadcoursecontent	read	50	moodle	0
242	moodle/course:configuredownloadcontent	write	50	moodle	0
243	moodle/payment:manageaccounts	write	50	moodle	42
244	moodle/payment:viewpayments	read	50	moodle	8
245	mod/assign:view	read	70	mod_assign	0
246	mod/assign:submit	write	70	mod_assign	0
247	mod/assign:grade	write	70	mod_assign	4
248	mod/assign:exportownsubmission	read	70	mod_assign	0
249	mod/assign:addinstance	write	50	mod_assign	4
250	mod/assign:editothersubmission	write	70	mod_assign	41
251	mod/assign:grantextension	write	70	mod_assign	0
252	mod/assign:revealidentities	write	70	mod_assign	0
253	mod/assign:reviewgrades	write	70	mod_assign	0
254	mod/assign:releasegrades	write	70	mod_assign	0
255	mod/assign:managegrades	write	70	mod_assign	0
256	mod/assign:manageallocations	write	70	mod_assign	0
257	mod/assign:viewgrades	read	70	mod_assign	0
258	mod/assign:viewblinddetails	write	70	mod_assign	8
259	mod/assign:receivegradernotifications	read	70	mod_assign	0
260	mod/assign:manageoverrides	write	70	mod_assign	0
261	mod/assign:showhiddengrader	read	70	mod_assign	0
262	mod/assignment:view	read	70	mod_assignment	0
263	mod/assignment:addinstance	write	50	mod_assignment	4
264	mod/assignment:submit	write	70	mod_assignment	0
265	mod/assignment:grade	write	70	mod_assignment	4
266	mod/assignment:exportownsubmission	read	70	mod_assignment	0
267	mod/bigbluebuttonbn:addinstance	write	50	mod_bigbluebuttonbn	4
268	mod/bigbluebuttonbn:join	read	70	mod_bigbluebuttonbn	0
269	mod/bigbluebuttonbn:managerecordings	read	70	mod_bigbluebuttonbn	0
270	mod/bigbluebuttonbn:view	read	70	mod_bigbluebuttonbn	0
271	mod/bigbluebuttonbn:meeting	write	70	mod_bigbluebuttonbn	0
272	mod/bigbluebuttonbn:recording	write	70	mod_bigbluebuttonbn	0
273	mod/book:addinstance	write	50	mod_book	4
274	mod/book:read	read	70	mod_book	0
275	mod/book:viewhiddenchapters	read	70	mod_book	0
276	mod/book:edit	write	70	mod_book	4
277	mod/chat:addinstance	write	50	mod_chat	4
278	mod/chat:chat	write	70	mod_chat	16
279	mod/chat:readlog	read	70	mod_chat	0
280	mod/chat:deletelog	write	70	mod_chat	0
281	mod/chat:exportparticipatedsession	read	70	mod_chat	8
282	mod/chat:exportsession	read	70	mod_chat	8
283	mod/chat:view	read	70	mod_chat	0
284	mod/choice:addinstance	write	50	mod_choice	4
285	mod/choice:choose	write	70	mod_choice	0
286	mod/choice:readresponses	read	70	mod_choice	0
287	mod/choice:deleteresponses	write	70	mod_choice	0
288	mod/choice:downloadresponses	read	70	mod_choice	0
289	mod/choice:view	read	70	mod_choice	0
290	mod/data:addinstance	write	50	mod_data	4
291	mod/data:viewentry	read	70	mod_data	0
292	mod/data:writeentry	write	70	mod_data	16
293	mod/data:comment	write	70	mod_data	16
294	mod/data:rate	write	70	mod_data	0
295	mod/data:viewrating	read	70	mod_data	0
296	mod/data:viewanyrating	read	70	mod_data	8
297	mod/data:viewallratings	read	70	mod_data	8
298	mod/data:approve	write	70	mod_data	16
299	mod/data:manageentries	write	70	mod_data	16
300	mod/data:managecomments	write	70	mod_data	16
301	mod/data:managetemplates	write	70	mod_data	20
302	mod/data:viewalluserpresets	read	70	mod_data	0
303	mod/data:manageuserpresets	write	70	mod_data	20
304	mod/data:exportentry	read	70	mod_data	8
305	mod/data:exportownentry	read	70	mod_data	0
306	mod/data:exportallentries	read	70	mod_data	8
307	mod/data:exportuserinfo	read	70	mod_data	8
308	mod/data:view	read	70	mod_data	0
309	mod/feedback:addinstance	write	50	mod_feedback	4
310	mod/feedback:view	read	70	mod_feedback	0
311	mod/feedback:complete	write	70	mod_feedback	16
312	mod/feedback:viewanalysepage	read	70	mod_feedback	8
313	mod/feedback:deletesubmissions	write	70	mod_feedback	0
314	mod/feedback:mapcourse	write	70	mod_feedback	0
315	mod/feedback:edititems	write	70	mod_feedback	20
316	mod/feedback:createprivatetemplate	write	70	mod_feedback	16
317	mod/feedback:createpublictemplate	write	70	mod_feedback	16
318	mod/feedback:deletetemplate	write	70	mod_feedback	0
319	mod/feedback:viewreports	read	70	mod_feedback	8
320	mod/feedback:receivemail	read	70	mod_feedback	8
321	mod/folder:addinstance	write	50	mod_folder	4
322	mod/folder:view	read	70	mod_folder	0
323	mod/folder:managefiles	write	70	mod_folder	20
324	mod/forum:addinstance	write	50	mod_forum	4
325	mod/forum:viewdiscussion	read	70	mod_forum	0
326	mod/forum:viewhiddentimedposts	read	70	mod_forum	0
327	mod/forum:startdiscussion	write	70	mod_forum	16
328	mod/forum:replypost	write	70	mod_forum	16
329	mod/forum:addnews	write	70	mod_forum	16
330	mod/forum:replynews	write	70	mod_forum	16
331	mod/forum:viewrating	read	70	mod_forum	0
332	mod/forum:viewanyrating	read	70	mod_forum	8
333	mod/forum:viewallratings	read	70	mod_forum	8
334	mod/forum:rate	write	70	mod_forum	0
335	mod/forum:postprivatereply	write	70	mod_forum	0
336	mod/forum:readprivatereplies	read	70	mod_forum	0
337	mod/forum:createattachment	write	70	mod_forum	16
338	mod/forum:deleteownpost	write	70	mod_forum	0
339	mod/forum:deleteanypost	write	70	mod_forum	0
340	mod/forum:splitdiscussions	write	70	mod_forum	0
341	mod/forum:movediscussions	write	70	mod_forum	0
342	mod/forum:pindiscussions	write	70	mod_forum	0
343	mod/forum:editanypost	write	70	mod_forum	16
344	mod/forum:viewqandawithoutposting	read	70	mod_forum	0
345	mod/forum:viewsubscribers	read	70	mod_forum	0
346	mod/forum:managesubscriptions	write	70	mod_forum	16
347	mod/forum:postwithoutthrottling	write	70	mod_forum	16
348	mod/forum:exportdiscussion	read	70	mod_forum	8
349	mod/forum:exportforum	read	70	mod_forum	8
350	mod/forum:exportpost	read	70	mod_forum	8
351	mod/forum:exportownpost	read	70	mod_forum	8
352	mod/forum:addquestion	write	70	mod_forum	16
353	mod/forum:allowforcesubscribe	read	70	mod_forum	0
354	mod/forum:canposttomygroups	write	70	mod_forum	0
355	mod/forum:canoverridediscussionlock	write	70	mod_forum	0
356	mod/forum:canoverridecutoff	write	70	mod_forum	0
357	mod/forum:cantogglefavourite	write	70	mod_forum	0
358	mod/forum:grade	write	70	mod_forum	0
359	mod/glossary:addinstance	write	50	mod_glossary	4
360	mod/glossary:view	read	70	mod_glossary	0
361	mod/glossary:write	write	70	mod_glossary	16
362	mod/glossary:manageentries	write	70	mod_glossary	16
363	mod/glossary:managecategories	write	70	mod_glossary	16
364	mod/glossary:comment	write	70	mod_glossary	16
365	mod/glossary:managecomments	write	70	mod_glossary	16
366	mod/glossary:import	write	70	mod_glossary	16
367	mod/glossary:export	read	70	mod_glossary	0
368	mod/glossary:approve	write	70	mod_glossary	16
369	mod/glossary:rate	write	70	mod_glossary	0
370	mod/glossary:viewrating	read	70	mod_glossary	0
371	mod/glossary:viewanyrating	read	70	mod_glossary	8
372	mod/glossary:viewallratings	read	70	mod_glossary	8
373	mod/glossary:exportentry	read	70	mod_glossary	8
374	mod/glossary:exportownentry	read	70	mod_glossary	0
375	mod/h5pactivity:view	read	70	mod_h5pactivity	0
376	mod/h5pactivity:addinstance	write	50	mod_h5pactivity	0
377	mod/h5pactivity:submit	write	70	mod_h5pactivity	0
378	mod/h5pactivity:reviewattempts	read	70	mod_h5pactivity	0
379	mod/imscp:view	read	70	mod_imscp	0
380	mod/imscp:addinstance	write	50	mod_imscp	4
381	mod/jitsi:addinstance	write	50	mod_jitsi	4
382	mod/jitsi:view	read	70	mod_jitsi	0
383	mod/jitsi:moderation	write	50	mod_jitsi	4
384	mod/jitsi:sharedesktop	write	70	mod_jitsi	4
385	mod/label:addinstance	write	50	mod_label	4
386	mod/label:view	read	70	mod_label	0
387	mod/lesson:addinstance	write	50	mod_lesson	4
388	mod/lesson:edit	write	70	mod_lesson	4
389	mod/lesson:grade	write	70	mod_lesson	20
390	mod/lesson:viewreports	read	70	mod_lesson	8
391	mod/lesson:manage	write	70	mod_lesson	0
392	mod/lesson:manageoverrides	write	70	mod_lesson	0
393	mod/lesson:view	read	70	mod_lesson	0
394	mod/lti:view	read	70	mod_lti	0
395	mod/lti:addinstance	write	50	mod_lti	4
396	mod/lti:manage	write	70	mod_lti	8
397	mod/lti:admin	write	70	mod_lti	8
398	mod/lti:addcoursetool	write	50	mod_lti	0
399	mod/lti:addpreconfiguredinstance	write	50	mod_lti	0
400	mod/lti:addmanualinstance	write	50	mod_lti	0
401	mod/lti:requesttooladd	write	50	mod_lti	0
402	mod/page:view	read	70	mod_page	0
403	mod/page:addinstance	write	50	mod_page	4
404	mod/quiz:view	read	70	mod_quiz	0
405	mod/quiz:addinstance	write	50	mod_quiz	4
406	mod/quiz:attempt	write	70	mod_quiz	16
407	mod/quiz:reviewmyattempts	read	70	mod_quiz	0
408	mod/quiz:manage	write	70	mod_quiz	16
409	mod/quiz:manageoverrides	write	70	mod_quiz	0
410	mod/quiz:preview	write	70	mod_quiz	0
411	mod/quiz:grade	write	70	mod_quiz	20
412	mod/quiz:regrade	write	70	mod_quiz	16
413	mod/quiz:viewreports	read	70	mod_quiz	8
414	mod/quiz:deleteattempts	write	70	mod_quiz	32
415	mod/quiz:ignoretimelimits	read	70	mod_quiz	0
416	mod/quiz:emailconfirmsubmission	read	70	mod_quiz	0
417	mod/quiz:emailnotifysubmission	read	70	mod_quiz	0
418	mod/quiz:emailwarnoverdue	read	70	mod_quiz	0
419	mod/resource:view	read	70	mod_resource	0
420	mod/resource:addinstance	write	50	mod_resource	4
421	mod/scorm:addinstance	write	50	mod_scorm	4
422	mod/scorm:viewreport	read	70	mod_scorm	0
423	mod/scorm:skipview	read	70	mod_scorm	0
424	mod/scorm:savetrack	write	70	mod_scorm	0
425	mod/scorm:viewscores	read	70	mod_scorm	0
426	mod/scorm:deleteresponses	write	70	mod_scorm	0
427	mod/scorm:deleteownresponses	write	70	mod_scorm	0
428	mod/survey:addinstance	write	50	mod_survey	4
429	mod/survey:participate	read	70	mod_survey	0
430	mod/survey:readresponses	read	70	mod_survey	0
431	mod/survey:download	read	70	mod_survey	0
432	mod/url:view	read	70	mod_url	0
433	mod/url:addinstance	write	50	mod_url	4
434	mod/wiki:addinstance	write	50	mod_wiki	4
435	mod/wiki:viewpage	read	70	mod_wiki	0
436	mod/wiki:editpage	write	70	mod_wiki	16
437	mod/wiki:createpage	write	70	mod_wiki	16
438	mod/wiki:viewcomment	read	70	mod_wiki	0
439	mod/wiki:editcomment	write	70	mod_wiki	16
440	mod/wiki:managecomment	write	70	mod_wiki	0
441	mod/wiki:managefiles	write	70	mod_wiki	0
442	mod/wiki:overridelock	write	70	mod_wiki	0
443	mod/wiki:managewiki	write	70	mod_wiki	0
444	mod/workshop:view	read	70	mod_workshop	0
445	mod/workshop:addinstance	write	50	mod_workshop	4
446	mod/workshop:switchphase	write	70	mod_workshop	0
447	mod/workshop:editdimensions	write	70	mod_workshop	4
448	mod/workshop:submit	write	70	mod_workshop	0
449	mod/workshop:peerassess	write	70	mod_workshop	0
450	mod/workshop:manageexamples	write	70	mod_workshop	0
451	mod/workshop:allocate	write	70	mod_workshop	0
452	mod/workshop:publishsubmissions	write	70	mod_workshop	0
453	mod/workshop:viewauthornames	read	70	mod_workshop	0
454	mod/workshop:viewreviewernames	read	70	mod_workshop	0
455	mod/workshop:viewallsubmissions	read	70	mod_workshop	0
456	mod/workshop:viewpublishedsubmissions	read	70	mod_workshop	0
457	mod/workshop:viewauthorpublished	read	70	mod_workshop	0
458	mod/workshop:viewallassessments	read	70	mod_workshop	0
459	mod/workshop:overridegrades	write	70	mod_workshop	0
460	mod/workshop:ignoredeadlines	write	70	mod_workshop	0
461	mod/workshop:deletesubmissions	write	70	mod_workshop	0
462	mod/workshop:exportsubmissions	read	70	mod_workshop	0
463	auth/oauth2:managelinkedlogins	write	30	auth_oauth2	0
464	auth/oidc:manageconnection	write	30	auth_oidc	2
465	auth/oidc:manageconnectionconnect	write	30	auth_oidc	2
466	auth/oidc:manageconnectiondisconnect	write	30	auth_oidc	2
467	enrol/category:synchronised	write	10	enrol_category	0
468	enrol/category:config	write	50	enrol_category	0
469	enrol/cohort:config	write	50	enrol_cohort	0
470	enrol/cohort:unenrol	write	50	enrol_cohort	0
471	enrol/database:unenrol	write	50	enrol_database	0
472	enrol/database:config	write	50	enrol_database	0
473	enrol/fee:config	write	50	enrol_fee	0
474	enrol/fee:manage	write	50	enrol_fee	0
475	enrol/fee:unenrol	write	50	enrol_fee	0
476	enrol/fee:unenrolself	write	50	enrol_fee	0
477	enrol/flatfile:manage	write	50	enrol_flatfile	0
478	enrol/flatfile:unenrol	write	50	enrol_flatfile	0
479	enrol/guest:config	write	50	enrol_guest	0
480	enrol/imsenterprise:config	write	50	enrol_imsenterprise	0
481	enrol/ldap:manage	write	50	enrol_ldap	0
482	enrol/lti:config	write	50	enrol_lti	0
483	enrol/lti:unenrol	write	50	enrol_lti	0
484	enrol/manual:config	write	50	enrol_manual	0
485	enrol/manual:enrol	write	50	enrol_manual	0
486	enrol/manual:manage	write	50	enrol_manual	0
487	enrol/manual:unenrol	write	50	enrol_manual	0
488	enrol/manual:unenrolself	write	50	enrol_manual	0
489	enrol/meta:config	write	50	enrol_meta	0
490	enrol/meta:selectaslinked	read	50	enrol_meta	0
491	enrol/meta:unenrol	write	50	enrol_meta	0
492	enrol/mnet:config	write	50	enrol_mnet	0
493	enrol/paypal:config	write	50	enrol_paypal	0
494	enrol/paypal:manage	write	50	enrol_paypal	0
495	enrol/paypal:unenrol	write	50	enrol_paypal	0
496	enrol/paypal:unenrolself	write	50	enrol_paypal	0
497	enrol/self:config	write	50	enrol_self	0
498	enrol/self:manage	write	50	enrol_self	0
499	enrol/self:holdkey	write	50	enrol_self	0
500	enrol/self:unenrolself	write	50	enrol_self	0
501	enrol/self:unenrol	write	50	enrol_self	0
502	enrol/self:enrolself	write	50	enrol_self	0
503	message/airnotifier:managedevice	write	10	message_airnotifier	0
504	block/activity_modules:addinstance	write	80	block_activity_modules	20
505	block/activity_results:addinstance	write	80	block_activity_results	20
506	block/admin_bookmarks:myaddinstance	write	10	block_admin_bookmarks	0
507	block/admin_bookmarks:addinstance	write	80	block_admin_bookmarks	20
508	block/badges:addinstance	read	80	block_badges	0
509	block/badges:myaddinstance	read	10	block_badges	8
510	block/blog_menu:addinstance	write	80	block_blog_menu	20
511	block/blog_recent:addinstance	write	80	block_blog_recent	20
512	block/blog_tags:addinstance	write	80	block_blog_tags	20
513	block/calendar_month:myaddinstance	write	10	block_calendar_month	0
514	block/calendar_month:addinstance	write	80	block_calendar_month	20
515	block/calendar_upcoming:myaddinstance	write	10	block_calendar_upcoming	0
516	block/calendar_upcoming:addinstance	write	80	block_calendar_upcoming	20
517	block/comments:myaddinstance	write	10	block_comments	0
518	block/comments:addinstance	write	80	block_comments	20
519	block/completionstatus:addinstance	write	80	block_completionstatus	20
520	block/course_list:myaddinstance	write	10	block_course_list	0
521	block/course_list:addinstance	write	80	block_course_list	20
522	block/course_summary:addinstance	write	80	block_course_summary	20
523	block/feedback:addinstance	write	80	block_feedback	20
524	block/globalsearch:myaddinstance	write	10	block_globalsearch	0
525	block/globalsearch:addinstance	write	80	block_globalsearch	0
526	block/glossary_random:myaddinstance	write	10	block_glossary_random	0
527	block/glossary_random:addinstance	write	80	block_glossary_random	20
528	block/html:myaddinstance	write	10	block_html	0
529	block/html:addinstance	write	80	block_html	20
530	block/login:addinstance	write	80	block_login	20
531	block/lp:addinstance	write	10	block_lp	0
532	block/lp:myaddinstance	write	10	block_lp	0
533	block/mentees:myaddinstance	write	10	block_mentees	0
534	block/mentees:addinstance	write	80	block_mentees	20
535	block/mnet_hosts:myaddinstance	write	10	block_mnet_hosts	0
536	block/mnet_hosts:addinstance	write	80	block_mnet_hosts	20
537	block/myoverview:myaddinstance	write	10	block_myoverview	0
538	block/myprofile:myaddinstance	write	10	block_myprofile	0
539	block/myprofile:addinstance	write	80	block_myprofile	20
540	block/navigation:myaddinstance	write	10	block_navigation	0
541	block/navigation:addinstance	write	80	block_navigation	20
542	block/news_items:myaddinstance	write	10	block_news_items	0
543	block/news_items:addinstance	write	80	block_news_items	20
544	block/online_users:myaddinstance	write	10	block_online_users	0
545	block/online_users:addinstance	write	80	block_online_users	20
546	block/online_users:viewlist	read	80	block_online_users	0
547	block/private_files:myaddinstance	write	10	block_private_files	0
548	block/private_files:addinstance	write	80	block_private_files	20
549	block/quiz_results:addinstance	write	80	block_quiz_results	20
550	block/recent_activity:addinstance	write	80	block_recent_activity	20
551	block/recent_activity:viewaddupdatemodule	read	50	block_recent_activity	0
552	block/recent_activity:viewdeletemodule	read	50	block_recent_activity	0
553	block/recentlyaccessedcourses:myaddinstance	write	10	block_recentlyaccessedcourses	0
554	block/recentlyaccesseditems:myaddinstance	write	10	block_recentlyaccesseditems	0
555	block/rss_client:myaddinstance	write	10	block_rss_client	0
556	block/rss_client:addinstance	write	80	block_rss_client	20
557	block/rss_client:manageownfeeds	write	80	block_rss_client	0
558	block/rss_client:manageanyfeeds	write	80	block_rss_client	16
559	block/search_forums:addinstance	write	80	block_search_forums	20
560	block/section_links:addinstance	write	80	block_section_links	20
561	block/selfcompletion:addinstance	write	80	block_selfcompletion	20
562	block/settings:myaddinstance	write	10	block_settings	0
563	block/settings:addinstance	write	80	block_settings	20
564	block/site_main_menu:addinstance	write	80	block_site_main_menu	20
565	block/social_activities:addinstance	write	80	block_social_activities	20
566	block/starredcourses:myaddinstance	write	10	block_starredcourses	0
567	block/tag_flickr:addinstance	write	80	block_tag_flickr	20
568	block/tag_youtube:addinstance	write	80	block_tag_youtube	20
569	block/tags:myaddinstance	write	10	block_tags	0
570	block/tags:addinstance	write	80	block_tags	20
571	block/timeline:myaddinstance	write	10	block_timeline	0
572	report/completion:view	read	50	report_completion	8
573	report/courseoverview:view	read	10	report_courseoverview	8
574	report/log:view	read	50	report_log	8
575	report/log:viewtoday	read	50	report_log	8
576	report/loglive:view	read	50	report_loglive	8
577	report/outline:view	read	50	report_outline	8
578	report/outline:viewuserreport	read	50	report_outline	8
579	report/participation:view	read	50	report_participation	8
580	report/performance:view	read	10	report_performance	2
581	report/progress:view	read	50	report_progress	8
582	report/questioninstances:view	read	10	report_questioninstances	0
583	report/security:view	read	10	report_security	2
584	report/stats:view	read	50	report_stats	8
585	report/status:view	read	10	report_status	2
586	report/usersessions:manageownsessions	write	30	report_usersessions	0
587	gradeexport/ods:view	read	50	gradeexport_ods	8
588	gradeexport/ods:publish	read	50	gradeexport_ods	8
589	gradeexport/txt:view	read	50	gradeexport_txt	8
590	gradeexport/txt:publish	read	50	gradeexport_txt	8
591	gradeexport/xls:view	read	50	gradeexport_xls	8
592	gradeexport/xls:publish	read	50	gradeexport_xls	8
593	gradeexport/xml:view	read	50	gradeexport_xml	8
594	gradeexport/xml:publish	read	50	gradeexport_xml	8
595	gradeimport/csv:view	write	50	gradeimport_csv	0
596	gradeimport/direct:view	write	50	gradeimport_direct	0
597	gradeimport/xml:view	write	50	gradeimport_xml	0
598	gradeimport/xml:publish	write	50	gradeimport_xml	0
599	gradereport/grader:view	read	50	gradereport_grader	8
600	gradereport/history:view	read	50	gradereport_history	8
601	gradereport/outcomes:view	read	50	gradereport_outcomes	8
602	gradereport/overview:view	read	50	gradereport_overview	8
603	gradereport/singleview:view	read	50	gradereport_singleview	8
604	gradereport/user:view	read	50	gradereport_user	8
605	webservice/rest:use	read	50	webservice_rest	0
606	webservice/soap:use	read	50	webservice_soap	0
607	webservice/xmlrpc:use	read	50	webservice_xmlrpc	0
608	repository/areafiles:view	read	70	repository_areafiles	0
609	repository/boxnet:view	read	70	repository_boxnet	0
610	repository/contentbank:view	read	70	repository_contentbank	0
611	repository/contentbank:accesscoursecontent	read	50	repository_contentbank	0
612	repository/contentbank:accesscoursecategorycontent	read	40	repository_contentbank	0
613	repository/contentbank:accessgeneralcontent	read	40	repository_contentbank	0
614	repository/coursefiles:view	read	70	repository_coursefiles	0
615	repository/dropbox:view	read	70	repository_dropbox	0
616	repository/equella:view	read	70	repository_equella	0
617	repository/filesystem:view	read	70	repository_filesystem	0
618	repository/flickr:view	read	70	repository_flickr	0
619	repository/flickr_public:view	read	70	repository_flickr_public	0
620	repository/googledocs:view	read	70	repository_googledocs	0
621	repository/local:view	read	70	repository_local	0
622	repository/merlot:view	read	70	repository_merlot	0
623	repository/nextcloud:view	read	70	repository_nextcloud	0
624	repository/onedrive:view	read	70	repository_onedrive	0
625	repository/picasa:view	read	70	repository_picasa	0
626	repository/recent:view	read	70	repository_recent	0
627	repository/s3:view	read	70	repository_s3	0
628	repository/skydrive:view	read	70	repository_skydrive	0
629	repository/upload:view	read	70	repository_upload	0
630	repository/url:view	read	70	repository_url	0
631	repository/user:view	read	70	repository_user	0
632	repository/webdav:view	read	70	repository_webdav	0
633	repository/wikimedia:view	read	70	repository_wikimedia	0
634	repository/youtube:view	read	70	repository_youtube	0
635	tool/customlang:view	read	10	tool_customlang	2
636	tool/customlang:edit	write	10	tool_customlang	6
637	tool/customlang:export	read	10	tool_customlang	2
638	tool/dataprivacy:managedatarequests	write	10	tool_dataprivacy	60
639	tool/dataprivacy:requestdeleteforotheruser	write	10	tool_dataprivacy	60
640	tool/dataprivacy:managedataregistry	write	10	tool_dataprivacy	60
641	tool/dataprivacy:makedatarequestsforchildren	write	30	tool_dataprivacy	24
642	tool/dataprivacy:makedatadeletionrequestsforchildren	write	30	tool_dataprivacy	24
643	tool/dataprivacy:downloadownrequest	read	30	tool_dataprivacy	0
644	tool/dataprivacy:downloadallrequests	read	30	tool_dataprivacy	8
645	tool/dataprivacy:requestdelete	write	30	tool_dataprivacy	32
646	tool/lpmigrate:frameworksmigrate	write	10	tool_lpmigrate	0
647	tool/monitor:subscribe	read	50	tool_monitor	8
648	tool/monitor:managerules	write	50	tool_monitor	4
649	tool/monitor:managetool	write	10	tool_monitor	4
650	tool/policy:accept	write	10	tool_policy	0
651	tool/policy:acceptbehalf	write	30	tool_policy	8
652	tool/policy:managedocs	write	10	tool_policy	0
653	tool/policy:viewacceptances	read	10	tool_policy	0
654	tool/recyclebin:deleteitems	write	50	tool_recyclebin	32
655	tool/recyclebin:restoreitems	write	50	tool_recyclebin	0
656	tool/recyclebin:viewitems	read	50	tool_recyclebin	0
657	tool/uploaduser:uploaduserpictures	write	10	tool_uploaduser	16
658	tool/usertours:managetours	write	10	tool_usertours	4
659	contenttype/h5p:access	read	50	contenttype_h5p	0
660	contenttype/h5p:upload	write	50	contenttype_h5p	16
661	contenttype/h5p:useeditor	write	50	contenttype_h5p	16
662	booktool/exportimscp:export	read	70	booktool_exportimscp	0
663	booktool/importhtml:import	write	70	booktool_importhtml	4
664	booktool/print:print	read	70	booktool_print	0
665	forumreport/summary:view	read	70	forumreport_summary	0
666	forumreport/summary:viewall	read	70	forumreport_summary	8
667	quiz/grading:viewstudentnames	read	70	quiz_grading	0
668	quiz/grading:viewidnumber	read	70	quiz_grading	0
669	quiz/statistics:view	read	70	quiz_statistics	0
670	quizaccess/seb:managetemplates	write	10	quizaccess_seb	0
671	quizaccess/seb:bypassseb	read	70	quizaccess_seb	0
672	quizaccess/seb:manage_seb_requiresafeexambrowser	write	70	quizaccess_seb	0
673	quizaccess/seb:manage_seb_templateid	read	70	quizaccess_seb	0
674	quizaccess/seb:manage_filemanager_sebconfigfile	write	70	quizaccess_seb	0
675	quizaccess/seb:manage_seb_showsebdownloadlink	write	70	quizaccess_seb	0
676	quizaccess/seb:manage_seb_allowedbrowserexamkeys	write	70	quizaccess_seb	0
677	quizaccess/seb:manage_seb_linkquitseb	write	70	quizaccess_seb	0
678	quizaccess/seb:manage_seb_userconfirmquit	write	70	quizaccess_seb	0
679	quizaccess/seb:manage_seb_allowuserquitseb	write	70	quizaccess_seb	0
680	quizaccess/seb:manage_seb_quitpassword	write	70	quizaccess_seb	0
681	quizaccess/seb:manage_seb_allowreloadinexam	write	70	quizaccess_seb	0
682	quizaccess/seb:manage_seb_showsebtaskbar	write	70	quizaccess_seb	0
683	quizaccess/seb:manage_seb_showreloadbutton	write	70	quizaccess_seb	0
684	quizaccess/seb:manage_seb_showtime	write	70	quizaccess_seb	0
685	quizaccess/seb:manage_seb_showkeyboardlayout	write	70	quizaccess_seb	0
686	quizaccess/seb:manage_seb_showwificontrol	write	70	quizaccess_seb	0
687	quizaccess/seb:manage_seb_enableaudiocontrol	write	70	quizaccess_seb	0
688	quizaccess/seb:manage_seb_muteonstartup	write	70	quizaccess_seb	0
689	quizaccess/seb:manage_seb_allowspellchecking	write	70	quizaccess_seb	0
690	quizaccess/seb:manage_seb_activateurlfiltering	write	70	quizaccess_seb	0
691	quizaccess/seb:manage_seb_filterembeddedcontent	write	70	quizaccess_seb	0
692	quizaccess/seb:manage_seb_expressionsallowed	write	70	quizaccess_seb	0
693	quizaccess/seb:manage_seb_regexallowed	write	70	quizaccess_seb	0
694	quizaccess/seb:manage_seb_expressionsblocked	write	70	quizaccess_seb	0
695	quizaccess/seb:manage_seb_regexblocked	write	70	quizaccess_seb	0
696	atto/h5p:addembed	write	70	atto_h5p	0
697	atto/recordrtc:recordaudio	write	70	atto_recordrtc	0
698	atto/recordrtc:recordvideo	write	70	atto_recordrtc	0
\.


--
-- Data for Name: mdl_chat; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_chat (id, course, name, intro, introformat, keepdays, studentlogs, chattime, schedule, timemodified) FROM stdin;
\.


--
-- Data for Name: mdl_chat_messages; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_chat_messages (id, chatid, userid, groupid, issystem, message, "timestamp") FROM stdin;
\.


--
-- Data for Name: mdl_chat_messages_current; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_chat_messages_current (id, chatid, userid, groupid, issystem, message, "timestamp") FROM stdin;
\.


--
-- Data for Name: mdl_chat_users; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_chat_users (id, chatid, userid, groupid, version, ip, firstping, lastping, lastmessageping, sid, course, lang) FROM stdin;
\.


--
-- Data for Name: mdl_choice; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_choice (id, course, name, intro, introformat, publish, showresults, display, allowupdate, allowmultiple, showunanswered, includeinactive, limitanswers, timeopen, timeclose, showpreview, timemodified, completionsubmit, showavailable) FROM stdin;
\.


--
-- Data for Name: mdl_choice_answers; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_choice_answers (id, choiceid, userid, optionid, timemodified) FROM stdin;
\.


--
-- Data for Name: mdl_choice_options; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_choice_options (id, choiceid, text, maxanswers, timemodified) FROM stdin;
\.


--
-- Data for Name: mdl_cohort; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_cohort (id, contextid, name, idnumber, description, descriptionformat, visible, component, timecreated, timemodified, theme) FROM stdin;
\.


--
-- Data for Name: mdl_cohort_members; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_cohort_members (id, cohortid, userid, timeadded) FROM stdin;
\.


--
-- Data for Name: mdl_comments; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_comments (id, contextid, component, commentarea, itemid, content, format, userid, timecreated) FROM stdin;
\.


--
-- Data for Name: mdl_competency; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_competency (id, shortname, description, descriptionformat, idnumber, competencyframeworkid, parentid, path, sortorder, ruletype, ruleoutcome, ruleconfig, scaleid, scaleconfiguration, timecreated, timemodified, usermodified) FROM stdin;
\.


--
-- Data for Name: mdl_competency_coursecomp; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_competency_coursecomp (id, courseid, competencyid, ruleoutcome, timecreated, timemodified, usermodified, sortorder) FROM stdin;
\.


--
-- Data for Name: mdl_competency_coursecompsetting; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_competency_coursecompsetting (id, courseid, pushratingstouserplans, timecreated, timemodified, usermodified) FROM stdin;
\.


--
-- Data for Name: mdl_competency_evidence; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_competency_evidence (id, usercompetencyid, contextid, action, actionuserid, descidentifier, desccomponent, desca, url, grade, note, timecreated, timemodified, usermodified) FROM stdin;
\.


--
-- Data for Name: mdl_competency_framework; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_competency_framework (id, shortname, contextid, idnumber, description, descriptionformat, scaleid, scaleconfiguration, visible, taxonomies, timecreated, timemodified, usermodified) FROM stdin;
\.


--
-- Data for Name: mdl_competency_modulecomp; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_competency_modulecomp (id, cmid, timecreated, timemodified, usermodified, sortorder, competencyid, ruleoutcome) FROM stdin;
\.


--
-- Data for Name: mdl_competency_plan; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_competency_plan (id, name, description, descriptionformat, userid, templateid, origtemplateid, status, duedate, reviewerid, timecreated, timemodified, usermodified) FROM stdin;
\.


--
-- Data for Name: mdl_competency_plancomp; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_competency_plancomp (id, planid, competencyid, sortorder, timecreated, timemodified, usermodified) FROM stdin;
\.


--
-- Data for Name: mdl_competency_relatedcomp; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_competency_relatedcomp (id, competencyid, relatedcompetencyid, timecreated, timemodified, usermodified) FROM stdin;
\.


--
-- Data for Name: mdl_competency_template; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_competency_template (id, shortname, contextid, description, descriptionformat, visible, duedate, timecreated, timemodified, usermodified) FROM stdin;
\.


--
-- Data for Name: mdl_competency_templatecohort; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_competency_templatecohort (id, templateid, cohortid, timecreated, timemodified, usermodified) FROM stdin;
\.


--
-- Data for Name: mdl_competency_templatecomp; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_competency_templatecomp (id, templateid, competencyid, timecreated, timemodified, usermodified, sortorder) FROM stdin;
\.


--
-- Data for Name: mdl_competency_usercomp; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_competency_usercomp (id, userid, competencyid, status, reviewerid, proficiency, grade, timecreated, timemodified, usermodified) FROM stdin;
\.


--
-- Data for Name: mdl_competency_usercompcourse; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_competency_usercompcourse (id, userid, courseid, competencyid, proficiency, grade, timecreated, timemodified, usermodified) FROM stdin;
\.


--
-- Data for Name: mdl_competency_usercompplan; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_competency_usercompplan (id, userid, competencyid, planid, proficiency, grade, sortorder, timecreated, timemodified, usermodified) FROM stdin;
\.


--
-- Data for Name: mdl_competency_userevidence; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_competency_userevidence (id, userid, name, description, descriptionformat, url, timecreated, timemodified, usermodified) FROM stdin;
\.


--
-- Data for Name: mdl_competency_userevidencecomp; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_competency_userevidencecomp (id, userevidenceid, competencyid, timecreated, timemodified, usermodified) FROM stdin;
\.


--
-- Data for Name: mdl_config; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_config (id, name, value) FROM stdin;
3	auth	email
4	enrol_plugins_enabled	manual,guest,self,cohort
5	theme	boost
6	filter_multilang_converted	1
7	siteidentifier	uhSwZvNeIECaSCjawUw6V173V1PR7SbWmoodle.DDOOMMAAIINN
8	backup_version	2008111700
9	backup_release	2.0 dev
10	mnet_dispatcher_mode	off
11	sessiontimeout	28800
12	stringfilters	
15	antiviruses	
16	media_plugins_sortorder	videojs,youtube,swf
17	upgrade_extracreditweightsstepignored	1
18	upgrade_calculatedgradeitemsignored	1
19	upgrade_letterboundarycourses	1
20	mnet_localhost_id	1
21	mnet_all_hosts_id	2
22	siteguest	1
23	siteadmins	2
27	gdversion	2
28	licenses	unknown,allrightsreserved,public,cc,cc-nd,cc-nc-nd,cc-nc,cc-nc-sa,cc-sa
29	sitedefaultlicense	unknown
30	badges_site_backpack	1
31	version	2020110903.01
32	enableuserfeedback	0
33	userfeedback_nextreminder	1
34	userfeedback_remindafter	90
35	enableoutcomes	0
36	usecomments	1
37	usetags	1
38	enablenotes	1
39	enableportfolios	0
41	enablestats	0
42	enablerssfeeds	0
44	enablecompletion	1
45	completiondefault	1
46	enableavailability	1
47	enableplagiarism	0
48	enablebadges	1
49	enableglobalsearch	0
50	allowstealth	0
51	enableanalytics	1
52	allowemojipicker	1
53	userfiltersdefault	realname
54	defaultpreference_maildisplay	2
55	defaultpreference_mailformat	1
56	defaultpreference_maildigest	0
57	defaultpreference_autosubscribe	1
58	defaultpreference_trackforums	0
59	autologinguests	0
60	hiddenuserfields	
61	showuseridentity	email
62	fullnamedisplay	language
63	alternativefullnameformat	language
64	maxusersperpage	100
65	enablegravatar	0
66	gravatardefaulturl	mm
67	agedigitalconsentverification	0
68	agedigitalconsentmap	*, 16\nAT, 14\nBE, 13\nBG, 14\nCY, 14\nCZ, 15\nDK, 13\nEE, 13\nES, 14\nFI, 13\nFR, 15\nGB, 13\nGR, 15\nIT, 14\nLT, 14\nLV, 13\nMT, 13\nNO, 13\nPT, 13\nSE, 13\nUS, 13
69	sitepolicy	
70	sitepolicyguest	
71	downloadcoursecontentallowed	0
72	maxsizeperdownloadcoursefile	52428800
73	enablecourserequests	1
74	defaultrequestcategory	1
75	lockrequestcategory	0
76	courserequestnotify	
77	activitychoosertabmode	0
78	activitychooseractivefooter	hidden
79	enableasyncbackup	0
80	grade_profilereport	user
81	grade_aggregationposition	1
82	grade_includescalesinaggregation	1
83	grade_hiddenasdate	0
84	gradepublishing	0
85	grade_export_exportfeedback	0
86	grade_export_displaytype	1
87	grade_export_decimalpoints	2
88	grade_navmethod	1
89	grade_export_userprofilefields	firstname,lastname,idnumber,institution,department,email
90	grade_export_customprofilefields	
91	recovergradesdefault	0
92	gradeexport	
93	unlimitedgrades	0
94	grade_report_showmin	1
95	gradepointmax	100
96	gradepointdefault	100
97	grade_minmaxtouse	1
98	grade_mygrades_report	overview
99	gradereport_mygradeurl	
100	grade_hideforcedsettings	1
101	grade_aggregation	13
102	grade_aggregation_flag	0
103	grade_aggregations_visible	13
104	grade_aggregateonlygraded	1
105	grade_aggregateonlygraded_flag	2
106	grade_aggregateoutcomes	0
107	grade_aggregateoutcomes_flag	2
108	grade_keephigh	0
109	grade_keephigh_flag	3
110	grade_droplow	0
111	grade_droplow_flag	2
112	grade_overridecat	1
113	grade_displaytype	1
114	grade_decimalpoints	2
115	grade_item_advanced	iteminfo,idnumber,gradepass,plusfactor,multfactor,display,decimals,hiddenuntil,locktime
116	grade_report_studentsperpage	100
117	grade_report_showonlyactiveenrol	1
118	grade_report_quickgrading	1
119	grade_report_showquickfeedback	0
120	grade_report_meanselection	1
121	grade_report_enableajax	0
122	grade_report_showcalculations	1
25	jsrev	1617856733
26	templaterev	1617856733
13	filterall	0
14	texteditors	atto,tinymce,textarea
2	rolesactive	1
24	themerev	1617856733
40	enablewebservices	1
43	enableblogs	0
123	grade_report_showeyecons	0
124	grade_report_showaverages	1
125	grade_report_showlocks	0
126	grade_report_showranges	0
127	grade_report_showanalysisicon	1
128	grade_report_showuserimage	1
129	grade_report_showactivityicons	1
130	grade_report_shownumberofgrades	0
131	grade_report_averagesdisplaytype	inherit
132	grade_report_rangesdisplaytype	inherit
133	grade_report_averagesdecimalpoints	inherit
134	grade_report_rangesdecimalpoints	inherit
135	grade_report_historyperpage	50
136	grade_report_overview_showrank	0
137	grade_report_overview_showtotalsifcontainhidden	0
138	grade_report_user_showrank	0
139	grade_report_user_showpercentage	1
140	grade_report_user_showgrade	1
141	grade_report_user_showfeedback	1
142	grade_report_user_showrange	1
143	grade_report_user_showweight	1
144	grade_report_user_showaverage	0
145	grade_report_user_showlettergrade	0
146	grade_report_user_rangedecimals	0
147	grade_report_user_showhiddenitems	1
148	grade_report_user_showtotalsifcontainhidden	0
149	grade_report_user_showcontributiontocoursetotal	1
150	badges_defaultissuername	
151	badges_defaultissuercontact	
152	badges_badgesalt	badges1617856661
153	badges_allowcoursebadges	1
154	badges_allowexternalbackpack	1
155	rememberuserlicensepref	1
156	timezone	Europe/London
157	forcetimezone	99
158	country	0
159	defaultcity	
160	geoip2file	/var/www/moodledata/geoip/GeoLite2-City.mmdb
161	googlemapkey3	
162	allcountrycodes	
163	autolang	1
164	lang	es
165	autolangusercreation	1
166	langmenu	1
167	langlist	
169	langcache	1
170	langstringcache	1
171	locale	
172	latinexcelexport	0
173	messaging	1
174	messagingallusers	0
175	messagingdefaultpressenter	1
176	messagingdeletereadnotificationsdelay	604800
177	messagingdeleteallnotificationsdelay	2620800
178	messagingallowemailoverride	0
180	authloginviaemail	0
181	allowaccountssameemail	0
182	authpreventaccountcreation	0
183	loginpageautofocus	0
184	guestloginbutton	1
185	limitconcurrentlogins	0
186	alternateloginurl	
187	forgottenpasswordurl	
188	auth_instructions	
189	allowemailaddresses	
190	denyemailaddresses	
191	verifychangedemail	1
192	recaptchapublickey	
193	recaptchaprivatekey	
194	searchengine	simpledb
195	searchindexwhendisabled	0
196	searchindextime	600
197	searchallavailablecourses	0
198	searchincludeallcourses	0
199	searchenablecategories	0
200	searchdefaultcategory	core-all
201	searchhideallcategory	0
202	searchenginequeryonly	
203	searchbannerenable	0
204	searchbanner	
205	filteruploadedfiles	0
206	filtermatchoneperpage	0
207	filtermatchonepertext	0
208	requiremodintro	0
209	portfolio_moderate_filesize_threshold	1048576
210	portfolio_high_filesize_threshold	5242880
211	portfolio_moderate_db_threshold	20
212	portfolio_high_db_threshold	50
213	repositorycacheexpire	120
214	repositorygetfiletimeout	30
215	repositorysyncfiletimeout	1
216	repositorysyncimagetimeout	3
217	repositoryallowexternallinks	1
218	legacyfilesinnewcourses	0
219	legacyfilesaddallowed	1
220	media_default_width	400
221	media_default_height	300
222	enablewsdocumentation	0
223	allowbeforeblock	0
224	allowedip	
225	blockedip	
226	protectusernames	1
227	forcelogin	0
228	forceloginforprofiles	1
229	forceloginforprofileimage	0
230	opentowebcrawlers	0
231	allowindexing	0
232	userquota	104857600
233	allowobjectembed	0
234	enabletrusttext	0
235	maxeditingtime	1800
236	extendedusernamechars	0
237	keeptagnamecase	1
238	profilesforenrolledusersonly	1
239	cronclionly	1
240	cronremotepassword	
241	lockoutthreshold	0
242	lockoutwindow	1800
243	lockoutduration	1800
244	passwordpolicy	1
245	minpasswordlength	8
246	minpassworddigits	1
247	minpasswordlower	1
248	minpasswordupper	1
179	registerauth	
249	minpasswordnonalphanum	1
250	maxconsecutiveidentchars	0
251	passwordpolicycheckonlogin	0
252	passwordreuselimit	0
253	pwresettime	1800
254	passwordchangelogout	0
255	passwordchangetokendeletion	0
256	tokenduration	7257600
257	groupenrolmentkeypolicy	1
258	disableuserimages	0
259	emailchangeconfirmation	1
260	rememberusername	2
261	strictformsrequired	0
262	cookiesecure	1
263	cookiehttponly	0
264	allowframembedding	0
265	curlsecurityblockedhosts	
266	curlsecurityallowedport	
267	referrerpolicy	default
268	displayloginfailures	0
269	notifyloginfailures	
270	notifyloginthreshold	10
271	themelist	
272	themedesignermode	0
273	allowuserthemes	0
274	allowcoursethemes	0
275	allowcategorythemes	0
276	allowcohortthemes	0
277	allowthemechangeonurl	0
278	allowuserblockhiding	1
279	langmenuinsecurelayout	0
280	logininfoinsecurelayout	0
281	custommenuitems	
282	customusermenuitems	grades,grades|/grade/report/mygrades.php|t/grades\nmessages,message|/message/index.php|t/message\npreferences,moodle|/user/preferences.php|t/preferences
283	enabledevicedetection	1
284	devicedetectregex	[]
285	calendartype	gregorian
286	calendar_adminseesall	0
287	calendar_site_timeformat	0
288	calendar_startwday	1
289	calendar_weekend	65
290	calendar_lookahead	21
291	calendar_maxevents	10
292	enablecalendarexport	1
293	calendar_customexport	1
294	calendar_exportlookahead	365
295	calendar_exportlookback	5
297	calendar_showicalsource	1
298	useblogassociations	1
299	bloglevel	4
300	useexternalblogs	1
301	externalblogcrontime	86400
302	maxexternalblogsperuser	1
303	blogusecomments	1
304	blogshowcommentscount	1
305	defaulthomepage	1
306	allowguestmymoodle	1
307	navshowfullcoursenames	0
308	navshowcategories	1
309	navshowmycoursecategories	0
310	navshowallcourses	0
311	navsortmycoursessort	sortorder
312	navsortmycourseshiddenlast	1
313	navcourselimit	10
314	usesitenameforsitepages	0
315	linkadmincategories	1
316	linkcoursesections	1
317	navshowfrontpagemods	1
318	navadduserpostslinks	1
319	formatstringstriptags	1
320	emoticons	[{"text":":-)","imagename":"s\\/smiley","imagecomponent":"core","altidentifier":"smiley","altcomponent":"core_pix"},{"text":":)","imagename":"s\\/smiley","imagecomponent":"core","altidentifier":"smiley","altcomponent":"core_pix"},{"text":":-D","imagename":"s\\/biggrin","imagecomponent":"core","altidentifier":"biggrin","altcomponent":"core_pix"},{"text":";-)","imagename":"s\\/wink","imagecomponent":"core","altidentifier":"wink","altcomponent":"core_pix"},{"text":":-\\/","imagename":"s\\/mixed","imagecomponent":"core","altidentifier":"mixed","altcomponent":"core_pix"},{"text":"V-.","imagename":"s\\/thoughtful","imagecomponent":"core","altidentifier":"thoughtful","altcomponent":"core_pix"},{"text":":-P","imagename":"s\\/tongueout","imagecomponent":"core","altidentifier":"tongueout","altcomponent":"core_pix"},{"text":":-p","imagename":"s\\/tongueout","imagecomponent":"core","altidentifier":"tongueout","altcomponent":"core_pix"},{"text":"B-)","imagename":"s\\/cool","imagecomponent":"core","altidentifier":"cool","altcomponent":"core_pix"},{"text":"^-)","imagename":"s\\/approve","imagecomponent":"core","altidentifier":"approve","altcomponent":"core_pix"},{"text":"8-)","imagename":"s\\/wideeyes","imagecomponent":"core","altidentifier":"wideeyes","altcomponent":"core_pix"},{"text":":o)","imagename":"s\\/clown","imagecomponent":"core","altidentifier":"clown","altcomponent":"core_pix"},{"text":":-(","imagename":"s\\/sad","imagecomponent":"core","altidentifier":"sad","altcomponent":"core_pix"},{"text":":(","imagename":"s\\/sad","imagecomponent":"core","altidentifier":"sad","altcomponent":"core_pix"},{"text":"8-.","imagename":"s\\/shy","imagecomponent":"core","altidentifier":"shy","altcomponent":"core_pix"},{"text":":-I","imagename":"s\\/blush","imagecomponent":"core","altidentifier":"blush","altcomponent":"core_pix"},{"text":":-X","imagename":"s\\/kiss","imagecomponent":"core","altidentifier":"kiss","altcomponent":"core_pix"},{"text":"8-o","imagename":"s\\/surprise","imagecomponent":"core","altidentifier":"surprise","altcomponent":"core_pix"},{"text":"P-|","imagename":"s\\/blackeye","imagecomponent":"core","altidentifier":"blackeye","altcomponent":"core_pix"},{"text":"8-[","imagename":"s\\/angry","imagecomponent":"core","altidentifier":"angry","altcomponent":"core_pix"},{"text":"(grr)","imagename":"s\\/angry","imagecomponent":"core","altidentifier":"angry","altcomponent":"core_pix"},{"text":"xx-P","imagename":"s\\/dead","imagecomponent":"core","altidentifier":"dead","altcomponent":"core_pix"},{"text":"|-.","imagename":"s\\/sleepy","imagecomponent":"core","altidentifier":"sleepy","altcomponent":"core_pix"},{"text":"}-]","imagename":"s\\/evil","imagecomponent":"core","altidentifier":"evil","altcomponent":"core_pix"},{"text":"(h)","imagename":"s\\/heart","imagecomponent":"core","altidentifier":"heart","altcomponent":"core_pix"},{"text":"(heart)","imagename":"s\\/heart","imagecomponent":"core","altidentifier":"heart","altcomponent":"core_pix"},{"text":"(y)","imagename":"s\\/yes","imagecomponent":"core","altidentifier":"yes","altcomponent":"core"},{"text":"(n)","imagename":"s\\/no","imagecomponent":"core","altidentifier":"no","altcomponent":"core"},{"text":"(martin)","imagename":"s\\/martin","imagecomponent":"core","altidentifier":"martin","altcomponent":"core_pix"},{"text":"( )","imagename":"s\\/egg","imagecomponent":"core","altidentifier":"egg","altcomponent":"core_pix"}]
321	docroot	https://docs.moodle.org
322	doclang	
323	doctonewwindow	0
324	coursecontactduplicates	0
325	courselistshortnames	0
326	coursesperpage	20
327	courseswithsummarieslimit	10
328	courseoverviewfileslimit	1
329	courseoverviewfilesext	.jpg,.gif,.png
330	coursegraceperiodbefore	0
331	coursegraceperiodafter	0
332	useexternalyui	0
333	yuicomboloading	1
334	cachejs	1
335	modchooserdefault	1
336	additionalhtmlhead	
337	additionalhtmltopofbody	
338	additionalhtmlfooter	
339	cachetemplates	1
342	aspellpath	
343	pathtodot	
344	pathtogs	/usr/bin/gs
345	pathtopython	
346	supportname	Administrador Usuario
347	supportemail	
348	supportpage	
349	dbsessions	0
350	sessioncookie	
351	sessioncookiepath	
352	sessioncookiedomain	
353	statsfirstrun	none
354	statsmaxruntime	0
355	statsruntimedays	31
356	statsuserthreshold	0
357	slasharguments	1
358	getremoteaddrconf	3
359	reverseproxyignore	
360	proxyhost	
361	proxyport	0
362	proxytype	HTTP
363	proxyuser	
364	proxypassword	
365	proxybypass	localhost, 127.0.0.1
366	maintenance_enabled	0
367	maintenance_message	
368	deleteunconfirmed	168
369	deleteincompleteusers	0
340	pathtophp	/usr/bin/php
341	pathtodu	/usr/bin/du
370	disablegradehistory	0
371	gradehistorylifetime	0
372	tempdatafoldercleanup	168
373	filescleanupperiod	86400
374	extramemorylimit	512M
375	maxtimelimit	0
376	curlcache	120
377	curltimeoutkbitrate	56
378	cron_enabled	1
379	task_scheduled_concurrency_limit	3
380	task_scheduled_max_runtime	1800
381	task_adhoc_concurrency_limit	3
382	task_adhoc_max_runtime	1800
383	task_logmode	1
384	task_logtostdout	1
385	task_logretention	2419200
386	task_logretainruns	20
389	smtpauthtype	LOGIN
392	smtpmaxbulk	1
394	allowedemaildomains	
395	divertallemailsto	
396	divertallemailsexcept	
397	emaildkimselector	
398	sitemailcharset	0
399	allowusermailcharset	0
400	allowattachments	1
401	mailnewline	LF
402	emailfromvia	1
404	emailheaders	
405	updateautocheck	1
406	updateminmaturity	200
407	updatenotifybuilds	0
408	dndallowtextandlinks	0
409	pathtosassc	
410	contextlocking	0
411	contextlockappliestoadmin	1
412	forceclean	0
413	enablecourserelativedates	0
414	debug	0
415	debugdisplay	1
416	perfdebug	7
417	debugstringids	0
418	debugsqltrace	0
419	debugvalidators	0
420	debugpageinfo	0
421	profilingenabled	0
422	profilingincluded	
423	profilingexcluded	
424	profilingautofrec	0
425	profilingallowme	0
426	profilingallowall	0
427	profilingslow	0
428	profilinglifetime	1440
429	profilingimportprefix	(I)
430	release	3.10.3+ (Build: 20210330)
431	branch	310
456	block_course_list_adminview	all
457	block_course_list_hideallcourseslink	0
458	block_html_allowcssclasses	0
459	block_online_users_timetosee	5
460	block_online_users_onlinestatushiding	1
461	pathtounoconv	/usr/bin/unoconv
434	paygw_plugins_sortorder	paypal
462	filter_censor_badwords	
463	filter_multilang_force_old	0
464	logguests	1
465	loglifetime	0
466	data_enablerssfeeds	0
467	bigbluebuttonbn_server_url	http://test-install.blindsidenetworks.com/bigbluebutton/
468	bigbluebuttonbn_shared_secret	8cd8ef52e8e101574e400365b55e11a6
469	bigbluebuttonbn_recording_default	1
470	bigbluebuttonbn_recording_editable	1
471	bigbluebuttonbn_recording_icons_enabled	1
472	bigbluebuttonbn_recording_all_from_start_default	0
473	bigbluebuttonbn_recording_all_from_start_editable	0
474	bigbluebuttonbn_recording_hide_button_default	0
475	bigbluebuttonbn_recording_hide_button_editable	0
476	bigbluebuttonbn_importrecordings_enabled	0
477	bigbluebuttonbn_importrecordings_from_deleted_enabled	0
478	bigbluebuttonbn_recordings_html_default	1
479	bigbluebuttonbn_recordings_html_editable	0
480	bigbluebuttonbn_recordings_deleted_default	1
435	allversionshash	7339a3e675bbefc351fe437e806830f831ab5a35
481	bigbluebuttonbn_recordings_deleted_editable	0
432	localcachedirpurged	1617856733
433	scheduledtaskreset	1617856733
436	notloggedinroleid	6
437	guestroleid	6
438	defaultuserroleid	7
439	creatornewroleid	3
440	restorernewroleid	3
441	sitepolicyhandler	
442	gradebookroles	5
443	h5plibraryhandler	h5plib_v124
387	smtphosts	smtp.mymailserver.com:587
444	jabberhost	
445	jabberserver	
446	jabberusername	
447	jabberpassword	
448	jabberport	5222
449	airnotifierurl	https://messages.moodle.net
450	airnotifierport	443
451	airnotifiermobileappname	com.moodle.moodlemobile
452	airnotifierappname	commoodlemoodlemobile
482	bigbluebuttonbn_recordings_imported_default	0
453	airnotifieraccesskey	
454	block_rss_client_num_entries	5
455	block_rss_client_timeout	30
483	bigbluebuttonbn_recordings_imported_editable	1
484	bigbluebuttonbn_recordings_preview_default	1
485	bigbluebuttonbn_recordings_preview_editable	0
486	bigbluebuttonbn_recordings_sortorder	0
487	bigbluebuttonbn_recordings_validate_url	1
488	bigbluebuttonbn_waitformoderator_default	0
489	bigbluebuttonbn_waitformoderator_editable	1
168	langrev	1617856757
390	smtpuser	your_email@mymailserver.com
391	smtppass	SuperSecret
388	smtpsecure	tls
403	emailsubjectprefix	[moodle]
490	bigbluebuttonbn_waitformoderator_ping_interval	10
491	bigbluebuttonbn_waitformoderator_cache_ttl	60
492	bigbluebuttonbn_voicebridge_editable	0
493	bigbluebuttonbn_preuploadpresentation_enabled	0
494	bigbluebuttonbn_userlimit_default	0
495	bigbluebuttonbn_userlimit_editable	0
496	bigbluebuttonbn_participant_moderator_default	0
497	bigbluebuttonbn_sendnotifications_enabled	1
498	bigbluebuttonbn_muteonstart_default	0
499	bigbluebuttonbn_muteonstart_editable	0
500	bigbluebuttonbn_disablecam_default	0
501	bigbluebuttonbn_disablecam_editable	1
502	bigbluebuttonbn_disablemic_default	0
503	bigbluebuttonbn_disablemic_editable	1
504	bigbluebuttonbn_disableprivatechat_default	0
505	bigbluebuttonbn_disableprivatechat_editable	1
506	bigbluebuttonbn_disablepublicchat_default	0
507	bigbluebuttonbn_disablepublicchat_editable	1
508	bigbluebuttonbn_disablenote_default	0
509	bigbluebuttonbn_disablenote_editable	1
510	bigbluebuttonbn_hideuserlist_default	0
511	bigbluebuttonbn_hideuserlist_editable	1
512	bigbluebuttonbn_lockedlayout_default	0
513	bigbluebuttonbn_lockedlayout_editable	1
514	bigbluebuttonbn_lockonjoin_default	0
515	bigbluebuttonbn_lockonjoin_editable	1
516	bigbluebuttonbn_lockonjoinconfigurable_default	0
517	bigbluebuttonbn_lockonjoinconfigurable_editable	1
518	bigbluebuttonbn_welcome_default	
519	bigbluebuttonbn_recordingready_enabled	0
520	bigbluebuttonbn_meetingevents_enabled	0
521	chat_method	ajax
522	chat_refresh_userlist	10
523	chat_old_ping	35
524	chat_refresh_room	5
525	chat_normal_updatemode	jsupdate
526	chat_serverhost	moodle.DDOOMMAAIINN
527	chat_serverip	127.0.0.1
528	chat_serverport	9111
529	chat_servermax	100
530	forum_displaymode	3
531	forum_shortpost	300
532	forum_longpost	600
533	forum_manydiscussions	100
534	forum_maxattachments	9
535	forum_subscription	0
536	forum_trackingtype	1
537	forum_trackreadposts	1
538	forum_allowforcedreadtracking	0
539	forum_oldpostdays	14
540	forum_usermarksread	0
541	forum_cleanreadtime	2
542	digestmailtime	17
543	forum_enablerssfeeds	0
544	forum_enabletimedposts	1
545	glossary_entbypage	10
546	glossary_dupentries	0
547	glossary_allowcomments	0
548	glossary_linkbydefault	1
549	glossary_defaultapproval	1
550	glossary_enablerssfeeds	0
551	glossary_linkentries	0
552	glossary_casesensitive	0
553	glossary_fullmatch	0
554	jitsi_domain	meet.jit.si
555	jitsi_sesionname	0,1,2
556	jitsi_securitybutton	0
557	jitsi_invitebuttons	0
558	jitsi_channellastcam	4
559	jitsi_livebutton	0
560	jitsi_blurbutton	0
561	jitsi_shareyoutube	0
562	jitsi_watermarklink	https://jitsi.org
563	jitsi_finishandreturn	0
564	jitsi_password	
565	jitsi_privatesessions	1
566	jitsi_app_id	
567	jitsi_secret	
568	feedback_allowfullanonymous	0
569	profileroles	5,4,3
570	coursecontact	3
571	frontpage	6
572	frontpageloggedin	6
573	maxcategorydepth	2
574	frontpagecourselimit	200
575	commentsperpage	15
576	defaultfrontpageroleid	8
577	messageinbound_enabled	0
578	messageinbound_mailbox	
579	messageinbound_domain	
580	messageinbound_host	
581	messageinbound_hostssl	ssl
582	messageinbound_hostuser	
583	messageinbound_hostpass	
584	webserviceprotocols	rest
585	enablemobilewebservice	1
586	mobilecssurl	
296	calendar_exportsalt	w1aBttT1UBWCliVw93s75n0YYxnzFRiayIvbPMu2BBwJevJ57gHsPDeEAbZU
587	registrationpending	1
393	noreplyaddress	noreply@mymailserver.com
588	scorm_updatetimelast	1617856802
\.


--
-- Data for Name: mdl_config_log; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_config_log (id, userid, timemodified, plugin, name, value, oldvalue) FROM stdin;
1	0	1617856678	\N	enableuserfeedback	0	\N
2	0	1617856678	\N	userfeedback_nextreminder	1	\N
3	0	1617856678	\N	userfeedback_remindafter	90	\N
4	0	1617856678	\N	enableoutcomes	0	\N
5	0	1617856678	\N	usecomments	1	\N
6	0	1617856678	\N	usetags	1	\N
7	0	1617856678	\N	enablenotes	1	\N
8	0	1617856678	\N	enableportfolios	0	\N
9	0	1617856678	\N	enablewebservices	0	\N
10	0	1617856678	\N	enablestats	0	\N
11	0	1617856678	\N	enablerssfeeds	0	\N
12	0	1617856678	\N	enableblogs	1	\N
13	0	1617856678	\N	enablecompletion	1	\N
14	0	1617856678	\N	completiondefault	1	\N
15	0	1617856678	\N	enableavailability	1	\N
16	0	1617856678	\N	enableplagiarism	0	\N
17	0	1617856678	\N	enablebadges	1	\N
18	0	1617856678	\N	enableglobalsearch	0	\N
19	0	1617856678	\N	allowstealth	0	\N
20	0	1617856678	\N	enableanalytics	1	\N
21	0	1617856678	\N	allowemojipicker	1	\N
22	0	1617856678	\N	userfiltersdefault	realname	\N
23	0	1617856678	\N	defaultpreference_maildisplay	2	\N
24	0	1617856678	\N	defaultpreference_mailformat	1	\N
25	0	1617856678	\N	defaultpreference_maildigest	0	\N
26	0	1617856678	\N	defaultpreference_autosubscribe	1	\N
27	0	1617856678	\N	defaultpreference_trackforums	0	\N
28	0	1617856678	\N	autologinguests	0	\N
29	0	1617856678	\N	hiddenuserfields		\N
30	0	1617856678	\N	showuseridentity	email	\N
31	0	1617856678	\N	fullnamedisplay	language	\N
32	0	1617856678	\N	alternativefullnameformat	language	\N
33	0	1617856678	\N	maxusersperpage	100	\N
34	0	1617856678	\N	enablegravatar	0	\N
35	0	1617856678	\N	gravatardefaulturl	mm	\N
36	0	1617856678	\N	agedigitalconsentverification	0	\N
37	0	1617856678	\N	agedigitalconsentmap	*, 16\nAT, 14\nBE, 13\nBG, 14\nCY, 14\nCZ, 15\nDK, 13\nEE, 13\nES, 14\nFI, 13\nFR, 15\nGB, 13\nGR, 15\nIT, 14\nLT, 14\nLV, 13\nMT, 13\nNO, 13\nPT, 13\nSE, 13\nUS, 13	\N
38	0	1617856678	\N	sitepolicy		\N
39	0	1617856678	\N	sitepolicyguest		\N
40	0	1617856678	moodlecourse	visible	1	\N
41	0	1617856679	moodlecourse	downloadcontentsitedefault	0	\N
42	0	1617856679	moodlecourse	format	topics	\N
43	0	1617856679	moodlecourse	maxsections	52	\N
44	0	1617856679	moodlecourse	numsections	4	\N
45	0	1617856679	moodlecourse	hiddensections	0	\N
46	0	1617856679	moodlecourse	coursedisplay	0	\N
47	0	1617856679	moodlecourse	courseenddateenabled	1	\N
48	0	1617856679	moodlecourse	courseduration	31536000	\N
49	0	1617856679	moodlecourse	lang		\N
50	0	1617856679	moodlecourse	newsitems	5	\N
51	0	1617856679	moodlecourse	showgrades	1	\N
52	0	1617856679	moodlecourse	showreports	0	\N
53	0	1617856679	moodlecourse	enablecompletion	1	\N
54	0	1617856679	moodlecourse	groupmode	0	\N
55	0	1617856679	moodlecourse	groupmodeforce	0	\N
56	0	1617856679	\N	downloadcoursecontentallowed	0	\N
57	0	1617856679	\N	maxsizeperdownloadcoursefile	52428800	\N
58	0	1617856679	\N	enablecourserequests	1	\N
59	0	1617856679	\N	defaultrequestcategory	1	\N
60	0	1617856679	\N	lockrequestcategory	0	\N
61	0	1617856679	\N	courserequestnotify		\N
62	0	1617856679	\N	activitychoosertabmode	0	\N
63	0	1617856679	\N	activitychooseractivefooter	hidden	\N
64	0	1617856679	backup	loglifetime	30	\N
65	0	1617856679	backup	backup_general_users	1	\N
66	0	1617856679	backup	backup_general_users_locked		\N
67	0	1617856679	backup	backup_general_anonymize	0	\N
68	0	1617856679	backup	backup_general_anonymize_locked		\N
69	0	1617856679	backup	backup_general_role_assignments	1	\N
70	0	1617856679	backup	backup_general_role_assignments_locked		\N
71	0	1617856679	backup	backup_general_activities	1	\N
72	0	1617856679	backup	backup_general_activities_locked		\N
73	0	1617856679	backup	backup_general_blocks	1	\N
74	0	1617856679	backup	backup_general_blocks_locked		\N
75	0	1617856679	backup	backup_general_files	1	\N
76	0	1617856679	backup	backup_general_files_locked		\N
77	0	1617856679	backup	backup_general_filters	1	\N
78	0	1617856679	backup	backup_general_filters_locked		\N
79	0	1617856679	backup	backup_general_comments	1	\N
80	0	1617856679	backup	backup_general_comments_locked		\N
81	0	1617856679	backup	backup_general_badges	1	\N
82	0	1617856679	backup	backup_general_badges_locked		\N
83	0	1617856679	backup	backup_general_calendarevents	1	\N
84	0	1617856679	backup	backup_general_calendarevents_locked		\N
85	0	1617856679	backup	backup_general_userscompletion	1	\N
86	0	1617856679	backup	backup_general_userscompletion_locked		\N
87	0	1617856679	backup	backup_general_logs	0	\N
88	0	1617856679	backup	backup_general_logs_locked		\N
89	0	1617856679	backup	backup_general_histories	0	\N
90	0	1617856679	backup	backup_general_histories_locked		\N
91	0	1617856679	backup	backup_general_questionbank	1	\N
92	0	1617856679	backup	backup_general_questionbank_locked		\N
93	0	1617856679	backup	backup_general_groups	1	\N
94	0	1617856679	backup	backup_general_groups_locked		\N
95	0	1617856679	backup	backup_general_competencies	1	\N
569	0	1617856685	\N	smtpuser		\N
96	0	1617856679	backup	backup_general_competencies_locked		\N
97	0	1617856679	backup	backup_general_contentbankcontent	1	\N
98	0	1617856679	backup	backup_general_contentbankcontent_locked		\N
99	0	1617856679	backup	backup_general_legacyfiles	1	\N
100	0	1617856679	backup	backup_general_legacyfiles_locked		\N
101	0	1617856679	backup	import_general_maxresults	10	\N
102	0	1617856679	backup	import_general_duplicate_admin_allowed	0	\N
103	0	1617856679	backup	backup_import_activities	1	\N
104	0	1617856679	backup	backup_import_activities_locked		\N
105	0	1617856679	backup	backup_import_blocks	1	\N
106	0	1617856679	backup	backup_import_blocks_locked		\N
107	0	1617856679	backup	backup_import_filters	1	\N
108	0	1617856679	backup	backup_import_filters_locked		\N
109	0	1617856679	backup	backup_import_calendarevents	1	\N
110	0	1617856679	backup	backup_import_calendarevents_locked		\N
111	0	1617856679	backup	backup_import_questionbank	1	\N
112	0	1617856679	backup	backup_import_questionbank_locked		\N
113	0	1617856679	backup	backup_import_groups	1	\N
114	0	1617856679	backup	backup_import_groups_locked		\N
115	0	1617856679	backup	backup_import_competencies	1	\N
116	0	1617856679	backup	backup_import_competencies_locked		\N
117	0	1617856679	backup	backup_import_contentbankcontent	1	\N
118	0	1617856679	backup	backup_import_contentbankcontent_locked		\N
119	0	1617856679	backup	backup_import_legacyfiles	1	\N
120	0	1617856679	backup	backup_import_legacyfiles_locked		\N
121	0	1617856679	backup	backup_auto_active	0	\N
122	0	1617856679	backup	backup_auto_weekdays	0000000	\N
123	0	1617856679	backup	backup_auto_hour	0	\N
124	0	1617856679	backup	backup_auto_minute	0	\N
125	0	1617856679	backup	backup_auto_storage	0	\N
126	0	1617856679	backup	backup_auto_destination		\N
127	0	1617856679	backup	backup_auto_max_kept	1	\N
128	0	1617856679	backup	backup_auto_delete_days	0	\N
129	0	1617856679	backup	backup_auto_min_kept	0	\N
130	0	1617856679	backup	backup_shortname	0	\N
131	0	1617856679	backup	backup_auto_skip_hidden	1	\N
132	0	1617856679	backup	backup_auto_skip_modif_days	30	\N
133	0	1617856679	backup	backup_auto_skip_modif_prev	0	\N
134	0	1617856679	backup	backup_auto_users	1	\N
135	0	1617856679	backup	backup_auto_role_assignments	1	\N
136	0	1617856679	backup	backup_auto_activities	1	\N
137	0	1617856679	backup	backup_auto_blocks	1	\N
138	0	1617856679	backup	backup_auto_files	1	\N
139	0	1617856679	backup	backup_auto_filters	1	\N
140	0	1617856679	backup	backup_auto_comments	1	\N
141	0	1617856679	backup	backup_auto_badges	1	\N
142	0	1617856679	backup	backup_auto_calendarevents	1	\N
143	0	1617856679	backup	backup_auto_userscompletion	1	\N
144	0	1617856679	backup	backup_auto_logs	0	\N
145	0	1617856679	backup	backup_auto_histories	0	\N
146	0	1617856679	backup	backup_auto_questionbank	1	\N
147	0	1617856679	backup	backup_auto_groups	1	\N
148	0	1617856679	backup	backup_auto_competencies	1	\N
149	0	1617856679	backup	backup_auto_contentbankcontent	1	\N
150	0	1617856679	backup	backup_auto_legacyfiles	1	\N
151	0	1617856679	restore	restore_general_users	1	\N
152	0	1617856679	restore	restore_general_users_locked		\N
153	0	1617856679	restore	restore_general_enrolments	1	\N
154	0	1617856679	restore	restore_general_enrolments_locked		\N
155	0	1617856679	restore	restore_general_role_assignments	1	\N
156	0	1617856679	restore	restore_general_role_assignments_locked		\N
157	0	1617856679	restore	restore_general_activities	1	\N
158	0	1617856679	restore	restore_general_activities_locked		\N
159	0	1617856679	restore	restore_general_blocks	1	\N
160	0	1617856680	restore	restore_general_blocks_locked		\N
161	0	1617856680	restore	restore_general_filters	1	\N
162	0	1617856680	restore	restore_general_filters_locked		\N
163	0	1617856680	restore	restore_general_comments	1	\N
164	0	1617856680	restore	restore_general_comments_locked		\N
165	0	1617856680	restore	restore_general_badges	1	\N
166	0	1617856680	restore	restore_general_badges_locked		\N
167	0	1617856680	restore	restore_general_calendarevents	1	\N
168	0	1617856680	restore	restore_general_calendarevents_locked		\N
169	0	1617856680	restore	restore_general_userscompletion	1	\N
170	0	1617856680	restore	restore_general_userscompletion_locked		\N
171	0	1617856680	restore	restore_general_logs	1	\N
172	0	1617856680	restore	restore_general_logs_locked		\N
173	0	1617856680	restore	restore_general_histories	1	\N
174	0	1617856680	restore	restore_general_histories_locked		\N
175	0	1617856680	restore	restore_general_groups	1	\N
176	0	1617856680	restore	restore_general_groups_locked		\N
177	0	1617856680	restore	restore_general_competencies	1	\N
178	0	1617856680	restore	restore_general_competencies_locked		\N
179	0	1617856680	restore	restore_general_contentbankcontent	1	\N
180	0	1617856680	restore	restore_general_contentbankcontent_locked		\N
181	0	1617856680	restore	restore_general_legacyfiles	1	\N
182	0	1617856680	restore	restore_general_legacyfiles_locked		\N
183	0	1617856680	restore	restore_merge_overwrite_conf	0	\N
184	0	1617856680	restore	restore_merge_overwrite_conf_locked		\N
185	0	1617856680	restore	restore_merge_course_fullname	1	\N
186	0	1617856680	restore	restore_merge_course_fullname_locked		\N
187	0	1617856680	restore	restore_merge_course_shortname	1	\N
188	0	1617856680	restore	restore_merge_course_shortname_locked		\N
189	0	1617856680	restore	restore_merge_course_startdate	1	\N
190	0	1617856680	restore	restore_merge_course_startdate_locked		\N
191	0	1617856680	restore	restore_replace_overwrite_conf	0	\N
192	0	1617856680	restore	restore_replace_overwrite_conf_locked		\N
193	0	1617856680	restore	restore_replace_course_fullname	1	\N
194	0	1617856680	restore	restore_replace_course_fullname_locked		\N
195	0	1617856680	restore	restore_replace_course_shortname	1	\N
196	0	1617856680	restore	restore_replace_course_shortname_locked		\N
197	0	1617856680	restore	restore_replace_course_startdate	1	\N
198	0	1617856680	restore	restore_replace_course_startdate_locked		\N
199	0	1617856680	restore	restore_replace_keep_roles_and_enrolments	0	\N
200	0	1617856680	restore	restore_replace_keep_roles_and_enrolments_locked		\N
201	0	1617856680	restore	restore_replace_keep_groups_and_groupings	0	\N
202	0	1617856680	restore	restore_replace_keep_groups_and_groupings_locked		\N
203	0	1617856680	\N	enableasyncbackup	0	\N
204	0	1617856680	backup	backup_async_message_users	0	\N
205	0	1617856680	backup	backup_async_message_subject	{operation} de Moodle se completó exitosamente	\N
206	0	1617856680	backup	backup_async_message	Hola {user_firstname} {user_lastname}, <br/> ¡Su {operation} (ID: {backupid}) ha sido completado exitosamente <br/><br/>Puede verla aquí {link}.	\N
207	0	1617856680	\N	grade_profilereport	user	\N
208	0	1617856680	\N	grade_aggregationposition	1	\N
209	0	1617856680	\N	grade_includescalesinaggregation	1	\N
210	0	1617856680	\N	grade_hiddenasdate	0	\N
211	0	1617856680	\N	gradepublishing	0	\N
212	0	1617856680	\N	grade_export_exportfeedback	0	\N
213	0	1617856680	\N	grade_export_displaytype	1	\N
214	0	1617856680	\N	grade_export_decimalpoints	2	\N
215	0	1617856680	\N	grade_navmethod	1	\N
216	0	1617856680	\N	grade_export_userprofilefields	firstname,lastname,idnumber,institution,department,email	\N
217	0	1617856680	\N	grade_export_customprofilefields		\N
218	0	1617856680	\N	recovergradesdefault	0	\N
219	0	1617856680	\N	gradeexport		\N
220	0	1617856680	\N	unlimitedgrades	0	\N
221	0	1617856680	\N	grade_report_showmin	1	\N
222	0	1617856680	\N	gradepointmax	100	\N
223	0	1617856680	\N	gradepointdefault	100	\N
224	0	1617856680	\N	grade_minmaxtouse	1	\N
225	0	1617856680	\N	grade_mygrades_report	overview	\N
226	0	1617856680	\N	gradereport_mygradeurl		\N
227	0	1617856680	\N	grade_hideforcedsettings	1	\N
228	0	1617856680	\N	grade_aggregation	13	\N
229	0	1617856680	\N	grade_aggregation_flag	0	\N
230	0	1617856680	\N	grade_aggregations_visible	13	\N
231	0	1617856680	\N	grade_aggregateonlygraded	1	\N
232	0	1617856680	\N	grade_aggregateonlygraded_flag	2	\N
233	0	1617856680	\N	grade_aggregateoutcomes	0	\N
234	0	1617856680	\N	grade_aggregateoutcomes_flag	2	\N
235	0	1617856680	\N	grade_keephigh	0	\N
236	0	1617856680	\N	grade_keephigh_flag	3	\N
237	0	1617856680	\N	grade_droplow	0	\N
238	0	1617856680	\N	grade_droplow_flag	2	\N
239	0	1617856680	\N	grade_overridecat	1	\N
240	0	1617856680	\N	grade_displaytype	1	\N
241	0	1617856680	\N	grade_decimalpoints	2	\N
242	0	1617856680	\N	grade_item_advanced	iteminfo,idnumber,gradepass,plusfactor,multfactor,display,decimals,hiddenuntil,locktime	\N
243	0	1617856680	\N	grade_report_studentsperpage	100	\N
244	0	1617856680	\N	grade_report_showonlyactiveenrol	1	\N
245	0	1617856680	\N	grade_report_quickgrading	1	\N
246	0	1617856680	\N	grade_report_showquickfeedback	0	\N
247	0	1617856680	\N	grade_report_meanselection	1	\N
248	0	1617856680	\N	grade_report_enableajax	0	\N
249	0	1617856680	\N	grade_report_showcalculations	1	\N
250	0	1617856680	\N	grade_report_showeyecons	0	\N
251	0	1617856680	\N	grade_report_showaverages	1	\N
252	0	1617856680	\N	grade_report_showlocks	0	\N
253	0	1617856680	\N	grade_report_showranges	0	\N
254	0	1617856680	\N	grade_report_showanalysisicon	1	\N
255	0	1617856680	\N	grade_report_showuserimage	1	\N
256	0	1617856680	\N	grade_report_showactivityicons	1	\N
257	0	1617856680	\N	grade_report_shownumberofgrades	0	\N
258	0	1617856680	\N	grade_report_averagesdisplaytype	inherit	\N
259	0	1617856680	\N	grade_report_rangesdisplaytype	inherit	\N
260	0	1617856680	\N	grade_report_averagesdecimalpoints	inherit	\N
261	0	1617856680	\N	grade_report_rangesdecimalpoints	inherit	\N
262	0	1617856680	\N	grade_report_historyperpage	50	\N
263	0	1617856680	\N	grade_report_overview_showrank	0	\N
264	0	1617856680	\N	grade_report_overview_showtotalsifcontainhidden	0	\N
265	0	1617856680	\N	grade_report_user_showrank	0	\N
266	0	1617856680	\N	grade_report_user_showpercentage	1	\N
267	0	1617856680	\N	grade_report_user_showgrade	1	\N
268	0	1617856680	\N	grade_report_user_showfeedback	1	\N
269	0	1617856680	\N	grade_report_user_showrange	1	\N
270	0	1617856680	\N	grade_report_user_showweight	1	\N
271	0	1617856680	\N	grade_report_user_showaverage	0	\N
570	0	1617856685	\N	smtppass		\N
272	0	1617856680	\N	grade_report_user_showlettergrade	0	\N
273	0	1617856680	\N	grade_report_user_rangedecimals	0	\N
274	0	1617856680	\N	grade_report_user_showhiddenitems	1	\N
275	0	1617856680	\N	grade_report_user_showtotalsifcontainhidden	0	\N
276	0	1617856680	\N	grade_report_user_showcontributiontocoursetotal	1	\N
277	0	1617856680	analytics	modeinstruction		\N
278	0	1617856680	analytics	percentonline	0	\N
279	0	1617856680	analytics	typeinstitution		\N
280	0	1617856680	analytics	levelinstitution		\N
281	0	1617856680	analytics	predictionsprocessor	\\mlbackend_php\\processor	\N
282	0	1617856680	analytics	defaulttimesplittingsevaluation	\\core\\analytics\\time_splitting\\quarters_accum,\\core\\analytics\\time_splitting\\quarters,\\core\\analytics\\time_splitting\\single_range	\N
283	0	1617856680	analytics	modeloutputdir		\N
284	0	1617856680	analytics	onlycli	1	\N
285	0	1617856680	analytics	modeltimelimit	1200	\N
286	0	1617856680	core_competency	enabled	1	\N
287	0	1617856680	core_competency	pushcourseratingstouserplans	1	\N
288	0	1617856681	\N	badges_defaultissuername		\N
289	0	1617856681	\N	badges_defaultissuercontact		\N
290	0	1617856681	\N	badges_badgesalt	badges1617856661	\N
291	0	1617856681	\N	badges_allowcoursebadges	1	\N
292	0	1617856681	\N	badges_allowexternalbackpack	1	\N
293	0	1617856681	\N	rememberuserlicensepref	1	\N
294	0	1617856681	\N	timezone	Europe/London	\N
295	0	1617856682	\N	forcetimezone	99	\N
296	0	1617856682	\N	country	0	\N
297	0	1617856682	\N	defaultcity		\N
298	0	1617856682	\N	geoip2file	/var/www/moodledata/geoip/GeoLite2-City.mmdb	\N
299	0	1617856682	\N	googlemapkey3		\N
300	0	1617856682	\N	allcountrycodes		\N
301	0	1617856682	\N	autolang	1	\N
302	0	1617856682	\N	lang	es	\N
303	0	1617856682	\N	autolangusercreation	1	\N
304	0	1617856682	\N	langmenu	1	\N
305	0	1617856682	\N	langlist		\N
306	0	1617856682	\N	langcache	1	\N
307	0	1617856682	\N	langstringcache	1	\N
308	0	1617856682	\N	locale		\N
309	0	1617856682	\N	latinexcelexport	0	\N
310	0	1617856682	\N	messaging	1	\N
311	0	1617856682	\N	messagingallusers	0	\N
312	0	1617856682	\N	messagingdefaultpressenter	1	\N
313	0	1617856682	\N	messagingdeletereadnotificationsdelay	604800	\N
314	0	1617856682	\N	messagingdeleteallnotificationsdelay	2620800	\N
315	0	1617856682	\N	messagingallowemailoverride	0	\N
316	0	1617856682	\N	registerauth		\N
317	0	1617856682	\N	authloginviaemail	0	\N
318	0	1617856682	\N	allowaccountssameemail	0	\N
319	0	1617856682	\N	authpreventaccountcreation	0	\N
320	0	1617856682	\N	loginpageautofocus	0	\N
321	0	1617856682	\N	guestloginbutton	1	\N
322	0	1617856682	\N	limitconcurrentlogins	0	\N
323	0	1617856682	\N	alternateloginurl		\N
324	0	1617856682	\N	forgottenpasswordurl		\N
325	0	1617856682	\N	auth_instructions		\N
326	0	1617856682	\N	allowemailaddresses		\N
327	0	1617856682	\N	denyemailaddresses		\N
328	0	1617856682	\N	verifychangedemail	1	\N
329	0	1617856682	\N	recaptchapublickey		\N
330	0	1617856682	\N	recaptchaprivatekey		\N
331	0	1617856682	\N	searchengine	simpledb	\N
332	0	1617856682	\N	searchindexwhendisabled	0	\N
333	0	1617856682	\N	searchindextime	600	\N
334	0	1617856682	\N	searchallavailablecourses	0	\N
335	0	1617856682	\N	searchincludeallcourses	0	\N
336	0	1617856682	\N	searchenablecategories	0	\N
337	0	1617856682	\N	searchdefaultcategory	core-all	\N
338	0	1617856682	\N	searchhideallcategory	0	\N
339	0	1617856682	\N	searchenginequeryonly		\N
340	0	1617856682	\N	searchbannerenable	0	\N
341	0	1617856682	\N	searchbanner		\N
342	0	1617856683	cachestore_apcu	testperformance	0	\N
343	0	1617856683	cachestore_memcached	testservers		\N
344	0	1617856683	cachestore_mongodb	testserver		\N
345	0	1617856683	cachestore_redis	test_server		\N
346	0	1617856683	cachestore_redis	test_password		\N
347	0	1617856683	\N	filteruploadedfiles	0	\N
348	0	1617856683	\N	filtermatchoneperpage	0	\N
349	0	1617856683	\N	filtermatchonepertext	0	\N
350	0	1617856683	\N	requiremodintro	0	\N
351	0	1617856683	antivirus	notifyemail		\N
352	0	1617856683	antivirus	enablequarantine	0	\N
353	0	1617856683	antivirus	quarantinetime	2419200	\N
354	0	1617856683	\N	portfolio_moderate_filesize_threshold	1048576	\N
355	0	1617856683	\N	portfolio_high_filesize_threshold	5242880	\N
356	0	1617856683	\N	portfolio_moderate_db_threshold	20	\N
357	0	1617856683	\N	portfolio_high_db_threshold	50	\N
358	0	1617856683	\N	repositorycacheexpire	120	\N
359	0	1617856683	\N	repositorygetfiletimeout	30	\N
360	0	1617856683	\N	repositorysyncfiletimeout	1	\N
361	0	1617856683	\N	repositorysyncimagetimeout	3	\N
362	0	1617856683	\N	repositoryallowexternallinks	1	\N
363	0	1617856683	\N	legacyfilesinnewcourses	0	\N
364	0	1617856683	\N	legacyfilesaddallowed	1	\N
365	0	1617856683	\N	media_default_width	400	\N
366	0	1617856683	\N	media_default_height	300	\N
367	0	1617856683	\N	enablewsdocumentation	0	\N
368	0	1617856683	question_preview	behaviour	deferredfeedback	\N
369	0	1617856683	question_preview	correctness	1	\N
370	0	1617856683	question_preview	marks	2	\N
371	0	1617856683	question_preview	markdp	2	\N
372	0	1617856683	question_preview	feedback	1	\N
373	0	1617856683	question_preview	generalfeedback	1	\N
374	0	1617856683	question_preview	rightanswer	1	\N
375	0	1617856683	question_preview	history	0	\N
376	0	1617856683	\N	allowbeforeblock	0	\N
377	0	1617856683	\N	allowedip		\N
378	0	1617856683	\N	blockedip		\N
379	0	1617856683	\N	protectusernames	1	\N
380	0	1617856683	\N	forcelogin	0	\N
381	0	1617856683	\N	forceloginforprofiles	1	\N
382	0	1617856683	\N	forceloginforprofileimage	0	\N
383	0	1617856683	\N	opentowebcrawlers	0	\N
384	0	1617856683	\N	allowindexing	0	\N
385	0	1617856683	\N	userquota	104857600	\N
386	0	1617856683	\N	allowobjectembed	0	\N
387	0	1617856683	\N	enabletrusttext	0	\N
388	0	1617856683	\N	maxeditingtime	1800	\N
389	0	1617856683	\N	extendedusernamechars	0	\N
390	0	1617856683	\N	keeptagnamecase	1	\N
391	0	1617856683	\N	profilesforenrolledusersonly	1	\N
392	0	1617856683	\N	cronclionly	1	\N
393	0	1617856683	\N	cronremotepassword		\N
394	0	1617856683	tool_task	enablerunnow	1	\N
395	0	1617856683	\N	lockoutthreshold	0	\N
396	0	1617856683	\N	lockoutwindow	1800	\N
397	0	1617856683	\N	lockoutduration	1800	\N
398	0	1617856683	\N	passwordpolicy	1	\N
399	0	1617856683	\N	minpasswordlength	8	\N
400	0	1617856683	\N	minpassworddigits	1	\N
401	0	1617856683	\N	minpasswordlower	1	\N
402	0	1617856683	\N	minpasswordupper	1	\N
403	0	1617856683	\N	minpasswordnonalphanum	1	\N
404	0	1617856683	\N	maxconsecutiveidentchars	0	\N
405	0	1617856683	\N	passwordpolicycheckonlogin	0	\N
406	0	1617856683	\N	passwordreuselimit	0	\N
407	0	1617856683	\N	pwresettime	1800	\N
408	0	1617856683	\N	passwordchangelogout	0	\N
409	0	1617856683	\N	passwordchangetokendeletion	0	\N
410	0	1617856683	\N	tokenduration	7257600	\N
411	0	1617856683	\N	groupenrolmentkeypolicy	1	\N
412	0	1617856683	\N	disableuserimages	0	\N
413	0	1617856683	\N	emailchangeconfirmation	1	\N
414	0	1617856683	\N	rememberusername	2	\N
415	0	1617856683	\N	strictformsrequired	0	\N
416	0	1617856683	\N	cookiesecure	1	\N
417	0	1617856683	\N	cookiehttponly	0	\N
418	0	1617856683	\N	allowframembedding	0	\N
419	0	1617856683	\N	curlsecurityblockedhosts		\N
420	0	1617856683	\N	curlsecurityallowedport		\N
421	0	1617856683	\N	referrerpolicy	default	\N
422	0	1617856683	\N	displayloginfailures	0	\N
423	0	1617856683	\N	notifyloginfailures		\N
424	0	1617856683	\N	notifyloginthreshold	10	\N
425	0	1617856683	\N	themelist		\N
426	0	1617856683	\N	themedesignermode	0	\N
427	0	1617856683	\N	allowuserthemes	0	\N
428	0	1617856683	\N	allowcoursethemes	0	\N
429	0	1617856683	\N	allowcategorythemes	0	\N
430	0	1617856683	\N	allowcohortthemes	0	\N
431	0	1617856683	\N	allowthemechangeonurl	0	\N
432	0	1617856683	\N	allowuserblockhiding	1	\N
433	0	1617856683	\N	langmenuinsecurelayout	0	\N
434	0	1617856683	\N	logininfoinsecurelayout	0	\N
435	0	1617856683	\N	custommenuitems		\N
436	0	1617856683	\N	customusermenuitems	grades,grades|/grade/report/mygrades.php|t/grades\nmessages,message|/message/index.php|t/message\npreferences,moodle|/user/preferences.php|t/preferences	\N
437	0	1617856683	\N	enabledevicedetection	1	\N
438	0	1617856683	\N	devicedetectregex	[]	\N
439	0	1617856683	theme_boost	preset	default.scss	\N
440	0	1617856683	theme_boost	presetfiles		\N
441	0	1617856683	theme_boost	backgroundimage		\N
442	0	1617856683	theme_boost	brandcolor		\N
443	0	1617856683	theme_boost	scsspre		\N
444	0	1617856683	theme_boost	scss		\N
445	0	1617856683	theme_classic	navbardark	0	\N
446	0	1617856683	theme_classic	preset	default.scss	\N
447	0	1617856683	theme_classic	presetfiles		\N
448	0	1617856683	theme_classic	backgroundimage		\N
449	0	1617856684	theme_classic	brandcolor		\N
450	0	1617856684	theme_classic	scsspre		\N
451	0	1617856684	theme_classic	scss		\N
452	0	1617856684	core_admin	logo		\N
453	0	1617856684	core_admin	logocompact		\N
454	0	1617856684	core_admin	coursecolor1	#81ecec	\N
455	0	1617856684	core_admin	coursecolor2	#74b9ff	\N
456	0	1617856684	core_admin	coursecolor3	#a29bfe	\N
457	0	1617856684	core_admin	coursecolor4	#dfe6e9	\N
458	0	1617856684	core_admin	coursecolor5	#00b894	\N
459	0	1617856684	core_admin	coursecolor6	#0984e3	\N
460	0	1617856684	core_admin	coursecolor7	#b2bec3	\N
461	0	1617856684	core_admin	coursecolor8	#fdcb6e	\N
462	0	1617856684	core_admin	coursecolor9	#fd79a8	\N
463	0	1617856684	core_admin	coursecolor10	#6c5ce7	\N
464	0	1617856684	\N	calendartype	gregorian	\N
465	0	1617856684	\N	calendar_adminseesall	0	\N
466	0	1617856684	\N	calendar_site_timeformat	0	\N
467	0	1617856684	\N	calendar_startwday	1	\N
468	0	1617856684	\N	calendar_weekend	65	\N
469	0	1617856684	\N	calendar_lookahead	21	\N
470	0	1617856684	\N	calendar_maxevents	10	\N
571	0	1617856685	\N	smtpmaxbulk	1	\N
471	0	1617856684	\N	enablecalendarexport	1	\N
472	0	1617856684	\N	calendar_customexport	1	\N
473	0	1617856684	\N	calendar_exportlookahead	365	\N
474	0	1617856684	\N	calendar_exportlookback	5	\N
475	0	1617856684	\N	calendar_exportsalt	QJZbmsxwTRSFE7ocMEykE2CDi11DCChZ2cR5oiiLm4yPpECwK8QNYg9tx211	\N
476	0	1617856684	\N	calendar_showicalsource	1	\N
477	0	1617856684	\N	useblogassociations	1	\N
478	0	1617856684	\N	bloglevel	4	\N
479	0	1617856684	\N	useexternalblogs	1	\N
480	0	1617856684	\N	externalblogcrontime	86400	\N
481	0	1617856684	\N	maxexternalblogsperuser	1	\N
482	0	1617856684	\N	blogusecomments	1	\N
483	0	1617856684	\N	blogshowcommentscount	1	\N
484	0	1617856684	\N	defaulthomepage	1	\N
485	0	1617856684	\N	allowguestmymoodle	1	\N
486	0	1617856684	\N	navshowfullcoursenames	0	\N
487	0	1617856684	\N	navshowcategories	1	\N
488	0	1617856684	\N	navshowmycoursecategories	0	\N
489	0	1617856684	\N	navshowallcourses	0	\N
490	0	1617856684	\N	navsortmycoursessort	sortorder	\N
491	0	1617856684	\N	navsortmycourseshiddenlast	1	\N
492	0	1617856684	\N	navcourselimit	10	\N
493	0	1617856684	\N	usesitenameforsitepages	0	\N
494	0	1617856684	\N	linkadmincategories	1	\N
495	0	1617856684	\N	linkcoursesections	1	\N
496	0	1617856684	\N	navshowfrontpagemods	1	\N
497	0	1617856684	\N	navadduserpostslinks	1	\N
498	0	1617856684	\N	formatstringstriptags	1	\N
499	0	1617856684	\N	emoticons	[{"text":":-)","imagename":"s\\/smiley","imagecomponent":"core","altidentifier":"smiley","altcomponent":"core_pix"},{"text":":)","imagename":"s\\/smiley","imagecomponent":"core","altidentifier":"smiley","altcomponent":"core_pix"},{"text":":-D","imagename":"s\\/biggrin","imagecomponent":"core","altidentifier":"biggrin","altcomponent":"core_pix"},{"text":";-)","imagename":"s\\/wink","imagecomponent":"core","altidentifier":"wink","altcomponent":"core_pix"},{"text":":-\\/","imagename":"s\\/mixed","imagecomponent":"core","altidentifier":"mixed","altcomponent":"core_pix"},{"text":"V-.","imagename":"s\\/thoughtful","imagecomponent":"core","altidentifier":"thoughtful","altcomponent":"core_pix"},{"text":":-P","imagename":"s\\/tongueout","imagecomponent":"core","altidentifier":"tongueout","altcomponent":"core_pix"},{"text":":-p","imagename":"s\\/tongueout","imagecomponent":"core","altidentifier":"tongueout","altcomponent":"core_pix"},{"text":"B-)","imagename":"s\\/cool","imagecomponent":"core","altidentifier":"cool","altcomponent":"core_pix"},{"text":"^-)","imagename":"s\\/approve","imagecomponent":"core","altidentifier":"approve","altcomponent":"core_pix"},{"text":"8-)","imagename":"s\\/wideeyes","imagecomponent":"core","altidentifier":"wideeyes","altcomponent":"core_pix"},{"text":":o)","imagename":"s\\/clown","imagecomponent":"core","altidentifier":"clown","altcomponent":"core_pix"},{"text":":-(","imagename":"s\\/sad","imagecomponent":"core","altidentifier":"sad","altcomponent":"core_pix"},{"text":":(","imagename":"s\\/sad","imagecomponent":"core","altidentifier":"sad","altcomponent":"core_pix"},{"text":"8-.","imagename":"s\\/shy","imagecomponent":"core","altidentifier":"shy","altcomponent":"core_pix"},{"text":":-I","imagename":"s\\/blush","imagecomponent":"core","altidentifier":"blush","altcomponent":"core_pix"},{"text":":-X","imagename":"s\\/kiss","imagecomponent":"core","altidentifier":"kiss","altcomponent":"core_pix"},{"text":"8-o","imagename":"s\\/surprise","imagecomponent":"core","altidentifier":"surprise","altcomponent":"core_pix"},{"text":"P-|","imagename":"s\\/blackeye","imagecomponent":"core","altidentifier":"blackeye","altcomponent":"core_pix"},{"text":"8-[","imagename":"s\\/angry","imagecomponent":"core","altidentifier":"angry","altcomponent":"core_pix"},{"text":"(grr)","imagename":"s\\/angry","imagecomponent":"core","altidentifier":"angry","altcomponent":"core_pix"},{"text":"xx-P","imagename":"s\\/dead","imagecomponent":"core","altidentifier":"dead","altcomponent":"core_pix"},{"text":"|-.","imagename":"s\\/sleepy","imagecomponent":"core","altidentifier":"sleepy","altcomponent":"core_pix"},{"text":"}-]","imagename":"s\\/evil","imagecomponent":"core","altidentifier":"evil","altcomponent":"core_pix"},{"text":"(h)","imagename":"s\\/heart","imagecomponent":"core","altidentifier":"heart","altcomponent":"core_pix"},{"text":"(heart)","imagename":"s\\/heart","imagecomponent":"core","altidentifier":"heart","altcomponent":"core_pix"},{"text":"(y)","imagename":"s\\/yes","imagecomponent":"core","altidentifier":"yes","altcomponent":"core"},{"text":"(n)","imagename":"s\\/no","imagecomponent":"core","altidentifier":"no","altcomponent":"core"},{"text":"(martin)","imagename":"s\\/martin","imagecomponent":"core","altidentifier":"martin","altcomponent":"core_pix"},{"text":"( )","imagename":"s\\/egg","imagecomponent":"core","altidentifier":"egg","altcomponent":"core_pix"}]	\N
500	0	1617856684	\N	docroot	https://docs.moodle.org	\N
501	0	1617856684	\N	doclang		\N
502	0	1617856684	\N	doctonewwindow	0	\N
503	0	1617856684	\N	coursecontactduplicates	0	\N
504	0	1617856684	\N	courselistshortnames	0	\N
505	0	1617856684	\N	coursesperpage	20	\N
506	0	1617856684	\N	courseswithsummarieslimit	10	\N
507	0	1617856684	\N	courseoverviewfileslimit	1	\N
508	0	1617856684	\N	courseoverviewfilesext	.jpg,.gif,.png	\N
509	0	1617856684	\N	coursegraceperiodbefore	0	\N
510	0	1617856684	\N	coursegraceperiodafter	0	\N
511	0	1617856684	\N	useexternalyui	0	\N
512	0	1617856684	\N	yuicomboloading	1	\N
513	0	1617856684	\N	cachejs	1	\N
514	0	1617856684	\N	modchooserdefault	1	\N
515	0	1617856684	\N	additionalhtmlhead		\N
516	0	1617856684	\N	additionalhtmltopofbody		\N
517	0	1617856684	\N	additionalhtmlfooter		\N
518	0	1617856684	\N	cachetemplates	1	\N
519	0	1617856684	\N	pathtophp		\N
520	0	1617856684	\N	pathtodu		\N
521	0	1617856684	\N	aspellpath		\N
522	0	1617856684	\N	pathtodot		\N
523	0	1617856684	\N	pathtogs	/usr/bin/gs	\N
524	0	1617856684	\N	pathtopython		\N
525	0	1617856684	\N	supportname	Administrador Usuario	\N
526	0	1617856684	\N	supportemail		\N
527	0	1617856684	\N	supportpage		\N
528	0	1617856684	\N	dbsessions	0	\N
529	0	1617856684	\N	sessioncookie		\N
530	0	1617856684	\N	sessioncookiepath		\N
531	0	1617856684	\N	sessioncookiedomain		\N
532	0	1617856684	\N	statsfirstrun	none	\N
533	0	1617856684	\N	statsmaxruntime	0	\N
534	0	1617856684	\N	statsruntimedays	31	\N
535	0	1617856684	\N	statsuserthreshold	0	\N
536	0	1617856684	\N	slasharguments	1	\N
537	0	1617856684	\N	getremoteaddrconf	3	\N
538	0	1617856684	\N	reverseproxyignore		\N
539	0	1617856684	\N	proxyhost		\N
540	0	1617856684	\N	proxyport	0	\N
541	0	1617856684	\N	proxytype	HTTP	\N
542	0	1617856684	\N	proxyuser		\N
543	0	1617856684	\N	proxypassword		\N
544	0	1617856684	\N	proxybypass	localhost, 127.0.0.1	\N
545	0	1617856684	\N	maintenance_enabled	0	\N
546	0	1617856684	\N	maintenance_message		\N
547	0	1617856684	\N	deleteunconfirmed	168	\N
548	0	1617856684	\N	deleteincompleteusers	0	\N
549	0	1617856684	\N	disablegradehistory	0	\N
550	0	1617856684	\N	gradehistorylifetime	0	\N
551	0	1617856684	\N	tempdatafoldercleanup	168	\N
552	0	1617856684	\N	filescleanupperiod	86400	\N
553	0	1617856684	\N	extramemorylimit	512M	\N
554	0	1617856684	\N	maxtimelimit	0	\N
555	0	1617856684	\N	curlcache	120	\N
556	0	1617856684	\N	curltimeoutkbitrate	56	\N
557	0	1617856684	\N	cron_enabled	1	\N
558	0	1617856684	\N	task_scheduled_concurrency_limit	3	\N
559	0	1617856684	\N	task_scheduled_max_runtime	1800	\N
560	0	1617856685	\N	task_adhoc_concurrency_limit	3	\N
561	0	1617856685	\N	task_adhoc_max_runtime	1800	\N
562	0	1617856685	\N	task_logmode	1	\N
563	0	1617856685	\N	task_logtostdout	1	\N
564	0	1617856685	\N	task_logretention	2419200	\N
565	0	1617856685	\N	task_logretainruns	20	\N
566	0	1617856685	\N	smtphosts		\N
567	0	1617856685	\N	smtpsecure		\N
568	0	1617856685	\N	smtpauthtype	LOGIN	\N
572	0	1617856685	\N	noreplyaddress	noreply@moodle.DDOOMMAAIINN	\N
573	0	1617856685	\N	allowedemaildomains		\N
574	0	1617856685	\N	divertallemailsto		\N
575	0	1617856685	\N	divertallemailsexcept		\N
576	0	1617856685	\N	emaildkimselector		\N
577	0	1617856685	\N	sitemailcharset	0	\N
578	0	1617856685	\N	allowusermailcharset	0	\N
579	0	1617856685	\N	allowattachments	1	\N
580	0	1617856685	\N	mailnewline	LF	\N
581	0	1617856685	\N	emailfromvia	1	\N
582	0	1617856685	\N	emailsubjectprefix		\N
583	0	1617856685	\N	emailheaders		\N
584	0	1617856685	\N	updateautocheck	1	\N
585	0	1617856685	\N	updateminmaturity	200	\N
586	0	1617856685	\N	updatenotifybuilds	0	\N
587	0	1617856685	\N	dndallowtextandlinks	0	\N
588	0	1617856685	\N	pathtosassc		\N
589	0	1617856685	\N	contextlocking	0	\N
590	0	1617856685	\N	contextlockappliestoadmin	1	\N
591	0	1617856685	\N	forceclean	0	\N
592	0	1617856685	\N	enablecourserelativedates	0	\N
593	0	1617856685	\N	debug	0	\N
594	0	1617856685	\N	debugdisplay	1	\N
595	0	1617856685	\N	perfdebug	7	\N
596	0	1617856685	\N	debugstringids	0	\N
597	0	1617856685	\N	debugsqltrace	0	\N
598	0	1617856685	\N	debugvalidators	0	\N
599	0	1617856685	\N	debugpageinfo	0	\N
600	0	1617856685	\N	profilingenabled	0	\N
601	0	1617856685	\N	profilingincluded		\N
602	0	1617856685	\N	profilingexcluded		\N
603	0	1617856685	\N	profilingautofrec	0	\N
604	0	1617856685	\N	profilingallowme	0	\N
605	0	1617856685	\N	profilingallowall	0	\N
606	0	1617856685	\N	profilingslow	0	\N
607	0	1617856685	\N	profilinglifetime	1440	\N
608	0	1617856685	\N	profilingimportprefix	(I)	\N
609	0	1617856689	\N	calendar_exportsalt	H1mPrtKCCN5U8yHXeMktag3QlEIofXCeJBVJD02ED7yxbrWuhMB9bq9auIH1	QJZbmsxwTRSFE7ocMEykE2CDi11DCChZ2cR5oiiLm4yPpECwK8QNYg9tx211
610	0	1617856711	activitynames	filter_active	1	
611	0	1617856711	displayh5p	filter_active	1	
612	0	1617856711	emoticon	filter_active	1	
613	0	1617856712	mathjaxloader	filter_active	1	
614	0	1617856712	mediaplugin	filter_active	1	
615	0	1617856712	urltolink	filter_active	1	
616	2	1617856739	\N	notloggedinroleid	6	\N
617	2	1617856739	\N	guestroleid	6	\N
618	2	1617856739	\N	defaultuserroleid	7	\N
619	2	1617856739	\N	creatornewroleid	3	\N
620	2	1617856739	\N	restorernewroleid	3	\N
621	2	1617856739	tool_log	exportlog	1	\N
622	2	1617856739	tool_dataprivacy	contactdataprotectionofficer	0	\N
623	2	1617856739	tool_dataprivacy	automaticdataexportapproval	0	\N
624	2	1617856739	tool_dataprivacy	automaticdatadeletionapproval	0	\N
625	2	1617856739	tool_dataprivacy	automaticdeletionrequests	1	\N
626	2	1617856739	tool_dataprivacy	privacyrequestexpiry	604800	\N
627	2	1617856739	tool_dataprivacy	requireallenddatesforuserdeletion	1	\N
628	2	1617856739	tool_dataprivacy	showdataretentionsummary	1	\N
629	2	1617856739	\N	sitepolicyhandler		\N
630	2	1617856739	\N	gradebookroles	5	\N
631	2	1617856740	analytics	logstore	logstore_standard	\N
632	2	1617856740	\N	h5plibraryhandler	h5plib_v124	\N
633	2	1617856741	\N	jabberhost		\N
634	2	1617856741	\N	jabberserver		\N
635	2	1617856741	\N	jabberusername		\N
636	2	1617856741	\N	jabberpassword		\N
637	2	1617856741	\N	jabberport	5222	\N
638	2	1617856741	\N	airnotifierurl	https://messages.moodle.net	\N
639	2	1617856741	\N	airnotifierport	443	\N
640	2	1617856741	\N	airnotifiermobileappname	com.moodle.moodlemobile	\N
641	2	1617856741	\N	airnotifierappname	commoodlemoodlemobile	\N
642	2	1617856741	\N	airnotifieraccesskey		\N
643	2	1617856741	auth_oidc	opname	Conexión OpenID	\N
644	2	1617856741	auth_oidc	clientid		\N
645	2	1617856741	auth_oidc	clientsecret		\N
646	2	1617856741	auth_oidc	authendpoint	https://login.microsoftonline.com/common/oauth2/authorize	\N
647	2	1617856741	auth_oidc	tokenendpoint	https://login.microsoftonline.com/common/oauth2/token	\N
648	2	1617856741	auth_oidc	oidcresource	https://graph.microsoft.com	\N
649	2	1617856741	auth_oidc	oidcscope	openid profile email	\N
650	2	1617856741	auth_oidc	forceredirect	0	\N
651	2	1617856741	auth_oidc	autoappend		\N
652	2	1617856741	auth_oidc	domainhint		\N
653	2	1617856741	auth_oidc	loginflow	authcode	\N
654	2	1617856741	auth_oidc	userrestrictions		\N
655	2	1617856741	auth_oidc	userrestrictionscasesensitive	1	\N
656	2	1617856741	auth_oidc	single_sign_off	0	\N
657	2	1617856741	auth_oidc	logouturi	https://login.microsoftonline.com/common/oauth2/logout	\N
658	2	1617856741	auth_oidc	debugmode	0	\N
659	2	1617856741	auth_oidc	icon	auth_oidc:o365	\N
660	2	1617856741	auth_oidc	customicon		\N
661	2	1617856741	auth_manual	expiration	0	\N
662	2	1617856741	auth_manual	expirationtime	30	\N
663	2	1617856741	auth_manual	expiration_warning	0	\N
664	2	1617856741	auth_manual	field_lock_firstname	unlocked	\N
665	2	1617856741	auth_manual	field_lock_lastname	unlocked	\N
666	2	1617856741	auth_manual	field_lock_email	unlocked	\N
667	2	1617856741	auth_manual	field_lock_city	unlocked	\N
1245	2	1617856745	\N	loglifetime	0	\N
668	2	1617856741	auth_manual	field_lock_country	unlocked	\N
669	2	1617856741	auth_manual	field_lock_lang	unlocked	\N
670	2	1617856741	auth_manual	field_lock_description	unlocked	\N
671	2	1617856741	auth_manual	field_lock_url	unlocked	\N
672	2	1617856741	auth_manual	field_lock_idnumber	unlocked	\N
673	2	1617856741	auth_manual	field_lock_institution	unlocked	\N
674	2	1617856741	auth_manual	field_lock_department	unlocked	\N
675	2	1617856741	auth_manual	field_lock_phone1	unlocked	\N
676	2	1617856741	auth_manual	field_lock_phone2	unlocked	\N
677	2	1617856741	auth_manual	field_lock_address	unlocked	\N
678	2	1617856742	auth_manual	field_lock_firstnamephonetic	unlocked	\N
679	2	1617856742	auth_manual	field_lock_lastnamephonetic	unlocked	\N
680	2	1617856742	auth_manual	field_lock_middlename	unlocked	\N
681	2	1617856742	auth_manual	field_lock_alternatename	unlocked	\N
682	2	1617856742	auth_email	recaptcha	0	\N
683	2	1617856742	auth_email	field_lock_firstname	unlocked	\N
684	2	1617856742	auth_email	field_lock_lastname	unlocked	\N
685	2	1617856742	auth_email	field_lock_email	unlocked	\N
686	2	1617856742	auth_email	field_lock_city	unlocked	\N
687	2	1617856742	auth_email	field_lock_country	unlocked	\N
688	2	1617856742	auth_email	field_lock_lang	unlocked	\N
689	2	1617856742	auth_email	field_lock_description	unlocked	\N
690	2	1617856742	auth_email	field_lock_url	unlocked	\N
691	2	1617856742	auth_email	field_lock_idnumber	unlocked	\N
692	2	1617856742	auth_email	field_lock_institution	unlocked	\N
693	2	1617856742	auth_email	field_lock_department	unlocked	\N
694	2	1617856742	auth_email	field_lock_phone1	unlocked	\N
695	2	1617856742	auth_email	field_lock_phone2	unlocked	\N
696	2	1617856742	auth_email	field_lock_address	unlocked	\N
697	2	1617856742	auth_email	field_lock_firstnamephonetic	unlocked	\N
698	2	1617856742	auth_email	field_lock_lastnamephonetic	unlocked	\N
699	2	1617856742	auth_email	field_lock_middlename	unlocked	\N
700	2	1617856742	auth_email	field_lock_alternatename	unlocked	\N
701	2	1617856742	auth_mnet	rpc_negotiation_timeout	30	\N
702	2	1617856742	auth_oauth2	field_lock_firstname	unlocked	\N
703	2	1617856742	auth_oauth2	field_lock_lastname	unlocked	\N
704	2	1617856742	auth_oauth2	field_lock_email	unlocked	\N
705	2	1617856742	auth_oauth2	field_lock_city	unlocked	\N
706	2	1617856742	auth_oauth2	field_lock_country	unlocked	\N
707	2	1617856742	auth_oauth2	field_lock_lang	unlocked	\N
708	2	1617856742	auth_oauth2	field_lock_description	unlocked	\N
709	2	1617856742	auth_oauth2	field_lock_url	unlocked	\N
710	2	1617856742	auth_oauth2	field_lock_idnumber	unlocked	\N
711	2	1617856742	auth_oauth2	field_lock_institution	unlocked	\N
712	2	1617856742	auth_oauth2	field_lock_department	unlocked	\N
713	2	1617856742	auth_oauth2	field_lock_phone1	unlocked	\N
714	2	1617856742	auth_oauth2	field_lock_phone2	unlocked	\N
715	2	1617856742	auth_oauth2	field_lock_address	unlocked	\N
716	2	1617856742	auth_oauth2	field_lock_firstnamephonetic	unlocked	\N
717	2	1617856742	auth_oauth2	field_lock_lastnamephonetic	unlocked	\N
718	2	1617856742	auth_oauth2	field_lock_middlename	unlocked	\N
719	2	1617856742	auth_oauth2	field_lock_alternatename	unlocked	\N
720	2	1617856742	auth_saml2	idpmetadata		\N
721	2	1617856742	auth_saml2	idpname	Login via SAML2	\N
722	2	1617856742	auth_saml2	showidplink	1	\N
723	2	1617856742	auth_saml2	idpmetadatarefresh	1	\N
724	2	1617856742	auth_saml2	debug	0	\N
725	2	1617856742	auth_saml2	logtofile	0	\N
726	2	1617856742	auth_saml2	logdir	/tmp/	\N
727	2	1617856742	auth_saml2	nameidpolicy	urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified	\N
728	2	1617856742	auth_saml2	nameidasattrib	0	\N
729	2	1617856742	auth_saml2	privatekeypass	********	\N
730	2	1617856742	auth_saml2	spmetadatasign	0	\N
731	2	1617856742	auth_saml2	signaturealgorithm	http://www.w3.org/2001/04/xmldsig-more#rsa-sha256	\N
732	2	1617856742	auth_saml2	duallogin	1	\N
733	2	1617856742	auth_saml2	anyauth	0	\N
734	2	1617856742	auth_saml2	attrsimple	1	\N
735	2	1617856742	auth_saml2	idpattr	uid	\N
736	2	1617856742	auth_saml2	mdlattr	username	\N
737	2	1617856742	auth_saml2	tolower	0	\N
738	2	1617856742	auth_saml2	autocreate	0	\N
739	2	1617856742	auth_saml2	grouprules		\N
740	2	1617856742	auth_saml2	alterlogout		\N
741	2	1617856742	auth_saml2	multiidpdisplay	0	\N
742	2	1617856742	auth_saml2	attemptsignout	1	\N
743	2	1617856742	auth_saml2	field_map_role		\N
744	2	1617856742	auth_saml2	saml_role_siteadmin_map		\N
745	2	1617856742	auth_saml2	saml_role_coursecreator_map		\N
746	2	1617856742	auth_saml2	saml_role_manager_map		\N
747	2	1617856742	auth_saml2	flagresponsetype	2	\N
748	2	1617856742	auth_saml2	flagredirecturl		\N
749	2	1617856742	auth_saml2	flagmessage	You are logged in to your identity provider however, this account has limited access to Moodle, please contact your administrator for more details.	\N
750	2	1617856742	auth_saml2	field_map_firstname		\N
751	2	1617856742	auth_saml2	field_updatelocal_firstname	oncreate	\N
752	2	1617856742	auth_saml2	field_updateremote_firstname	0	\N
753	2	1617856742	auth_saml2	field_lock_firstname	unlocked	\N
754	2	1617856742	auth_saml2	field_map_lastname		\N
755	2	1617856742	auth_saml2	field_updatelocal_lastname	oncreate	\N
756	2	1617856742	auth_saml2	field_updateremote_lastname	0	\N
757	2	1617856742	auth_saml2	field_lock_lastname	unlocked	\N
758	2	1617856742	auth_saml2	field_map_email		\N
759	2	1617856742	auth_saml2	field_updatelocal_email	oncreate	\N
760	2	1617856742	auth_saml2	field_updateremote_email	0	\N
761	2	1617856742	auth_saml2	field_lock_email	unlocked	\N
762	2	1617856742	auth_saml2	field_map_city		\N
763	2	1617856742	auth_saml2	field_updatelocal_city	oncreate	\N
764	2	1617856742	auth_saml2	field_updateremote_city	0	\N
765	2	1617856742	auth_saml2	field_lock_city	unlocked	\N
766	2	1617856742	auth_saml2	field_map_country		\N
767	2	1617856742	auth_saml2	field_updatelocal_country	oncreate	\N
768	2	1617856742	auth_saml2	field_updateremote_country	0	\N
769	2	1617856742	auth_saml2	field_lock_country	unlocked	\N
770	2	1617856742	auth_saml2	field_map_lang		\N
771	2	1617856742	auth_saml2	field_updatelocal_lang	oncreate	\N
772	2	1617856742	auth_saml2	field_updateremote_lang	0	\N
773	2	1617856742	auth_saml2	field_lock_lang	unlocked	\N
774	2	1617856742	auth_saml2	field_map_description		\N
775	2	1617856742	auth_saml2	field_updatelocal_description	oncreate	\N
776	2	1617856742	auth_saml2	field_updateremote_description	0	\N
777	2	1617856742	auth_saml2	field_lock_description	unlocked	\N
778	2	1617856742	auth_saml2	field_map_url		\N
779	2	1617856742	auth_saml2	field_updatelocal_url	oncreate	\N
780	2	1617856742	auth_saml2	field_updateremote_url	0	\N
781	2	1617856742	auth_saml2	field_lock_url	unlocked	\N
782	2	1617856742	auth_saml2	field_map_idnumber		\N
783	2	1617856742	auth_saml2	field_updatelocal_idnumber	oncreate	\N
784	2	1617856742	auth_saml2	field_updateremote_idnumber	0	\N
785	2	1617856742	auth_saml2	field_lock_idnumber	unlocked	\N
786	2	1617856742	auth_saml2	field_map_institution		\N
787	2	1617856742	auth_saml2	field_updatelocal_institution	oncreate	\N
788	2	1617856742	auth_saml2	field_updateremote_institution	0	\N
789	2	1617856742	auth_saml2	field_lock_institution	unlocked	\N
790	2	1617856742	auth_saml2	field_map_department		\N
791	2	1617856742	auth_saml2	field_updatelocal_department	oncreate	\N
792	2	1617856742	auth_saml2	field_updateremote_department	0	\N
793	2	1617856742	auth_saml2	field_lock_department	unlocked	\N
794	2	1617856742	auth_saml2	field_map_phone1		\N
795	2	1617856742	auth_saml2	field_updatelocal_phone1	oncreate	\N
796	2	1617856742	auth_saml2	field_updateremote_phone1	0	\N
797	2	1617856742	auth_saml2	field_lock_phone1	unlocked	\N
798	2	1617856742	auth_saml2	field_map_phone2		\N
799	2	1617856742	auth_saml2	field_updatelocal_phone2	oncreate	\N
800	2	1617856742	auth_saml2	field_updateremote_phone2	0	\N
801	2	1617856742	auth_saml2	field_lock_phone2	unlocked	\N
802	2	1617856742	auth_saml2	field_map_address		\N
803	2	1617856742	auth_saml2	field_updatelocal_address	oncreate	\N
804	2	1617856742	auth_saml2	field_updateremote_address	0	\N
805	2	1617856742	auth_saml2	field_lock_address	unlocked	\N
806	2	1617856742	auth_saml2	field_map_firstnamephonetic		\N
807	2	1617856742	auth_saml2	field_updatelocal_firstnamephonetic	oncreate	\N
808	2	1617856742	auth_saml2	field_updateremote_firstnamephonetic	0	\N
809	2	1617856742	auth_saml2	field_lock_firstnamephonetic	unlocked	\N
810	2	1617856742	auth_saml2	field_map_lastnamephonetic		\N
811	2	1617856742	auth_saml2	field_updatelocal_lastnamephonetic	oncreate	\N
812	2	1617856742	auth_saml2	field_updateremote_lastnamephonetic	0	\N
813	2	1617856742	auth_saml2	field_lock_lastnamephonetic	unlocked	\N
814	2	1617856742	auth_saml2	field_map_middlename		\N
815	2	1617856742	auth_saml2	field_updatelocal_middlename	oncreate	\N
816	2	1617856742	auth_saml2	field_updateremote_middlename	0	\N
817	2	1617856742	auth_saml2	field_lock_middlename	unlocked	\N
818	2	1617856742	auth_saml2	field_map_alternatename		\N
819	2	1617856742	auth_saml2	field_updatelocal_alternatename	oncreate	\N
820	2	1617856742	auth_saml2	field_updateremote_alternatename	0	\N
821	2	1617856742	auth_saml2	field_lock_alternatename	unlocked	\N
822	2	1617856742	auth_shibboleth	user_attribute		\N
823	2	1617856742	auth_shibboleth	convert_data		\N
824	2	1617856742	auth_shibboleth	alt_login	off	\N
825	2	1617856742	auth_shibboleth	organization_selection	urn:mace:organization1:providerID, Example Organization 1\n        https://another.idp-id.com/shibboleth, Other Example Organization, /Shibboleth.sso/DS/SWITCHaai\n        urn:mace:organization2:providerID, Example Organization 2, /Shibboleth.sso/WAYF/SWITCHaai	\N
826	2	1617856742	auth_shibboleth	logout_handler		\N
827	2	1617856742	auth_shibboleth	logout_return_url		\N
828	2	1617856742	auth_shibboleth	login_name	Shibboleth Login	\N
829	2	1617856742	auth_shibboleth	auth_logo		\N
830	2	1617856742	auth_shibboleth	auth_instructions	Utilice el <a href="https://moodle.DDOOMMAAIINN/auth/shibboleth/index.php">login Shibboleth</a> para acceder vía Shibboleth si su institución lo admite.<br />En caso contrario, utilice el formulario de entrada normal que aquí se muestra.	\N
831	2	1617856742	auth_shibboleth	changepasswordurl		\N
832	2	1617856742	auth_shibboleth	field_map_firstname		\N
833	2	1617856742	auth_shibboleth	field_updatelocal_firstname	oncreate	\N
834	2	1617856742	auth_shibboleth	field_lock_firstname	unlocked	\N
835	2	1617856742	auth_shibboleth	field_map_lastname		\N
836	2	1617856742	auth_shibboleth	field_updatelocal_lastname	oncreate	\N
837	2	1617856742	auth_shibboleth	field_lock_lastname	unlocked	\N
838	2	1617856742	auth_shibboleth	field_map_email		\N
839	2	1617856742	auth_shibboleth	field_updatelocal_email	oncreate	\N
840	2	1617856742	auth_shibboleth	field_lock_email	unlocked	\N
841	2	1617856742	auth_shibboleth	field_map_city		\N
842	2	1617856742	auth_shibboleth	field_updatelocal_city	oncreate	\N
843	2	1617856742	auth_shibboleth	field_lock_city	unlocked	\N
844	2	1617856742	auth_shibboleth	field_map_country		\N
845	2	1617856742	auth_shibboleth	field_updatelocal_country	oncreate	\N
846	2	1617856742	auth_shibboleth	field_lock_country	unlocked	\N
847	2	1617856742	auth_shibboleth	field_map_lang		\N
848	2	1617856742	auth_shibboleth	field_updatelocal_lang	oncreate	\N
849	2	1617856742	auth_shibboleth	field_lock_lang	unlocked	\N
850	2	1617856742	auth_shibboleth	field_map_description		\N
851	2	1617856742	auth_shibboleth	field_updatelocal_description	oncreate	\N
852	2	1617856742	auth_shibboleth	field_lock_description	unlocked	\N
853	2	1617856742	auth_shibboleth	field_map_url		\N
854	2	1617856742	auth_shibboleth	field_updatelocal_url	oncreate	\N
855	2	1617856742	auth_shibboleth	field_lock_url	unlocked	\N
856	2	1617856742	auth_shibboleth	field_map_idnumber		\N
857	2	1617856742	auth_shibboleth	field_updatelocal_idnumber	oncreate	\N
858	2	1617856742	auth_shibboleth	field_lock_idnumber	unlocked	\N
859	2	1617856742	auth_shibboleth	field_map_institution		\N
860	2	1617856742	auth_shibboleth	field_updatelocal_institution	oncreate	\N
861	2	1617856742	auth_shibboleth	field_lock_institution	unlocked	\N
862	2	1617856742	auth_shibboleth	field_map_department		\N
863	2	1617856742	auth_shibboleth	field_updatelocal_department	oncreate	\N
864	2	1617856742	auth_shibboleth	field_lock_department	unlocked	\N
865	2	1617856742	auth_shibboleth	field_map_phone1		\N
866	2	1617856742	auth_shibboleth	field_updatelocal_phone1	oncreate	\N
867	2	1617856742	auth_shibboleth	field_lock_phone1	unlocked	\N
868	2	1617856742	auth_shibboleth	field_map_phone2		\N
869	2	1617856742	auth_shibboleth	field_updatelocal_phone2	oncreate	\N
870	2	1617856742	auth_shibboleth	field_lock_phone2	unlocked	\N
871	2	1617856742	auth_shibboleth	field_map_address		\N
872	2	1617856742	auth_shibboleth	field_updatelocal_address	oncreate	\N
873	2	1617856742	auth_shibboleth	field_lock_address	unlocked	\N
874	2	1617856742	auth_shibboleth	field_map_firstnamephonetic		\N
875	2	1617856742	auth_shibboleth	field_updatelocal_firstnamephonetic	oncreate	\N
876	2	1617856742	auth_shibboleth	field_lock_firstnamephonetic	unlocked	\N
877	2	1617856742	auth_shibboleth	field_map_lastnamephonetic		\N
878	2	1617856742	auth_shibboleth	field_updatelocal_lastnamephonetic	oncreate	\N
879	2	1617856742	auth_shibboleth	field_lock_lastnamephonetic	unlocked	\N
880	2	1617856742	auth_shibboleth	field_map_middlename		\N
881	2	1617856742	auth_shibboleth	field_updatelocal_middlename	oncreate	\N
882	2	1617856742	auth_shibboleth	field_lock_middlename	unlocked	\N
883	2	1617856742	auth_shibboleth	field_map_alternatename		\N
884	2	1617856742	auth_shibboleth	field_updatelocal_alternatename	oncreate	\N
885	2	1617856742	auth_shibboleth	field_lock_alternatename	unlocked	\N
886	2	1617856743	auth_none	field_lock_firstname	unlocked	\N
887	2	1617856743	auth_none	field_lock_lastname	unlocked	\N
888	2	1617856743	auth_none	field_lock_email	unlocked	\N
889	2	1617856743	auth_none	field_lock_city	unlocked	\N
890	2	1617856743	auth_none	field_lock_country	unlocked	\N
891	2	1617856743	auth_none	field_lock_lang	unlocked	\N
892	2	1617856743	auth_none	field_lock_description	unlocked	\N
893	2	1617856743	auth_none	field_lock_url	unlocked	\N
894	2	1617856743	auth_none	field_lock_idnumber	unlocked	\N
895	2	1617856743	auth_none	field_lock_institution	unlocked	\N
896	2	1617856743	auth_none	field_lock_department	unlocked	\N
897	2	1617856743	auth_none	field_lock_phone1	unlocked	\N
898	2	1617856743	auth_none	field_lock_phone2	unlocked	\N
899	2	1617856743	auth_none	field_lock_address	unlocked	\N
900	2	1617856743	auth_none	field_lock_firstnamephonetic	unlocked	\N
901	2	1617856743	auth_none	field_lock_lastnamephonetic	unlocked	\N
902	2	1617856743	auth_none	field_lock_middlename	unlocked	\N
903	2	1617856743	auth_none	field_lock_alternatename	unlocked	\N
904	2	1617856743	auth_cas	field_map_firstname		\N
905	2	1617856743	auth_cas	field_updatelocal_firstname	oncreate	\N
906	2	1617856743	auth_cas	field_updateremote_firstname	0	\N
907	2	1617856743	auth_cas	field_lock_firstname	unlocked	\N
908	2	1617856743	auth_cas	field_map_lastname		\N
909	2	1617856743	auth_cas	field_updatelocal_lastname	oncreate	\N
910	2	1617856743	auth_cas	field_updateremote_lastname	0	\N
911	2	1617856743	auth_cas	field_lock_lastname	unlocked	\N
912	2	1617856743	auth_cas	field_map_email		\N
913	2	1617856743	auth_cas	field_updatelocal_email	oncreate	\N
914	2	1617856743	auth_cas	field_updateremote_email	0	\N
915	2	1617856743	auth_cas	field_lock_email	unlocked	\N
916	2	1617856743	auth_cas	field_map_city		\N
917	2	1617856743	auth_cas	field_updatelocal_city	oncreate	\N
918	2	1617856743	auth_cas	field_updateremote_city	0	\N
919	2	1617856743	auth_cas	field_lock_city	unlocked	\N
920	2	1617856743	auth_cas	field_map_country		\N
921	2	1617856743	auth_cas	field_updatelocal_country	oncreate	\N
922	2	1617856743	auth_cas	field_updateremote_country	0	\N
923	2	1617856743	auth_cas	field_lock_country	unlocked	\N
924	2	1617856743	auth_cas	field_map_lang		\N
925	2	1617856743	auth_cas	field_updatelocal_lang	oncreate	\N
926	2	1617856743	auth_cas	field_updateremote_lang	0	\N
927	2	1617856743	auth_cas	field_lock_lang	unlocked	\N
928	2	1617856743	auth_cas	field_map_description		\N
929	2	1617856743	auth_cas	field_updatelocal_description	oncreate	\N
930	2	1617856743	auth_cas	field_updateremote_description	0	\N
931	2	1617856743	auth_cas	field_lock_description	unlocked	\N
932	2	1617856743	auth_cas	field_map_url		\N
933	2	1617856743	auth_cas	field_updatelocal_url	oncreate	\N
934	2	1617856743	auth_cas	field_updateremote_url	0	\N
935	2	1617856743	auth_cas	field_lock_url	unlocked	\N
936	2	1617856743	auth_cas	field_map_idnumber		\N
937	2	1617856743	auth_cas	field_updatelocal_idnumber	oncreate	\N
938	2	1617856743	auth_cas	field_updateremote_idnumber	0	\N
939	2	1617856743	auth_cas	field_lock_idnumber	unlocked	\N
940	2	1617856743	auth_cas	field_map_institution		\N
941	2	1617856743	auth_cas	field_updatelocal_institution	oncreate	\N
942	2	1617856743	auth_cas	field_updateremote_institution	0	\N
943	2	1617856743	auth_cas	field_lock_institution	unlocked	\N
944	2	1617856743	auth_cas	field_map_department		\N
945	2	1617856743	auth_cas	field_updatelocal_department	oncreate	\N
946	2	1617856743	auth_cas	field_updateremote_department	0	\N
947	2	1617856743	auth_cas	field_lock_department	unlocked	\N
948	2	1617856743	auth_cas	field_map_phone1		\N
949	2	1617856743	auth_cas	field_updatelocal_phone1	oncreate	\N
950	2	1617856743	auth_cas	field_updateremote_phone1	0	\N
951	2	1617856743	auth_cas	field_lock_phone1	unlocked	\N
952	2	1617856743	auth_cas	field_map_phone2		\N
953	2	1617856743	auth_cas	field_updatelocal_phone2	oncreate	\N
954	2	1617856743	auth_cas	field_updateremote_phone2	0	\N
955	2	1617856743	auth_cas	field_lock_phone2	unlocked	\N
956	2	1617856743	auth_cas	field_map_address		\N
957	2	1617856743	auth_cas	field_updatelocal_address	oncreate	\N
958	2	1617856743	auth_cas	field_updateremote_address	0	\N
959	2	1617856743	auth_cas	field_lock_address	unlocked	\N
960	2	1617856743	auth_cas	field_map_firstnamephonetic		\N
961	2	1617856743	auth_cas	field_updatelocal_firstnamephonetic	oncreate	\N
962	2	1617856743	auth_cas	field_updateremote_firstnamephonetic	0	\N
963	2	1617856743	auth_cas	field_lock_firstnamephonetic	unlocked	\N
964	2	1617856743	auth_cas	field_map_lastnamephonetic		\N
965	2	1617856743	auth_cas	field_updatelocal_lastnamephonetic	oncreate	\N
966	2	1617856743	auth_cas	field_updateremote_lastnamephonetic	0	\N
967	2	1617856743	auth_cas	field_lock_lastnamephonetic	unlocked	\N
968	2	1617856743	auth_cas	field_map_middlename		\N
969	2	1617856743	auth_cas	field_updatelocal_middlename	oncreate	\N
970	2	1617856743	auth_cas	field_updateremote_middlename	0	\N
971	2	1617856743	auth_cas	field_lock_middlename	unlocked	\N
972	2	1617856743	auth_cas	field_map_alternatename		\N
973	2	1617856743	auth_cas	field_updatelocal_alternatename	oncreate	\N
974	2	1617856743	auth_cas	field_updateremote_alternatename	0	\N
975	2	1617856743	auth_cas	field_lock_alternatename	unlocked	\N
976	2	1617856743	auth_ldap	field_map_firstname		\N
977	2	1617856743	auth_ldap	field_updatelocal_firstname	oncreate	\N
978	2	1617856743	auth_ldap	field_updateremote_firstname	0	\N
979	2	1617856743	auth_ldap	field_lock_firstname	unlocked	\N
980	2	1617856743	auth_ldap	field_map_lastname		\N
981	2	1617856743	auth_ldap	field_updatelocal_lastname	oncreate	\N
982	2	1617856743	auth_ldap	field_updateremote_lastname	0	\N
983	2	1617856743	auth_ldap	field_lock_lastname	unlocked	\N
984	2	1617856743	auth_ldap	field_map_email		\N
985	2	1617856743	auth_ldap	field_updatelocal_email	oncreate	\N
986	2	1617856743	auth_ldap	field_updateremote_email	0	\N
987	2	1617856743	auth_ldap	field_lock_email	unlocked	\N
988	2	1617856743	auth_ldap	field_map_city		\N
989	2	1617856743	auth_ldap	field_updatelocal_city	oncreate	\N
990	2	1617856743	auth_ldap	field_updateremote_city	0	\N
991	2	1617856743	auth_ldap	field_lock_city	unlocked	\N
992	2	1617856743	auth_ldap	field_map_country		\N
993	2	1617856743	auth_ldap	field_updatelocal_country	oncreate	\N
994	2	1617856743	auth_ldap	field_updateremote_country	0	\N
995	2	1617856743	auth_ldap	field_lock_country	unlocked	\N
996	2	1617856743	auth_ldap	field_map_lang		\N
997	2	1617856743	auth_ldap	field_updatelocal_lang	oncreate	\N
998	2	1617856743	auth_ldap	field_updateremote_lang	0	\N
999	2	1617856743	auth_ldap	field_lock_lang	unlocked	\N
1000	2	1617856743	auth_ldap	field_map_description		\N
1001	2	1617856743	auth_ldap	field_updatelocal_description	oncreate	\N
1002	2	1617856743	auth_ldap	field_updateremote_description	0	\N
1821	0	1617856762	\N	enableblogs	0	1
1003	2	1617856743	auth_ldap	field_lock_description	unlocked	\N
1004	2	1617856743	auth_ldap	field_map_url		\N
1005	2	1617856743	auth_ldap	field_updatelocal_url	oncreate	\N
1006	2	1617856743	auth_ldap	field_updateremote_url	0	\N
1007	2	1617856743	auth_ldap	field_lock_url	unlocked	\N
1008	2	1617856743	auth_ldap	field_map_idnumber		\N
1009	2	1617856743	auth_ldap	field_updatelocal_idnumber	oncreate	\N
1010	2	1617856743	auth_ldap	field_updateremote_idnumber	0	\N
1011	2	1617856743	auth_ldap	field_lock_idnumber	unlocked	\N
1012	2	1617856743	auth_ldap	field_map_institution		\N
1013	2	1617856743	auth_ldap	field_updatelocal_institution	oncreate	\N
1014	2	1617856743	auth_ldap	field_updateremote_institution	0	\N
1015	2	1617856743	auth_ldap	field_lock_institution	unlocked	\N
1016	2	1617856743	auth_ldap	field_map_department		\N
1017	2	1617856743	auth_ldap	field_updatelocal_department	oncreate	\N
1018	2	1617856743	auth_ldap	field_updateremote_department	0	\N
1019	2	1617856743	auth_ldap	field_lock_department	unlocked	\N
1020	2	1617856743	auth_ldap	field_map_phone1		\N
1021	2	1617856743	auth_ldap	field_updatelocal_phone1	oncreate	\N
1022	2	1617856743	auth_ldap	field_updateremote_phone1	0	\N
1023	2	1617856743	auth_ldap	field_lock_phone1	unlocked	\N
1024	2	1617856743	auth_ldap	field_map_phone2		\N
1025	2	1617856743	auth_ldap	field_updatelocal_phone2	oncreate	\N
1026	2	1617856743	auth_ldap	field_updateremote_phone2	0	\N
1027	2	1617856743	auth_ldap	field_lock_phone2	unlocked	\N
1028	2	1617856743	auth_ldap	field_map_address		\N
1029	2	1617856743	auth_ldap	field_updatelocal_address	oncreate	\N
1030	2	1617856743	auth_ldap	field_updateremote_address	0	\N
1031	2	1617856743	auth_ldap	field_lock_address	unlocked	\N
1032	2	1617856743	auth_ldap	field_map_firstnamephonetic		\N
1033	2	1617856743	auth_ldap	field_updatelocal_firstnamephonetic	oncreate	\N
1034	2	1617856743	auth_ldap	field_updateremote_firstnamephonetic	0	\N
1035	2	1617856743	auth_ldap	field_lock_firstnamephonetic	unlocked	\N
1036	2	1617856743	auth_ldap	field_map_lastnamephonetic		\N
1037	2	1617856743	auth_ldap	field_updatelocal_lastnamephonetic	oncreate	\N
1038	2	1617856743	auth_ldap	field_updateremote_lastnamephonetic	0	\N
1039	2	1617856743	auth_ldap	field_lock_lastnamephonetic	unlocked	\N
1040	2	1617856743	auth_ldap	field_map_middlename		\N
1041	2	1617856743	auth_ldap	field_updatelocal_middlename	oncreate	\N
1042	2	1617856743	auth_ldap	field_updateremote_middlename	0	\N
1043	2	1617856743	auth_ldap	field_lock_middlename	unlocked	\N
1044	2	1617856743	auth_ldap	field_map_alternatename		\N
1045	2	1617856743	auth_ldap	field_updatelocal_alternatename	oncreate	\N
1046	2	1617856743	auth_ldap	field_updateremote_alternatename	0	\N
1047	2	1617856743	auth_ldap	field_lock_alternatename	unlocked	\N
1048	2	1617856743	auth_db	host	127.0.0.1	\N
1049	2	1617856743	auth_db	type	mysqli	\N
1050	2	1617856743	auth_db	sybasequoting	0	\N
1051	2	1617856743	auth_db	name		\N
1052	2	1617856743	auth_db	user		\N
1053	2	1617856743	auth_db	pass		\N
1054	2	1617856743	auth_db	table		\N
1055	2	1617856743	auth_db	fielduser		\N
1056	2	1617856743	auth_db	fieldpass		\N
1057	2	1617856743	auth_db	passtype	plaintext	\N
1058	2	1617856743	auth_db	extencoding	utf-8	\N
1059	2	1617856743	auth_db	setupsql		\N
1060	2	1617856743	auth_db	debugauthdb	0	\N
1061	2	1617856743	auth_db	changepasswordurl		\N
1062	2	1617856743	auth_db	removeuser	0	\N
1063	2	1617856743	auth_db	updateusers	0	\N
1064	2	1617856743	auth_db	field_map_firstname		\N
1065	2	1617856743	auth_db	field_updatelocal_firstname	oncreate	\N
1066	2	1617856743	auth_db	field_updateremote_firstname	0	\N
1067	2	1617856743	auth_db	field_lock_firstname	unlocked	\N
1068	2	1617856743	auth_db	field_map_lastname		\N
1069	2	1617856743	auth_db	field_updatelocal_lastname	oncreate	\N
1070	2	1617856743	auth_db	field_updateremote_lastname	0	\N
1071	2	1617856743	auth_db	field_lock_lastname	unlocked	\N
1072	2	1617856743	auth_db	field_map_email		\N
1073	2	1617856743	auth_db	field_updatelocal_email	oncreate	\N
1074	2	1617856743	auth_db	field_updateremote_email	0	\N
1075	2	1617856743	auth_db	field_lock_email	unlocked	\N
1076	2	1617856743	auth_db	field_map_city		\N
1077	2	1617856743	auth_db	field_updatelocal_city	oncreate	\N
1078	2	1617856743	auth_db	field_updateremote_city	0	\N
1079	2	1617856743	auth_db	field_lock_city	unlocked	\N
1080	2	1617856743	auth_db	field_map_country		\N
1081	2	1617856743	auth_db	field_updatelocal_country	oncreate	\N
1082	2	1617856743	auth_db	field_updateremote_country	0	\N
1083	2	1617856743	auth_db	field_lock_country	unlocked	\N
1084	2	1617856743	auth_db	field_map_lang		\N
1085	2	1617856743	auth_db	field_updatelocal_lang	oncreate	\N
1086	2	1617856743	auth_db	field_updateremote_lang	0	\N
1087	2	1617856743	auth_db	field_lock_lang	unlocked	\N
1088	2	1617856743	auth_db	field_map_description		\N
1089	2	1617856744	auth_db	field_updatelocal_description	oncreate	\N
1090	2	1617856744	auth_db	field_updateremote_description	0	\N
1091	2	1617856744	auth_db	field_lock_description	unlocked	\N
1092	2	1617856744	auth_db	field_map_url		\N
1093	2	1617856744	auth_db	field_updatelocal_url	oncreate	\N
1094	2	1617856744	auth_db	field_updateremote_url	0	\N
1095	2	1617856744	auth_db	field_lock_url	unlocked	\N
1096	2	1617856744	auth_db	field_map_idnumber		\N
1097	2	1617856744	auth_db	field_updatelocal_idnumber	oncreate	\N
1098	2	1617856744	auth_db	field_updateremote_idnumber	0	\N
1099	2	1617856744	auth_db	field_lock_idnumber	unlocked	\N
1100	2	1617856744	auth_db	field_map_institution		\N
1101	2	1617856744	auth_db	field_updatelocal_institution	oncreate	\N
1102	2	1617856744	auth_db	field_updateremote_institution	0	\N
1103	2	1617856744	auth_db	field_lock_institution	unlocked	\N
1104	2	1617856744	auth_db	field_map_department		\N
1105	2	1617856744	auth_db	field_updatelocal_department	oncreate	\N
1106	2	1617856744	auth_db	field_updateremote_department	0	\N
1107	2	1617856744	auth_db	field_lock_department	unlocked	\N
1108	2	1617856744	auth_db	field_map_phone1		\N
1109	2	1617856744	auth_db	field_updatelocal_phone1	oncreate	\N
1110	2	1617856744	auth_db	field_updateremote_phone1	0	\N
1111	2	1617856744	auth_db	field_lock_phone1	unlocked	\N
1112	2	1617856744	auth_db	field_map_phone2		\N
1113	2	1617856744	auth_db	field_updatelocal_phone2	oncreate	\N
1114	2	1617856744	auth_db	field_updateremote_phone2	0	\N
1115	2	1617856744	auth_db	field_lock_phone2	unlocked	\N
1116	2	1617856744	auth_db	field_map_address		\N
1117	2	1617856744	auth_db	field_updatelocal_address	oncreate	\N
1118	2	1617856744	auth_db	field_updateremote_address	0	\N
1119	2	1617856744	auth_db	field_lock_address	unlocked	\N
1120	2	1617856744	auth_db	field_map_firstnamephonetic		\N
1121	2	1617856744	auth_db	field_updatelocal_firstnamephonetic	oncreate	\N
1122	2	1617856744	auth_db	field_updateremote_firstnamephonetic	0	\N
1123	2	1617856744	auth_db	field_lock_firstnamephonetic	unlocked	\N
1124	2	1617856744	auth_db	field_map_lastnamephonetic		\N
1125	2	1617856744	auth_db	field_updatelocal_lastnamephonetic	oncreate	\N
1126	2	1617856744	auth_db	field_updateremote_lastnamephonetic	0	\N
1127	2	1617856744	auth_db	field_lock_lastnamephonetic	unlocked	\N
1128	2	1617856744	auth_db	field_map_middlename		\N
1129	2	1617856744	auth_db	field_updatelocal_middlename	oncreate	\N
1130	2	1617856744	auth_db	field_updateremote_middlename	0	\N
1131	2	1617856744	auth_db	field_lock_middlename	unlocked	\N
1132	2	1617856744	auth_db	field_map_alternatename		\N
1133	2	1617856744	auth_db	field_updatelocal_alternatename	oncreate	\N
1134	2	1617856744	auth_db	field_updateremote_alternatename	0	\N
1135	2	1617856744	auth_db	field_lock_alternatename	unlocked	\N
1136	2	1617856744	\N	block_rss_client_num_entries	5	\N
1137	2	1617856744	\N	block_rss_client_timeout	30	\N
1138	2	1617856744	\N	block_course_list_adminview	all	\N
1139	2	1617856744	\N	block_course_list_hideallcourseslink	0	\N
1140	2	1617856744	block_recentlyaccessedcourses	displaycategories	1	\N
1141	2	1617856744	block_starredcourses	displaycategories	1	\N
1142	2	1617856744	block_section_links	numsections1	22	\N
1143	2	1617856744	block_section_links	incby1	2	\N
1144	2	1617856744	block_section_links	numsections2	40	\N
1145	2	1617856744	block_section_links	incby2	5	\N
1146	2	1617856744	\N	block_html_allowcssclasses	0	\N
1147	2	1617856744	block_activity_results	config_showbest	3	\N
1148	2	1617856744	block_activity_results	config_showbest_locked		\N
1149	2	1617856744	block_activity_results	config_showworst	0	\N
1150	2	1617856744	block_activity_results	config_showworst_locked		\N
1151	2	1617856744	block_activity_results	config_usegroups	0	\N
1152	2	1617856744	block_activity_results	config_usegroups_locked		\N
1153	2	1617856744	block_activity_results	config_nameformat	1	\N
1154	2	1617856744	block_activity_results	config_nameformat_locked		\N
1155	2	1617856744	block_activity_results	config_gradeformat	1	\N
1156	2	1617856744	block_activity_results	config_gradeformat_locked		\N
1157	2	1617856744	block_activity_results	config_decimalpoints	2	\N
1158	2	1617856744	block_activity_results	config_decimalpoints_locked		\N
1159	2	1617856744	\N	block_online_users_timetosee	5	\N
1160	2	1617856744	\N	block_online_users_onlinestatushiding	1	\N
1161	2	1617856744	block_myoverview	displaycategories	1	\N
1162	2	1617856744	block_myoverview	layouts	card,list,summary	\N
1163	2	1617856744	block_myoverview	displaygroupingallincludinghidden	0	\N
1164	2	1617856744	block_myoverview	displaygroupingall	1	\N
1165	2	1617856744	block_myoverview	displaygroupinginprogress	1	\N
1166	2	1617856744	block_myoverview	displaygroupingpast	1	\N
1167	2	1617856744	block_myoverview	displaygroupingfuture	1	\N
1168	2	1617856744	block_myoverview	displaygroupingcustomfield	0	\N
1169	2	1617856744	block_myoverview	customfiltergrouping		\N
1170	2	1617856744	block_myoverview	displaygroupingfavourites	1	\N
1171	2	1617856744	block_myoverview	displaygroupinghidden	1	\N
1172	2	1617856744	block_tag_youtube	apikey		\N
1173	2	1617856744	mlbackend_python	useserver	0	\N
1174	2	1617856744	mlbackend_python	host		\N
1175	2	1617856744	mlbackend_python	port	0	\N
1176	2	1617856744	mlbackend_python	secure	0	\N
1177	2	1617856744	mlbackend_python	username	default	\N
1178	2	1617856744	mlbackend_python	password		\N
1825	0	1617856762	\N	smtpsecure	tls	
1179	2	1617856744	fileconverter_googledrive	issuerid		\N
1180	2	1617856744	\N	pathtounoconv	/usr/bin/unoconv	\N
1181	2	1617856744	editor_atto	toolbar	collapse = collapse\nstyle1 = title, bold, italic\nlist = unorderedlist, orderedlist, indent\nlinks = link\nfiles = emojipicker, image, media, recordrtc, managefiles, h5p\nstyle2 = underline, strike, subscript, superscript\nalign = align\ninsert = equation, charmap, table, clear\nundo = undo\naccessibility = accessibilitychecker, accessibilityhelper\nother = html	\N
1182	2	1617856744	editor_atto	autosavefrequency	60	\N
1183	2	1617856744	atto_collapse	showgroups	5	\N
1184	2	1617856744	atto_equation	librarygroup1	\n\\cdot\n\\times\n\\ast\n\\div\n\\diamond\n\\pm\n\\mp\n\\oplus\n\\ominus\n\\otimes\n\\oslash\n\\odot\n\\circ\n\\bullet\n\\asymp\n\\equiv\n\\subseteq\n\\supseteq\n\\leq\n\\geq\n\\preceq\n\\succeq\n\\sim\n\\simeq\n\\approx\n\\subset\n\\supset\n\\ll\n\\gg\n\\prec\n\\succ\n\\infty\n\\in\n\\ni\n\\forall\n\\exists\n\\neq\n	\N
1185	2	1617856744	atto_equation	librarygroup2	\n\\leftarrow\n\\rightarrow\n\\uparrow\n\\downarrow\n\\leftrightarrow\n\\nearrow\n\\searrow\n\\swarrow\n\\nwarrow\n\\Leftarrow\n\\Rightarrow\n\\Uparrow\n\\Downarrow\n\\Leftrightarrow\n	\N
1186	2	1617856744	atto_equation	librarygroup3	\n\\alpha\n\\beta\n\\gamma\n\\delta\n\\epsilon\n\\zeta\n\\eta\n\\theta\n\\iota\n\\kappa\n\\lambda\n\\mu\n\\nu\n\\xi\n\\pi\n\\rho\n\\sigma\n\\tau\n\\upsilon\n\\phi\n\\chi\n\\psi\n\\omega\n\\Gamma\n\\Delta\n\\Theta\n\\Lambda\n\\Xi\n\\Pi\n\\Sigma\n\\Upsilon\n\\Phi\n\\Psi\n\\Omega\n	\N
1187	2	1617856744	atto_equation	librarygroup4	\n\\sum{a,b}\n\\sqrt[a]{b+c}\n\\int_{a}^{b}{c}\n\\iint_{a}^{b}{c}\n\\iiint_{a}^{b}{c}\n\\oint{a}\n(a)\n[a]\n\\lbrace{a}\\rbrace\n\\left| \\begin{matrix} a_1 & a_2 \\ a_3 & a_4 \\end{matrix} \\right|\n\\frac{a}{b+c}\n\\vec{a}\n\\binom {a} {b}\n{a \\brack b}\n{a \\brace b}\n	\N
1188	2	1617856744	atto_recordrtc	allowedtypes	both	\N
1189	2	1617856744	atto_recordrtc	audiobitrate	128000	\N
1190	2	1617856744	atto_recordrtc	videobitrate	2500000	\N
1191	2	1617856744	atto_recordrtc	timelimit	120	\N
1192	2	1617856744	atto_table	allowborders	0	\N
1193	2	1617856744	atto_table	allowbackgroundcolour	0	\N
1194	2	1617856744	atto_table	allowwidth	0	\N
1195	2	1617856744	editor_tinymce	customtoolbar	wrap,formatselect,wrap,bold,italic,wrap,bullist,numlist,wrap,link,unlink,wrap,image\n\nundo,redo,wrap,underline,strikethrough,sub,sup,wrap,justifyleft,justifycenter,justifyright,wrap,outdent,indent,wrap,forecolor,backcolor,wrap,ltr,rtl\n\nfontselect,fontsizeselect,wrap,code,search,replace,wrap,nonbreaking,charmap,table,wrap,cleanup,removeformat,pastetext,pasteword,wrap,fullscreen	\N
1196	2	1617856744	editor_tinymce	fontselectlist	Trebuchet=Trebuchet MS,Verdana,Arial,Helvetica,sans-serif;Arial=arial,helvetica,sans-serif;Courier New=courier new,courier,monospace;Georgia=georgia,times new roman,times,serif;Tahoma=tahoma,arial,helvetica,sans-serif;Times New Roman=times new roman,times,serif;Verdana=verdana,arial,helvetica,sans-serif;Impact=impact;Wingdings=wingdings	\N
1197	2	1617856744	editor_tinymce	customconfig		\N
1198	2	1617856744	tinymce_moodleemoticon	requireemoticon	1	\N
1199	2	1617856744	tinymce_spellchecker	spellengine		\N
1200	2	1617856744	tinymce_spellchecker	spelllanguagelist	+English=en,Danish=da,Dutch=nl,Finnish=fi,French=fr,German=de,Italian=it,Polish=pl,Portuguese=pt,Spanish=es,Swedish=sv	\N
1201	2	1617856744	\N	filter_censor_badwords		\N
1202	2	1617856744	\N	filter_multilang_force_old	0	\N
1203	2	1617856744	filter_urltolink	formats	1,4,0	\N
1204	2	1617856744	filter_urltolink	embedimages	1	\N
1205	2	1617856744	filter_mathjaxloader	httpsurl	https://cdn.jsdelivr.net/npm/mathjax@2.7.8/MathJax.js	\N
1206	2	1617856744	filter_mathjaxloader	texfiltercompatibility	0	\N
1207	2	1617856744	filter_mathjaxloader	mathjaxconfig	\nMathJax.Hub.Config({\n    config: ["Accessible.js", "Safe.js"],\n    errorSettings: { message: ["!"] },\n    skipStartupTypeset: true,\n    messageStyle: "none"\n});\n	\N
1208	2	1617856744	filter_mathjaxloader	additionaldelimiters		\N
1209	2	1617856744	filter_emoticon	formats	1,4,0	\N
1210	2	1617856744	filter_displayh5p	allowedsources		\N
1211	2	1617856744	filter_tex	latexpreamble	\\usepackage[latin1]{inputenc}\n\\usepackage{amsmath}\n\\usepackage{amsfonts}\n\\RequirePackage{amsmath,amssymb,latexsym}\n	\N
1212	2	1617856744	filter_tex	latexbackground	#FFFFFF	\N
1213	2	1617856744	filter_tex	density	120	\N
1214	2	1617856744	filter_tex	pathlatex	/usr/bin/latex	\N
1215	2	1617856744	filter_tex	pathdvips	/usr/bin/dvips	\N
1216	2	1617856744	filter_tex	pathconvert	/usr/bin/convert	\N
1217	2	1617856744	filter_tex	pathdvisvgm	/usr/bin/dvisvgm	\N
1218	2	1617856744	filter_tex	pathmimetex		\N
1219	2	1617856744	filter_tex	convertformat	gif	\N
1220	2	1617856744	format_singleactivity	activitytype	forum	\N
1221	2	1617856744	tool_recyclebin	coursebinenable	1	\N
1222	2	1617856744	tool_recyclebin	coursebinexpiry	604800	\N
1223	2	1617856744	tool_recyclebin	categorybinenable	1	\N
1224	2	1617856744	tool_recyclebin	categorybinexpiry	604800	\N
1225	2	1617856744	tool_recyclebin	autohide	1	\N
1226	2	1617856744	logstore_database	dbdriver		\N
1227	2	1617856744	logstore_database	dbhost		\N
1228	2	1617856744	logstore_database	dbuser		\N
1229	2	1617856745	logstore_database	dbpass		\N
1230	2	1617856745	logstore_database	dbname		\N
1231	2	1617856745	logstore_database	dbtable		\N
1232	2	1617856745	logstore_database	dbpersist	0	\N
1233	2	1617856745	logstore_database	dbsocket		\N
1234	2	1617856745	logstore_database	dbport		\N
1235	2	1617856745	logstore_database	dbschema		\N
1236	2	1617856745	logstore_database	dbcollation		\N
1237	2	1617856745	logstore_database	dbhandlesoptions	0	\N
1238	2	1617856745	logstore_database	buffersize	50	\N
1239	2	1617856745	logstore_database	jsonformat	1	\N
1240	2	1617856745	logstore_database	logguests	0	\N
1241	2	1617856745	logstore_database	includelevels	1,2,0	\N
1242	2	1617856745	logstore_database	includeactions	c,r,u,d	\N
1243	2	1617856745	logstore_legacy	loglegacy	0	\N
1244	2	1617856745	\N	logguests	1	\N
1246	2	1617856745	logstore_standard	logguests	1	\N
1247	2	1617856745	logstore_standard	jsonformat	1	\N
1248	2	1617856745	logstore_standard	loglifetime	0	\N
1249	2	1617856745	logstore_standard	buffersize	50	\N
1250	2	1617856745	enrol_guest	requirepassword	0	\N
1251	2	1617856745	enrol_guest	usepasswordpolicy	0	\N
1252	2	1617856745	enrol_guest	showhint	0	\N
1253	2	1617856745	enrol_guest	defaultenrol	1	\N
1254	2	1617856745	enrol_guest	status	1	\N
1255	2	1617856745	enrol_guest	status_adv		\N
1256	2	1617856745	enrol_imsenterprise	imsfilelocation		\N
1257	2	1617856745	enrol_imsenterprise	logtolocation		\N
1258	2	1617856745	enrol_imsenterprise	mailadmins	0	\N
1259	2	1617856745	enrol_imsenterprise	createnewusers	0	\N
1260	2	1617856745	enrol_imsenterprise	imsupdateusers	0	\N
1261	2	1617856745	enrol_imsenterprise	imsdeleteusers	0	\N
1262	2	1617856745	enrol_imsenterprise	fixcaseusernames	0	\N
1263	2	1617856745	enrol_imsenterprise	fixcasepersonalnames	0	\N
1264	2	1617856745	enrol_imsenterprise	imssourcedidfallback	0	\N
1265	2	1617856745	enrol_imsenterprise	imsrolemap01	5	\N
1266	2	1617856745	enrol_imsenterprise	imsrolemap02	3	\N
1267	2	1617856745	enrol_imsenterprise	imsrolemap03	3	\N
1268	2	1617856745	enrol_imsenterprise	imsrolemap04	5	\N
1269	2	1617856745	enrol_imsenterprise	imsrolemap05	0	\N
1270	2	1617856745	enrol_imsenterprise	imsrolemap06	4	\N
1271	2	1617856745	enrol_imsenterprise	imsrolemap07	0	\N
1272	2	1617856745	enrol_imsenterprise	imsrolemap08	4	\N
1273	2	1617856745	enrol_imsenterprise	truncatecoursecodes	0	\N
1274	2	1617856745	enrol_imsenterprise	createnewcourses	0	\N
1275	2	1617856745	enrol_imsenterprise	updatecourses	0	\N
1276	2	1617856745	enrol_imsenterprise	createnewcategories	0	\N
1277	2	1617856745	enrol_imsenterprise	nestedcategories	0	\N
1278	2	1617856745	enrol_imsenterprise	categoryidnumber	0	\N
1279	2	1617856745	enrol_imsenterprise	categoryseparator		\N
1280	2	1617856745	enrol_imsenterprise	imsunenrol	0	\N
1281	2	1617856745	enrol_imsenterprise	imscoursemapshortname	coursecode	\N
1282	2	1617856745	enrol_imsenterprise	imscoursemapfullname	short	\N
1283	2	1617856745	enrol_imsenterprise	imscoursemapsummary	ignore	\N
1284	2	1617856745	enrol_imsenterprise	imsrestricttarget		\N
1285	2	1617856745	enrol_imsenterprise	imscapitafix	0	\N
1286	2	1617856745	enrol_flatfile	location		\N
1287	2	1617856745	enrol_flatfile	encoding	UTF-8	\N
1288	2	1617856745	enrol_flatfile	mailstudents	0	\N
1289	2	1617856745	enrol_flatfile	mailteachers	0	\N
1290	2	1617856745	enrol_flatfile	mailadmins	0	\N
1291	2	1617856745	enrol_flatfile	unenrolaction	3	\N
1292	2	1617856745	enrol_flatfile	expiredaction	3	\N
1293	2	1617856745	enrol_self	requirepassword	0	\N
1294	2	1617856745	enrol_self	usepasswordpolicy	0	\N
1295	2	1617856745	enrol_self	showhint	0	\N
1296	2	1617856745	enrol_self	expiredaction	1	\N
1297	2	1617856745	enrol_self	expirynotifyhour	6	\N
1298	2	1617856745	enrol_self	defaultenrol	1	\N
1299	2	1617856745	enrol_self	status	1	\N
1300	2	1617856745	enrol_self	newenrols	1	\N
1301	2	1617856745	enrol_self	groupkey	0	\N
1302	2	1617856745	enrol_self	roleid	5	\N
1303	2	1617856745	enrol_self	enrolperiod	0	\N
1304	2	1617856745	enrol_self	expirynotify	0	\N
1305	2	1617856745	enrol_self	expirythreshold	86400	\N
1306	2	1617856745	enrol_self	longtimenosee	0	\N
1307	2	1617856745	enrol_self	maxenrolled	0	\N
1308	2	1617856745	enrol_self	sendcoursewelcomemessage	1	\N
1309	2	1617856745	enrol_database	dbtype		\N
1310	2	1617856745	enrol_database	dbhost	localhost	\N
1311	2	1617856745	enrol_database	dbuser		\N
1312	2	1617856745	enrol_database	dbpass		\N
1313	2	1617856745	enrol_database	dbname		\N
1314	2	1617856745	enrol_database	dbencoding	utf-8	\N
1315	2	1617856745	enrol_database	dbsetupsql		\N
1316	2	1617856745	enrol_database	dbsybasequoting	0	\N
1317	2	1617856745	enrol_database	debugdb	0	\N
1318	2	1617856745	enrol_database	localcoursefield	idnumber	\N
1319	2	1617856745	enrol_database	localuserfield	idnumber	\N
1320	2	1617856745	enrol_database	localrolefield	shortname	\N
1321	2	1617856745	enrol_database	localcategoryfield	id	\N
1322	2	1617856745	enrol_database	remoteenroltable		\N
1323	2	1617856745	enrol_database	remotecoursefield		\N
1324	2	1617856745	enrol_database	remoteuserfield		\N
1325	2	1617856745	enrol_database	remoterolefield		\N
1326	2	1617856745	enrol_database	remoteotheruserfield		\N
1327	2	1617856745	enrol_database	defaultrole	5	\N
1328	2	1617856745	enrol_database	ignorehiddencourses	0	\N
1329	2	1617856745	enrol_database	unenrolaction	0	\N
1330	2	1617856745	enrol_database	newcoursetable		\N
1331	2	1617856745	enrol_database	newcoursefullname	fullname	\N
1332	2	1617856745	enrol_database	newcourseshortname	shortname	\N
1333	2	1617856745	enrol_database	newcourseidnumber	idnumber	\N
1334	2	1617856745	enrol_database	newcoursecategory		\N
1335	2	1617856745	enrol_database	defaultcategory	1	\N
1336	2	1617856745	enrol_database	templatecourse		\N
1337	2	1617856745	enrol_fee	expiredaction	3	\N
1338	2	1617856745	enrol_fee	status	1	\N
1339	2	1617856745	enrol_fee	cost	0	\N
1340	2	1617856745	enrol_fee	currency	USD	\N
1341	2	1617856745	enrol_fee	roleid	5	\N
1342	2	1617856745	enrol_fee	enrolperiod	0	\N
1343	2	1617856745	enrol_manual	expiredaction	1	\N
1344	2	1617856745	enrol_manual	expirynotifyhour	6	\N
1345	2	1617856745	enrol_manual	defaultenrol	1	\N
1346	2	1617856745	enrol_manual	status	0	\N
1347	2	1617856745	enrol_manual	roleid	5	\N
1348	2	1617856745	enrol_manual	enrolstart	4	\N
1349	2	1617856745	enrol_manual	enrolperiod	0	\N
1350	2	1617856745	enrol_manual	expirynotify	0	\N
1351	2	1617856745	enrol_manual	expirythreshold	86400	\N
1352	2	1617856745	enrol_mnet	roleid	5	\N
1353	2	1617856745	enrol_mnet	roleid_adv	1	\N
1354	2	1617856745	enrol_meta	nosyncroleids		\N
1355	2	1617856745	enrol_meta	syncall	1	\N
1356	2	1617856745	enrol_meta	unenrolaction	3	\N
1357	2	1617856745	enrol_meta	coursesort	sortorder	\N
1358	2	1617856745	enrol_paypal	paypalbusiness		\N
1359	2	1617856745	enrol_paypal	mailstudents	0	\N
1360	2	1617856745	enrol_paypal	mailteachers	0	\N
1361	2	1617856745	enrol_paypal	mailadmins	0	\N
1362	2	1617856745	enrol_paypal	expiredaction	3	\N
1363	2	1617856745	enrol_paypal	status	1	\N
1364	2	1617856745	enrol_paypal	cost	0	\N
1365	2	1617856745	enrol_paypal	currency	USD	\N
1366	2	1617856745	enrol_paypal	roleid	5	\N
1367	2	1617856745	enrol_paypal	enrolperiod	0	\N
1368	2	1617856745	enrol_lti	emaildisplay	2	\N
1369	2	1617856745	enrol_lti	city		\N
1370	2	1617856745	enrol_lti	country		\N
1371	2	1617856745	enrol_lti	timezone	99	\N
1372	2	1617856745	enrol_lti	lang	es	\N
1373	2	1617856745	enrol_lti	institution		\N
1374	2	1617856745	enrol_cohort	roleid	5	\N
1375	2	1617856745	enrol_cohort	unenrolaction	0	\N
1376	2	1617856745	\N	data_enablerssfeeds	0	\N
1377	2	1617856745	\N	bigbluebuttonbn_server_url	http://test-install.blindsidenetworks.com/bigbluebutton/	\N
1378	2	1617856745	\N	bigbluebuttonbn_shared_secret	8cd8ef52e8e101574e400365b55e11a6	\N
1379	2	1617856745	\N	bigbluebuttonbn_recording_default	1	\N
1380	2	1617856745	\N	bigbluebuttonbn_recording_editable	1	\N
1381	2	1617856745	\N	bigbluebuttonbn_recording_icons_enabled	1	\N
1382	2	1617856745	\N	bigbluebuttonbn_recording_all_from_start_default	0	\N
1383	2	1617856745	\N	bigbluebuttonbn_recording_all_from_start_editable	0	\N
1384	2	1617856745	\N	bigbluebuttonbn_recording_hide_button_default	0	\N
1385	2	1617856746	\N	bigbluebuttonbn_recording_hide_button_editable	0	\N
1386	2	1617856746	\N	bigbluebuttonbn_importrecordings_enabled	0	\N
1387	2	1617856746	\N	bigbluebuttonbn_importrecordings_from_deleted_enabled	0	\N
1388	2	1617856746	\N	bigbluebuttonbn_recordings_html_default	1	\N
1389	2	1617856746	\N	bigbluebuttonbn_recordings_html_editable	0	\N
1390	2	1617856746	\N	bigbluebuttonbn_recordings_deleted_default	1	\N
1391	2	1617856746	\N	bigbluebuttonbn_recordings_deleted_editable	0	\N
1392	2	1617856746	\N	bigbluebuttonbn_recordings_imported_default	0	\N
1393	2	1617856746	\N	bigbluebuttonbn_recordings_imported_editable	1	\N
1394	2	1617856746	\N	bigbluebuttonbn_recordings_preview_default	1	\N
1395	2	1617856746	\N	bigbluebuttonbn_recordings_preview_editable	0	\N
1396	2	1617856746	\N	bigbluebuttonbn_recordings_sortorder	0	\N
1397	2	1617856746	\N	bigbluebuttonbn_recordings_validate_url	1	\N
1398	2	1617856746	\N	bigbluebuttonbn_waitformoderator_default	0	\N
1399	2	1617856746	\N	bigbluebuttonbn_waitformoderator_editable	1	\N
1400	2	1617856746	\N	bigbluebuttonbn_waitformoderator_ping_interval	10	\N
1401	2	1617856746	\N	bigbluebuttonbn_waitformoderator_cache_ttl	60	\N
1402	2	1617856746	\N	bigbluebuttonbn_voicebridge_editable	0	\N
1403	2	1617856746	\N	bigbluebuttonbn_preuploadpresentation_enabled	0	\N
1404	2	1617856746	mod_bigbluebuttonbn	presentationdefault		\N
1405	2	1617856746	\N	bigbluebuttonbn_userlimit_default	0	\N
1406	2	1617856746	\N	bigbluebuttonbn_userlimit_editable	0	\N
1407	2	1617856746	\N	bigbluebuttonbn_participant_moderator_default	0	\N
1408	2	1617856746	\N	bigbluebuttonbn_sendnotifications_enabled	1	\N
1409	2	1617856746	\N	bigbluebuttonbn_muteonstart_default	0	\N
1410	2	1617856746	\N	bigbluebuttonbn_muteonstart_editable	0	\N
1411	2	1617856746	\N	bigbluebuttonbn_disablecam_default	0	\N
1412	2	1617856746	\N	bigbluebuttonbn_disablecam_editable	1	\N
1413	2	1617856746	\N	bigbluebuttonbn_disablemic_default	0	\N
1414	2	1617856746	\N	bigbluebuttonbn_disablemic_editable	1	\N
1415	2	1617856746	\N	bigbluebuttonbn_disableprivatechat_default	0	\N
1416	2	1617856746	\N	bigbluebuttonbn_disableprivatechat_editable	1	\N
1417	2	1617856746	\N	bigbluebuttonbn_disablepublicchat_default	0	\N
1418	2	1617856746	\N	bigbluebuttonbn_disablepublicchat_editable	1	\N
1419	2	1617856746	\N	bigbluebuttonbn_disablenote_default	0	\N
1420	2	1617856746	\N	bigbluebuttonbn_disablenote_editable	1	\N
1421	2	1617856746	\N	bigbluebuttonbn_hideuserlist_default	0	\N
1422	2	1617856746	\N	bigbluebuttonbn_hideuserlist_editable	1	\N
1423	2	1617856746	\N	bigbluebuttonbn_lockedlayout_default	0	\N
1424	2	1617856746	\N	bigbluebuttonbn_lockedlayout_editable	1	\N
1425	2	1617856746	\N	bigbluebuttonbn_lockonjoin_default	0	\N
1426	2	1617856746	\N	bigbluebuttonbn_lockonjoin_editable	1	\N
1427	2	1617856746	\N	bigbluebuttonbn_lockonjoinconfigurable_default	0	\N
1428	2	1617856746	\N	bigbluebuttonbn_lockonjoinconfigurable_editable	1	\N
1429	2	1617856746	\N	bigbluebuttonbn_welcome_default		\N
1430	2	1617856746	\N	bigbluebuttonbn_recordingready_enabled	0	\N
1431	2	1617856746	\N	bigbluebuttonbn_meetingevents_enabled	0	\N
1432	2	1617856746	folder	showexpanded	1	\N
1433	2	1617856746	folder	maxsizetodownload	0	\N
1434	2	1617856746	\N	chat_method	ajax	\N
1435	2	1617856746	\N	chat_refresh_userlist	10	\N
1436	2	1617856746	\N	chat_old_ping	35	\N
1437	2	1617856746	\N	chat_refresh_room	5	\N
1438	2	1617856746	\N	chat_normal_updatemode	jsupdate	\N
1439	2	1617856746	\N	chat_serverhost	moodle.DDOOMMAAIINN	\N
1440	2	1617856746	\N	chat_serverip	127.0.0.1	\N
1441	2	1617856746	\N	chat_serverport	9111	\N
1442	2	1617856746	\N	chat_servermax	100	\N
1443	2	1617856746	quiz	timelimit	0	\N
1444	2	1617856746	quiz	timelimit_adv		\N
1445	2	1617856746	quiz	overduehandling	autosubmit	\N
1446	2	1617856746	quiz	overduehandling_adv		\N
1447	2	1617856746	quiz	graceperiod	86400	\N
1448	2	1617856746	quiz	graceperiod_adv		\N
1449	2	1617856746	quiz	graceperiodmin	60	\N
1450	2	1617856746	quiz	attempts	0	\N
1451	2	1617856746	quiz	attempts_adv		\N
1452	2	1617856746	quiz	grademethod	1	\N
1453	2	1617856746	quiz	grademethod_adv		\N
1454	2	1617856746	quiz	maximumgrade	10	\N
1455	2	1617856746	quiz	questionsperpage	1	\N
1456	2	1617856746	quiz	questionsperpage_adv		\N
1457	2	1617856746	quiz	navmethod	free	\N
1458	2	1617856746	quiz	navmethod_adv	1	\N
1459	2	1617856746	quiz	shuffleanswers	1	\N
1460	2	1617856746	quiz	shuffleanswers_adv		\N
1461	2	1617856746	quiz	preferredbehaviour	deferredfeedback	\N
1462	2	1617856746	quiz	canredoquestions	0	\N
1463	2	1617856746	quiz	canredoquestions_adv	1	\N
1464	2	1617856746	quiz	attemptonlast	0	\N
1465	2	1617856746	quiz	attemptonlast_adv	1	\N
1466	2	1617856746	quiz	reviewattempt	69904	\N
1467	2	1617856746	quiz	reviewcorrectness	69904	\N
1468	2	1617856746	quiz	reviewmarks	69904	\N
1469	2	1617856746	quiz	reviewspecificfeedback	69904	\N
1470	2	1617856746	quiz	reviewgeneralfeedback	69904	\N
1471	2	1617856746	quiz	reviewrightanswer	69904	\N
1472	2	1617856746	quiz	reviewoverallfeedback	4368	\N
1473	2	1617856746	quiz	showuserpicture	0	\N
1474	2	1617856746	quiz	showuserpicture_adv		\N
1475	2	1617856746	quiz	decimalpoints	2	\N
1476	2	1617856746	quiz	decimalpoints_adv		\N
1477	2	1617856746	quiz	questiondecimalpoints	-1	\N
1478	2	1617856746	quiz	questiondecimalpoints_adv		\N
1479	2	1617856746	quiz	showblocks	0	\N
1480	2	1617856746	quiz	showblocks_adv	1	\N
1481	2	1617856746	quiz	quizpassword		\N
1482	2	1617856746	quiz	quizpassword_adv		\N
1483	2	1617856746	quiz	quizpassword_required		\N
1484	2	1617856746	quiz	subnet		\N
1485	2	1617856746	quiz	subnet_adv	1	\N
1486	2	1617856746	quiz	delay1	0	\N
1487	2	1617856746	quiz	delay1_adv	1	\N
1488	2	1617856746	quiz	delay2	0	\N
1489	2	1617856746	quiz	delay2_adv	1	\N
1490	2	1617856746	quiz	browsersecurity	-	\N
1491	2	1617856746	quiz	browsersecurity_adv	1	\N
1492	2	1617856746	quiz	initialnumfeedbacks	2	\N
1493	2	1617856746	quiz	autosaveperiod	60	\N
1494	2	1617856746	quizaccess_seb	autoreconfigureseb	1	\N
1495	2	1617856746	quizaccess_seb	showseblinks	seb,http	\N
1496	2	1617856746	quizaccess_seb	downloadlink	https://safeexambrowser.org/download_en.html	\N
1497	2	1617856746	quizaccess_seb	quizpasswordrequired	0	\N
1498	2	1617856746	quizaccess_seb	displayblocksbeforestart	0	\N
1499	2	1617856746	quizaccess_seb	displayblockswhenfinished	1	\N
1500	2	1617856746	label	dndmedia	1	\N
1501	2	1617856746	label	dndresizewidth	400	\N
1502	2	1617856746	label	dndresizeheight	400	\N
1503	2	1617856746	\N	forum_displaymode	3	\N
1504	2	1617856746	\N	forum_shortpost	300	\N
1505	2	1617856746	\N	forum_longpost	600	\N
1506	2	1617856746	\N	forum_manydiscussions	100	\N
1507	2	1617856746	\N	forum_maxattachments	9	\N
1508	2	1617856746	\N	forum_subscription	0	\N
1509	2	1617856746	\N	forum_trackingtype	1	\N
1510	2	1617856746	\N	forum_trackreadposts	1	\N
1511	2	1617856746	\N	forum_allowforcedreadtracking	0	\N
1512	2	1617856746	\N	forum_oldpostdays	14	\N
1513	2	1617856746	\N	forum_usermarksread	0	\N
1514	2	1617856746	\N	forum_cleanreadtime	2	\N
1515	2	1617856746	\N	digestmailtime	17	\N
1516	2	1617856746	\N	forum_enablerssfeeds	0	\N
1517	2	1617856746	\N	forum_enabletimedposts	1	\N
1518	2	1617856746	\N	glossary_entbypage	10	\N
1519	2	1617856746	\N	glossary_dupentries	0	\N
1520	2	1617856746	\N	glossary_allowcomments	0	\N
1521	2	1617856746	\N	glossary_linkbydefault	1	\N
1522	2	1617856746	\N	glossary_defaultapproval	1	\N
1523	2	1617856746	\N	glossary_enablerssfeeds	0	\N
1524	2	1617856746	\N	glossary_linkentries	0	\N
1525	2	1617856746	\N	glossary_casesensitive	0	\N
1526	2	1617856746	\N	glossary_fullmatch	0	\N
1527	2	1617856746	\N	jitsi_domain	meet.jit.si	\N
1528	2	1617856746	\N	jitsi_sesionname	0,1,2	\N
1529	2	1617856746	\N	jitsi_securitybutton	0	\N
1530	2	1617856746	\N	jitsi_invitebuttons	0	\N
1531	2	1617856746	\N	jitsi_channellastcam	4	\N
1532	2	1617856746	\N	jitsi_livebutton	0	\N
1533	2	1617856746	\N	jitsi_blurbutton	0	\N
1534	2	1617856746	\N	jitsi_shareyoutube	0	\N
1535	2	1617856746	\N	jitsi_watermarklink	https://jitsi.org	\N
1536	2	1617856746	\N	jitsi_finishandreturn	0	\N
1537	2	1617856746	\N	jitsi_password		\N
1538	2	1617856746	\N	jitsi_privatesessions	1	\N
1539	2	1617856746	\N	jitsi_app_id		\N
1540	2	1617856746	\N	jitsi_secret		\N
1541	2	1617856746	mod_lesson	mediafile		\N
1542	2	1617856746	mod_lesson	mediafile_adv	1	\N
1543	2	1617856746	mod_lesson	mediawidth	640	\N
1544	2	1617856746	mod_lesson	mediaheight	480	\N
1545	2	1617856746	mod_lesson	mediaclose	0	\N
1546	2	1617856746	mod_lesson	progressbar	0	\N
1547	2	1617856746	mod_lesson	progressbar_adv		\N
1548	2	1617856746	mod_lesson	ongoing	0	\N
1549	2	1617856747	mod_lesson	ongoing_adv	1	\N
1550	2	1617856747	mod_lesson	displayleftmenu	0	\N
1551	2	1617856747	mod_lesson	displayleftmenu_adv		\N
1552	2	1617856747	mod_lesson	displayleftif	0	\N
1553	2	1617856747	mod_lesson	displayleftif_adv	1	\N
1554	2	1617856747	mod_lesson	slideshow	0	\N
1555	2	1617856747	mod_lesson	slideshow_adv	1	\N
1556	2	1617856747	mod_lesson	slideshowwidth	640	\N
1557	2	1617856747	mod_lesson	slideshowheight	480	\N
1558	2	1617856747	mod_lesson	slideshowbgcolor	#FFFFFF	\N
1559	2	1617856747	mod_lesson	maxanswers	5	\N
1560	2	1617856747	mod_lesson	maxanswers_adv	1	\N
1561	2	1617856747	mod_lesson	defaultfeedback	0	\N
1562	2	1617856747	mod_lesson	defaultfeedback_adv	1	\N
1563	2	1617856747	mod_lesson	activitylink		\N
1564	2	1617856747	mod_lesson	activitylink_adv	1	\N
1565	2	1617856747	mod_lesson	timelimit	0	\N
1566	2	1617856747	mod_lesson	timelimit_adv		\N
1567	2	1617856747	mod_lesson	password	0	\N
1568	2	1617856747	mod_lesson	password_adv	1	\N
1569	2	1617856747	mod_lesson	modattempts	0	\N
1570	2	1617856747	mod_lesson	modattempts_adv		\N
1571	2	1617856747	mod_lesson	displayreview	0	\N
1572	2	1617856747	mod_lesson	displayreview_adv		\N
1573	2	1617856747	mod_lesson	maximumnumberofattempts	1	\N
1574	2	1617856747	mod_lesson	maximumnumberofattempts_adv		\N
1575	2	1617856747	mod_lesson	defaultnextpage	0	\N
1576	2	1617856747	mod_lesson	defaultnextpage_adv	1	\N
1577	2	1617856747	mod_lesson	numberofpagestoshow	1	\N
1578	2	1617856747	mod_lesson	numberofpagestoshow_adv	1	\N
1579	2	1617856747	mod_lesson	practice	0	\N
1580	2	1617856747	mod_lesson	practice_adv		\N
1581	2	1617856747	mod_lesson	customscoring	1	\N
1582	2	1617856747	mod_lesson	customscoring_adv	1	\N
1583	2	1617856747	mod_lesson	retakesallowed	0	\N
1584	2	1617856747	mod_lesson	retakesallowed_adv		\N
1585	2	1617856747	mod_lesson	handlingofretakes	0	\N
1586	2	1617856747	mod_lesson	handlingofretakes_adv	1	\N
1587	2	1617856747	mod_lesson	minimumnumberofquestions	0	\N
1588	2	1617856747	mod_lesson	minimumnumberofquestions_adv	1	\N
1589	2	1617856747	book	numberingoptions	0,1,2,3	\N
1590	2	1617856747	book	navoptions	0,1,2	\N
1591	2	1617856747	book	numbering	1	\N
1592	2	1617856747	book	navstyle	1	\N
1593	2	1617856747	\N	feedback_allowfullanonymous	0	\N
1594	2	1617856747	page	displayoptions	5	\N
1595	2	1617856747	page	printheading	1	\N
1596	2	1617856747	page	printintro	0	\N
1597	2	1617856747	page	printlastmodified	1	\N
1598	2	1617856747	page	display	5	\N
1599	2	1617856747	page	popupwidth	620	\N
1600	2	1617856747	page	popupheight	450	\N
1601	2	1617856747	imscp	keepold	1	\N
1602	2	1617856747	imscp	keepold_adv		\N
1603	2	1617856747	scorm	displaycoursestructure	0	\N
1604	2	1617856747	scorm	displaycoursestructure_adv		\N
1605	2	1617856747	scorm	popup	0	\N
1606	2	1617856747	scorm	popup_adv		\N
1607	2	1617856747	scorm	displayactivityname	1	\N
1608	2	1617856747	scorm	framewidth	100	\N
1609	2	1617856747	scorm	framewidth_adv	1	\N
1610	2	1617856747	scorm	frameheight	500	\N
1611	2	1617856747	scorm	frameheight_adv	1	\N
1612	2	1617856747	scorm	winoptgrp_adv	1	\N
1613	2	1617856747	scorm	scrollbars	0	\N
1614	2	1617856747	scorm	directories	0	\N
1615	2	1617856747	scorm	location	0	\N
1616	2	1617856747	scorm	menubar	0	\N
1617	2	1617856747	scorm	toolbar	0	\N
1618	2	1617856747	scorm	status	0	\N
1619	2	1617856747	scorm	skipview	0	\N
1620	2	1617856747	scorm	skipview_adv	1	\N
1621	2	1617856747	scorm	hidebrowse	0	\N
1622	2	1617856747	scorm	hidebrowse_adv	1	\N
1623	2	1617856747	scorm	hidetoc	0	\N
1624	2	1617856747	scorm	hidetoc_adv	1	\N
1625	2	1617856747	scorm	nav	1	\N
1626	2	1617856747	scorm	nav_adv	1	\N
1627	2	1617856747	scorm	navpositionleft	-100	\N
1628	2	1617856747	scorm	navpositionleft_adv	1	\N
1629	2	1617856747	scorm	navpositiontop	-100	\N
1630	2	1617856747	scorm	navpositiontop_adv	1	\N
1631	2	1617856747	scorm	collapsetocwinsize	767	\N
1632	2	1617856747	scorm	collapsetocwinsize_adv	1	\N
1633	2	1617856747	scorm	displayattemptstatus	1	\N
1634	2	1617856747	scorm	displayattemptstatus_adv		\N
1635	2	1617856747	scorm	grademethod	1	\N
1636	2	1617856747	scorm	maxgrade	100	\N
1637	2	1617856747	scorm	maxattempt	0	\N
1638	2	1617856747	scorm	whatgrade	0	\N
1639	2	1617856747	scorm	forcecompleted	0	\N
1640	2	1617856747	scorm	forcenewattempt	0	\N
1641	2	1617856747	scorm	autocommit	0	\N
1642	2	1617856747	scorm	masteryoverride	1	\N
1643	2	1617856747	scorm	lastattemptlock	0	\N
1644	2	1617856747	scorm	auto	0	\N
1645	2	1617856747	scorm	updatefreq	0	\N
1646	2	1617856747	scorm	scormstandard	0	\N
1647	2	1617856747	scorm	allowtypeexternal	0	\N
1648	2	1617856747	scorm	allowtypelocalsync	0	\N
1649	2	1617856747	scorm	allowtypeexternalaicc	0	\N
1650	2	1617856747	scorm	allowaicchacp	0	\N
1651	2	1617856747	scorm	aicchacptimeout	30	\N
1652	2	1617856747	scorm	aicchacpkeepsessiondata	1	\N
1653	2	1617856747	scorm	aiccuserid	1	\N
1654	2	1617856747	scorm	forcejavascript	1	\N
1655	2	1617856747	scorm	allowapidebug	0	\N
1656	2	1617856747	scorm	apidebugmask	.*	\N
1657	2	1617856747	scorm	protectpackagedownloads	0	\N
1658	2	1617856747	resource	framesize	130	\N
1659	2	1617856747	resource	displayoptions	0,1,4,5,6	\N
1660	2	1617856747	resource	printintro	1	\N
1661	2	1617856747	resource	display	0	\N
1662	2	1617856747	resource	showsize	0	\N
1663	2	1617856747	resource	showtype	0	\N
1664	2	1617856747	resource	showdate	0	\N
1665	2	1617856747	resource	popupwidth	620	\N
1666	2	1617856747	resource	popupheight	450	\N
1667	2	1617856747	resource	filterfiles	0	\N
1668	2	1617856747	workshop	grade	80	\N
1669	2	1617856747	workshop	gradinggrade	20	\N
1670	2	1617856747	workshop	gradedecimals	0	\N
1671	2	1617856747	workshop	strategy	accumulative	\N
1672	2	1617856747	workshop	examplesmode	0	\N
1673	2	1617856747	workshopallocation_random	numofreviews	5	\N
1674	2	1617856747	workshopform_numerrors	grade0	No	\N
1675	2	1617856747	workshopform_numerrors	grade1	Sí	\N
1676	2	1617856747	workshopeval_best	comparison	5	\N
1677	2	1617856747	assign	feedback_plugin_for_gradebook	assignfeedback_comments	\N
1678	2	1617856747	assign	showrecentsubmissions	0	\N
1679	2	1617856747	assign	submissionreceipts	1	\N
1680	2	1617856747	assign	submissionstatement	Confirmo que este trabajo es de elaboración propia, excepto aquellas partes en las que haya reconocido la autoría de la obra o parte de ella a otras personas.	\N
1681	2	1617856747	assign	submissionstatementteamsubmission	Confirmo que este envío es trabajo de mi grupo, excepto aquellas partes en las que se haya reconocido la autoría de la obra o parte de ella a otras personas.	\N
1682	2	1617856747	assign	submissionstatementteamsubmissionallsubmit	Confirmo que este trabajo es de elaboración propia como miembro del grupo, excepto aquellas partes en las que haya reconocido la autoría de la obra o parte de ella a otras personas.	\N
1683	2	1617856747	assign	maxperpage	-1	\N
1684	2	1617856747	assign	alwaysshowdescription	1	\N
1685	2	1617856747	assign	alwaysshowdescription_adv		\N
1686	2	1617856747	assign	alwaysshowdescription_locked		\N
1687	2	1617856747	assign	allowsubmissionsfromdate	0	\N
1688	2	1617856747	assign	allowsubmissionsfromdate_enabled	1	\N
1689	2	1617856747	assign	allowsubmissionsfromdate_adv		\N
1690	2	1617856747	assign	duedate	604800	\N
1691	2	1617856747	assign	duedate_enabled	1	\N
1692	2	1617856747	assign	duedate_adv		\N
1693	2	1617856747	assign	cutoffdate	1209600	\N
1694	2	1617856747	assign	cutoffdate_enabled		\N
1695	2	1617856747	assign	cutoffdate_adv		\N
1696	2	1617856747	assign	gradingduedate	1209600	\N
1697	2	1617856747	assign	gradingduedate_enabled	1	\N
1698	2	1617856747	assign	gradingduedate_adv		\N
1699	2	1617856747	assign	submissiondrafts	0	\N
1700	2	1617856747	assign	submissiondrafts_adv		\N
1701	2	1617856747	assign	submissiondrafts_locked		\N
1702	2	1617856747	assign	requiresubmissionstatement	0	\N
1703	2	1617856747	assign	requiresubmissionstatement_adv		\N
1704	2	1617856747	assign	requiresubmissionstatement_locked		\N
1705	2	1617856747	assign	attemptreopenmethod	none	\N
1706	2	1617856747	assign	attemptreopenmethod_adv		\N
1707	2	1617856747	assign	attemptreopenmethod_locked		\N
1708	2	1617856747	assign	maxattempts	-1	\N
1709	2	1617856747	assign	maxattempts_adv		\N
1710	2	1617856747	assign	maxattempts_locked		\N
1711	2	1617856747	assign	teamsubmission	0	\N
1712	2	1617856747	assign	teamsubmission_adv		\N
1713	2	1617856747	assign	teamsubmission_locked		\N
1714	2	1617856747	assign	preventsubmissionnotingroup	0	\N
1715	2	1617856747	assign	preventsubmissionnotingroup_adv		\N
1716	2	1617856747	assign	preventsubmissionnotingroup_locked		\N
1717	2	1617856748	assign	requireallteammemberssubmit	0	\N
1718	2	1617856748	assign	requireallteammemberssubmit_adv		\N
1719	2	1617856748	assign	requireallteammemberssubmit_locked		\N
1720	2	1617856748	assign	teamsubmissiongroupingid		\N
1721	2	1617856748	assign	teamsubmissiongroupingid_adv		\N
1722	2	1617856748	assign	sendnotifications	0	\N
1723	2	1617856748	assign	sendnotifications_adv		\N
1724	2	1617856748	assign	sendnotifications_locked		\N
1725	2	1617856748	assign	sendlatenotifications	0	\N
1726	2	1617856748	assign	sendlatenotifications_adv		\N
1727	2	1617856748	assign	sendlatenotifications_locked		\N
1728	2	1617856748	assign	sendstudentnotifications	1	\N
1729	2	1617856748	assign	sendstudentnotifications_adv		\N
1730	2	1617856748	assign	sendstudentnotifications_locked		\N
1731	2	1617856748	assign	blindmarking	0	\N
1732	2	1617856748	assign	blindmarking_adv		\N
1733	2	1617856748	assign	blindmarking_locked		\N
1734	2	1617856748	assign	hidegrader	0	\N
1735	2	1617856748	assign	hidegrader_adv		\N
1736	2	1617856748	assign	hidegrader_locked		\N
1737	2	1617856748	assign	markingworkflow	0	\N
1738	2	1617856748	assign	markingworkflow_adv		\N
1739	2	1617856748	assign	markingworkflow_locked		\N
1740	2	1617856748	assign	markingallocation	0	\N
1741	2	1617856748	assign	markingallocation_adv		\N
1742	2	1617856748	assign	markingallocation_locked		\N
1743	2	1617856748	assignsubmission_file	default	1	\N
1744	2	1617856748	assignsubmission_file	maxfiles	20	\N
1745	2	1617856748	assignsubmission_file	filetypes		\N
1746	2	1617856748	assignsubmission_onlinetext	default	0	\N
1747	2	1617856748	assignfeedback_comments	default	1	\N
1748	2	1617856748	assignfeedback_comments	inline	0	\N
1749	2	1617856748	assignfeedback_comments	inline_adv		\N
1750	2	1617856748	assignfeedback_comments	inline_locked		\N
1751	2	1617856748	assignfeedback_editpdf	default	1	\N
1752	2	1617856748	assignfeedback_editpdf	stamps		\N
1753	2	1617856748	assignfeedback_file	default	0	\N
1754	2	1617856748	assignfeedback_offline	default	0	\N
1755	2	1617856748	url	framesize	130	\N
1756	2	1617856748	url	secretphrase		\N
1757	2	1617856748	url	rolesinparams	0	\N
1758	2	1617856748	url	displayoptions	0,1,5,6	\N
1759	2	1617856748	url	printintro	1	\N
1760	2	1617856748	url	display	0	\N
1761	2	1617856748	url	popupwidth	620	\N
1762	2	1617856748	url	popupheight	450	\N
1763	2	1617856748	antivirus_clamav	runningmethod	commandline	\N
1764	2	1617856748	antivirus_clamav	pathtoclam		\N
1765	2	1617856748	antivirus_clamav	pathtounixsocket		\N
1766	2	1617856748	antivirus_clamav	tcpsockethost		\N
1767	2	1617856748	antivirus_clamav	tcpsocketport	3310	\N
1768	2	1617856748	antivirus_clamav	clamfailureonupload	donothing	\N
1769	2	1617856748	antivirus_clamav	tries	1	\N
1770	2	1617856748	paygw_paypal	surcharge	0	\N
1771	2	1617856748	media_videojs	videoextensions	html_video,media_source,.f4v,.flv	\N
1772	2	1617856748	media_videojs	audioextensions	html_audio	\N
1773	2	1617856748	media_videojs	rtmp	0	\N
1774	2	1617856748	media_videojs	useflash	0	\N
1775	2	1617856748	media_videojs	youtube	1	\N
1776	2	1617856748	media_videojs	videocssclass	video-js	\N
1777	2	1617856748	media_videojs	audiocssclass	video-js	\N
1778	2	1617856748	media_videojs	limitsize	1	\N
1779	2	1617856748	qtype_multichoice	answerhowmany	1	\N
1780	2	1617856748	qtype_multichoice	shuffleanswers	1	\N
1781	2	1617856748	qtype_multichoice	answernumbering	abc	\N
1782	2	1617856748	\N	profileroles	5,4,3	\N
1783	2	1617856748	\N	calendar_exportsalt	m2Bs2sheoJCkiDstVghDnmewhOuqr0WzYUdeCB0H4g7i53CLdruyUB5C0LuF	H1mPrtKCCN5U8yHXeMktag3QlEIofXCeJBVJD02ED7yxbrWuhMB9bq9auIH1
1784	2	1617856748	\N	coursecontact	3	\N
1785	2	1617856748	\N	frontpage	6	\N
1786	2	1617856749	\N	frontpageloggedin	6	\N
1787	2	1617856749	\N	maxcategorydepth	2	\N
1788	2	1617856749	\N	frontpagecourselimit	200	\N
1789	2	1617856749	\N	commentsperpage	15	\N
1790	2	1617856749	\N	defaultfrontpageroleid	8	\N
1791	2	1617856749	\N	messageinbound_enabled	0	\N
1792	2	1617856749	\N	messageinbound_mailbox		\N
1793	2	1617856749	\N	messageinbound_domain		\N
1794	2	1617856749	\N	messageinbound_host		\N
1795	2	1617856749	\N	messageinbound_hostssl	ssl	\N
1796	2	1617856749	\N	messageinbound_hostuser		\N
1797	2	1617856749	\N	messageinbound_hostpass		\N
1798	2	1617856749	\N	enablemobilewebservice	1	\N
1799	2	1617856749	tool_mobile	apppolicy		\N
1800	2	1617856749	tool_mobile	typeoflogin	1	\N
1801	2	1617856749	tool_mobile	qrcodetype	2	\N
1802	2	1617856749	tool_mobile	forcedurlscheme	moodlemobile	\N
1803	2	1617856749	tool_mobile	minimumversion		\N
1804	2	1617856749	\N	mobilecssurl		\N
1805	2	1617856749	tool_mobile	enablesmartappbanners	0	\N
1806	2	1617856749	tool_mobile	iosappid	633359593	\N
1807	2	1617856749	tool_mobile	androidappid	com.moodle.moodlemobile	\N
1808	2	1617856749	tool_mobile	setuplink	https://download.moodle.org/mobile	\N
1809	2	1617856749	tool_mobile	forcelogout	0	\N
1810	2	1617856749	tool_mobile	disabledfeatures		\N
1811	2	1617856749	tool_mobile	custommenuitems		\N
1812	2	1617856749	tool_mobile	filetypeexclusionlist		\N
1813	2	1617856749	tool_mobile	customlangstrings		\N
1814	2	1617856749	tool_moodlenet	enablemoodlenet	0	\N
1815	2	1617856749	tool_moodlenet	defaultmoodlenetname	MoodleNet Central	\N
1816	2	1617856749	tool_moodlenet	defaultmoodlenet	https://moodle.net	\N
1817	2	1617856755	\N	enablewebservices	0	1
1818	2	1617856759	\N	calendar_exportsalt	w1aBttT1UBWCliVw93s75n0YYxnzFRiayIvbPMu2BBwJevJ57gHsPDeEAbZU	m2Bs2sheoJCkiDstVghDnmewhOuqr0WzYUdeCB0H4g7i53CLdruyUB5C0LuF
1819	0	1617856761	\N	pathtophp	/usr/bin/php	
1820	0	1617856761	\N	pathtodu	/usr/bin/du	
1822	0	1617856762	\N	smtphosts	smtp.mymailserver.com:587	
1823	0	1617856762	\N	smtpuser	your_email@mymailserver.com	
1824	0	1617856762	\N	smtppass	SuperSecret	
1826	0	1617856762	\N	noreplyaddress	noreply@mymailserver.com	noreply@moodle.DDOOMMAAIINN
1827	0	1617856762	\N	emailsubjectprefix	[moodle]	
\.


--
-- Data for Name: mdl_config_plugins; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_config_plugins (id, plugin, name, value) FROM stdin;
1	question	multichoice_sortorder	1
2	question	truefalse_sortorder	2
3	question	match_sortorder	3
4	question	shortanswer_sortorder	4
5	question	numerical_sortorder	5
6	question	essay_sortorder	6
7	moodlecourse	visible	1
8	moodlecourse	downloadcontentsitedefault	0
9	moodlecourse	format	topics
10	moodlecourse	maxsections	52
11	moodlecourse	numsections	4
12	moodlecourse	hiddensections	0
13	moodlecourse	coursedisplay	0
14	moodlecourse	courseenddateenabled	1
15	moodlecourse	courseduration	31536000
16	moodlecourse	lang	
17	moodlecourse	newsitems	5
18	moodlecourse	showgrades	1
19	moodlecourse	showreports	0
20	moodlecourse	enablecompletion	1
21	moodlecourse	groupmode	0
22	moodlecourse	groupmodeforce	0
23	backup	loglifetime	30
24	backup	backup_general_users	1
25	backup	backup_general_users_locked	
26	backup	backup_general_anonymize	0
27	backup	backup_general_anonymize_locked	
28	backup	backup_general_role_assignments	1
29	backup	backup_general_role_assignments_locked	
30	backup	backup_general_activities	1
31	backup	backup_general_activities_locked	
32	backup	backup_general_blocks	1
33	backup	backup_general_blocks_locked	
34	backup	backup_general_files	1
35	backup	backup_general_files_locked	
36	backup	backup_general_filters	1
37	backup	backup_general_filters_locked	
38	backup	backup_general_comments	1
39	backup	backup_general_comments_locked	
40	backup	backup_general_badges	1
41	backup	backup_general_badges_locked	
42	backup	backup_general_calendarevents	1
43	backup	backup_general_calendarevents_locked	
44	backup	backup_general_userscompletion	1
45	backup	backup_general_userscompletion_locked	
46	backup	backup_general_logs	0
47	backup	backup_general_logs_locked	
48	backup	backup_general_histories	0
49	backup	backup_general_histories_locked	
50	backup	backup_general_questionbank	1
51	backup	backup_general_questionbank_locked	
52	backup	backup_general_groups	1
53	backup	backup_general_groups_locked	
54	backup	backup_general_competencies	1
55	backup	backup_general_competencies_locked	
56	backup	backup_general_contentbankcontent	1
57	backup	backup_general_contentbankcontent_locked	
58	backup	backup_general_legacyfiles	1
59	backup	backup_general_legacyfiles_locked	
60	backup	import_general_maxresults	10
61	backup	import_general_duplicate_admin_allowed	0
62	backup	backup_import_activities	1
63	backup	backup_import_activities_locked	
64	backup	backup_import_blocks	1
65	backup	backup_import_blocks_locked	
66	backup	backup_import_filters	1
67	backup	backup_import_filters_locked	
68	backup	backup_import_calendarevents	1
69	backup	backup_import_calendarevents_locked	
70	backup	backup_import_questionbank	1
71	backup	backup_import_questionbank_locked	
72	backup	backup_import_groups	1
73	backup	backup_import_groups_locked	
74	backup	backup_import_competencies	1
75	backup	backup_import_competencies_locked	
76	backup	backup_import_contentbankcontent	1
77	backup	backup_import_contentbankcontent_locked	
78	backup	backup_import_legacyfiles	1
79	backup	backup_import_legacyfiles_locked	
80	backup	backup_auto_active	0
81	backup	backup_auto_weekdays	0000000
82	backup	backup_auto_hour	0
83	backup	backup_auto_minute	0
84	backup	backup_auto_storage	0
85	backup	backup_auto_destination	
86	backup	backup_auto_max_kept	1
87	backup	backup_auto_delete_days	0
88	backup	backup_auto_min_kept	0
89	backup	backup_shortname	0
90	backup	backup_auto_skip_hidden	1
91	backup	backup_auto_skip_modif_days	30
92	backup	backup_auto_skip_modif_prev	0
93	backup	backup_auto_users	1
94	backup	backup_auto_role_assignments	1
95	backup	backup_auto_activities	1
96	backup	backup_auto_blocks	1
97	backup	backup_auto_files	1
98	backup	backup_auto_filters	1
99	backup	backup_auto_comments	1
100	backup	backup_auto_badges	1
101	backup	backup_auto_calendarevents	1
102	backup	backup_auto_userscompletion	1
103	backup	backup_auto_logs	0
104	backup	backup_auto_histories	0
105	backup	backup_auto_questionbank	1
106	backup	backup_auto_groups	1
107	backup	backup_auto_competencies	1
108	backup	backup_auto_contentbankcontent	1
109	backup	backup_auto_legacyfiles	1
110	restore	restore_general_users	1
111	restore	restore_general_users_locked	
112	restore	restore_general_enrolments	1
113	restore	restore_general_enrolments_locked	
114	restore	restore_general_role_assignments	1
115	restore	restore_general_role_assignments_locked	
116	restore	restore_general_activities	1
117	restore	restore_general_activities_locked	
118	restore	restore_general_blocks	1
119	restore	restore_general_blocks_locked	
120	restore	restore_general_filters	1
121	restore	restore_general_filters_locked	
122	restore	restore_general_comments	1
123	restore	restore_general_comments_locked	
124	restore	restore_general_badges	1
125	restore	restore_general_badges_locked	
126	restore	restore_general_calendarevents	1
127	restore	restore_general_calendarevents_locked	
128	restore	restore_general_userscompletion	1
129	restore	restore_general_userscompletion_locked	
130	restore	restore_general_logs	1
131	restore	restore_general_logs_locked	
132	restore	restore_general_histories	1
133	restore	restore_general_histories_locked	
134	restore	restore_general_groups	1
135	restore	restore_general_groups_locked	
136	restore	restore_general_competencies	1
137	restore	restore_general_competencies_locked	
138	restore	restore_general_contentbankcontent	1
139	restore	restore_general_contentbankcontent_locked	
140	restore	restore_general_legacyfiles	1
141	restore	restore_general_legacyfiles_locked	
142	restore	restore_merge_overwrite_conf	0
143	restore	restore_merge_overwrite_conf_locked	
144	restore	restore_merge_course_fullname	1
145	restore	restore_merge_course_fullname_locked	
146	restore	restore_merge_course_shortname	1
147	restore	restore_merge_course_shortname_locked	
148	restore	restore_merge_course_startdate	1
149	restore	restore_merge_course_startdate_locked	
150	restore	restore_replace_overwrite_conf	0
151	restore	restore_replace_overwrite_conf_locked	
152	restore	restore_replace_course_fullname	1
153	restore	restore_replace_course_fullname_locked	
154	restore	restore_replace_course_shortname	1
155	restore	restore_replace_course_shortname_locked	
156	restore	restore_replace_course_startdate	1
157	restore	restore_replace_course_startdate_locked	
158	restore	restore_replace_keep_roles_and_enrolments	0
159	restore	restore_replace_keep_roles_and_enrolments_locked	
160	restore	restore_replace_keep_groups_and_groupings	0
161	restore	restore_replace_keep_groups_and_groupings_locked	
162	backup	backup_async_message_users	0
163	backup	backup_async_message_subject	{operation} de Moodle se completó exitosamente
164	backup	backup_async_message	Hola {user_firstname} {user_lastname}, <br/> ¡Su {operation} (ID: {backupid}) ha sido completado exitosamente <br/><br/>Puede verla aquí {link}.
165	analytics	modeinstruction	
166	analytics	percentonline	0
167	analytics	typeinstitution	
168	analytics	levelinstitution	
169	analytics	predictionsprocessor	\\mlbackend_php\\processor
170	analytics	defaulttimesplittingsevaluation	\\core\\analytics\\time_splitting\\quarters_accum,\\core\\analytics\\time_splitting\\quarters,\\core\\analytics\\time_splitting\\single_range
171	analytics	modeloutputdir	
172	analytics	onlycli	1
173	analytics	modeltimelimit	1200
174	core_competency	enabled	1
175	core_competency	pushcourseratingstouserplans	1
176	cachestore_apcu	testperformance	0
177	cachestore_memcached	testservers	
178	cachestore_mongodb	testserver	
179	cachestore_redis	test_server	
180	cachestore_redis	test_password	
181	antivirus	notifyemail	
182	antivirus	enablequarantine	0
183	antivirus	quarantinetime	2419200
184	question_preview	behaviour	deferredfeedback
185	question_preview	correctness	1
186	question_preview	marks	2
187	question_preview	markdp	2
188	question_preview	feedback	1
189	question_preview	generalfeedback	1
190	question_preview	rightanswer	1
191	question_preview	history	0
192	tool_task	enablerunnow	1
193	theme_boost	preset	default.scss
194	theme_boost	presetfiles	
195	theme_boost	backgroundimage	
196	theme_boost	brandcolor	
197	theme_boost	scsspre	
198	theme_boost	scss	
199	theme_classic	navbardark	0
200	theme_classic	preset	default.scss
201	theme_classic	presetfiles	
202	theme_classic	backgroundimage	
203	theme_classic	brandcolor	
204	theme_classic	scsspre	
205	theme_classic	scss	
206	core_admin	logo	
207	core_admin	logocompact	
208	core_admin	coursecolor1	#81ecec
209	core_admin	coursecolor2	#74b9ff
210	core_admin	coursecolor3	#a29bfe
211	core_admin	coursecolor4	#dfe6e9
212	core_admin	coursecolor5	#00b894
213	core_admin	coursecolor6	#0984e3
214	core_admin	coursecolor7	#b2bec3
215	core_admin	coursecolor8	#fdcb6e
216	core_admin	coursecolor9	#fd79a8
217	core_admin	coursecolor10	#6c5ce7
218	antivirus_clamav	version	2020110900
219	availability_completion	version	2020110900
220	availability_date	version	2020110900
221	availability_grade	version	2020110900
222	availability_group	version	2020110900
223	availability_grouping	version	2020110900
224	availability_profile	version	2020110900
225	qtype_calculated	version	2020110900
226	qtype_calculatedmulti	version	2020110900
227	qtype_calculatedsimple	version	2020110900
228	qtype_ddimageortext	version	2020110900
229	qtype_ddmarker	version	2020110900
230	qtype_ddwtos	version	2020110900
231	qtype_description	version	2020110900
232	qtype_essay	version	2020110900
233	qtype_gapselect	version	2020110900
234	qtype_match	version	2020110900
235	qtype_missingtype	version	2020110900
236	qtype_multianswer	version	2020110900
237	qtype_multichoice	version	2020110900
238	qtype_numerical	version	2020110900
239	qtype_random	version	2020110900
240	qtype_randomsamatch	version	2020110900
241	qtype_shortanswer	version	2020110900
242	qtype_truefalse	version	2020110900
243	mod_assign	version	2020110900
244	mod_assignment	version	2020110900
1721	folder	maxsizetodownload	0
246	mod_bigbluebuttonbn	version	2019101004
247	mod_book	version	2020110900
248	mod_chat	version	2020110900
249	mod_choice	version	2020110900
250	mod_data	version	2020110900
251	mod_feedback	version	2020110900
253	mod_folder	version	2020110900
255	mod_forum	version	2020110900
256	mod_glossary	version	2020110900
257	mod_h5pactivity	version	2020110900
258	mod_imscp	version	2020110900
260	mod_jitsi	version	2021020300
261	mod_label	version	2020110900
262	mod_lesson	version	2020110900
263	mod_lti	version	2020110900
265	mod_lti	kid	4789f9ce65cfa0c4da9b
266	mod_lti	privatekey	-----BEGIN PRIVATE KEY-----\nMIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQDFD+KKprMaCUif\n1Tt9ImmsPjPhlR2+i6ZcDJRPO68vRCYpV3HQmIq7BuJGt5j3Hg7fui+yGpN6Et18\neIFOKMMivKrsdJqSSPM9iEd6FETJgpWG8VcB6+2DbwFuACz97edxPWxGoWBVZzX3\nMwDvMRa/0JBLu6He90lK+WPg7CxqKbAyr96huS/OU26x8LOpoS8HlyUPuuVITlqk\nV4BIH+5GA3Dy9dfbaFkPUWjddIIb4X244l4OGTLsOy7cyxaaNZyJLgH53M343EOV\nKqHnzEaL2FM9mamy8cwzYjXDP4Fs1a0QJHUHNRVMEppHE3ZOwqhvCZ/yRLNGbAjr\n1DYrtMINAgMBAAECggEAJZzzk51f4B9XglJz6V2RJ/QzeOI6bC1Bkp5ADKOKu43Z\nbtim+7ax/CLDO9Y9VyWglyl1gxw5e/pv1hs2KxHytQWn5jwXaMaNzvfdFLsbqg7H\ntZsJDW/XxNeCQVm9PLaVD3M24IBa39I0ZbuReRY4jmIjuKDWs7Ulgy741mydyaFX\npGm6YVHvGJfZC3CTUQSkgYeA3IoTu36IAG2D9m00ctGs/4UZTJzSHi7bELnhp1Yo\nriyMfmCITU8/ITS0Cp7VC2HJcdzm+e104Z16ktqiYgfKonhHRyrPA2dG8KXzDsy3\nRhJgZlZ/ybJr5TL/ikMJCf1bE+q+fSsM7u2N3zfhbQKBgQDkRdyX4+3ExCFTIBjE\nAQZR+derZCEW3rWjqolvapw6kvBT1924iCCNnMTWxrmYHNDgJBmwYWfkObobNKxo\nw+Qi0SMMkDRMHKXnfkEfeOOVABKf0GD9nAN8BGALdpS5ghyal0d//8QeTePALF8D\npfhRN2ZhJ4HpLBex3fiTABiMQwKBgQDc/4XhhOpKrGeSBEsEcG26EzZEpNk4++B5\n7cLC1RmNGf3vlksLLEVtH3sri8BpU6bUi0iIH1Fp61hxue2T6+llXz9ab7q0RQbN\nZ3n9i6NPupfdlGoE5lL6aMviYtVQUrDs7DZmsvE30qYsPTthdpPLaylAHd+9UFjC\nK3YShsm7bwKBgELCx9xIVf6pGdH03ilc31tURaYjl6XXpqniM2W5eU2MMetjg733\nWgXwpoTmA9uf+drD1BuIsVjHJU3VnuLY/7zLC4QeHJ1x93d3rlYlBfJK3ieNSwCB\nA2fe47QWjzKeAf2YZtnhlJsETqqij3tCrBgcqr2ZT15BfgCQGaXsbkF/AoGAf6Xf\n0LkTEvqt//sW0YOW/WlnaRLGnVFvAT5BxoOL9KJUuHRY+CUkHLmYTTi1dKDqtc2V\noXplbgaP2XCJN22GLBVt5HCwqLtOCIqCPd7P/5dJbKTy782RlC2/xg1MJM7+fnqZ\nmYw2JAY6EUd06wCwsUg+VVhsCU9FVTIBSwYrs2UCgYA8G1wDP/U1BVf5/bpTV9VY\n7E0DHlTJiJMrfGdoqgN++OByr0lSrlAnObxZN4CSDKiST7siYYL+DnQm3IR19o5O\nseigBKathfAbmNovlsLAcy30T7LkKdPWbV2dnvI8d/iAMrDhJxmBp6LIB/myrbRs\neoe2hGPOhDdWEYlvgM9Pgw==\n-----END PRIVATE KEY-----\n
267	mod_page	version	2020110900
269	mod_quiz	version	2020110900
270	mod_resource	version	2020110900
271	mod_scorm	version	2020110900
272	mod_survey	version	2020110900
274	mod_url	version	2020110900
276	mod_wiki	version	2020110900
278	mod_workshop	version	2020110901
279	auth_cas	version	2020110900
281	auth_db	version	2020110900
283	auth_email	version	2020110900
284	auth_ldap	version	2020110900
286	auth_lti	version	2020110900
287	auth_manual	version	2020110900
288	auth_mnet	version	2020110900
290	auth_nologin	version	2020110900
291	auth_none	version	2020110900
292	auth_oauth2	version	2020110900
293	auth_oidc	version	2020110900
294	auth_saml2	version	2021011500
295	auth_shibboleth	version	2020110901
297	auth_webservice	version	2020110900
298	calendartype_gregorian	version	2020110900
299	customfield_checkbox	version	2020110900
300	customfield_date	version	2020110900
301	customfield_select	version	2020110900
302	customfield_text	version	2020110900
303	customfield_textarea	version	2020110900
304	enrol_category	version	2020110900
306	enrol_cohort	version	2020110900
307	enrol_database	version	2020110900
309	enrol_fee	version	2020110900
310	enrol_flatfile	version	2020110900
312	enrol_flatfile	map_1	manager
313	enrol_flatfile	map_2	coursecreator
314	enrol_flatfile	map_3	editingteacher
315	enrol_flatfile	map_4	teacher
316	enrol_flatfile	map_5	student
317	enrol_flatfile	map_6	guest
318	enrol_flatfile	map_7	user
319	enrol_flatfile	map_8	frontpage
320	enrol_guest	version	2020110900
321	enrol_imsenterprise	version	2020110900
1565	format_singleactivity	activitytype	forum
323	enrol_ldap	version	2020110900
1582	logstore_database	dbhandlesoptions	0
325	enrol_lti	version	2020110900
326	enrol_manual	version	2020110900
1583	logstore_database	buffersize	50
328	enrol_meta	version	2020110900
1584	logstore_database	jsonformat	1
330	enrol_mnet	version	2020110900
331	enrol_paypal	version	2020110900
332	enrol_self	version	2020110900
1585	logstore_database	logguests	0
334	message_airnotifier	version	2020110900
1586	logstore_database	includelevels	1,2,0
336	message	airnotifier_provider_enrol_imsenterprise_imsenterprise_enrolment_permitted	permitted
337	message	airnotifier_provider_enrol_paypal_paypal_enrolment_permitted	permitted
338	message	airnotifier_provider_mod_feedback_submission_permitted	permitted
339	message	airnotifier_provider_mod_feedback_message_permitted	permitted
340	message	airnotifier_provider_enrol_manual_expiry_notification_permitted	permitted
341	message	airnotifier_provider_mod_quiz_submission_permitted	permitted
342	message	airnotifier_provider_mod_quiz_confirmation_permitted	permitted
1587	logstore_database	includeactions	c,r,u,d
1588	logstore_legacy	loglegacy	0
345	message	airnotifier_provider_mod_quiz_attempt_overdue_permitted	permitted
1589	logstore_standard	logguests	1
1590	logstore_standard	jsonformat	1
348	message	airnotifier_provider_mod_lesson_graded_essay_permitted	permitted
1591	logstore_standard	loglifetime	0
1592	logstore_standard	buffersize	50
351	message	airnotifier_provider_enrol_self_expiry_notification_permitted	permitted
352	message	airnotifier_provider_enrol_flatfile_flatfile_enrolment_permitted	permitted
353	message	airnotifier_provider_mod_assignment_assignment_updates_permitted	permitted
354	message	airnotifier_provider_mod_assign_assign_notification_permitted	permitted
355	message	airnotifier_provider_moodle_notices_permitted	permitted
356	message	airnotifier_provider_moodle_errors_permitted	permitted
357	message	airnotifier_provider_moodle_availableupdate_permitted	permitted
358	message	airnotifier_provider_moodle_instantmessage_permitted	permitted
359	message	airnotifier_provider_moodle_backup_permitted	permitted
360	message	airnotifier_provider_moodle_courserequested_permitted	permitted
361	message	airnotifier_provider_moodle_courserequestapproved_permitted	permitted
1593	enrol_guest	requirepassword	0
1594	enrol_guest	usepasswordpolicy	0
364	message	airnotifier_provider_moodle_courserequestrejected_permitted	permitted
1595	enrol_guest	showhint	0
1596	enrol_guest	defaultenrol	1
367	message	airnotifier_provider_moodle_coursecompleted_permitted	permitted
368	message	airnotifier_provider_moodle_badgerecipientnotice_permitted	permitted
1597	enrol_guest	status	1
371	message	airnotifier_provider_moodle_badgecreatornotice_permitted	permitted
372	message	airnotifier_provider_moodle_competencyplancomment_permitted	permitted
373	message	airnotifier_provider_moodle_competencyusercompcomment_permitted	permitted
374	message	airnotifier_provider_moodle_insights_permitted	permitted
1598	enrol_guest	status_adv	
377	message	airnotifier_provider_moodle_messagecontactrequests_permitted	permitted
378	message	message_provider_moodle_messagecontactrequests_loggedin	airnotifier
1599	enrol_imsenterprise	imsfilelocation	
380	message	airnotifier_provider_moodle_asyncbackupnotification_permitted	permitted
381	message	airnotifier_provider_moodle_gradenotifications_permitted	permitted
382	message	airnotifier_provider_moodle_infected_permitted	permitted
383	message	airnotifier_provider_mod_forum_posts_permitted	permitted
1600	enrol_imsenterprise	logtolocation	
1601	enrol_imsenterprise	mailadmins	0
386	message	airnotifier_provider_mod_forum_digests_permitted	permitted
387	message_email	version	2020110900
1602	enrol_imsenterprise	createnewusers	0
389	message	email_provider_enrol_imsenterprise_imsenterprise_enrolment_permitted	permitted
390	message	message_provider_enrol_imsenterprise_imsenterprise_enrolment_loggedin	email
391	message	message_provider_enrol_imsenterprise_imsenterprise_enrolment_loggedoff	email
392	message	email_provider_enrol_paypal_paypal_enrolment_permitted	permitted
393	message	message_provider_enrol_paypal_paypal_enrolment_loggedin	email
394	message	message_provider_enrol_paypal_paypal_enrolment_loggedoff	email
395	message	email_provider_mod_feedback_submission_permitted	permitted
396	message	message_provider_mod_feedback_submission_loggedin	email
397	message	message_provider_mod_feedback_submission_loggedoff	email
398	message	email_provider_mod_feedback_message_permitted	permitted
399	message	message_provider_mod_feedback_message_loggedin	email
400	message	message_provider_mod_feedback_message_loggedoff	email
401	message	email_provider_enrol_manual_expiry_notification_permitted	permitted
402	message	message_provider_enrol_manual_expiry_notification_loggedin	email
369	message	message_provider_moodle_badgerecipientnotice_loggedin	popup,airnotifier
375	message	message_provider_moodle_insights_loggedin	popup,airnotifier
1603	enrol_imsenterprise	imsupdateusers	0
403	message	message_provider_enrol_manual_expiry_notification_loggedoff	email
404	message	email_provider_mod_quiz_submission_permitted	permitted
405	message	message_provider_mod_quiz_submission_loggedin	email
406	message	message_provider_mod_quiz_submission_loggedoff	email
407	message	email_provider_mod_quiz_confirmation_permitted	permitted
343	message	message_provider_mod_quiz_confirmation_loggedin	email,airnotifier
344	message	message_provider_mod_quiz_confirmation_loggedoff	email,airnotifier
408	message	email_provider_mod_quiz_attempt_overdue_permitted	permitted
346	message	message_provider_mod_quiz_attempt_overdue_loggedin	email,airnotifier
347	message	message_provider_mod_quiz_attempt_overdue_loggedoff	email,airnotifier
409	message	email_provider_mod_lesson_graded_essay_permitted	permitted
349	message	message_provider_mod_lesson_graded_essay_loggedin	email,airnotifier
350	message	message_provider_mod_lesson_graded_essay_loggedoff	email,airnotifier
410	message	email_provider_enrol_self_expiry_notification_permitted	permitted
411	message	message_provider_enrol_self_expiry_notification_loggedin	email
412	message	message_provider_enrol_self_expiry_notification_loggedoff	email
413	message	email_provider_enrol_flatfile_flatfile_enrolment_permitted	permitted
414	message	message_provider_enrol_flatfile_flatfile_enrolment_loggedin	email
415	message	message_provider_enrol_flatfile_flatfile_enrolment_loggedoff	email
416	message	email_provider_mod_assignment_assignment_updates_permitted	permitted
417	message	message_provider_mod_assignment_assignment_updates_loggedin	email
418	message	message_provider_mod_assignment_assignment_updates_loggedoff	email
419	message	email_provider_mod_assign_assign_notification_permitted	permitted
420	message	message_provider_mod_assign_assign_notification_loggedin	email
421	message	message_provider_mod_assign_assign_notification_loggedoff	email
422	message	email_provider_moodle_notices_permitted	permitted
423	message	message_provider_moodle_notices_loggedin	email
424	message	message_provider_moodle_notices_loggedoff	email
425	message	email_provider_moodle_errors_permitted	permitted
426	message	message_provider_moodle_errors_loggedin	email
427	message	message_provider_moodle_errors_loggedoff	email
428	message	email_provider_moodle_availableupdate_permitted	permitted
429	message	message_provider_moodle_availableupdate_loggedin	email
430	message	message_provider_moodle_availableupdate_loggedoff	email
431	message	email_provider_moodle_instantmessage_permitted	permitted
1566	tool_recyclebin	coursebinenable	1
433	message	email_provider_moodle_backup_permitted	permitted
434	message	message_provider_moodle_backup_loggedin	email
435	message	message_provider_moodle_backup_loggedoff	email
436	message	email_provider_moodle_courserequested_permitted	permitted
437	message	message_provider_moodle_courserequested_loggedin	email
438	message	message_provider_moodle_courserequested_loggedoff	email
439	message	email_provider_moodle_courserequestapproved_permitted	permitted
362	message	message_provider_moodle_courserequestapproved_loggedin	email,airnotifier
363	message	message_provider_moodle_courserequestapproved_loggedoff	email,airnotifier
440	message	email_provider_moodle_courserequestrejected_permitted	permitted
365	message	message_provider_moodle_courserequestrejected_loggedin	email,airnotifier
366	message	message_provider_moodle_courserequestrejected_loggedoff	email,airnotifier
441	message	email_provider_moodle_coursecompleted_permitted	permitted
442	message	message_provider_moodle_coursecompleted_loggedin	email
443	message	message_provider_moodle_coursecompleted_loggedoff	email
444	message	email_provider_moodle_badgerecipientnotice_permitted	permitted
1567	tool_recyclebin	coursebinexpiry	604800
445	message	email_provider_moodle_badgecreatornotice_permitted	permitted
446	message	message_provider_moodle_badgecreatornotice_loggedoff	email
447	message	email_provider_moodle_competencyplancomment_permitted	permitted
448	message	message_provider_moodle_competencyplancomment_loggedin	email
449	message	message_provider_moodle_competencyplancomment_loggedoff	email
450	message	email_provider_moodle_competencyusercompcomment_permitted	permitted
451	message	message_provider_moodle_competencyusercompcomment_loggedin	email
452	message	message_provider_moodle_competencyusercompcomment_loggedoff	email
453	message	email_provider_moodle_insights_permitted	permitted
1568	tool_recyclebin	categorybinenable	1
454	message	email_provider_moodle_messagecontactrequests_permitted	permitted
379	message	message_provider_moodle_messagecontactrequests_loggedoff	email,airnotifier
455	message	email_provider_moodle_asyncbackupnotification_permitted	permitted
1569	tool_recyclebin	categorybinexpiry	604800
457	message	email_provider_moodle_gradenotifications_permitted	permitted
1570	tool_recyclebin	autohide	1
459	message	email_provider_moodle_infected_permitted	permitted
460	message	message_provider_moodle_infected_loggedin	email
461	message	message_provider_moodle_infected_loggedoff	email
462	message	email_provider_mod_forum_posts_permitted	permitted
384	message	message_provider_mod_forum_posts_loggedin	email,airnotifier
385	message	message_provider_mod_forum_posts_loggedoff	email,airnotifier
1571	logstore_database	dbdriver	
1572	logstore_database	dbhost	
1573	logstore_database	dbuser	
463	message	email_provider_mod_forum_digests_permitted	permitted
464	message	message_provider_mod_forum_digests_loggedin	email
465	message	message_provider_mod_forum_digests_loggedoff	email
466	message_jabber	version	2020110900
468	message	jabber_provider_enrol_imsenterprise_imsenterprise_enrolment_permitted	permitted
469	message	jabber_provider_enrol_paypal_paypal_enrolment_permitted	permitted
470	message	jabber_provider_mod_feedback_submission_permitted	permitted
471	message	jabber_provider_mod_feedback_message_permitted	permitted
472	message	jabber_provider_enrol_manual_expiry_notification_permitted	permitted
473	message	jabber_provider_mod_quiz_submission_permitted	permitted
474	message	jabber_provider_mod_quiz_confirmation_permitted	permitted
475	message	jabber_provider_mod_quiz_attempt_overdue_permitted	permitted
476	message	jabber_provider_mod_lesson_graded_essay_permitted	permitted
477	message	jabber_provider_enrol_self_expiry_notification_permitted	permitted
478	message	jabber_provider_enrol_flatfile_flatfile_enrolment_permitted	permitted
479	message	jabber_provider_mod_assignment_assignment_updates_permitted	permitted
480	message	jabber_provider_mod_assign_assign_notification_permitted	permitted
481	message	jabber_provider_moodle_notices_permitted	permitted
482	message	jabber_provider_moodle_errors_permitted	permitted
483	message	jabber_provider_moodle_availableupdate_permitted	permitted
484	message	jabber_provider_moodle_instantmessage_permitted	permitted
485	message	jabber_provider_moodle_backup_permitted	permitted
486	message	jabber_provider_moodle_courserequested_permitted	permitted
487	message	jabber_provider_moodle_courserequestapproved_permitted	permitted
488	message	jabber_provider_moodle_courserequestrejected_permitted	permitted
489	message	jabber_provider_moodle_coursecompleted_permitted	permitted
490	message	jabber_provider_moodle_badgerecipientnotice_permitted	permitted
491	message	jabber_provider_moodle_badgecreatornotice_permitted	permitted
492	message	jabber_provider_moodle_competencyplancomment_permitted	permitted
493	message	jabber_provider_moodle_competencyusercompcomment_permitted	permitted
494	message	jabber_provider_moodle_insights_permitted	permitted
495	message	jabber_provider_moodle_messagecontactrequests_permitted	permitted
496	message	jabber_provider_moodle_asyncbackupnotification_permitted	permitted
497	message	jabber_provider_moodle_gradenotifications_permitted	permitted
498	message	jabber_provider_moodle_infected_permitted	permitted
499	message	jabber_provider_mod_forum_posts_permitted	permitted
500	message	jabber_provider_mod_forum_digests_permitted	permitted
501	message_popup	version	2020110900
503	message	popup_provider_enrol_imsenterprise_imsenterprise_enrolment_permitted	permitted
504	message	popup_provider_enrol_paypal_paypal_enrolment_permitted	permitted
505	message	popup_provider_mod_feedback_submission_permitted	permitted
506	message	popup_provider_mod_feedback_message_permitted	permitted
507	message	popup_provider_enrol_manual_expiry_notification_permitted	permitted
508	message	popup_provider_mod_quiz_submission_permitted	permitted
509	message	popup_provider_mod_quiz_confirmation_permitted	permitted
510	message	popup_provider_mod_quiz_attempt_overdue_permitted	permitted
511	message	popup_provider_mod_lesson_graded_essay_permitted	permitted
512	message	popup_provider_enrol_self_expiry_notification_permitted	permitted
513	message	popup_provider_enrol_flatfile_flatfile_enrolment_permitted	permitted
514	message	popup_provider_mod_assignment_assignment_updates_permitted	permitted
515	message	popup_provider_mod_assign_assign_notification_permitted	permitted
516	message	popup_provider_moodle_notices_permitted	permitted
517	message	popup_provider_moodle_errors_permitted	permitted
518	message	popup_provider_moodle_availableupdate_permitted	permitted
519	message	popup_provider_moodle_instantmessage_permitted	permitted
520	message	message_provider_moodle_instantmessage_loggedin	popup
432	message	message_provider_moodle_instantmessage_loggedoff	popup,email
521	message	popup_provider_moodle_backup_permitted	permitted
522	message	popup_provider_moodle_courserequested_permitted	permitted
523	message	popup_provider_moodle_courserequestapproved_permitted	permitted
524	message	popup_provider_moodle_courserequestrejected_permitted	permitted
525	message	popup_provider_moodle_coursecompleted_permitted	permitted
526	message	popup_provider_moodle_badgerecipientnotice_permitted	permitted
370	message	message_provider_moodle_badgerecipientnotice_loggedoff	popup,email,airnotifier
527	message	popup_provider_moodle_badgecreatornotice_permitted	permitted
528	message	popup_provider_moodle_competencyplancomment_permitted	permitted
529	message	popup_provider_moodle_competencyusercompcomment_permitted	permitted
530	message	popup_provider_moodle_insights_permitted	permitted
376	message	message_provider_moodle_insights_loggedoff	popup,email,airnotifier
531	message	popup_provider_moodle_messagecontactrequests_permitted	permitted
532	message	popup_provider_moodle_asyncbackupnotification_permitted	permitted
533	message	message_provider_moodle_asyncbackupnotification_loggedin	popup
456	message	message_provider_moodle_asyncbackupnotification_loggedoff	popup,email
534	message	popup_provider_moodle_gradenotifications_permitted	permitted
535	message	message_provider_moodle_gradenotifications_loggedin	popup
458	message	message_provider_moodle_gradenotifications_loggedoff	popup,email
536	message	popup_provider_moodle_infected_permitted	permitted
537	message	popup_provider_mod_forum_posts_permitted	permitted
538	message	popup_provider_mod_forum_digests_permitted	permitted
539	block_activity_modules	version	2020110900
540	block_activity_results	version	2020110900
541	block_admin_bookmarks	version	2020110900
542	block_badges	version	2020110900
543	block_blog_menu	version	2020110900
544	block_blog_recent	version	2020110900
545	block_blog_tags	version	2020110900
546	block_calendar_month	version	2020110900
547	block_calendar_upcoming	version	2020110900
548	block_comments	version	2020110900
549	block_completionstatus	version	2020110900
550	block_course_list	version	2020110900
551	block_course_summary	version	2020110900
552	block_feedback	version	2020110900
554	block_globalsearch	version	2020110900
555	block_glossary_random	version	2020110900
556	block_html	version	2020110900
557	block_login	version	2020110900
558	block_lp	version	2020110900
559	block_mentees	version	2020110900
560	block_mnet_hosts	version	2020110900
561	block_myoverview	version	2020110900
562	block_myprofile	version	2020110900
563	block_navigation	version	2020110900
564	block_news_items	version	2020110900
565	block_online_users	version	2020110901
566	block_private_files	version	2020110900
567	block_quiz_results	version	2020110900
569	block_recent_activity	version	2020110900
570	block_recentlyaccessedcourses	version	2020110900
572	block_recentlyaccesseditems	version	2020110900
573	block_rss_client	version	2020110900
574	block_search_forums	version	2020110900
575	block_section_links	version	2020110900
576	block_selfcompletion	version	2020110900
577	block_settings	version	2020110900
578	block_site_main_menu	version	2020110900
579	block_social_activities	version	2020110900
580	block_starredcourses	version	2020110900
581	block_tag_flickr	version	2020110900
582	block_tag_youtube	version	2020110901
584	block_tags	version	2020110900
585	block_timeline	version	2020110900
587	media_html5audio	version	2020110900
588	media_html5video	version	2020110900
589	media_swf	version	2020110900
590	media_videojs	version	2020110900
591	media_vimeo	version	2020110900
592	media_youtube	version	2020110900
593	filter_activitynames	version	2020110900
595	filter_algebra	version	2020110900
596	filter_censor	version	2020110900
597	filter_data	version	2020110900
599	filter_displayh5p	version	2020110900
601	filter_emailprotect	version	2020110900
602	filter_emoticon	version	2020110900
604	filter_glossary	version	2020110900
606	filter_mathjaxloader	version	2020110900
608	filter_mediaplugin	version	2020110900
610	filter_multilang	version	2020110900
611	filter_tex	version	2020110900
613	filter_tidy	version	2020110900
614	filter_urltolink	version	2020110900
616	editor_atto	version	2020110900
618	editor_textarea	version	2020110900
619	editor_tinymce	version	2020110900
620	format_singleactivity	version	2020110900
621	format_social	version	2020110900
622	format_topics	version	2020110900
623	format_weeks	version	2020110900
624	dataformat_csv	version	2020110900
625	dataformat_excel	version	2020110900
626	dataformat_html	version	2020110900
627	dataformat_json	version	2020110900
628	dataformat_ods	version	2020110900
629	dataformat_pdf	version	2020110900
630	profilefield_checkbox	version	2020110900
631	profilefield_datetime	version	2020110900
632	profilefield_menu	version	2020110900
633	profilefield_text	version	2020110900
634	profilefield_textarea	version	2020110900
635	report_backups	version	2020110900
636	report_competency	version	2020110900
637	report_completion	version	2020110900
639	report_configlog	version	2020110900
640	report_courseoverview	version	2020110900
641	report_eventlist	version	2020110900
642	report_infectedfiles	version	2020110900
643	report_insights	version	2020110900
644	report_log	version	2020110900
646	report_loglive	version	2020110900
647	report_outline	version	2020110900
649	report_participation	version	2020110900
651	report_performance	version	2020110900
652	report_progress	version	2020110900
654	report_questioninstances	version	2020110900
655	report_security	version	2020110900
656	report_stats	version	2020110900
658	report_status	version	2020110900
659	report_usersessions	version	2020110900
660	gradeexport_ods	version	2020110900
661	gradeexport_txt	version	2020110900
662	gradeexport_xls	version	2020110900
663	gradeexport_xml	version	2020110900
664	gradeimport_csv	version	2020110900
665	gradeimport_direct	version	2020110900
666	gradeimport_xml	version	2020110900
667	gradereport_grader	version	2020110900
668	gradereport_history	version	2020110900
669	gradereport_outcomes	version	2020110900
670	gradereport_overview	version	2020110900
671	gradereport_singleview	version	2020110900
672	gradereport_user	version	2020110900
673	gradingform_guide	version	2020110900
674	gradingform_rubric	version	2020110900
675	mlbackend_php	version	2020110900
676	mlbackend_python	version	2020110900
677	mnetservice_enrol	version	2020110900
678	webservice_rest	version	2020110900
679	webservice_soap	version	2020110900
680	webservice_xmlrpc	version	2020110900
681	repository_areafiles	version	2020110900
683	areafiles	enablecourseinstances	0
684	areafiles	enableuserinstances	0
685	repository_boxnet	version	2020110900
686	repository_contentbank	version	2020110900
688	contentbank	enablecourseinstances	0
689	contentbank	enableuserinstances	0
690	repository_coursefiles	version	2020110900
691	repository_dropbox	version	2020110900
692	repository_equella	version	2020110900
693	repository_filesystem	version	2020110900
694	repository_flickr	version	2020110900
695	repository_flickr_public	version	2020110900
696	repository_googledocs	version	2020110900
697	repository_local	version	2020110900
699	local	enablecourseinstances	0
700	local	enableuserinstances	0
701	repository_merlot	version	2020110900
702	repository_nextcloud	version	2020110900
703	repository_onedrive	version	2020110900
704	repository_picasa	version	2020110900
705	repository_recent	version	2020110900
707	recent	enablecourseinstances	0
708	recent	enableuserinstances	0
709	repository_s3	version	2020110900
710	repository_skydrive	version	2020110900
711	repository_upload	version	2020110900
713	upload	enablecourseinstances	0
714	upload	enableuserinstances	0
715	repository_url	version	2020110900
717	url	enablecourseinstances	0
718	url	enableuserinstances	0
719	repository_user	version	2020110900
721	user	enablecourseinstances	0
722	user	enableuserinstances	0
723	repository_webdav	version	2020110900
724	repository_wikimedia	version	2020110900
726	wikimedia	enablecourseinstances	0
727	wikimedia	enableuserinstances	0
728	repository_youtube	version	2020110900
730	portfolio_boxnet	version	2020110900
731	portfolio_download	version	2020110900
732	portfolio_flickr	version	2020110900
733	portfolio_googledocs	version	2020110900
734	portfolio_mahara	version	2020110900
735	portfolio_picasa	version	2020110900
736	search_simpledb	version	2020110900
738	search_solr	version	2020110900
739	qbehaviour_adaptive	version	2020110900
740	qbehaviour_adaptivenopenalty	version	2020110900
741	qbehaviour_deferredcbm	version	2020110900
742	qbehaviour_deferredfeedback	version	2020110900
743	qbehaviour_immediatecbm	version	2020110900
744	qbehaviour_immediatefeedback	version	2020110900
745	qbehaviour_informationitem	version	2020110900
746	qbehaviour_interactive	version	2020110900
747	qbehaviour_interactivecountback	version	2020110900
748	qbehaviour_manualgraded	version	2020110900
750	question	disabledbehaviours	manualgraded
751	qbehaviour_missing	version	2020110900
752	qformat_aiken	version	2020110900
753	qformat_blackboard_six	version	2020110900
754	qformat_examview	version	2020110900
755	qformat_gift	version	2020110900
756	qformat_missingword	version	2020110900
757	qformat_multianswer	version	2020110900
758	qformat_webct	version	2020110900
759	qformat_xhtml	version	2020110900
760	qformat_xml	version	2020110900
761	tool_analytics	version	2020110900
762	tool_availabilityconditions	version	2020110900
763	tool_behat	version	2020110900
764	tool_capability	version	2020110900
765	tool_cohortroles	version	2020110900
766	tool_customlang	version	2020110900
768	tool_dataprivacy	version	2020110900
769	message	airnotifier_provider_tool_dataprivacy_contactdataprotectionofficer_permitted	permitted
770	message	email_provider_tool_dataprivacy_contactdataprotectionofficer_permitted	permitted
771	message	jabber_provider_tool_dataprivacy_contactdataprotectionofficer_permitted	permitted
772	message	popup_provider_tool_dataprivacy_contactdataprotectionofficer_permitted	permitted
773	message	message_provider_tool_dataprivacy_contactdataprotectionofficer_loggedin	email,popup
774	message	message_provider_tool_dataprivacy_contactdataprotectionofficer_loggedoff	email,popup
775	message	airnotifier_provider_tool_dataprivacy_datarequestprocessingresults_permitted	permitted
776	message	email_provider_tool_dataprivacy_datarequestprocessingresults_permitted	permitted
777	message	jabber_provider_tool_dataprivacy_datarequestprocessingresults_permitted	permitted
778	message	popup_provider_tool_dataprivacy_datarequestprocessingresults_permitted	permitted
779	message	message_provider_tool_dataprivacy_datarequestprocessingresults_loggedin	email,popup
780	message	message_provider_tool_dataprivacy_datarequestprocessingresults_loggedoff	email,popup
781	message	airnotifier_provider_tool_dataprivacy_notifyexceptions_permitted	permitted
782	message	email_provider_tool_dataprivacy_notifyexceptions_permitted	permitted
783	message	jabber_provider_tool_dataprivacy_notifyexceptions_permitted	permitted
784	message	popup_provider_tool_dataprivacy_notifyexceptions_permitted	permitted
785	message	message_provider_tool_dataprivacy_notifyexceptions_loggedin	email
786	message	message_provider_tool_dataprivacy_notifyexceptions_loggedoff	email
787	tool_dbtransfer	version	2020110900
788	tool_filetypes	version	2020110900
789	tool_generator	version	2020110900
790	tool_health	version	2020110900
791	tool_httpsreplace	version	2020110900
792	tool_innodb	version	2020110900
793	tool_installaddon	version	2020110900
794	tool_langimport	version	2020110900
795	tool_licensemanager	version	2020110900
796	tool_log	version	2020110900
798	tool_log	enabled_stores	logstore_standard
799	tool_lp	version	2020110900
800	tool_lpimportcsv	version	2020110900
801	tool_lpmigrate	version	2020110900
802	tool_messageinbound	version	2020110900
803	message	airnotifier_provider_tool_messageinbound_invalidrecipienthandler_permitted	permitted
804	message	email_provider_tool_messageinbound_invalidrecipienthandler_permitted	permitted
805	message	jabber_provider_tool_messageinbound_invalidrecipienthandler_permitted	permitted
806	message	popup_provider_tool_messageinbound_invalidrecipienthandler_permitted	permitted
807	message	message_provider_tool_messageinbound_invalidrecipienthandler_loggedin	email
808	message	message_provider_tool_messageinbound_invalidrecipienthandler_loggedoff	email
809	message	airnotifier_provider_tool_messageinbound_messageprocessingerror_permitted	permitted
810	message	email_provider_tool_messageinbound_messageprocessingerror_permitted	permitted
811	message	jabber_provider_tool_messageinbound_messageprocessingerror_permitted	permitted
812	message	popup_provider_tool_messageinbound_messageprocessingerror_permitted	permitted
813	message	message_provider_tool_messageinbound_messageprocessingerror_loggedin	email
814	message	message_provider_tool_messageinbound_messageprocessingerror_loggedoff	email
815	message	airnotifier_provider_tool_messageinbound_messageprocessingsuccess_permitted	permitted
816	message	email_provider_tool_messageinbound_messageprocessingsuccess_permitted	permitted
817	message	jabber_provider_tool_messageinbound_messageprocessingsuccess_permitted	permitted
818	message	popup_provider_tool_messageinbound_messageprocessingsuccess_permitted	permitted
819	message	message_provider_tool_messageinbound_messageprocessingsuccess_loggedin	email
820	message	message_provider_tool_messageinbound_messageprocessingsuccess_loggedoff	email
821	tool_mobile	version	2020110900
822	tool_monitor	version	2020110900
823	message	airnotifier_provider_tool_monitor_notification_permitted	permitted
824	message	email_provider_tool_monitor_notification_permitted	permitted
825	message	jabber_provider_tool_monitor_notification_permitted	permitted
826	message	popup_provider_tool_monitor_notification_permitted	permitted
827	message	message_provider_tool_monitor_notification_loggedin	email
828	message	message_provider_tool_monitor_notification_loggedoff	email
829	tool_moodlenet	version	2020110900
830	tool_multilangupgrade	version	2020110900
831	tool_oauth2	version	2020110900
832	tool_phpunit	version	2020110900
833	tool_policy	version	2020110900
834	tool_profiling	version	2020110900
835	tool_recyclebin	version	2020110900
836	tool_replace	version	2020110900
837	tool_spamcleaner	version	2020110900
838	tool_task	version	2020110900
839	tool_templatelibrary	version	2020110900
840	tool_unsuproles	version	2020110900
842	tool_uploadcourse	version	2020110900
843	tool_uploaduser	version	2020110900
844	tool_usertours	version	2020110900
846	tool_xmldb	version	2020110900
847	cachestore_apcu	version	2020110900
848	cachestore_file	version	2020110900
849	cachestore_memcached	version	2020110900
850	cachestore_mongodb	version	2020110900
851	cachestore_redis	version	2020110900
852	cachestore_session	version	2020110900
853	cachestore_static	version	2020110900
854	cachelock_file	version	2020110900
855	fileconverter_googledrive	version	2020110900
856	fileconverter_unoconv	version	2020110900
858	contenttype_h5p	version	2020110900
859	theme_boost	version	2020110900
860	theme_classic	version	2020110900
861	h5plib_v124	version	2020110900
862	paygw_paypal	version	2020110901
864	assignsubmission_comments	version	2020110900
945	atto_accessibilityhelper	version	2020110900
946	atto_align	version	2020110900
947	atto_backcolor	version	2020110900
869	assignsubmission_file	version	2020110900
870	assignsubmission_onlinetext	version	2020110900
948	atto_bold	version	2020110900
949	atto_charmap	version	2020110900
950	atto_clear	version	2020110900
868	assignsubmission_onlinetext	sortorder	0
866	assignsubmission_file	sortorder	1
867	assignsubmission_comments	sortorder	2
872	assignfeedback_comments	version	2020110900
878	assignfeedback_editpdf	version	2020110900
880	assignfeedback_file	version	2020110900
874	assignfeedback_comments	sortorder	0
875	assignfeedback_editpdf	sortorder	1
877	assignfeedback_offline	sortorder	2
876	assignfeedback_file	sortorder	3
882	assignfeedback_offline	version	2020110900
883	assignment_offline	version	2020110900
884	assignment_online	version	2020110900
885	assignment_upload	version	2020110900
886	assignment_uploadsingle	version	2020110900
887	booktool_exportimscp	version	2020110900
888	booktool_importhtml	version	2020110900
889	booktool_print	version	2020110900
890	datafield_checkbox	version	2020110900
891	datafield_date	version	2020110900
892	datafield_file	version	2020110900
893	datafield_latlong	version	2020110900
894	datafield_menu	version	2020110900
895	datafield_multimenu	version	2020110900
896	datafield_number	version	2020110900
897	datafield_picture	version	2020110900
898	datafield_radiobutton	version	2020110900
899	datafield_text	version	2020110900
900	datafield_textarea	version	2020110900
901	datafield_url	version	2020110900
902	datapreset_imagegallery	version	2020110900
903	forumreport_summary	version	2020110900
904	ltiservice_basicoutcomes	version	2020110900
905	ltiservice_gradebookservices	version	2020110900
906	ltiservice_memberships	version	2020110900
907	ltiservice_profile	version	2020110900
908	ltiservice_toolproxy	version	2020110900
909	ltiservice_toolsettings	version	2020110900
910	quiz_grading	version	2020110900
912	quiz_overview	version	2020110900
914	quiz_responses	version	2020110900
916	quiz_statistics	version	2020110900
918	quizaccess_delaybetweenattempts	version	2020110900
919	quizaccess_ipaddress	version	2020110900
920	quizaccess_numattempts	version	2020110900
921	quizaccess_offlineattempts	version	2020110900
922	quizaccess_openclosedate	version	2020110900
923	quizaccess_password	version	2020110900
924	quizaccess_seb	version	2020110900
926	quizaccess_securewindow	version	2020110900
927	quizaccess_timelimit	version	2020110900
928	scormreport_basic	version	2020110900
929	scormreport_graphs	version	2020110900
930	scormreport_interactions	version	2020110900
931	scormreport_objectives	version	2020110900
932	workshopform_accumulative	version	2020110900
934	workshopform_comments	version	2020110900
936	workshopform_numerrors	version	2020110900
938	workshopform_rubric	version	2020110900
940	workshopallocation_manual	version	2020110900
941	workshopallocation_random	version	2020110900
942	workshopallocation_scheduled	version	2020110900
943	workshopeval_best	version	2020110900
944	atto_accessibilitychecker	version	2020110900
951	atto_collapse	version	2020110900
952	atto_emojipicker	version	2020110900
953	atto_emoticon	version	2020110900
954	atto_equation	version	2020110900
955	atto_fontcolor	version	2020110900
956	atto_h5p	version	2020110900
957	atto_html	version	2020110900
958	atto_image	version	2020110900
959	atto_indent	version	2020110900
960	atto_italic	version	2020110900
961	atto_link	version	2020110900
962	atto_managefiles	version	2020110900
963	atto_media	version	2020110900
964	atto_noautolink	version	2020110900
965	atto_orderedlist	version	2020110900
966	atto_recordrtc	version	2020110900
967	atto_rtl	version	2020110900
968	atto_strike	version	2020110900
969	atto_subscript	version	2020110900
970	atto_superscript	version	2020110900
971	atto_table	version	2020110900
972	atto_title	version	2020110900
973	atto_underline	version	2020110900
974	atto_undo	version	2020110900
975	atto_unorderedlist	version	2020110900
976	tinymce_ctrlhelp	version	2020110900
977	tinymce_managefiles	version	2020110900
978	tinymce_moodleemoticon	version	2020110900
979	tinymce_moodleimage	version	2020110900
980	tinymce_moodlemedia	version	2020110900
981	tinymce_moodlenolink	version	2020110900
982	tinymce_pdw	version	2020110900
983	tinymce_spellchecker	version	2020110900
985	tinymce_wrap	version	2020110900
986	logstore_database	version	2020110900
987	logstore_legacy	version	2020110900
988	logstore_standard	version	2020110900
989	tool_log	exportlog	1
990	tool_dataprivacy	contactdataprotectionofficer	0
991	tool_dataprivacy	automaticdataexportapproval	0
992	tool_dataprivacy	automaticdatadeletionapproval	0
993	tool_dataprivacy	automaticdeletionrequests	1
994	tool_dataprivacy	privacyrequestexpiry	604800
995	tool_dataprivacy	requireallenddatesforuserdeletion	1
996	tool_dataprivacy	showdataretentionsummary	1
997	analytics	logstore	logstore_standard
998	auth_oidc	opname	Conexión OpenID
999	auth_oidc	clientid	
1000	auth_oidc	clientsecret	
1001	auth_oidc	authendpoint	https://login.microsoftonline.com/common/oauth2/authorize
1002	auth_oidc	tokenendpoint	https://login.microsoftonline.com/common/oauth2/token
1003	auth_oidc	oidcresource	https://graph.microsoft.com
1004	auth_oidc	oidcscope	openid profile email
1005	auth_oidc	forceredirect	0
1006	auth_oidc	autoappend	
1007	auth_oidc	domainhint	
1008	auth_oidc	loginflow	authcode
1009	auth_oidc	userrestrictions	
1010	auth_oidc	userrestrictionscasesensitive	1
1011	auth_oidc	single_sign_off	0
1012	auth_oidc	logouturi	https://login.microsoftonline.com/common/oauth2/logout
1013	auth_oidc	debugmode	0
1014	auth_oidc	icon	auth_oidc:o365
1015	auth_oidc	customicon	
1016	auth_manual	expiration	0
1017	auth_manual	expirationtime	30
1018	auth_manual	expiration_warning	0
1019	auth_manual	field_lock_firstname	unlocked
1020	auth_manual	field_lock_lastname	unlocked
1021	auth_manual	field_lock_email	unlocked
1022	auth_manual	field_lock_city	unlocked
1023	auth_manual	field_lock_country	unlocked
1024	auth_manual	field_lock_lang	unlocked
1025	auth_manual	field_lock_description	unlocked
1026	auth_manual	field_lock_url	unlocked
1027	auth_manual	field_lock_idnumber	unlocked
1028	auth_manual	field_lock_institution	unlocked
1029	auth_manual	field_lock_department	unlocked
1030	auth_manual	field_lock_phone1	unlocked
1031	auth_manual	field_lock_phone2	unlocked
1032	auth_manual	field_lock_address	unlocked
1033	auth_manual	field_lock_firstnamephonetic	unlocked
1034	auth_manual	field_lock_lastnamephonetic	unlocked
1035	auth_manual	field_lock_middlename	unlocked
1036	auth_manual	field_lock_alternatename	unlocked
1037	auth_email	recaptcha	0
1038	auth_email	field_lock_firstname	unlocked
1039	auth_email	field_lock_lastname	unlocked
1040	auth_email	field_lock_email	unlocked
1041	auth_email	field_lock_city	unlocked
1042	auth_email	field_lock_country	unlocked
1043	auth_email	field_lock_lang	unlocked
1044	auth_email	field_lock_description	unlocked
1045	auth_email	field_lock_url	unlocked
1046	auth_email	field_lock_idnumber	unlocked
1047	auth_email	field_lock_institution	unlocked
1048	auth_email	field_lock_department	unlocked
1049	auth_email	field_lock_phone1	unlocked
1050	auth_email	field_lock_phone2	unlocked
1051	auth_email	field_lock_address	unlocked
1052	auth_email	field_lock_firstnamephonetic	unlocked
1053	auth_email	field_lock_lastnamephonetic	unlocked
1054	auth_email	field_lock_middlename	unlocked
1055	auth_email	field_lock_alternatename	unlocked
1056	auth_mnet	rpc_negotiation_timeout	30
1057	auth_oauth2	field_lock_firstname	unlocked
1058	auth_oauth2	field_lock_lastname	unlocked
1059	auth_oauth2	field_lock_email	unlocked
1060	auth_oauth2	field_lock_city	unlocked
1061	auth_oauth2	field_lock_country	unlocked
1062	auth_oauth2	field_lock_lang	unlocked
1063	auth_oauth2	field_lock_description	unlocked
1064	auth_oauth2	field_lock_url	unlocked
1065	auth_oauth2	field_lock_idnumber	unlocked
1066	auth_oauth2	field_lock_institution	unlocked
1067	auth_oauth2	field_lock_department	unlocked
1068	auth_oauth2	field_lock_phone1	unlocked
1069	auth_oauth2	field_lock_phone2	unlocked
1070	auth_oauth2	field_lock_address	unlocked
1071	auth_oauth2	field_lock_firstnamephonetic	unlocked
1072	auth_oauth2	field_lock_lastnamephonetic	unlocked
1073	auth_oauth2	field_lock_middlename	unlocked
1074	auth_oauth2	field_lock_alternatename	unlocked
1075	auth_saml2	idpmetadata	
1076	auth_saml2	idpname	Login via SAML2
1077	auth_saml2	showidplink	1
1078	auth_saml2	idpmetadatarefresh	1
1079	auth_saml2	debug	0
1080	auth_saml2	logtofile	0
1081	auth_saml2	logdir	/tmp/
1082	auth_saml2	nameidpolicy	urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified
1083	auth_saml2	nameidasattrib	0
1084	auth_saml2	privatekeypass	uhSwZvNeIECaSCjawUw6V173V1PR7SbWmoodle.DDOOMMAAIINN
1085	auth_saml2	spmetadatasign	0
1282	auth_cas	field_lock_lang	unlocked
1086	auth_saml2	signaturealgorithm	http://www.w3.org/2001/04/xmldsig-more#rsa-sha256
1087	auth_saml2	duallogin	1
1088	auth_saml2	anyauth	0
1089	auth_saml2	attrsimple	1
1090	auth_saml2	idpattr	uid
1091	auth_saml2	mdlattr	username
1092	auth_saml2	tolower	0
1093	auth_saml2	autocreate	0
1094	auth_saml2	grouprules	
1095	auth_saml2	alterlogout	
1096	auth_saml2	multiidpdisplay	0
1097	auth_saml2	attemptsignout	1
1098	auth_saml2	field_map_role	
1099	auth_saml2	saml_role_siteadmin_map	
1100	auth_saml2	saml_role_coursecreator_map	
1101	auth_saml2	saml_role_manager_map	
1102	auth_saml2	flagresponsetype	2
1103	auth_saml2	flagredirecturl	
1104	auth_saml2	flagmessage	You are logged in to your identity provider however, this account has limited access to Moodle, please contact your administrator for more details.
1105	auth_saml2	field_map_firstname	
1106	auth_saml2	field_updatelocal_firstname	oncreate
1107	auth_saml2	field_updateremote_firstname	0
1108	auth_saml2	field_lock_firstname	unlocked
1109	auth_saml2	field_map_lastname	
1110	auth_saml2	field_updatelocal_lastname	oncreate
1111	auth_saml2	field_updateremote_lastname	0
1112	auth_saml2	field_lock_lastname	unlocked
1113	auth_saml2	field_map_email	
1114	auth_saml2	field_updatelocal_email	oncreate
1115	auth_saml2	field_updateremote_email	0
1116	auth_saml2	field_lock_email	unlocked
1117	auth_saml2	field_map_city	
1118	auth_saml2	field_updatelocal_city	oncreate
1119	auth_saml2	field_updateremote_city	0
1120	auth_saml2	field_lock_city	unlocked
1121	auth_saml2	field_map_country	
1122	auth_saml2	field_updatelocal_country	oncreate
1123	auth_saml2	field_updateremote_country	0
1124	auth_saml2	field_lock_country	unlocked
1125	auth_saml2	field_map_lang	
1126	auth_saml2	field_updatelocal_lang	oncreate
1127	auth_saml2	field_updateremote_lang	0
1128	auth_saml2	field_lock_lang	unlocked
1129	auth_saml2	field_map_description	
1130	auth_saml2	field_updatelocal_description	oncreate
1131	auth_saml2	field_updateremote_description	0
1132	auth_saml2	field_lock_description	unlocked
1133	auth_saml2	field_map_url	
1134	auth_saml2	field_updatelocal_url	oncreate
1135	auth_saml2	field_updateremote_url	0
1136	auth_saml2	field_lock_url	unlocked
1137	auth_saml2	field_map_idnumber	
1138	auth_saml2	field_updatelocal_idnumber	oncreate
1139	auth_saml2	field_updateremote_idnumber	0
1140	auth_saml2	field_lock_idnumber	unlocked
1141	auth_saml2	field_map_institution	
1142	auth_saml2	field_updatelocal_institution	oncreate
1143	auth_saml2	field_updateremote_institution	0
1144	auth_saml2	field_lock_institution	unlocked
1145	auth_saml2	field_map_department	
1146	auth_saml2	field_updatelocal_department	oncreate
1147	auth_saml2	field_updateremote_department	0
1148	auth_saml2	field_lock_department	unlocked
1149	auth_saml2	field_map_phone1	
1150	auth_saml2	field_updatelocal_phone1	oncreate
1151	auth_saml2	field_updateremote_phone1	0
1152	auth_saml2	field_lock_phone1	unlocked
1153	auth_saml2	field_map_phone2	
1154	auth_saml2	field_updatelocal_phone2	oncreate
1155	auth_saml2	field_updateremote_phone2	0
1156	auth_saml2	field_lock_phone2	unlocked
1157	auth_saml2	field_map_address	
1158	auth_saml2	field_updatelocal_address	oncreate
1159	auth_saml2	field_updateremote_address	0
1160	auth_saml2	field_lock_address	unlocked
1161	auth_saml2	field_map_firstnamephonetic	
1162	auth_saml2	field_updatelocal_firstnamephonetic	oncreate
1163	auth_saml2	field_updateremote_firstnamephonetic	0
1164	auth_saml2	field_lock_firstnamephonetic	unlocked
1165	auth_saml2	field_map_lastnamephonetic	
1166	auth_saml2	field_updatelocal_lastnamephonetic	oncreate
1167	auth_saml2	field_updateremote_lastnamephonetic	0
1168	auth_saml2	field_lock_lastnamephonetic	unlocked
1169	auth_saml2	field_map_middlename	
1170	auth_saml2	field_updatelocal_middlename	oncreate
1171	auth_saml2	field_updateremote_middlename	0
1172	auth_saml2	field_lock_middlename	unlocked
1173	auth_saml2	field_map_alternatename	
1174	auth_saml2	field_updatelocal_alternatename	oncreate
1175	auth_saml2	field_updateremote_alternatename	0
1176	auth_saml2	field_lock_alternatename	unlocked
1177	auth_shibboleth	user_attribute	
1178	auth_shibboleth	convert_data	
1179	auth_shibboleth	alt_login	off
1180	auth_shibboleth	organization_selection	urn:mace:organization1:providerID, Example Organization 1\n        https://another.idp-id.com/shibboleth, Other Example Organization, /Shibboleth.sso/DS/SWITCHaai\n        urn:mace:organization2:providerID, Example Organization 2, /Shibboleth.sso/WAYF/SWITCHaai
1181	auth_shibboleth	logout_handler	
1182	auth_shibboleth	logout_return_url	
1183	auth_shibboleth	login_name	Shibboleth Login
1184	auth_shibboleth	auth_logo	
1283	auth_cas	field_map_description	
1185	auth_shibboleth	auth_instructions	Utilice el <a href="https://moodle.DDOOMMAAIINN/auth/shibboleth/index.php">login Shibboleth</a> para acceder vía Shibboleth si su institución lo admite.<br />En caso contrario, utilice el formulario de entrada normal que aquí se muestra.
1186	auth_shibboleth	changepasswordurl	
1187	auth_shibboleth	field_map_firstname	
1188	auth_shibboleth	field_updatelocal_firstname	oncreate
1189	auth_shibboleth	field_lock_firstname	unlocked
1190	auth_shibboleth	field_map_lastname	
1191	auth_shibboleth	field_updatelocal_lastname	oncreate
1192	auth_shibboleth	field_lock_lastname	unlocked
1193	auth_shibboleth	field_map_email	
1194	auth_shibboleth	field_updatelocal_email	oncreate
1195	auth_shibboleth	field_lock_email	unlocked
1196	auth_shibboleth	field_map_city	
1197	auth_shibboleth	field_updatelocal_city	oncreate
1198	auth_shibboleth	field_lock_city	unlocked
1199	auth_shibboleth	field_map_country	
1200	auth_shibboleth	field_updatelocal_country	oncreate
1201	auth_shibboleth	field_lock_country	unlocked
1202	auth_shibboleth	field_map_lang	
1203	auth_shibboleth	field_updatelocal_lang	oncreate
1204	auth_shibboleth	field_lock_lang	unlocked
1205	auth_shibboleth	field_map_description	
1206	auth_shibboleth	field_updatelocal_description	oncreate
1207	auth_shibboleth	field_lock_description	unlocked
1208	auth_shibboleth	field_map_url	
1209	auth_shibboleth	field_updatelocal_url	oncreate
1210	auth_shibboleth	field_lock_url	unlocked
1211	auth_shibboleth	field_map_idnumber	
1212	auth_shibboleth	field_updatelocal_idnumber	oncreate
1213	auth_shibboleth	field_lock_idnumber	unlocked
1214	auth_shibboleth	field_map_institution	
1215	auth_shibboleth	field_updatelocal_institution	oncreate
1216	auth_shibboleth	field_lock_institution	unlocked
1217	auth_shibboleth	field_map_department	
1218	auth_shibboleth	field_updatelocal_department	oncreate
1219	auth_shibboleth	field_lock_department	unlocked
1220	auth_shibboleth	field_map_phone1	
1221	auth_shibboleth	field_updatelocal_phone1	oncreate
1222	auth_shibboleth	field_lock_phone1	unlocked
1223	auth_shibboleth	field_map_phone2	
1224	auth_shibboleth	field_updatelocal_phone2	oncreate
1225	auth_shibboleth	field_lock_phone2	unlocked
1226	auth_shibboleth	field_map_address	
1227	auth_shibboleth	field_updatelocal_address	oncreate
1228	auth_shibboleth	field_lock_address	unlocked
1229	auth_shibboleth	field_map_firstnamephonetic	
1230	auth_shibboleth	field_updatelocal_firstnamephonetic	oncreate
1231	auth_shibboleth	field_lock_firstnamephonetic	unlocked
1232	auth_shibboleth	field_map_lastnamephonetic	
1233	auth_shibboleth	field_updatelocal_lastnamephonetic	oncreate
1234	auth_shibboleth	field_lock_lastnamephonetic	unlocked
1235	auth_shibboleth	field_map_middlename	
1236	auth_shibboleth	field_updatelocal_middlename	oncreate
1237	auth_shibboleth	field_lock_middlename	unlocked
1238	auth_shibboleth	field_map_alternatename	
1239	auth_shibboleth	field_updatelocal_alternatename	oncreate
1240	auth_shibboleth	field_lock_alternatename	unlocked
1241	auth_none	field_lock_firstname	unlocked
1242	auth_none	field_lock_lastname	unlocked
1243	auth_none	field_lock_email	unlocked
1244	auth_none	field_lock_city	unlocked
1245	auth_none	field_lock_country	unlocked
1246	auth_none	field_lock_lang	unlocked
1247	auth_none	field_lock_description	unlocked
1248	auth_none	field_lock_url	unlocked
1249	auth_none	field_lock_idnumber	unlocked
1250	auth_none	field_lock_institution	unlocked
1251	auth_none	field_lock_department	unlocked
1252	auth_none	field_lock_phone1	unlocked
1253	auth_none	field_lock_phone2	unlocked
1254	auth_none	field_lock_address	unlocked
1255	auth_none	field_lock_firstnamephonetic	unlocked
1256	auth_none	field_lock_lastnamephonetic	unlocked
1257	auth_none	field_lock_middlename	unlocked
1258	auth_none	field_lock_alternatename	unlocked
1259	auth_cas	field_map_firstname	
1260	auth_cas	field_updatelocal_firstname	oncreate
1261	auth_cas	field_updateremote_firstname	0
1262	auth_cas	field_lock_firstname	unlocked
1263	auth_cas	field_map_lastname	
1264	auth_cas	field_updatelocal_lastname	oncreate
1265	auth_cas	field_updateremote_lastname	0
1266	auth_cas	field_lock_lastname	unlocked
1267	auth_cas	field_map_email	
1268	auth_cas	field_updatelocal_email	oncreate
1269	auth_cas	field_updateremote_email	0
1270	auth_cas	field_lock_email	unlocked
1271	auth_cas	field_map_city	
1272	auth_cas	field_updatelocal_city	oncreate
1273	auth_cas	field_updateremote_city	0
1274	auth_cas	field_lock_city	unlocked
1275	auth_cas	field_map_country	
1276	auth_cas	field_updatelocal_country	oncreate
1277	auth_cas	field_updateremote_country	0
1278	auth_cas	field_lock_country	unlocked
1279	auth_cas	field_map_lang	
1280	auth_cas	field_updatelocal_lang	oncreate
1281	auth_cas	field_updateremote_lang	0
1284	auth_cas	field_updatelocal_description	oncreate
1285	auth_cas	field_updateremote_description	0
1286	auth_cas	field_lock_description	unlocked
1287	auth_cas	field_map_url	
1288	auth_cas	field_updatelocal_url	oncreate
1289	auth_cas	field_updateremote_url	0
1290	auth_cas	field_lock_url	unlocked
1291	auth_cas	field_map_idnumber	
1292	auth_cas	field_updatelocal_idnumber	oncreate
1293	auth_cas	field_updateremote_idnumber	0
1294	auth_cas	field_lock_idnumber	unlocked
1295	auth_cas	field_map_institution	
1296	auth_cas	field_updatelocal_institution	oncreate
1297	auth_cas	field_updateremote_institution	0
1298	auth_cas	field_lock_institution	unlocked
1299	auth_cas	field_map_department	
1300	auth_cas	field_updatelocal_department	oncreate
1301	auth_cas	field_updateremote_department	0
1302	auth_cas	field_lock_department	unlocked
1303	auth_cas	field_map_phone1	
1304	auth_cas	field_updatelocal_phone1	oncreate
1305	auth_cas	field_updateremote_phone1	0
1306	auth_cas	field_lock_phone1	unlocked
1307	auth_cas	field_map_phone2	
1308	auth_cas	field_updatelocal_phone2	oncreate
1309	auth_cas	field_updateremote_phone2	0
1310	auth_cas	field_lock_phone2	unlocked
1311	auth_cas	field_map_address	
1312	auth_cas	field_updatelocal_address	oncreate
1313	auth_cas	field_updateremote_address	0
1314	auth_cas	field_lock_address	unlocked
1315	auth_cas	field_map_firstnamephonetic	
1316	auth_cas	field_updatelocal_firstnamephonetic	oncreate
1317	auth_cas	field_updateremote_firstnamephonetic	0
1318	auth_cas	field_lock_firstnamephonetic	unlocked
1319	auth_cas	field_map_lastnamephonetic	
1320	auth_cas	field_updatelocal_lastnamephonetic	oncreate
1321	auth_cas	field_updateremote_lastnamephonetic	0
1322	auth_cas	field_lock_lastnamephonetic	unlocked
1323	auth_cas	field_map_middlename	
1324	auth_cas	field_updatelocal_middlename	oncreate
1325	auth_cas	field_updateremote_middlename	0
1326	auth_cas	field_lock_middlename	unlocked
1327	auth_cas	field_map_alternatename	
1328	auth_cas	field_updatelocal_alternatename	oncreate
1329	auth_cas	field_updateremote_alternatename	0
1330	auth_cas	field_lock_alternatename	unlocked
1331	auth_ldap	field_map_firstname	
1332	auth_ldap	field_updatelocal_firstname	oncreate
1333	auth_ldap	field_updateremote_firstname	0
1334	auth_ldap	field_lock_firstname	unlocked
1335	auth_ldap	field_map_lastname	
1336	auth_ldap	field_updatelocal_lastname	oncreate
1337	auth_ldap	field_updateremote_lastname	0
1338	auth_ldap	field_lock_lastname	unlocked
1339	auth_ldap	field_map_email	
1340	auth_ldap	field_updatelocal_email	oncreate
1341	auth_ldap	field_updateremote_email	0
1342	auth_ldap	field_lock_email	unlocked
1343	auth_ldap	field_map_city	
1344	auth_ldap	field_updatelocal_city	oncreate
1345	auth_ldap	field_updateremote_city	0
1346	auth_ldap	field_lock_city	unlocked
1347	auth_ldap	field_map_country	
1348	auth_ldap	field_updatelocal_country	oncreate
1349	auth_ldap	field_updateremote_country	0
1350	auth_ldap	field_lock_country	unlocked
1351	auth_ldap	field_map_lang	
1352	auth_ldap	field_updatelocal_lang	oncreate
1353	auth_ldap	field_updateremote_lang	0
1354	auth_ldap	field_lock_lang	unlocked
1355	auth_ldap	field_map_description	
1356	auth_ldap	field_updatelocal_description	oncreate
1357	auth_ldap	field_updateremote_description	0
1358	auth_ldap	field_lock_description	unlocked
1359	auth_ldap	field_map_url	
1360	auth_ldap	field_updatelocal_url	oncreate
1361	auth_ldap	field_updateremote_url	0
1362	auth_ldap	field_lock_url	unlocked
1363	auth_ldap	field_map_idnumber	
1364	auth_ldap	field_updatelocal_idnumber	oncreate
1365	auth_ldap	field_updateremote_idnumber	0
1366	auth_ldap	field_lock_idnumber	unlocked
1367	auth_ldap	field_map_institution	
1368	auth_ldap	field_updatelocal_institution	oncreate
1369	auth_ldap	field_updateremote_institution	0
1370	auth_ldap	field_lock_institution	unlocked
1371	auth_ldap	field_map_department	
1372	auth_ldap	field_updatelocal_department	oncreate
1373	auth_ldap	field_updateremote_department	0
1374	auth_ldap	field_lock_department	unlocked
1375	auth_ldap	field_map_phone1	
1376	auth_ldap	field_updatelocal_phone1	oncreate
1377	auth_ldap	field_updateremote_phone1	0
1378	auth_ldap	field_lock_phone1	unlocked
1379	auth_ldap	field_map_phone2	
1380	auth_ldap	field_updatelocal_phone2	oncreate
1381	auth_ldap	field_updateremote_phone2	0
1382	auth_ldap	field_lock_phone2	unlocked
1383	auth_ldap	field_map_address	
1384	auth_ldap	field_updatelocal_address	oncreate
1385	auth_ldap	field_updateremote_address	0
1386	auth_ldap	field_lock_address	unlocked
1387	auth_ldap	field_map_firstnamephonetic	
1388	auth_ldap	field_updatelocal_firstnamephonetic	oncreate
1389	auth_ldap	field_updateremote_firstnamephonetic	0
1390	auth_ldap	field_lock_firstnamephonetic	unlocked
1391	auth_ldap	field_map_lastnamephonetic	
1392	auth_ldap	field_updatelocal_lastnamephonetic	oncreate
1393	auth_ldap	field_updateremote_lastnamephonetic	0
1394	auth_ldap	field_lock_lastnamephonetic	unlocked
1395	auth_ldap	field_map_middlename	
1396	auth_ldap	field_updatelocal_middlename	oncreate
1397	auth_ldap	field_updateremote_middlename	0
1398	auth_ldap	field_lock_middlename	unlocked
1399	auth_ldap	field_map_alternatename	
1400	auth_ldap	field_updatelocal_alternatename	oncreate
1401	auth_ldap	field_updateremote_alternatename	0
1402	auth_ldap	field_lock_alternatename	unlocked
1403	auth_db	host	127.0.0.1
1404	auth_db	type	mysqli
1405	auth_db	sybasequoting	0
1406	auth_db	name	
1407	auth_db	user	
1408	auth_db	pass	
1409	auth_db	table	
1410	auth_db	fielduser	
1411	auth_db	fieldpass	
1412	auth_db	passtype	plaintext
1413	auth_db	extencoding	utf-8
1414	auth_db	setupsql	
1415	auth_db	debugauthdb	0
1416	auth_db	changepasswordurl	
1417	auth_db	removeuser	0
1418	auth_db	updateusers	0
1419	auth_db	field_map_firstname	
1420	auth_db	field_updatelocal_firstname	oncreate
1421	auth_db	field_updateremote_firstname	0
1422	auth_db	field_lock_firstname	unlocked
1423	auth_db	field_map_lastname	
1424	auth_db	field_updatelocal_lastname	oncreate
1425	auth_db	field_updateremote_lastname	0
1426	auth_db	field_lock_lastname	unlocked
1427	auth_db	field_map_email	
1428	auth_db	field_updatelocal_email	oncreate
1429	auth_db	field_updateremote_email	0
1430	auth_db	field_lock_email	unlocked
1431	auth_db	field_map_city	
1432	auth_db	field_updatelocal_city	oncreate
1433	auth_db	field_updateremote_city	0
1434	auth_db	field_lock_city	unlocked
1435	auth_db	field_map_country	
1436	auth_db	field_updatelocal_country	oncreate
1437	auth_db	field_updateremote_country	0
1438	auth_db	field_lock_country	unlocked
1439	auth_db	field_map_lang	
1440	auth_db	field_updatelocal_lang	oncreate
1441	auth_db	field_updateremote_lang	0
1442	auth_db	field_lock_lang	unlocked
1443	auth_db	field_map_description	
1444	auth_db	field_updatelocal_description	oncreate
1445	auth_db	field_updateremote_description	0
1446	auth_db	field_lock_description	unlocked
1447	auth_db	field_map_url	
1448	auth_db	field_updatelocal_url	oncreate
1449	auth_db	field_updateremote_url	0
1450	auth_db	field_lock_url	unlocked
1451	auth_db	field_map_idnumber	
1452	auth_db	field_updatelocal_idnumber	oncreate
1453	auth_db	field_updateremote_idnumber	0
1454	auth_db	field_lock_idnumber	unlocked
1455	auth_db	field_map_institution	
1456	auth_db	field_updatelocal_institution	oncreate
1457	auth_db	field_updateremote_institution	0
1458	auth_db	field_lock_institution	unlocked
1459	auth_db	field_map_department	
1460	auth_db	field_updatelocal_department	oncreate
1461	auth_db	field_updateremote_department	0
1462	auth_db	field_lock_department	unlocked
1463	auth_db	field_map_phone1	
1464	auth_db	field_updatelocal_phone1	oncreate
1465	auth_db	field_updateremote_phone1	0
1466	auth_db	field_lock_phone1	unlocked
1467	auth_db	field_map_phone2	
1468	auth_db	field_updatelocal_phone2	oncreate
1469	auth_db	field_updateremote_phone2	0
1470	auth_db	field_lock_phone2	unlocked
1471	auth_db	field_map_address	
1472	auth_db	field_updatelocal_address	oncreate
1473	auth_db	field_updateremote_address	0
1474	auth_db	field_lock_address	unlocked
1475	auth_db	field_map_firstnamephonetic	
1476	auth_db	field_updatelocal_firstnamephonetic	oncreate
1477	auth_db	field_updateremote_firstnamephonetic	0
1478	auth_db	field_lock_firstnamephonetic	unlocked
1479	auth_db	field_map_lastnamephonetic	
1480	auth_db	field_updatelocal_lastnamephonetic	oncreate
1481	auth_db	field_updateremote_lastnamephonetic	0
1482	auth_db	field_lock_lastnamephonetic	unlocked
1483	auth_db	field_map_middlename	
1484	auth_db	field_updatelocal_middlename	oncreate
1485	auth_db	field_updateremote_middlename	0
1486	auth_db	field_lock_middlename	unlocked
1487	auth_db	field_map_alternatename	
1488	auth_db	field_updatelocal_alternatename	oncreate
1489	auth_db	field_updateremote_alternatename	0
1490	auth_db	field_lock_alternatename	unlocked
1491	block_recentlyaccessedcourses	displaycategories	1
1492	block_starredcourses	displaycategories	1
1493	block_section_links	numsections1	22
1494	block_section_links	incby1	2
1495	block_section_links	numsections2	40
1496	block_section_links	incby2	5
1497	block_activity_results	config_showbest	3
1498	block_activity_results	config_showbest_locked	
1499	block_activity_results	config_showworst	0
1500	block_activity_results	config_showworst_locked	
1501	block_activity_results	config_usegroups	0
1502	block_activity_results	config_usegroups_locked	
1503	block_activity_results	config_nameformat	1
1504	block_activity_results	config_nameformat_locked	
1505	block_activity_results	config_gradeformat	1
1506	block_activity_results	config_gradeformat_locked	
1507	block_activity_results	config_decimalpoints	2
1508	block_activity_results	config_decimalpoints_locked	
1509	block_myoverview	displaycategories	1
1510	block_myoverview	layouts	card,list,summary
1511	block_myoverview	displaygroupingallincludinghidden	0
1512	block_myoverview	displaygroupingall	1
1513	block_myoverview	displaygroupinginprogress	1
1514	block_myoverview	displaygroupingpast	1
1515	block_myoverview	displaygroupingfuture	1
1516	block_myoverview	displaygroupingcustomfield	0
1517	block_myoverview	customfiltergrouping	
1518	block_myoverview	displaygroupingfavourites	1
1519	block_myoverview	displaygroupinghidden	1
1520	block_tag_youtube	apikey	
1521	mlbackend_python	useserver	0
1522	mlbackend_python	host	
1523	mlbackend_python	port	0
1524	mlbackend_python	secure	0
1525	mlbackend_python	username	default
1526	mlbackend_python	password	
1527	fileconverter_googledrive	issuerid	
1528	editor_atto	toolbar	collapse = collapse\nstyle1 = title, bold, italic\nlist = unorderedlist, orderedlist, indent\nlinks = link\nfiles = emojipicker, image, media, recordrtc, managefiles, h5p\nstyle2 = underline, strike, subscript, superscript\nalign = align\ninsert = equation, charmap, table, clear\nundo = undo\naccessibility = accessibilitychecker, accessibilityhelper\nother = html
1529	editor_atto	autosavefrequency	60
1530	atto_collapse	showgroups	5
1531	atto_equation	librarygroup1	\n\\cdot\n\\times\n\\ast\n\\div\n\\diamond\n\\pm\n\\mp\n\\oplus\n\\ominus\n\\otimes\n\\oslash\n\\odot\n\\circ\n\\bullet\n\\asymp\n\\equiv\n\\subseteq\n\\supseteq\n\\leq\n\\geq\n\\preceq\n\\succeq\n\\sim\n\\simeq\n\\approx\n\\subset\n\\supset\n\\ll\n\\gg\n\\prec\n\\succ\n\\infty\n\\in\n\\ni\n\\forall\n\\exists\n\\neq\n
1532	atto_equation	librarygroup2	\n\\leftarrow\n\\rightarrow\n\\uparrow\n\\downarrow\n\\leftrightarrow\n\\nearrow\n\\searrow\n\\swarrow\n\\nwarrow\n\\Leftarrow\n\\Rightarrow\n\\Uparrow\n\\Downarrow\n\\Leftrightarrow\n
1533	atto_equation	librarygroup3	\n\\alpha\n\\beta\n\\gamma\n\\delta\n\\epsilon\n\\zeta\n\\eta\n\\theta\n\\iota\n\\kappa\n\\lambda\n\\mu\n\\nu\n\\xi\n\\pi\n\\rho\n\\sigma\n\\tau\n\\upsilon\n\\phi\n\\chi\n\\psi\n\\omega\n\\Gamma\n\\Delta\n\\Theta\n\\Lambda\n\\Xi\n\\Pi\n\\Sigma\n\\Upsilon\n\\Phi\n\\Psi\n\\Omega\n
1534	atto_equation	librarygroup4	\n\\sum{a,b}\n\\sqrt[a]{b+c}\n\\int_{a}^{b}{c}\n\\iint_{a}^{b}{c}\n\\iiint_{a}^{b}{c}\n\\oint{a}\n(a)\n[a]\n\\lbrace{a}\\rbrace\n\\left| \\begin{matrix} a_1 & a_2 \\ a_3 & a_4 \\end{matrix} \\right|\n\\frac{a}{b+c}\n\\vec{a}\n\\binom {a} {b}\n{a \\brack b}\n{a \\brace b}\n
1535	atto_recordrtc	allowedtypes	both
1536	atto_recordrtc	audiobitrate	128000
1537	atto_recordrtc	videobitrate	2500000
1538	atto_recordrtc	timelimit	120
1539	atto_table	allowborders	0
1540	atto_table	allowbackgroundcolour	0
1541	atto_table	allowwidth	0
1542	editor_tinymce	customtoolbar	wrap,formatselect,wrap,bold,italic,wrap,bullist,numlist,wrap,link,unlink,wrap,image\n\nundo,redo,wrap,underline,strikethrough,sub,sup,wrap,justifyleft,justifycenter,justifyright,wrap,outdent,indent,wrap,forecolor,backcolor,wrap,ltr,rtl\n\nfontselect,fontsizeselect,wrap,code,search,replace,wrap,nonbreaking,charmap,table,wrap,cleanup,removeformat,pastetext,pasteword,wrap,fullscreen
1543	editor_tinymce	fontselectlist	Trebuchet=Trebuchet MS,Verdana,Arial,Helvetica,sans-serif;Arial=arial,helvetica,sans-serif;Courier New=courier new,courier,monospace;Georgia=georgia,times new roman,times,serif;Tahoma=tahoma,arial,helvetica,sans-serif;Times New Roman=times new roman,times,serif;Verdana=verdana,arial,helvetica,sans-serif;Impact=impact;Wingdings=wingdings
1544	editor_tinymce	customconfig	
1545	tinymce_moodleemoticon	requireemoticon	1
1546	tinymce_spellchecker	spellengine	
1547	tinymce_spellchecker	spelllanguagelist	+English=en,Danish=da,Dutch=nl,Finnish=fi,French=fr,German=de,Italian=it,Polish=pl,Portuguese=pt,Spanish=es,Swedish=sv
1548	filter_urltolink	formats	1,4,0
1549	filter_urltolink	embedimages	1
1550	filter_mathjaxloader	httpsurl	https://cdn.jsdelivr.net/npm/mathjax@2.7.8/MathJax.js
1551	filter_mathjaxloader	texfiltercompatibility	0
1552	filter_mathjaxloader	mathjaxconfig	\nMathJax.Hub.Config({\n    config: ["Accessible.js", "Safe.js"],\n    errorSettings: { message: ["!"] },\n    skipStartupTypeset: true,\n    messageStyle: "none"\n});\n
1553	filter_mathjaxloader	additionaldelimiters	
1554	filter_emoticon	formats	1,4,0
1555	filter_displayh5p	allowedsources	
1556	filter_tex	latexpreamble	\\usepackage[latin1]{inputenc}\n\\usepackage{amsmath}\n\\usepackage{amsfonts}\n\\RequirePackage{amsmath,amssymb,latexsym}\n
1557	filter_tex	latexbackground	#FFFFFF
1558	filter_tex	density	120
1559	filter_tex	pathlatex	/usr/bin/latex
1560	filter_tex	pathdvips	/usr/bin/dvips
1561	filter_tex	pathconvert	/usr/bin/convert
1562	filter_tex	pathdvisvgm	/usr/bin/dvisvgm
1563	filter_tex	pathmimetex	
1564	filter_tex	convertformat	gif
1574	logstore_database	dbpass	
1575	logstore_database	dbname	
1576	logstore_database	dbtable	
1577	logstore_database	dbpersist	0
1578	logstore_database	dbsocket	
1579	logstore_database	dbport	
1580	logstore_database	dbschema	
1581	logstore_database	dbcollation	
1604	enrol_imsenterprise	imsdeleteusers	0
1605	enrol_imsenterprise	fixcaseusernames	0
1606	enrol_imsenterprise	fixcasepersonalnames	0
1607	enrol_imsenterprise	imssourcedidfallback	0
1608	enrol_imsenterprise	imsrolemap01	5
1609	enrol_imsenterprise	imsrolemap02	3
1610	enrol_imsenterprise	imsrolemap03	3
1611	enrol_imsenterprise	imsrolemap04	5
1612	enrol_imsenterprise	imsrolemap05	0
1613	enrol_imsenterprise	imsrolemap06	4
1614	enrol_imsenterprise	imsrolemap07	0
1615	enrol_imsenterprise	imsrolemap08	4
1616	enrol_imsenterprise	truncatecoursecodes	0
1617	enrol_imsenterprise	createnewcourses	0
1618	enrol_imsenterprise	updatecourses	0
1619	enrol_imsenterprise	createnewcategories	0
1620	enrol_imsenterprise	nestedcategories	0
1621	enrol_imsenterprise	categoryidnumber	0
1622	enrol_imsenterprise	categoryseparator	
1623	enrol_imsenterprise	imsunenrol	0
1624	enrol_imsenterprise	imscoursemapshortname	coursecode
1625	enrol_imsenterprise	imscoursemapfullname	short
1626	enrol_imsenterprise	imscoursemapsummary	ignore
1627	enrol_imsenterprise	imsrestricttarget	
1628	enrol_imsenterprise	imscapitafix	0
1629	enrol_flatfile	location	
1630	enrol_flatfile	encoding	UTF-8
1631	enrol_flatfile	mailstudents	0
1632	enrol_flatfile	mailteachers	0
1633	enrol_flatfile	mailadmins	0
1634	enrol_flatfile	unenrolaction	3
1635	enrol_flatfile	expiredaction	3
1636	enrol_self	requirepassword	0
1637	enrol_self	usepasswordpolicy	0
1638	enrol_self	showhint	0
1639	enrol_self	expiredaction	1
1640	enrol_self	expirynotifyhour	6
1641	enrol_self	defaultenrol	1
1642	enrol_self	status	1
1643	enrol_self	newenrols	1
1644	enrol_self	groupkey	0
1645	enrol_self	roleid	5
1646	enrol_self	enrolperiod	0
1647	enrol_self	expirynotify	0
1648	enrol_self	expirythreshold	86400
1649	enrol_self	longtimenosee	0
1650	enrol_self	maxenrolled	0
1651	enrol_self	sendcoursewelcomemessage	1
1652	enrol_database	dbtype	
1653	enrol_database	dbhost	localhost
1654	enrol_database	dbuser	
1655	enrol_database	dbpass	
1656	enrol_database	dbname	
1657	enrol_database	dbencoding	utf-8
1658	enrol_database	dbsetupsql	
1659	enrol_database	dbsybasequoting	0
1660	enrol_database	debugdb	0
1661	enrol_database	localcoursefield	idnumber
1662	enrol_database	localuserfield	idnumber
1663	enrol_database	localrolefield	shortname
1664	enrol_database	localcategoryfield	id
1665	enrol_database	remoteenroltable	
1666	enrol_database	remotecoursefield	
1667	enrol_database	remoteuserfield	
1668	enrol_database	remoterolefield	
1669	enrol_database	remoteotheruserfield	
1670	enrol_database	defaultrole	5
1671	enrol_database	ignorehiddencourses	0
1672	enrol_database	unenrolaction	0
1673	enrol_database	newcoursetable	
1674	enrol_database	newcoursefullname	fullname
1675	enrol_database	newcourseshortname	shortname
1676	enrol_database	newcourseidnumber	idnumber
1677	enrol_database	newcoursecategory	
1678	enrol_database	defaultcategory	1
1679	enrol_database	templatecourse	
1680	enrol_fee	expiredaction	3
1681	enrol_fee	status	1
1682	enrol_fee	cost	0
1683	enrol_fee	currency	USD
1684	enrol_fee	roleid	5
1685	enrol_fee	enrolperiod	0
1686	enrol_manual	expiredaction	1
1687	enrol_manual	expirynotifyhour	6
1688	enrol_manual	defaultenrol	1
1689	enrol_manual	status	0
1690	enrol_manual	roleid	5
1691	enrol_manual	enrolstart	4
1692	enrol_manual	enrolperiod	0
1693	enrol_manual	expirynotify	0
1694	enrol_manual	expirythreshold	86400
1695	enrol_mnet	roleid	5
1696	enrol_mnet	roleid_adv	1
1697	enrol_meta	nosyncroleids	
1698	enrol_meta	syncall	1
1699	enrol_meta	unenrolaction	3
1700	enrol_meta	coursesort	sortorder
1701	enrol_paypal	paypalbusiness	
1702	enrol_paypal	mailstudents	0
1703	enrol_paypal	mailteachers	0
1704	enrol_paypal	mailadmins	0
1705	enrol_paypal	expiredaction	3
1706	enrol_paypal	status	1
1707	enrol_paypal	cost	0
1708	enrol_paypal	currency	USD
1709	enrol_paypal	roleid	5
1710	enrol_paypal	enrolperiod	0
1711	enrol_lti	emaildisplay	2
1712	enrol_lti	city	
1713	enrol_lti	country	
1714	enrol_lti	timezone	99
1715	enrol_lti	lang	es
1716	enrol_lti	institution	
1717	enrol_cohort	roleid	5
1718	enrol_cohort	unenrolaction	0
1719	mod_bigbluebuttonbn	presentationdefault	
1720	folder	showexpanded	1
1722	quiz	timelimit	0
1723	quiz	timelimit_adv	
1724	quiz	overduehandling	autosubmit
1725	quiz	overduehandling_adv	
1726	quiz	graceperiod	86400
1727	quiz	graceperiod_adv	
1728	quiz	graceperiodmin	60
1729	quiz	attempts	0
1730	quiz	attempts_adv	
1731	quiz	grademethod	1
1732	quiz	grademethod_adv	
1733	quiz	maximumgrade	10
1734	quiz	questionsperpage	1
1735	quiz	questionsperpage_adv	
1736	quiz	navmethod	free
1737	quiz	navmethod_adv	1
1738	quiz	shuffleanswers	1
1739	quiz	shuffleanswers_adv	
1740	quiz	preferredbehaviour	deferredfeedback
1741	quiz	canredoquestions	0
1742	quiz	canredoquestions_adv	1
1743	quiz	attemptonlast	0
1744	quiz	attemptonlast_adv	1
1745	quiz	reviewattempt	69904
1746	quiz	reviewcorrectness	69904
1747	quiz	reviewmarks	69904
1748	quiz	reviewspecificfeedback	69904
1749	quiz	reviewgeneralfeedback	69904
1750	quiz	reviewrightanswer	69904
1751	quiz	reviewoverallfeedback	4368
1752	quiz	showuserpicture	0
1753	quiz	showuserpicture_adv	
1754	quiz	decimalpoints	2
1755	quiz	decimalpoints_adv	
1756	quiz	questiondecimalpoints	-1
1757	quiz	questiondecimalpoints_adv	
1758	quiz	showblocks	0
1759	quiz	showblocks_adv	1
1760	quiz	quizpassword	
1761	quiz	quizpassword_adv	
1762	quiz	quizpassword_required	
1763	quiz	subnet	
1764	quiz	subnet_adv	1
1765	quiz	delay1	0
1766	quiz	delay1_adv	1
1767	quiz	delay2	0
1768	quiz	delay2_adv	1
1769	quiz	browsersecurity	-
1770	quiz	browsersecurity_adv	1
1771	quiz	initialnumfeedbacks	2
1772	quiz	autosaveperiod	60
1773	quizaccess_seb	autoreconfigureseb	1
1774	quizaccess_seb	showseblinks	seb,http
1775	quizaccess_seb	downloadlink	https://safeexambrowser.org/download_en.html
1776	quizaccess_seb	quizpasswordrequired	0
1777	quizaccess_seb	displayblocksbeforestart	0
1778	quizaccess_seb	displayblockswhenfinished	1
1779	label	dndmedia	1
1780	label	dndresizewidth	400
1781	label	dndresizeheight	400
1782	mod_lesson	mediafile	
1783	mod_lesson	mediafile_adv	1
1784	mod_lesson	mediawidth	640
1785	mod_lesson	mediaheight	480
1786	mod_lesson	mediaclose	0
1787	mod_lesson	progressbar	0
1788	mod_lesson	progressbar_adv	
1789	mod_lesson	ongoing	0
1790	mod_lesson	ongoing_adv	1
1791	mod_lesson	displayleftmenu	0
1792	mod_lesson	displayleftmenu_adv	
1793	mod_lesson	displayleftif	0
1794	mod_lesson	displayleftif_adv	1
1795	mod_lesson	slideshow	0
1796	mod_lesson	slideshow_adv	1
1797	mod_lesson	slideshowwidth	640
1798	mod_lesson	slideshowheight	480
1799	mod_lesson	slideshowbgcolor	#FFFFFF
1800	mod_lesson	maxanswers	5
1801	mod_lesson	maxanswers_adv	1
1802	mod_lesson	defaultfeedback	0
1803	mod_lesson	defaultfeedback_adv	1
1804	mod_lesson	activitylink	
1805	mod_lesson	activitylink_adv	1
1806	mod_lesson	timelimit	0
1807	mod_lesson	timelimit_adv	
1808	mod_lesson	password	0
1809	mod_lesson	password_adv	1
1810	mod_lesson	modattempts	0
1811	mod_lesson	modattempts_adv	
1812	mod_lesson	displayreview	0
1813	mod_lesson	displayreview_adv	
1814	mod_lesson	maximumnumberofattempts	1
1815	mod_lesson	maximumnumberofattempts_adv	
1816	mod_lesson	defaultnextpage	0
1817	mod_lesson	defaultnextpage_adv	1
1818	mod_lesson	numberofpagestoshow	1
1819	mod_lesson	numberofpagestoshow_adv	1
1820	mod_lesson	practice	0
1821	mod_lesson	practice_adv	
1822	mod_lesson	customscoring	1
1823	mod_lesson	customscoring_adv	1
1824	mod_lesson	retakesallowed	0
1825	mod_lesson	retakesallowed_adv	
1826	mod_lesson	handlingofretakes	0
1827	mod_lesson	handlingofretakes_adv	1
1828	mod_lesson	minimumnumberofquestions	0
1829	mod_lesson	minimumnumberofquestions_adv	1
1830	book	numberingoptions	0,1,2,3
1831	book	navoptions	0,1,2
1832	book	numbering	1
1833	book	navstyle	1
1834	page	displayoptions	5
1835	page	printheading	1
1836	page	printintro	0
1837	page	printlastmodified	1
1838	page	display	5
1839	page	popupwidth	620
1840	page	popupheight	450
1841	imscp	keepold	1
1842	imscp	keepold_adv	
1843	scorm	displaycoursestructure	0
1844	scorm	displaycoursestructure_adv	
1845	scorm	popup	0
1846	scorm	popup_adv	
1847	scorm	displayactivityname	1
1848	scorm	framewidth	100
1849	scorm	framewidth_adv	1
1850	scorm	frameheight	500
1851	scorm	frameheight_adv	1
1852	scorm	winoptgrp_adv	1
1853	scorm	scrollbars	0
1854	scorm	directories	0
1855	scorm	location	0
1856	scorm	menubar	0
1857	scorm	toolbar	0
1858	scorm	status	0
1859	scorm	skipview	0
1860	scorm	skipview_adv	1
1861	scorm	hidebrowse	0
1862	scorm	hidebrowse_adv	1
1863	scorm	hidetoc	0
1864	scorm	hidetoc_adv	1
1865	scorm	nav	1
1866	scorm	nav_adv	1
1867	scorm	navpositionleft	-100
1868	scorm	navpositionleft_adv	1
1869	scorm	navpositiontop	-100
1870	scorm	navpositiontop_adv	1
1871	scorm	collapsetocwinsize	767
1872	scorm	collapsetocwinsize_adv	1
1873	scorm	displayattemptstatus	1
1874	scorm	displayattemptstatus_adv	
1875	scorm	grademethod	1
1876	scorm	maxgrade	100
1877	scorm	maxattempt	0
1878	scorm	whatgrade	0
1879	scorm	forcecompleted	0
1880	scorm	forcenewattempt	0
1881	scorm	autocommit	0
1882	scorm	masteryoverride	1
1883	scorm	lastattemptlock	0
1884	scorm	auto	0
1885	scorm	updatefreq	0
1886	scorm	scormstandard	0
1887	scorm	allowtypeexternal	0
1888	scorm	allowtypelocalsync	0
1889	scorm	allowtypeexternalaicc	0
1890	scorm	allowaicchacp	0
1891	scorm	aicchacptimeout	30
1892	scorm	aicchacpkeepsessiondata	1
1893	scorm	aiccuserid	1
1894	scorm	forcejavascript	1
1895	scorm	allowapidebug	0
1896	scorm	apidebugmask	.*
1897	scorm	protectpackagedownloads	0
1898	resource	framesize	130
1899	resource	displayoptions	0,1,4,5,6
1900	resource	printintro	1
1901	resource	display	0
1902	resource	showsize	0
1903	resource	showtype	0
1904	resource	showdate	0
1905	resource	popupwidth	620
1906	resource	popupheight	450
1907	resource	filterfiles	0
1908	workshop	grade	80
1909	workshop	gradinggrade	20
1910	workshop	gradedecimals	0
1911	workshop	strategy	accumulative
1912	workshop	examplesmode	0
1913	workshopallocation_random	numofreviews	5
1914	workshopform_numerrors	grade0	No
1915	workshopform_numerrors	grade1	Sí
1916	workshopeval_best	comparison	5
1917	assign	feedback_plugin_for_gradebook	assignfeedback_comments
1918	assign	showrecentsubmissions	0
1919	assign	submissionreceipts	1
1920	assign	submissionstatement	Confirmo que este trabajo es de elaboración propia, excepto aquellas partes en las que haya reconocido la autoría de la obra o parte de ella a otras personas.
1921	assign	submissionstatementteamsubmission	Confirmo que este envío es trabajo de mi grupo, excepto aquellas partes en las que se haya reconocido la autoría de la obra o parte de ella a otras personas.
1922	assign	submissionstatementteamsubmissionallsubmit	Confirmo que este trabajo es de elaboración propia como miembro del grupo, excepto aquellas partes en las que haya reconocido la autoría de la obra o parte de ella a otras personas.
1923	assign	maxperpage	-1
1924	assign	alwaysshowdescription	1
1925	assign	alwaysshowdescription_adv	
1926	assign	alwaysshowdescription_locked	
1927	assign	allowsubmissionsfromdate	0
1928	assign	allowsubmissionsfromdate_enabled	1
1929	assign	allowsubmissionsfromdate_adv	
1930	assign	duedate	604800
1931	assign	duedate_enabled	1
1932	assign	duedate_adv	
1933	assign	cutoffdate	1209600
1934	assign	cutoffdate_enabled	
1935	assign	cutoffdate_adv	
1936	assign	gradingduedate	1209600
1937	assign	gradingduedate_enabled	1
1938	assign	gradingduedate_adv	
1939	assign	submissiondrafts	0
1940	assign	submissiondrafts_adv	
1941	assign	submissiondrafts_locked	
1942	assign	requiresubmissionstatement	0
1943	assign	requiresubmissionstatement_adv	
1944	assign	requiresubmissionstatement_locked	
1945	assign	attemptreopenmethod	none
1946	assign	attemptreopenmethod_adv	
1947	assign	attemptreopenmethod_locked	
1948	assign	maxattempts	-1
1949	assign	maxattempts_adv	
1950	assign	maxattempts_locked	
1951	assign	teamsubmission	0
1952	assign	teamsubmission_adv	
1953	assign	teamsubmission_locked	
1954	assign	preventsubmissionnotingroup	0
1955	assign	preventsubmissionnotingroup_adv	
1956	assign	preventsubmissionnotingroup_locked	
1957	assign	requireallteammemberssubmit	0
1958	assign	requireallteammemberssubmit_adv	
1959	assign	requireallteammemberssubmit_locked	
1960	assign	teamsubmissiongroupingid	
1961	assign	teamsubmissiongroupingid_adv	
1962	assign	sendnotifications	0
1963	assign	sendnotifications_adv	
1964	assign	sendnotifications_locked	
1965	assign	sendlatenotifications	0
1966	assign	sendlatenotifications_adv	
1967	assign	sendlatenotifications_locked	
1968	assign	sendstudentnotifications	1
1969	assign	sendstudentnotifications_adv	
1970	assign	sendstudentnotifications_locked	
1971	assign	blindmarking	0
1972	assign	blindmarking_adv	
1973	assign	blindmarking_locked	
1974	assign	hidegrader	0
1975	assign	hidegrader_adv	
1976	assign	hidegrader_locked	
1977	assign	markingworkflow	0
1978	assign	markingworkflow_adv	
1979	assign	markingworkflow_locked	
1980	assign	markingallocation	0
1981	assign	markingallocation_adv	
1982	assign	markingallocation_locked	
1983	assignsubmission_file	default	1
1984	assignsubmission_file	maxfiles	20
1985	assignsubmission_file	filetypes	
1986	assignsubmission_onlinetext	default	0
1987	assignfeedback_comments	default	1
1988	assignfeedback_comments	inline	0
1989	assignfeedback_comments	inline_adv	
1990	assignfeedback_comments	inline_locked	
1991	assignfeedback_editpdf	default	1
1992	assignfeedback_editpdf	stamps	
1993	assignfeedback_file	default	0
1994	assignfeedback_offline	default	0
1995	url	framesize	130
1996	url	secretphrase	
1997	url	rolesinparams	0
1998	url	displayoptions	0,1,5,6
1999	url	printintro	1
2000	url	display	0
2001	url	popupwidth	620
2002	url	popupheight	450
2003	antivirus_clamav	runningmethod	commandline
2004	antivirus_clamav	pathtoclam	
2005	antivirus_clamav	pathtounixsocket	
2006	antivirus_clamav	tcpsockethost	
2007	antivirus_clamav	tcpsocketport	3310
2008	antivirus_clamav	clamfailureonupload	donothing
2009	antivirus_clamav	tries	1
2010	paygw_paypal	surcharge	0
2011	media_videojs	videoextensions	html_video,media_source,.f4v,.flv
2012	media_videojs	audioextensions	html_audio
2013	media_videojs	rtmp	0
2014	media_videojs	useflash	0
2015	media_videojs	youtube	1
2016	media_videojs	videocssclass	video-js
2017	media_videojs	audiocssclass	video-js
2018	media_videojs	limitsize	1
2019	qtype_multichoice	answerhowmany	1
2020	qtype_multichoice	shuffleanswers	1
2021	qtype_multichoice	answernumbering	abc
2022	tool_mobile	apppolicy	
2023	tool_mobile	typeoflogin	1
2024	tool_mobile	qrcodetype	2
2025	tool_mobile	forcedurlscheme	moodlemobile
2026	tool_mobile	minimumversion	
2027	tool_mobile	enablesmartappbanners	0
2028	tool_mobile	iosappid	633359593
2029	tool_mobile	androidappid	com.moodle.moodlemobile
2030	tool_mobile	setuplink	https://download.moodle.org/mobile
2031	tool_mobile	forcelogout	0
2032	tool_mobile	disabledfeatures	
2033	tool_mobile	custommenuitems	
2034	tool_mobile	filetypeexclusionlist	
2035	tool_mobile	customlangstrings	
2036	tool_moodlenet	enablemoodlenet	0
2037	tool_moodlenet	defaultmoodlenetname	MoodleNet Central
2038	tool_moodlenet	defaultmoodlenet	https://moodle.net
2039	theme_boost	themerev	1617856802
2041	theme_classic	themerev	1617856807
2040	tool_task	lastcronstart	1617857582
2042	tool_task	lastcroninterval	61
\.


--
-- Data for Name: mdl_contentbank_content; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_contentbank_content (id, name, contenttype, contextid, instanceid, configdata, usercreated, usermodified, timecreated, timemodified) FROM stdin;
\.


--
-- Data for Name: mdl_context; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_context (id, contextlevel, instanceid, path, depth, locked) FROM stdin;
1	10	0	/1	1	0
2	50	1	/1/2	2	0
3	40	1	/1/3	2	0
4	30	1	/1/4	2	0
5	30	2	/1/5	2	0
6	80	1	/1/6	2	0
7	80	2	/1/7	2	0
8	80	3	/1/8	2	0
9	80	4	/1/9	2	0
10	80	5	/1/10	2	0
11	80	6	/1/11	2	0
12	80	7	/1/12	2	0
13	80	8	/1/13	2	0
14	80	9	/1/14	2	0
15	80	10	/1/15	2	0
\.


--
-- Data for Name: mdl_context_temp; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_context_temp (id, path, depth, locked) FROM stdin;
\.


--
-- Data for Name: mdl_course; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_course (id, category, sortorder, fullname, shortname, idnumber, summary, summaryformat, format, showgrades, newsitems, startdate, enddate, relativedatesmode, marker, maxbytes, legacyfiles, showreports, visible, visibleold, downloadcontent, groupmode, groupmodeforce, defaultgroupingid, lang, calendartype, theme, timecreated, timemodified, requested, enablecompletion, completionnotify, cacherev, originalcourseid) FROM stdin;
1	0	0	Dockerized_Moodle	moodle		\N	0	site	1	3	0	0	0	0	0	0	0	1	1	\N	0	0	0				1617856661	1617856759	0	0	0	1617856759	\N
\.


--
-- Data for Name: mdl_course_categories; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_course_categories (id, name, idnumber, description, descriptionformat, parent, sortorder, coursecount, visible, visibleold, timemodified, depth, path, theme) FROM stdin;
1	Miscelánea	\N	\N	0	0	10000	0	1	1	1617856661	1	/1	\N
\.


--
-- Data for Name: mdl_course_completion_aggr_methd; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_course_completion_aggr_methd (id, course, criteriatype, method, value) FROM stdin;
\.


--
-- Data for Name: mdl_course_completion_crit_compl; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_course_completion_crit_compl (id, userid, course, criteriaid, gradefinal, unenroled, timecompleted) FROM stdin;
\.


--
-- Data for Name: mdl_course_completion_criteria; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_course_completion_criteria (id, course, criteriatype, module, moduleinstance, courseinstance, enrolperiod, timeend, gradepass, role) FROM stdin;
\.


--
-- Data for Name: mdl_course_completion_defaults; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_course_completion_defaults (id, course, module, completion, completionview, completionusegrade, completionexpected, customrules) FROM stdin;
\.


--
-- Data for Name: mdl_course_completions; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_course_completions (id, userid, course, timeenrolled, timestarted, timecompleted, reaggregate) FROM stdin;
\.


--
-- Data for Name: mdl_course_format_options; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_course_format_options (id, courseid, format, sectionid, name, value) FROM stdin;
1	1	site	0	numsections	1
\.


--
-- Data for Name: mdl_course_modules; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_course_modules (id, course, module, instance, section, idnumber, added, score, indent, visible, visibleoncoursepage, visibleold, groupmode, groupingid, completion, completiongradeitemnumber, completionview, completionexpected, showdescription, availability, deletioninprogress) FROM stdin;
\.


--
-- Data for Name: mdl_course_modules_completion; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_course_modules_completion (id, coursemoduleid, userid, completionstate, viewed, overrideby, timemodified) FROM stdin;
\.


--
-- Data for Name: mdl_course_published; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_course_published (id, huburl, courseid, timepublished, enrollable, hubcourseid, status, timechecked) FROM stdin;
\.


--
-- Data for Name: mdl_course_request; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_course_request (id, fullname, shortname, summary, summaryformat, category, reason, requester, password) FROM stdin;
\.


--
-- Data for Name: mdl_course_sections; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_course_sections (id, course, section, name, summary, summaryformat, sequence, visible, availability, timemodified) FROM stdin;
\.


--
-- Data for Name: mdl_customfield_category; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_customfield_category (id, name, description, descriptionformat, sortorder, timecreated, timemodified, component, area, itemid, contextid) FROM stdin;
\.


--
-- Data for Name: mdl_customfield_data; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_customfield_data (id, fieldid, instanceid, intvalue, decvalue, shortcharvalue, charvalue, value, valueformat, timecreated, timemodified, contextid) FROM stdin;
\.


--
-- Data for Name: mdl_customfield_field; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_customfield_field (id, shortname, name, type, description, descriptionformat, sortorder, categoryid, configdata, timecreated, timemodified) FROM stdin;
\.


--
-- Data for Name: mdl_data; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_data (id, course, name, intro, introformat, comments, timeavailablefrom, timeavailableto, timeviewfrom, timeviewto, requiredentries, requiredentriestoview, maxentries, rssarticles, singletemplate, listtemplate, listtemplateheader, listtemplatefooter, addtemplate, rsstemplate, rsstitletemplate, csstemplate, jstemplate, asearchtemplate, approval, manageapproved, scale, assessed, assesstimestart, assesstimefinish, defaultsort, defaultsortdir, editany, notification, timemodified, config, completionentries) FROM stdin;
\.


--
-- Data for Name: mdl_data_content; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_data_content (id, fieldid, recordid, content, content1, content2, content3, content4) FROM stdin;
\.


--
-- Data for Name: mdl_data_fields; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_data_fields (id, dataid, type, name, description, required, param1, param2, param3, param4, param5, param6, param7, param8, param9, param10) FROM stdin;
\.


--
-- Data for Name: mdl_data_records; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_data_records (id, userid, groupid, dataid, timecreated, timemodified, approved) FROM stdin;
\.


--
-- Data for Name: mdl_editor_atto_autosave; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_editor_atto_autosave (id, elementid, contextid, pagehash, userid, drafttext, draftid, pageinstance, timemodified) FROM stdin;
\.


--
-- Data for Name: mdl_enrol; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_enrol (id, enrol, status, courseid, sortorder, name, enrolperiod, enrolstartdate, enrolenddate, expirynotify, expirythreshold, notifyall, password, cost, currency, roleid, customint1, customint2, customint3, customint4, customint5, customint6, customint7, customint8, customchar1, customchar2, customchar3, customdec1, customdec2, customtext1, customtext2, customtext3, customtext4, timecreated, timemodified) FROM stdin;
\.


--
-- Data for Name: mdl_enrol_flatfile; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_enrol_flatfile (id, action, roleid, userid, courseid, timestart, timeend, timemodified) FROM stdin;
\.


--
-- Data for Name: mdl_enrol_lti_lti2_consumer; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_enrol_lti_lti2_consumer (id, name, consumerkey256, consumerkey, secret, ltiversion, consumername, consumerversion, consumerguid, profile, toolproxy, settings, protected, enabled, enablefrom, enableuntil, lastaccess, created, updated) FROM stdin;
\.


--
-- Data for Name: mdl_enrol_lti_lti2_context; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_enrol_lti_lti2_context (id, consumerid, lticontextkey, type, settings, created, updated) FROM stdin;
\.


--
-- Data for Name: mdl_enrol_lti_lti2_nonce; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_enrol_lti_lti2_nonce (id, consumerid, value, expires) FROM stdin;
\.


--
-- Data for Name: mdl_enrol_lti_lti2_resource_link; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_enrol_lti_lti2_resource_link (id, contextid, consumerid, ltiresourcelinkkey, settings, primaryresourcelinkid, shareapproved, created, updated) FROM stdin;
\.


--
-- Data for Name: mdl_enrol_lti_lti2_share_key; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_enrol_lti_lti2_share_key (id, sharekey, resourcelinkid, autoapprove, expires) FROM stdin;
\.


--
-- Data for Name: mdl_enrol_lti_lti2_tool_proxy; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_enrol_lti_lti2_tool_proxy (id, toolproxykey, consumerid, toolproxy, created, updated) FROM stdin;
\.


--
-- Data for Name: mdl_enrol_lti_lti2_user_result; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_enrol_lti_lti2_user_result (id, resourcelinkid, ltiuserkey, ltiresultsourcedid, created, updated) FROM stdin;
\.


--
-- Data for Name: mdl_enrol_lti_tool_consumer_map; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_enrol_lti_tool_consumer_map (id, toolid, consumerid) FROM stdin;
\.


--
-- Data for Name: mdl_enrol_lti_tools; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_enrol_lti_tools (id, enrolid, contextid, institution, lang, timezone, maxenrolled, maildisplay, city, country, gradesync, gradesynccompletion, membersync, membersyncmode, roleinstructor, rolelearner, secret, timecreated, timemodified) FROM stdin;
\.


--
-- Data for Name: mdl_enrol_lti_users; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_enrol_lti_users (id, userid, toolid, serviceurl, sourceid, consumerkey, consumersecret, membershipsurl, membershipsid, lastgrade, lastaccess, timecreated) FROM stdin;
\.


--
-- Data for Name: mdl_enrol_paypal; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_enrol_paypal (id, business, receiver_email, receiver_id, item_name, courseid, userid, instanceid, memo, tax, option_name1, option_selection1_x, option_name2, option_selection2_x, payment_status, pending_reason, reason_code, txn_id, parent_txn_id, payment_type, timeupdated) FROM stdin;
\.


--
-- Data for Name: mdl_event; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_event (id, name, description, format, categoryid, courseid, groupid, userid, repeatid, component, modulename, instance, type, eventtype, timestart, timeduration, timesort, visible, uuid, sequence, timemodified, subscriptionid, priority, location) FROM stdin;
\.


--
-- Data for Name: mdl_event_subscriptions; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_event_subscriptions (id, url, categoryid, courseid, groupid, userid, eventtype, pollinterval, lastupdated, name) FROM stdin;
\.


--
-- Data for Name: mdl_events_handlers; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_events_handlers (id, eventname, component, handlerfile, handlerfunction, schedule, status, internal) FROM stdin;
\.


--
-- Data for Name: mdl_events_queue; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_events_queue (id, eventdata, stackdump, userid, timecreated) FROM stdin;
\.


--
-- Data for Name: mdl_events_queue_handlers; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_events_queue_handlers (id, queuedeventid, handlerid, status, errormessage, timemodified) FROM stdin;
\.


--
-- Data for Name: mdl_external_functions; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_external_functions (id, name, classname, methodname, classpath, component, capabilities, services) FROM stdin;
1	core_auth_confirm_user	core_auth_external	confirm_user	\N	moodle		\N
2	core_auth_request_password_reset	core_auth_external	request_password_reset	\N	moodle		\N
3	core_auth_is_minor	core_auth_external	is_minor	\N	moodle		\N
4	core_auth_is_age_digital_consent_verification_enabled	core_auth_external	is_age_digital_consent_verification_enabled	\N	moodle		\N
5	core_auth_resend_confirmation_email	core_auth_external	resend_confirmation_email	\N	moodle		\N
6	core_backup_get_async_backup_progress	core_backup_external	get_async_backup_progress	backup/externallib.php	moodle		\N
7	core_backup_get_async_backup_links_backup	core_backup_external	get_async_backup_links_backup	backup/externallib.php	moodle		\N
8	core_backup_get_async_backup_links_restore	core_backup_external	get_async_backup_links_restore	backup/externallib.php	moodle		\N
9	core_backup_get_copy_progress	core_backup_external	get_copy_progress	backup/externallib.php	moodle		\N
10	core_backup_submit_copy_form	core_backup_external	submit_copy_form	backup/externallib.php	moodle		\N
11	core_badges_get_user_badges	core_badges_external	get_user_badges	\N	moodle	moodle/badges:viewotherbadges	moodle_mobile_app
12	core_blog_get_entries	core_blog\\external	get_entries	\N	moodle		moodle_mobile_app
13	core_blog_view_entries	core_blog\\external	view_entries	\N	moodle		moodle_mobile_app
14	core_calendar_get_calendar_monthly_view	core_calendar_external	get_calendar_monthly_view	calendar/externallib.php	moodle		moodle_mobile_app
15	core_calendar_get_calendar_day_view	core_calendar_external	get_calendar_day_view	calendar/externallib.php	moodle		moodle_mobile_app
16	core_calendar_get_calendar_upcoming_view	core_calendar_external	get_calendar_upcoming_view	calendar/externallib.php	moodle		moodle_mobile_app
17	core_calendar_update_event_start_day	core_calendar_external	update_event_start_day	calendar/externallib.php	moodle	moodle/calendar:manageentries, moodle/calendar:manageownentries, moodle/calendar:managegroupentries	moodle_mobile_app
18	core_calendar_create_calendar_events	core_calendar_external	create_calendar_events	calendar/externallib.php	moodle	moodle/calendar:manageentries, moodle/calendar:manageownentries, moodle/calendar:managegroupentries	moodle_mobile_app
19	core_calendar_delete_calendar_events	core_calendar_external	delete_calendar_events	calendar/externallib.php	moodle	moodle/calendar:manageentries, moodle/calendar:manageownentries, moodle/calendar:managegroupentries	moodle_mobile_app
20	core_calendar_get_calendar_events	core_calendar_external	get_calendar_events	calendar/externallib.php	moodle	moodle/calendar:manageentries, moodle/calendar:manageownentries, moodle/calendar:managegroupentries	moodle_mobile_app
21	core_calendar_get_action_events_by_timesort	core_calendar_external	get_calendar_action_events_by_timesort	calendar/externallib.php	moodle	moodle/calendar:manageentries, moodle/calendar:manageownentries, moodle/calendar:managegroupentries	moodle_mobile_app
22	core_calendar_get_action_events_by_course	core_calendar_external	get_calendar_action_events_by_course	calendar/externallib.php	moodle	moodle/calendar:manageentries, moodle/calendar:manageownentries, moodle/calendar:managegroupentries	moodle_mobile_app
23	core_calendar_get_action_events_by_courses	core_calendar_external	get_calendar_action_events_by_courses	calendar/externallib.php	moodle	moodle/calendar:manageentries, moodle/calendar:manageownentries, moodle/calendar:managegroupentries	moodle_mobile_app
24	core_calendar_get_calendar_event_by_id	core_calendar_external	get_calendar_event_by_id	calendar/externallib.php	moodle	moodle/calendar:manageentries, moodle/calendar:manageownentries, moodle/calendar:managegroupentries	moodle_mobile_app
25	core_calendar_submit_create_update_form	core_calendar_external	submit_create_update_form	calendar/externallib.php	moodle	moodle/calendar:manageentries, moodle/calendar:manageownentries, moodle/calendar:managegroupentries	moodle_mobile_app
26	core_calendar_get_calendar_access_information	core_calendar_external	get_calendar_access_information	calendar/externallib.php	moodle		moodle_mobile_app
27	core_calendar_get_allowed_event_types	core_calendar_external	get_allowed_event_types	calendar/externallib.php	moodle		moodle_mobile_app
28	core_calendar_get_timestamps	core_calendar_external	get_timestamps	calendar/externallib.php	moodle		\N
29	core_calendar_get_calendar_export_token	core_calendar\\external\\export\\token	execute	\N	moodle		moodle_mobile_app
30	core_cohort_add_cohort_members	core_cohort_external	add_cohort_members	cohort/externallib.php	moodle	moodle/cohort:assign	\N
31	core_cohort_create_cohorts	core_cohort_external	create_cohorts	cohort/externallib.php	moodle	moodle/cohort:manage	\N
32	core_cohort_delete_cohort_members	core_cohort_external	delete_cohort_members	cohort/externallib.php	moodle	moodle/cohort:assign	\N
33	core_cohort_delete_cohorts	core_cohort_external	delete_cohorts	cohort/externallib.php	moodle	moodle/cohort:manage	\N
34	core_cohort_get_cohort_members	core_cohort_external	get_cohort_members	cohort/externallib.php	moodle	moodle/cohort:view	\N
35	core_cohort_search_cohorts	core_cohort_external	search_cohorts	cohort/externallib.php	moodle	moodle/cohort:view	\N
36	core_cohort_get_cohorts	core_cohort_external	get_cohorts	cohort/externallib.php	moodle	moodle/cohort:view	\N
37	core_cohort_update_cohorts	core_cohort_external	update_cohorts	cohort/externallib.php	moodle	moodle/cohort:manage	\N
38	core_comment_get_comments	core_comment_external	get_comments	\N	moodle	moodle/comment:view	moodle_mobile_app
39	core_comment_add_comments	core_comment_external	add_comments	\N	moodle		moodle_mobile_app
40	core_comment_delete_comments	core_comment_external	delete_comments	\N	moodle		moodle_mobile_app
41	core_completion_get_activities_completion_status	core_completion_external	get_activities_completion_status	\N	moodle		moodle_mobile_app
42	core_completion_get_course_completion_status	core_completion_external	get_course_completion_status	\N	moodle	report/completion:view	moodle_mobile_app
43	core_completion_mark_course_self_completed	core_completion_external	mark_course_self_completed	\N	moodle		moodle_mobile_app
44	core_completion_update_activity_completion_status_manually	core_completion_external	update_activity_completion_status_manually	\N	moodle		moodle_mobile_app
45	core_completion_override_activity_completion_status	core_completion_external	override_activity_completion_status	\N	moodle	moodle/course:overridecompletion	\N
46	core_course_create_categories	core_course_external	create_categories	course/externallib.php	moodle	moodle/category:manage	\N
47	core_course_create_courses	core_course_external	create_courses	course/externallib.php	moodle	moodle/course:create, moodle/course:visibility	\N
48	core_course_delete_categories	core_course_external	delete_categories	course/externallib.php	moodle	moodle/category:manage	\N
49	core_course_delete_courses	core_course_external	delete_courses	course/externallib.php	moodle	moodle/course:delete	\N
50	core_course_delete_modules	core_course_external	delete_modules	course/externallib.php	moodle	moodle/course:manageactivities	\N
51	core_course_duplicate_course	core_course_external	duplicate_course	course/externallib.php	moodle	moodle/backup:backupcourse, moodle/restore:restorecourse, moodle/course:create	\N
52	core_course_get_categories	core_course_external	get_categories	course/externallib.php	moodle	moodle/category:viewhiddencategories	moodle_mobile_app
53	core_course_get_contents	core_course_external	get_course_contents	course/externallib.php	moodle	moodle/course:update, moodle/course:viewhiddencourses	moodle_mobile_app
54	core_course_get_course_module	core_course_external	get_course_module	course/externallib.php	moodle		moodle_mobile_app
55	core_course_get_course_module_by_instance	core_course_external	get_course_module_by_instance	course/externallib.php	moodle		moodle_mobile_app
56	core_course_get_module	core_course_external	get_module	course/externallib.php	moodle		\N
57	core_course_edit_module	core_course_external	edit_module	course/externallib.php	moodle		\N
58	core_course_edit_section	core_course_external	edit_section	course/externallib.php	moodle		\N
59	core_course_get_courses	core_course_external	get_courses	course/externallib.php	moodle	moodle/course:view, moodle/course:update, moodle/course:viewhiddencourses	moodle_mobile_app
60	core_course_import_course	core_course_external	import_course	course/externallib.php	moodle	moodle/backup:backuptargetimport, moodle/restore:restoretargetimport	\N
61	core_course_search_courses	core_course_external	search_courses	course/externallib.php	moodle		moodle_mobile_app
62	core_course_update_categories	core_course_external	update_categories	course/externallib.php	moodle	moodle/category:manage	\N
63	core_course_update_courses	core_course_external	update_courses	course/externallib.php	moodle	moodle/course:update, moodle/course:changecategory, moodle/course:changefullname, moodle/course:changeshortname, moodle/course:changeidnumber, moodle/course:changesummary, moodle/course:visibility	\N
64	core_course_view_course	core_course_external	view_course	course/externallib.php	moodle		moodle_mobile_app
65	core_course_get_user_navigation_options	core_course_external	get_user_navigation_options	course/externallib.php	moodle		moodle_mobile_app
66	core_course_get_user_administration_options	core_course_external	get_user_administration_options	course/externallib.php	moodle		moodle_mobile_app
67	core_course_get_courses_by_field	core_course_external	get_courses_by_field	course/externallib.php	moodle		moodle_mobile_app
68	core_course_check_updates	core_course_external	check_updates	course/externallib.php	moodle		moodle_mobile_app
69	core_course_get_updates_since	core_course_external	get_updates_since	course/externallib.php	moodle		moodle_mobile_app
70	core_course_get_enrolled_courses_by_timeline_classification	core_course_external	get_enrolled_courses_by_timeline_classification	course/externallib.php	moodle		moodle_mobile_app
71	core_course_get_recent_courses	core_course_external	get_recent_courses	course/externallib.php	moodle		moodle_mobile_app
72	core_course_set_favourite_courses	core_course_external	set_favourite_courses	course/externallib.php	moodle		moodle_mobile_app
73	core_course_get_enrolled_users_by_cmid	core_course_external	get_enrolled_users_by_cmid	course/externallib.php	moodle		\N
74	core_course_add_content_item_to_user_favourites	core_course_external	add_content_item_to_user_favourites	course/externallib.php	moodle		\N
75	core_course_remove_content_item_from_user_favourites	core_course_external	remove_content_item_from_user_favourites	course/externallib.php	moodle		\N
76	core_course_get_course_content_items	core_course_external	get_course_content_items	course/externallib.php	moodle		\N
77	core_course_get_activity_chooser_footer	core_course_external	get_activity_chooser_footer	course/externallib.php	moodle		\N
78	core_course_toggle_activity_recommendation	core_course_external	toggle_activity_recommendation	course/externallib.php	moodle		\N
79	core_enrol_get_course_enrolment_methods	core_enrol_external	get_course_enrolment_methods	enrol/externallib.php	moodle		moodle_mobile_app
80	core_enrol_get_enrolled_users	core_enrol_external	get_enrolled_users	enrol/externallib.php	moodle	moodle/user:viewdetails, moodle/user:viewhiddendetails, moodle/course:useremail, moodle/user:update, moodle/site:accessallgroups	moodle_mobile_app
81	core_enrol_get_enrolled_users_with_capability	core_enrol_external	get_enrolled_users_with_capability	enrol/externallib.php	moodle		\N
82	core_enrol_get_potential_users	core_enrol_external	get_potential_users	enrol/externallib.php	moodle	moodle/course:enrolreview	\N
83	core_enrol_search_users	core_enrol_external	search_users	enrol/externallib.php	moodle	moodle/course:viewparticipants	moodle_mobile_app
84	core_enrol_get_users_courses	core_enrol_external	get_users_courses	enrol/externallib.php	moodle	moodle/course:viewparticipants	moodle_mobile_app
85	core_enrol_edit_user_enrolment	core_enrol_external	edit_user_enrolment	enrol/externallib.php	moodle		\N
86	core_enrol_submit_user_enrolment_form	core_enrol_external	submit_user_enrolment_form	enrol/externallib.php	moodle		\N
87	core_enrol_unenrol_user_enrolment	core_enrol_external	unenrol_user_enrolment	enrol/externallib.php	moodle		\N
88	core_fetch_notifications	core_external	fetch_notifications	lib/external/externallib.php	moodle		\N
89	core_session_touch	core\\session\\external	touch_session	\N	moodle		\N
90	core_session_time_remaining	core\\session\\external	time_remaining	\N	moodle		\N
91	core_files_get_files	core_files_external	get_files	files/externallib.php	moodle		moodle_mobile_app
92	core_files_upload	core_files_external	upload	files/externallib.php	moodle		\N
93	core_files_delete_draft_files	core_files\\external\\delete\\draft	execute	\N	moodle		moodle_mobile_app
94	core_form_get_filetypes_browser_data	core_form\\external	get_filetypes_browser_data	\N	moodle		\N
95	core_get_component_strings	core_external	get_component_strings	lib/external/externallib.php	moodle		moodle_mobile_app
96	core_get_fragment	core_external	get_fragment	lib/external/externallib.php	moodle		\N
97	core_get_string	core_external	get_string	lib/external/externallib.php	moodle		\N
98	core_get_strings	core_external	get_strings	lib/external/externallib.php	moodle		\N
99	core_get_user_dates	core_external	get_user_dates	lib/external/externallib.php	moodle		\N
100	core_grades_get_grades	core_grades_external	get_grades	\N	moodle	moodle/grade:view, moodle/grade:viewall, moodle/grade:viewhidden	\N
101	core_grades_update_grades	core_grades_external	update_grades	\N	moodle		\N
102	core_grades_grader_gradingpanel_point_fetch	core_grades\\grades\\grader\\gradingpanel\\point\\external\\fetch	execute	\N	moodle		moodle_mobile_app
103	core_grades_grader_gradingpanel_point_store	core_grades\\grades\\grader\\gradingpanel\\point\\external\\store	execute	\N	moodle		moodle_mobile_app
104	core_grades_grader_gradingpanel_scale_fetch	core_grades\\grades\\grader\\gradingpanel\\scale\\external\\fetch	execute	\N	moodle		moodle_mobile_app
105	core_grades_grader_gradingpanel_scale_store	core_grades\\grades\\grader\\gradingpanel\\scale\\external\\store	execute	\N	moodle		moodle_mobile_app
106	core_grades_create_gradecategory	core_grades_external	create_gradecategory	\N	moodle	moodle/grade:manage	\N
107	core_grading_get_definitions	core_grading_external	get_definitions	\N	moodle		\N
108	core_grading_get_gradingform_instances	core_grading_external	get_gradingform_instances	\N	moodle		\N
109	core_grading_save_definitions	core_grading_external	save_definitions	\N	moodle		\N
110	core_group_add_group_members	core_group_external	add_group_members	group/externallib.php	moodle	moodle/course:managegroups	\N
111	core_group_assign_grouping	core_group_external	assign_grouping	group/externallib.php	moodle		\N
112	core_group_create_groupings	core_group_external	create_groupings	group/externallib.php	moodle		\N
113	core_group_create_groups	core_group_external	create_groups	group/externallib.php	moodle	moodle/course:managegroups	\N
114	core_group_delete_group_members	core_group_external	delete_group_members	group/externallib.php	moodle	moodle/course:managegroups	\N
115	core_group_delete_groupings	core_group_external	delete_groupings	group/externallib.php	moodle		\N
116	core_group_delete_groups	core_group_external	delete_groups	group/externallib.php	moodle	moodle/course:managegroups	\N
117	core_group_get_activity_allowed_groups	core_group_external	get_activity_allowed_groups	group/externallib.php	moodle		moodle_mobile_app
118	core_group_get_activity_groupmode	core_group_external	get_activity_groupmode	group/externallib.php	moodle		moodle_mobile_app
119	core_group_get_course_groupings	core_group_external	get_course_groupings	group/externallib.php	moodle		moodle_mobile_app
120	core_group_get_course_groups	core_group_external	get_course_groups	group/externallib.php	moodle	moodle/course:managegroups	moodle_mobile_app
121	core_group_get_course_user_groups	core_group_external	get_course_user_groups	group/externallib.php	moodle	moodle/course:managegroups	moodle_mobile_app
122	core_group_get_group_members	core_group_external	get_group_members	group/externallib.php	moodle	moodle/course:managegroups	\N
123	core_group_get_groupings	core_group_external	get_groupings	group/externallib.php	moodle		\N
124	core_group_get_groups	core_group_external	get_groups	group/externallib.php	moodle	moodle/course:managegroups	\N
125	core_group_unassign_grouping	core_group_external	unassign_grouping	group/externallib.php	moodle		\N
126	core_group_update_groupings	core_group_external	update_groupings	group/externallib.php	moodle		\N
127	core_group_update_groups	core_group_external	update_groups	group/externallib.php	moodle	moodle/course:managegroups	\N
128	core_message_mute_conversations	core_message_external	mute_conversations	message/externallib.php	moodle		moodle_mobile_app
129	core_message_unmute_conversations	core_message_external	unmute_conversations	message/externallib.php	moodle		moodle_mobile_app
130	core_message_block_user	core_message_external	block_user	message/externallib.php	moodle		moodle_mobile_app
131	core_message_get_contact_requests	core_message_external	get_contact_requests	message/externallib.php	moodle		moodle_mobile_app
132	core_message_create_contact_request	core_message_external	create_contact_request	message/externallib.php	moodle		moodle_mobile_app
133	core_message_confirm_contact_request	core_message_external	confirm_contact_request	message/externallib.php	moodle		moodle_mobile_app
134	core_message_decline_contact_request	core_message_external	decline_contact_request	message/externallib.php	moodle		moodle_mobile_app
135	core_message_get_received_contact_requests_count	core_message_external	get_received_contact_requests_count	message/externallib.php	moodle		moodle_mobile_app
136	core_message_delete_contacts	core_message_external	delete_contacts	message/externallib.php	moodle		moodle_mobile_app
137	core_message_delete_conversations_by_id	core_message_external	delete_conversations_by_id	message/externallib.php	moodle	moodle/site:deleteownmessage	moodle_mobile_app
138	core_message_delete_message	core_message_external	delete_message	message/externallib.php	moodle	moodle/site:deleteownmessage	moodle_mobile_app
139	core_message_get_blocked_users	core_message_external	get_blocked_users	message/externallib.php	moodle		moodle_mobile_app
140	core_message_data_for_messagearea_search_messages	core_message_external	data_for_messagearea_search_messages	message/externallib.php	moodle		moodle_mobile_app
141	core_message_message_search_users	core_message_external	message_search_users	message/externallib.php	moodle		moodle_mobile_app
142	core_message_get_user_contacts	core_message_external	get_user_contacts	message/externallib.php	moodle		moodle_mobile_app
143	core_message_get_conversations	core_message_external	get_conversations	message/externallib.php	moodle		moodle_mobile_app
144	core_message_get_conversation	core_message_external	get_conversation	message/externallib.php	moodle		moodle_mobile_app
145	core_message_get_conversation_between_users	core_message_external	get_conversation_between_users	message/externallib.php	moodle		moodle_mobile_app
146	core_message_get_self_conversation	core_message_external	get_self_conversation	message/externallib.php	moodle		moodle_mobile_app
147	core_message_get_messages	core_message_external	get_messages	message/externallib.php	moodle		moodle_mobile_app
148	core_message_get_conversation_counts	core_message_external	get_conversation_counts	message/externallib.php	moodle		moodle_mobile_app
149	core_message_get_unread_conversation_counts	core_message_external	get_unread_conversation_counts	message/externallib.php	moodle		moodle_mobile_app
150	core_message_get_conversation_members	core_message_external	get_conversation_members	message/externallib.php	moodle		moodle_mobile_app
151	core_message_get_member_info	core_message_external	get_member_info	message/externallib.php	moodle		moodle_mobile_app
152	core_message_get_unread_conversations_count	core_message_external	get_unread_conversations_count	message/externallib.php	moodle		moodle_mobile_app
153	core_message_mark_all_notifications_as_read	core_message_external	mark_all_notifications_as_read	message/externallib.php	moodle		moodle_mobile_app
154	core_message_mark_all_conversation_messages_as_read	core_message_external	mark_all_conversation_messages_as_read	message/externallib.php	moodle		moodle_mobile_app
155	core_message_mark_message_read	core_message_external	mark_message_read	message/externallib.php	moodle		moodle_mobile_app
156	core_message_mark_notification_read	core_message_external	mark_notification_read	message/externallib.php	moodle		moodle_mobile_app
157	core_message_message_processor_config_form	core_message_external	message_processor_config_form	message/externallib.php	moodle		moodle_mobile_app
158	core_message_get_message_processor	core_message_external	get_message_processor	message/externallib.php	moodle		\N
159	core_message_search_contacts	core_message_external	search_contacts	message/externallib.php	moodle		moodle_mobile_app
160	core_message_send_instant_messages	core_message_external	send_instant_messages	message/externallib.php	moodle	moodle/site:sendmessage	moodle_mobile_app
161	core_message_send_messages_to_conversation	core_message_external	send_messages_to_conversation	message/externallib.php	moodle	moodle/site:sendmessage	moodle_mobile_app
162	core_message_get_conversation_messages	core_message_external	get_conversation_messages	message/externallib.php	moodle		moodle_mobile_app
163	core_message_unblock_user	core_message_external	unblock_user	message/externallib.php	moodle		moodle_mobile_app
164	core_message_get_user_notification_preferences	core_message_external	get_user_notification_preferences	message/externallib.php	moodle	moodle/user:editownmessageprofile	moodle_mobile_app
165	core_message_get_user_message_preferences	core_message_external	get_user_message_preferences	message/externallib.php	moodle	moodle/user:editownmessageprofile	moodle_mobile_app
166	core_message_set_favourite_conversations	core_message_external	set_favourite_conversations	message/externallib.php	moodle		moodle_mobile_app
167	core_message_unset_favourite_conversations	core_message_external	unset_favourite_conversations	message/externallib.php	moodle		moodle_mobile_app
168	core_message_delete_message_for_all_users	core_message_external	delete_message_for_all_users	message/externallib.php	moodle	moodle/site:deleteanymessage	moodle_mobile_app
169	core_notes_create_notes	core_notes_external	create_notes	notes/externallib.php	moodle	moodle/notes:manage	moodle_mobile_app
170	core_notes_delete_notes	core_notes_external	delete_notes	notes/externallib.php	moodle	moodle/notes:manage	moodle_mobile_app
171	core_notes_get_course_notes	core_notes_external	get_course_notes	notes/externallib.php	moodle	moodle/notes:view	moodle_mobile_app
172	core_notes_get_notes	core_notes_external	get_notes	notes/externallib.php	moodle	moodle/notes:view	\N
173	core_notes_update_notes	core_notes_external	update_notes	notes/externallib.php	moodle	moodle/notes:manage	\N
174	core_notes_view_notes	core_notes_external	view_notes	notes/externallib.php	moodle	moodle/notes:view	moodle_mobile_app
175	core_output_load_template	core\\output\\external	load_template	\N	moodle		\N
176	core_output_load_template_with_dependencies	core\\output\\external	load_template_with_dependencies	\N	moodle		\N
177	core_output_load_fontawesome_icon_map	core\\output\\external	load_fontawesome_icon_map	\N	moodle		\N
178	core_output_load_fontawesome_icon_system_map	core\\external\\output\\icon_system\\load_fontawesome_map	execute	\N	moodle		\N
179	core_question_update_flag	core_question_external	update_flag	\N	moodle	moodle/question:flag	moodle_mobile_app
180	core_question_submit_tags_form	core_question_external	submit_tags_form	\N	moodle		\N
181	core_question_get_random_question_summaries	core_question_external	get_random_question_summaries	\N	moodle		\N
182	core_rating_get_item_ratings	core_rating_external	get_item_ratings	\N	moodle	moodle/rating:view	moodle_mobile_app
183	core_rating_add_rating	core_rating_external	add_rating	\N	moodle	moodle/rating:rate	moodle_mobile_app
184	core_role_assign_roles	core_role_external	assign_roles	enrol/externallib.php	moodle	moodle/role:assign	\N
185	core_role_unassign_roles	core_role_external	unassign_roles	enrol/externallib.php	moodle	moodle/role:assign	\N
186	core_search_get_relevant_users	\\core_search\\external	get_relevant_users	\N	moodle		\N
187	core_tag_get_tagindex	core_tag_external	get_tagindex	\N	moodle		moodle_mobile_app
188	core_tag_get_tags	core_tag_external	get_tags	\N	moodle		\N
189	core_tag_update_tags	core_tag_external	update_tags	\N	moodle		\N
190	core_tag_get_tagindex_per_area	core_tag_external	get_tagindex_per_area	\N	moodle		moodle_mobile_app
191	core_tag_get_tag_areas	core_tag_external	get_tag_areas	\N	moodle		moodle_mobile_app
192	core_tag_get_tag_collections	core_tag_external	get_tag_collections	\N	moodle		moodle_mobile_app
193	core_tag_get_tag_cloud	core_tag_external	get_tag_cloud	\N	moodle		moodle_mobile_app
194	core_update_inplace_editable	core_external	update_inplace_editable	lib/external/externallib.php	moodle		\N
195	core_user_add_user_device	core_user_external	add_user_device	user/externallib.php	moodle		moodle_mobile_app
196	core_user_add_user_private_files	core_user_external	add_user_private_files	user/externallib.php	moodle	moodle/user:manageownfiles	moodle_mobile_app
197	core_user_create_users	core_user_external	create_users	user/externallib.php	moodle	moodle/user:create	\N
198	core_user_delete_users	core_user_external	delete_users	user/externallib.php	moodle	moodle/user:delete	\N
199	core_user_get_course_user_profiles	core_user_external	get_course_user_profiles	user/externallib.php	moodle	moodle/user:viewdetails, moodle/user:viewhiddendetails, moodle/course:useremail, moodle/user:update, moodle/site:accessallgroups	moodle_mobile_app
200	core_user_get_users	core_user_external	get_users	user/externallib.php	moodle	moodle/user:viewdetails, moodle/user:viewhiddendetails, moodle/course:useremail, moodle/user:update	\N
201	core_user_get_users_by_field	core_user_external	get_users_by_field	user/externallib.php	moodle	moodle/user:viewdetails, moodle/user:viewhiddendetails, moodle/course:useremail, moodle/user:update	moodle_mobile_app
202	core_user_remove_user_device	core_user_external	remove_user_device	user/externallib.php	moodle		moodle_mobile_app
203	core_user_update_users	core_user_external	update_users	user/externallib.php	moodle	moodle/user:update	\N
204	core_user_update_user_preferences	core_user_external	update_user_preferences	user/externallib.php	moodle	moodle/user:editownmessageprofile, moodle/user:editmessageprofile	moodle_mobile_app
205	core_user_view_user_list	core_user_external	view_user_list	user/externallib.php	moodle	moodle/course:viewparticipants	moodle_mobile_app
206	core_user_view_user_profile	core_user_external	view_user_profile	user/externallib.php	moodle	moodle/user:viewdetails	moodle_mobile_app
207	core_user_get_user_preferences	core_user_external	get_user_preferences	user/externallib.php	moodle		moodle_mobile_app
208	core_user_update_picture	core_user_external	update_picture	user/externallib.php	moodle	moodle/user:editownprofile, moodle/user:editprofile	moodle_mobile_app
209	core_user_set_user_preferences	core_user_external	set_user_preferences	user/externallib.php	moodle	moodle/site:config	moodle_mobile_app
210	core_user_agree_site_policy	core_user_external	agree_site_policy	user/externallib.php	moodle		moodle_mobile_app
211	core_user_get_private_files_info	core_user_external	get_private_files_info	user/externallib.php	moodle	moodle/user:manageownfiles	moodle_mobile_app
212	core_competency_create_competency_framework	core_competency\\external	create_competency_framework	\N	moodle	moodle/competency:competencymanage	\N
213	core_competency_read_competency_framework	core_competency\\external	read_competency_framework	\N	moodle	moodle/competency:competencyview	\N
214	core_competency_duplicate_competency_framework	core_competency\\external	duplicate_competency_framework	\N	moodle	moodle/competency:competencymanage	\N
215	core_competency_delete_competency_framework	core_competency\\external	delete_competency_framework	\N	moodle	moodle/competency:competencymanage	\N
216	core_competency_update_competency_framework	core_competency\\external	update_competency_framework	\N	moodle	moodle/competency:competencymanage	\N
217	core_competency_list_competency_frameworks	core_competency\\external	list_competency_frameworks	\N	moodle	moodle/competency:competencyview	\N
218	core_competency_count_competency_frameworks	core_competency\\external	count_competency_frameworks	\N	moodle	moodle/competency:competencyview	\N
219	core_competency_competency_framework_viewed	core_competency\\external	competency_framework_viewed	\N	moodle	moodle/competency:competencyview	\N
220	core_competency_create_competency	core_competency\\external	create_competency	\N	moodle	moodle/competency:competencymanage	\N
221	core_competency_read_competency	core_competency\\external	read_competency	\N	moodle	moodle/competency:competencyview	\N
222	core_competency_competency_viewed	core_competency\\external	competency_viewed	\N	moodle	moodle/competency:competencyview	moodle_mobile_app
223	core_competency_delete_competency	core_competency\\external	delete_competency	\N	moodle	moodle/competency:competencymanage	\N
224	core_competency_update_competency	core_competency\\external	update_competency	\N	moodle	moodle/competency:competencymanage	\N
225	core_competency_list_competencies	core_competency\\external	list_competencies	\N	moodle	moodle/competency:competencyview	\N
226	core_competency_list_competencies_in_template	core_competency\\external	list_competencies_in_template	\N	moodle	moodle/competency:competencyview	\N
227	core_competency_count_competencies	core_competency\\external	count_competencies	\N	moodle	moodle/competency:competencyview	\N
228	core_competency_count_competencies_in_template	core_competency\\external	count_competencies_in_template	\N	moodle	moodle/competency:competencyview	\N
229	core_competency_search_competencies	core_competency\\external	search_competencies	\N	moodle	moodle/competency:competencyview	\N
230	core_competency_set_parent_competency	core_competency\\external	set_parent_competency	\N	moodle	moodle/competency:competencymanage	\N
231	core_competency_move_up_competency	core_competency\\external	move_up_competency	\N	moodle	moodle/competency:competencymanage	\N
232	core_competency_move_down_competency	core_competency\\external	move_down_competency	\N	moodle	moodle/competency:competencymanage	\N
233	core_competency_list_course_module_competencies	core_competency\\external	list_course_module_competencies	\N	moodle	moodle/competency:coursecompetencyview	\N
234	core_competency_count_course_module_competencies	core_competency\\external	count_course_module_competencies	\N	moodle	moodle/competency:coursecompetencyview	\N
235	core_competency_list_course_competencies	core_competency\\external	list_course_competencies	\N	moodle	moodle/competency:coursecompetencyview	moodle_mobile_app
236	core_competency_count_competencies_in_course	core_competency\\external	count_competencies_in_course	\N	moodle	moodle/competency:coursecompetencyview	\N
237	core_competency_count_courses_using_competency	core_competency\\external	count_courses_using_competency	\N	moodle	moodle/competency:coursecompetencyview	\N
238	core_competency_add_competency_to_course	core_competency\\external	add_competency_to_course	\N	moodle	moodle/competency:coursecompetencymanage	\N
239	core_competency_add_competency_to_template	core_competency\\external	add_competency_to_template	\N	moodle	moodle/competency:templatemanage	\N
240	core_competency_remove_competency_from_course	core_competency\\external	remove_competency_from_course	\N	moodle	moodle/competency:coursecompetencymanage	\N
241	core_competency_set_course_competency_ruleoutcome	core_competency\\external	set_course_competency_ruleoutcome	\N	moodle	moodle/competency:coursecompetencymanage	\N
340	mod_chat_login_user	mod_chat_external	login_user	\N	mod_chat	mod/chat:chat	moodle_mobile_app
242	core_competency_remove_competency_from_template	core_competency\\external	remove_competency_from_template	\N	moodle	moodle/competency:templatemanage	\N
243	core_competency_reorder_course_competency	core_competency\\external	reorder_course_competency	\N	moodle	moodle/competency:coursecompetencymanage	\N
244	core_competency_reorder_template_competency	core_competency\\external	reorder_template_competency	\N	moodle	moodle/competency:templatemanage	\N
245	core_competency_create_template	core_competency\\external	create_template	\N	moodle	moodle/competency:templatemanage	\N
246	core_competency_duplicate_template	core_competency\\external	duplicate_template	\N	moodle	moodle/competency:templatemanage	\N
247	core_competency_read_template	core_competency\\external	read_template	\N	moodle	moodle/competency:templateview	\N
248	core_competency_delete_template	core_competency\\external	delete_template	\N	moodle	moodle/competency:templatemanage	\N
249	core_competency_update_template	core_competency\\external	update_template	\N	moodle	moodle/competency:templatemanage	\N
250	core_competency_list_templates	core_competency\\external	list_templates	\N	moodle	moodle/competency:templateview	\N
251	core_competency_list_templates_using_competency	core_competency\\external	list_templates_using_competency	\N	moodle	moodle/competency:templateview	\N
252	core_competency_count_templates	core_competency\\external	count_templates	\N	moodle	moodle/competency:templateview	\N
253	core_competency_count_templates_using_competency	core_competency\\external	count_templates_using_competency	\N	moodle	moodle/competency:templateview	\N
254	core_competency_create_plan	core_competency\\external	create_plan	\N	moodle	moodle/competency:planmanage	\N
255	core_competency_update_plan	core_competency\\external	update_plan	\N	moodle	moodle/competency:planmanage	\N
256	core_competency_complete_plan	core_competency\\external	complete_plan	\N	moodle	moodle/competency:planmanage	\N
257	core_competency_reopen_plan	core_competency\\external	reopen_plan	\N	moodle	moodle/competency:planmanage	\N
258	core_competency_read_plan	core_competency\\external	read_plan	\N	moodle	moodle/competency:planviewown	\N
259	core_competency_delete_plan	core_competency\\external	delete_plan	\N	moodle	moodle/competency:planmanage	\N
260	core_competency_list_user_plans	core_competency\\external	list_user_plans	\N	moodle	moodle/competency:planviewown	\N
261	core_competency_list_plan_competencies	core_competency\\external	list_plan_competencies	\N	moodle	moodle/competency:planviewown	\N
262	core_competency_add_competency_to_plan	core_competency\\external	add_competency_to_plan	\N	moodle	moodle/competency:planmanage	\N
263	core_competency_remove_competency_from_plan	core_competency\\external	remove_competency_from_plan	\N	moodle	moodle/competency:planmanage	\N
264	core_competency_reorder_plan_competency	core_competency\\external	reorder_plan_competency	\N	moodle	moodle/competency:planmanage	\N
265	core_competency_plan_request_review	core_competency\\external	plan_request_review	\N	moodle	moodle/competency:planmanagedraft	\N
266	core_competency_plan_start_review	core_competency\\external	plan_start_review	\N	moodle	moodle/competency:planmanage	\N
267	core_competency_plan_stop_review	core_competency\\external	plan_stop_review	\N	moodle	moodle/competency:planmanage	\N
268	core_competency_plan_cancel_review_request	core_competency\\external	plan_cancel_review_request	\N	moodle	moodle/competency:planmanagedraft	\N
269	core_competency_approve_plan	core_competency\\external	approve_plan	\N	moodle	moodle/competency:planmanage	\N
270	core_competency_unapprove_plan	core_competency\\external	unapprove_plan	\N	moodle	moodle/competency:planmanage	\N
271	core_competency_template_has_related_data	core_competency\\external	template_has_related_data	\N	moodle	moodle/competency:templateview	\N
272	core_competency_get_scale_values	core_competency\\external	get_scale_values	\N	moodle	moodle/competency:competencymanage	moodle_mobile_app
273	core_competency_add_related_competency	core_competency\\external	add_related_competency	\N	moodle	moodle/competency:competencymanage	\N
274	core_competency_remove_related_competency	core_competency\\external	remove_related_competency	\N	moodle	moodle/competency:competencymanage	\N
275	core_competency_read_user_evidence	core_competency\\external	read_user_evidence	\N	moodle	moodle/competency:userevidenceview	\N
276	core_competency_delete_user_evidence	core_competency\\external	delete_user_evidence	\N	moodle	moodle/competency:userevidencemanageown	\N
277	core_competency_create_user_evidence_competency	core_competency\\external	create_user_evidence_competency	\N	moodle	moodle/competency:userevidencemanageown, moodle/competency:competencyview	\N
278	core_competency_delete_user_evidence_competency	core_competency\\external	delete_user_evidence_competency	\N	moodle	moodle/competency:userevidencemanageown	\N
279	core_competency_user_competency_cancel_review_request	core_competency\\external	user_competency_cancel_review_request	\N	moodle	moodle/competency:userevidencemanageown	\N
280	core_competency_user_competency_request_review	core_competency\\external	user_competency_request_review	\N	moodle	moodle/competency:userevidencemanageown	\N
281	core_competency_user_competency_start_review	core_competency\\external	user_competency_start_review	\N	moodle	moodle/competency:competencygrade	\N
282	core_competency_user_competency_stop_review	core_competency\\external	user_competency_stop_review	\N	moodle	moodle/competency:competencygrade	\N
283	core_competency_user_competency_viewed	core_competency\\external	user_competency_viewed	\N	moodle	moodle/competency:usercompetencyview	moodle_mobile_app
284	core_competency_user_competency_viewed_in_plan	core_competency\\external	user_competency_viewed_in_plan	\N	moodle	moodle/competency:usercompetencyview	moodle_mobile_app
285	core_competency_user_competency_viewed_in_course	core_competency\\external	user_competency_viewed_in_course	\N	moodle	moodle/competency:usercompetencyview	moodle_mobile_app
286	core_competency_user_competency_plan_viewed	core_competency\\external	user_competency_plan_viewed	\N	moodle	moodle/competency:usercompetencyview	moodle_mobile_app
287	core_competency_grade_competency	core_competency\\external	grade_competency	\N	moodle	moodle/competency:competencygrade	\N
288	core_competency_grade_competency_in_plan	core_competency\\external	grade_competency_in_plan	\N	moodle	moodle/competency:competencygrade	\N
289	core_competency_grade_competency_in_course	core_competency\\external	grade_competency_in_course	\N	moodle	moodle/competency:competencygrade	moodle_mobile_app
290	core_competency_unlink_plan_from_template	core_competency\\external	unlink_plan_from_template	\N	moodle	moodle/competency:planmanage	\N
291	core_competency_template_viewed	core_competency\\external	template_viewed	\N	moodle	moodle/competency:templateview	\N
292	core_competency_request_review_of_user_evidence_linked_competencies	core_competency\\external	request_review_of_user_evidence_linked_competencies	\N	moodle	moodle/competency:userevidencemanageown	\N
293	core_competency_update_course_competency_settings	core_competency\\external	update_course_competency_settings	\N	moodle	moodle/competency:coursecompetencyconfigure	\N
294	core_competency_delete_evidence	core_competency\\external	delete_evidence	\N	moodle	moodle/competency:evidencedelete	moodle_mobile_app
295	core_webservice_get_site_info	core_webservice_external	get_site_info	webservice/externallib.php	moodle		moodle_mobile_app
296	core_block_get_course_blocks	core_block_external	get_course_blocks	\N	moodle		moodle_mobile_app
297	core_block_get_dashboard_blocks	core_block_external	get_dashboard_blocks	\N	moodle		moodle_mobile_app
298	core_filters_get_available_in_context	core_filters\\external	get_available_in_context	\N	moodle		moodle_mobile_app
299	core_customfield_delete_field	core_customfield_external	delete_field	customfield/externallib.php	moodle		\N
300	core_customfield_reload_template	core_customfield_external	reload_template	customfield/externallib.php	moodle		\N
301	core_customfield_create_category	core_customfield_external	create_category	customfield/externallib.php	moodle		\N
302	core_customfield_delete_category	core_customfield_external	delete_category	customfield/externallib.php	moodle		\N
303	core_customfield_move_field	core_customfield_external	move_field	customfield/externallib.php	moodle		\N
304	core_customfield_move_category	core_customfield_external	move_category	customfield/externallib.php	moodle		\N
305	core_h5p_get_trusted_h5p_file	core_h5p\\external	get_trusted_h5p_file	\N	moodle		moodle_mobile_app
306	core_table_get_dynamic_table_content	core_table\\external\\dynamic\\get	execute	\N	moodle		moodle_mobile_app
307	core_xapi_statement_post	core_xapi\\external\\post_statement	execute	\N	moodle		moodle_mobile_app
308	core_contentbank_delete_content	core_contentbank\\external\\delete_content	execute	\N	moodle	moodle/contentbank:deleteanycontent	\N
309	core_contentbank_rename_content	core_contentbank\\external\\rename_content	execute	\N	moodle	moodle/contentbank:manageowncontent	\N
310	core_create_userfeedback_action_record	core\\external\\record_userfeedback_action	execute	\N	moodle		\N
311	core_payment_get_available_gateways	core_payment\\external\\get_available_gateways	execute	\N	moodle		\N
312	mod_assign_copy_previous_attempt	mod_assign_external	copy_previous_attempt	mod/assign/externallib.php	mod_assign	mod/assign:view, mod/assign:submit	\N
313	mod_assign_get_grades	mod_assign_external	get_grades	mod/assign/externallib.php	mod_assign		moodle_mobile_app
314	mod_assign_get_assignments	mod_assign_external	get_assignments	mod/assign/externallib.php	mod_assign		moodle_mobile_app
315	mod_assign_get_submissions	mod_assign_external	get_submissions	mod/assign/externallib.php	mod_assign		moodle_mobile_app
316	mod_assign_get_user_flags	mod_assign_external	get_user_flags	mod/assign/externallib.php	mod_assign		moodle_mobile_app
317	mod_assign_set_user_flags	mod_assign_external	set_user_flags	mod/assign/externallib.php	mod_assign	mod/assign:grade	moodle_mobile_app
318	mod_assign_get_user_mappings	mod_assign_external	get_user_mappings	mod/assign/externallib.php	mod_assign		moodle_mobile_app
319	mod_assign_revert_submissions_to_draft	mod_assign_external	revert_submissions_to_draft	mod/assign/externallib.php	mod_assign		moodle_mobile_app
320	mod_assign_lock_submissions	mod_assign_external	lock_submissions	mod/assign/externallib.php	mod_assign		moodle_mobile_app
321	mod_assign_unlock_submissions	mod_assign_external	unlock_submissions	mod/assign/externallib.php	mod_assign		moodle_mobile_app
322	mod_assign_save_submission	mod_assign_external	save_submission	mod/assign/externallib.php	mod_assign		moodle_mobile_app
323	mod_assign_submit_for_grading	mod_assign_external	submit_for_grading	mod/assign/externallib.php	mod_assign		moodle_mobile_app
324	mod_assign_save_grade	mod_assign_external	save_grade	mod/assign/externallib.php	mod_assign		moodle_mobile_app
325	mod_assign_save_grades	mod_assign_external	save_grades	mod/assign/externallib.php	mod_assign		moodle_mobile_app
326	mod_assign_save_user_extensions	mod_assign_external	save_user_extensions	mod/assign/externallib.php	mod_assign		moodle_mobile_app
327	mod_assign_reveal_identities	mod_assign_external	reveal_identities	mod/assign/externallib.php	mod_assign		moodle_mobile_app
328	mod_assign_view_grading_table	mod_assign_external	view_grading_table	mod/assign/externallib.php	mod_assign	mod/assign:view, mod/assign:viewgrades	moodle_mobile_app
329	mod_assign_view_submission_status	mod_assign_external	view_submission_status	mod/assign/externallib.php	mod_assign	mod/assign:view	moodle_mobile_app
330	mod_assign_get_submission_status	mod_assign_external	get_submission_status	mod/assign/externallib.php	mod_assign	mod/assign:view	moodle_mobile_app
331	mod_assign_list_participants	mod_assign_external	list_participants	mod/assign/externallib.php	mod_assign	mod/assign:view, mod/assign:viewgrades	moodle_mobile_app
332	mod_assign_submit_grading_form	mod_assign_external	submit_grading_form	mod/assign/externallib.php	mod_assign	mod/assign:grade	moodle_mobile_app
333	mod_assign_get_participant	mod_assign_external	get_participant	mod/assign/externallib.php	mod_assign	mod/assign:view, mod/assign:viewgrades	moodle_mobile_app
334	mod_assign_view_assign	mod_assign_external	view_assign	mod/assign/externallib.php	mod_assign	mod/assign:view	moodle_mobile_app
335	mod_bigbluebuttonbn_view_bigbluebuttonbn	mod_bigbluebuttonbn_external	view_bigbluebuttonbn	\N	mod_bigbluebuttonbn	mod/bigbluebuttonbn:view	moodle_mobile_app
336	mod_bigbluebuttonbn_get_bigbluebuttonbns_by_courses	mod_bigbluebuttonbn_external	get_bigbluebuttonbns_by_courses	\N	mod_bigbluebuttonbn	mod/bigbluebuttonbn:view	moodle_mobile_app
337	mod_bigbluebuttonbn_can_join	mod_bigbluebuttonbn_external	can_join	\N	mod_bigbluebuttonbn	mod/bigbluebuttonbn:view	moodle_mobile_app
338	mod_book_view_book	mod_book_external	view_book	\N	mod_book	mod/book:read	moodle_mobile_app
339	mod_book_get_books_by_courses	mod_book_external	get_books_by_courses	\N	mod_book		moodle_mobile_app
341	mod_chat_get_chat_users	mod_chat_external	get_chat_users	\N	mod_chat	mod/chat:chat	moodle_mobile_app
342	mod_chat_send_chat_message	mod_chat_external	send_chat_message	\N	mod_chat	mod/chat:chat	moodle_mobile_app
343	mod_chat_get_chat_latest_messages	mod_chat_external	get_chat_latest_messages	\N	mod_chat	mod/chat:chat	moodle_mobile_app
344	mod_chat_view_chat	mod_chat_external	view_chat	\N	mod_chat	mod/chat:chat	moodle_mobile_app
345	mod_chat_get_chats_by_courses	mod_chat_external	get_chats_by_courses	\N	mod_chat		moodle_mobile_app
346	mod_chat_get_sessions	mod_chat_external	get_sessions	\N	mod_chat		moodle_mobile_app
347	mod_chat_get_session_messages	mod_chat_external	get_session_messages	\N	mod_chat		moodle_mobile_app
348	mod_choice_get_choice_results	mod_choice_external	get_choice_results	\N	mod_choice		moodle_mobile_app
349	mod_choice_get_choice_options	mod_choice_external	get_choice_options	\N	mod_choice	mod/choice:choose	moodle_mobile_app
350	mod_choice_submit_choice_response	mod_choice_external	submit_choice_response	\N	mod_choice	mod/choice:choose	moodle_mobile_app
351	mod_choice_view_choice	mod_choice_external	view_choice	\N	mod_choice		moodle_mobile_app
352	mod_choice_get_choices_by_courses	mod_choice_external	get_choices_by_courses	\N	mod_choice		moodle_mobile_app
353	mod_choice_delete_choice_responses	mod_choice_external	delete_choice_responses	\N	mod_choice	mod/choice:choose	moodle_mobile_app
354	mod_data_get_databases_by_courses	mod_data_external	get_databases_by_courses	\N	mod_data	mod/data:viewentry	moodle_mobile_app
355	mod_data_view_database	mod_data_external	view_database	\N	mod_data	mod/data:viewentry	moodle_mobile_app
356	mod_data_get_data_access_information	mod_data_external	get_data_access_information	\N	mod_data	mod/data:viewentry	moodle_mobile_app
357	mod_data_get_entries	mod_data_external	get_entries	\N	mod_data	mod/data:viewentry	moodle_mobile_app
358	mod_data_get_entry	mod_data_external	get_entry	\N	mod_data	mod/data:viewentry	moodle_mobile_app
359	mod_data_get_fields	mod_data_external	get_fields	\N	mod_data	mod/data:viewentry	moodle_mobile_app
360	mod_data_search_entries	mod_data_external	search_entries	\N	mod_data	mod/data:viewentry	moodle_mobile_app
361	mod_data_approve_entry	mod_data_external	approve_entry	\N	mod_data	mod/data:approve	moodle_mobile_app
362	mod_data_delete_entry	mod_data_external	delete_entry	\N	mod_data	mod/data:manageentries	moodle_mobile_app
363	mod_data_add_entry	mod_data_external	add_entry	\N	mod_data	mod/data:writeentry	moodle_mobile_app
364	mod_data_update_entry	mod_data_external	update_entry	\N	mod_data	mod/data:writeentry	moodle_mobile_app
365	mod_feedback_get_feedbacks_by_courses	mod_feedback_external	get_feedbacks_by_courses	\N	mod_feedback	mod/feedback:view	moodle_mobile_app
366	mod_feedback_get_feedback_access_information	mod_feedback_external	get_feedback_access_information	\N	mod_feedback	mod/feedback:view	moodle_mobile_app
367	mod_feedback_view_feedback	mod_feedback_external	view_feedback	\N	mod_feedback	mod/feedback:view	moodle_mobile_app
368	mod_feedback_get_current_completed_tmp	mod_feedback_external	get_current_completed_tmp	\N	mod_feedback	mod/feedback:view	moodle_mobile_app
369	mod_feedback_get_items	mod_feedback_external	get_items	\N	mod_feedback	mod/feedback:view	moodle_mobile_app
370	mod_feedback_launch_feedback	mod_feedback_external	launch_feedback	\N	mod_feedback	mod/feedback:complete	moodle_mobile_app
371	mod_feedback_get_page_items	mod_feedback_external	get_page_items	\N	mod_feedback	mod/feedback:complete	moodle_mobile_app
372	mod_feedback_process_page	mod_feedback_external	process_page	\N	mod_feedback	mod/feedback:complete	moodle_mobile_app
373	mod_feedback_get_analysis	mod_feedback_external	get_analysis	\N	mod_feedback	mod/feedback:viewanalysepage	moodle_mobile_app
374	mod_feedback_get_unfinished_responses	mod_feedback_external	get_unfinished_responses	\N	mod_feedback	mod/feedback:view	moodle_mobile_app
375	mod_feedback_get_finished_responses	mod_feedback_external	get_finished_responses	\N	mod_feedback	mod/feedback:view	moodle_mobile_app
376	mod_feedback_get_non_respondents	mod_feedback_external	get_non_respondents	\N	mod_feedback	mod/feedback:viewreports	moodle_mobile_app
377	mod_feedback_get_responses_analysis	mod_feedback_external	get_responses_analysis	\N	mod_feedback	mod/feedback:viewreports	moodle_mobile_app
378	mod_feedback_get_last_completed	mod_feedback_external	get_last_completed	\N	mod_feedback	mod/feedback:view	moodle_mobile_app
379	mod_folder_view_folder	mod_folder_external	view_folder	\N	mod_folder	mod/folder:view	moodle_mobile_app
380	mod_folder_get_folders_by_courses	mod_folder_external	get_folders_by_courses	\N	mod_folder	mod/folder:view	moodle_mobile_app
381	mod_forum_get_forums_by_courses	mod_forum_external	get_forums_by_courses	mod/forum/externallib.php	mod_forum	mod/forum:viewdiscussion	moodle_mobile_app
382	mod_forum_get_discussion_posts	mod_forum_external	get_discussion_posts	mod/forum/externallib.php	mod_forum	mod/forum:viewdiscussion, mod/forum:viewqandawithoutposting	moodle_mobile_app
383	mod_forum_get_forum_discussion_posts	mod_forum_external	get_forum_discussion_posts	mod/forum/externallib.php	mod_forum	mod/forum:viewdiscussion, mod/forum:viewqandawithoutposting	moodle_mobile_app
384	mod_forum_get_forum_discussions_paginated	mod_forum_external	get_forum_discussions_paginated	mod/forum/externallib.php	mod_forum	mod/forum:viewdiscussion, mod/forum:viewqandawithoutposting	moodle_mobile_app
385	mod_forum_get_forum_discussions	mod_forum_external	get_forum_discussions	mod/forum/externallib.php	mod_forum	mod/forum:viewdiscussion, mod/forum:viewqandawithoutposting	moodle_mobile_app
386	mod_forum_view_forum	mod_forum_external	view_forum	mod/forum/externallib.php	mod_forum	mod/forum:viewdiscussion	moodle_mobile_app
387	mod_forum_view_forum_discussion	mod_forum_external	view_forum_discussion	mod/forum/externallib.php	mod_forum	mod/forum:viewdiscussion	moodle_mobile_app
388	mod_forum_add_discussion_post	mod_forum_external	add_discussion_post	mod/forum/externallib.php	mod_forum	mod/forum:replypost	moodle_mobile_app
389	mod_forum_add_discussion	mod_forum_external	add_discussion	mod/forum/externallib.php	mod_forum	mod/forum:startdiscussion	moodle_mobile_app
390	mod_forum_can_add_discussion	mod_forum_external	can_add_discussion	mod/forum/externallib.php	mod_forum		moodle_mobile_app
391	mod_forum_get_forum_access_information	mod_forum_external	get_forum_access_information	\N	mod_forum		moodle_mobile_app
392	mod_forum_set_subscription_state	mod_forum_external	set_subscription_state	mod/forum/externallib.php	mod_forum		moodle_mobile_app
393	mod_forum_set_lock_state	mod_forum_external	set_lock_state	mod/forum/externallib.php	mod_forum	moodle/course:manageactivities	moodle_mobile_app
394	mod_forum_toggle_favourite_state	mod_forum_external	toggle_favourite_state	mod/forum/externallib.php	mod_forum		moodle_mobile_app
395	mod_forum_set_pin_state	mod_forum_external	set_pin_state	mod/forum/externallib.php	mod_forum		moodle_mobile_app
396	mod_forum_delete_post	mod_forum_external	delete_post	mod/forum/externallib.php	mod_forum		moodle_mobile_app
397	mod_forum_get_discussion_posts_by_userid	mod_forum_external	get_discussion_posts_by_userid	mod/forum/externallib.php	mod_forum	mod/forum:viewdiscussion, mod/forum:viewqandawithoutposting	\N
398	mod_forum_get_discussion_post	mod_forum_external	get_discussion_post	mod/forum/externallib.php	mod_forum		moodle_mobile_app
399	mod_forum_prepare_draft_area_for_post	mod_forum_external	prepare_draft_area_for_post	mod/forum/externallib.php	mod_forum		moodle_mobile_app
400	mod_forum_update_discussion_post	mod_forum_external	update_discussion_post	mod/forum/externallib.php	mod_forum		moodle_mobile_app
401	mod_glossary_get_glossaries_by_courses	mod_glossary_external	get_glossaries_by_courses	\N	mod_glossary	mod/glossary:view	moodle_mobile_app
402	mod_glossary_view_glossary	mod_glossary_external	view_glossary	\N	mod_glossary	mod/glossary:view	moodle_mobile_app
403	mod_glossary_view_entry	mod_glossary_external	view_entry	\N	mod_glossary	mod/glossary:view	moodle_mobile_app
404	mod_glossary_get_entries_by_letter	mod_glossary_external	get_entries_by_letter	\N	mod_glossary	mod/glossary:view	moodle_mobile_app
405	mod_glossary_get_entries_by_date	mod_glossary_external	get_entries_by_date	\N	mod_glossary	mod/glossary:view	moodle_mobile_app
406	mod_glossary_get_categories	mod_glossary_external	get_categories	\N	mod_glossary	mod/glossary:view	moodle_mobile_app
407	mod_glossary_get_entries_by_category	mod_glossary_external	get_entries_by_category	\N	mod_glossary	mod/glossary:view	moodle_mobile_app
408	mod_glossary_get_authors	mod_glossary_external	get_authors	\N	mod_glossary	mod/glossary:view	moodle_mobile_app
409	mod_glossary_get_entries_by_author	mod_glossary_external	get_entries_by_author	\N	mod_glossary	mod/glossary:view	moodle_mobile_app
410	mod_glossary_get_entries_by_author_id	mod_glossary_external	get_entries_by_author_id	\N	mod_glossary	mod/glossary:view	moodle_mobile_app
411	mod_glossary_get_entries_by_search	mod_glossary_external	get_entries_by_search	\N	mod_glossary	mod/glossary:view	moodle_mobile_app
412	mod_glossary_get_entries_by_term	mod_glossary_external	get_entries_by_term	\N	mod_glossary	mod/glossary:view	moodle_mobile_app
413	mod_glossary_get_entries_to_approve	mod_glossary_external	get_entries_to_approve	\N	mod_glossary	mod/glossary:approve	moodle_mobile_app
414	mod_glossary_get_entry_by_id	mod_glossary_external	get_entry_by_id	\N	mod_glossary	mod/glossary:view	moodle_mobile_app
415	mod_glossary_add_entry	mod_glossary_external	add_entry	\N	mod_glossary	mod/glossary:write	moodle_mobile_app
416	mod_glossary_delete_entry	mod_glossary\\external\\delete_entry	execute	\N	mod_glossary		moodle_mobile_app
417	mod_glossary_update_entry	mod_glossary\\external\\update_entry	execute	\N	mod_glossary		moodle_mobile_app
418	mod_glossary_prepare_entry_for_edition	mod_glossary\\external\\prepare_entry	execute	\N	mod_glossary		moodle_mobile_app
419	mod_h5pactivity_get_h5pactivity_access_information	mod_h5pactivity\\external\\get_h5pactivity_access_information	execute	\N	mod_h5pactivity	mod/h5pactivity:view	moodle_mobile_app
420	mod_h5pactivity_view_h5pactivity	mod_h5pactivity\\external\\view_h5pactivity	execute	\N	mod_h5pactivity	mod/h5pactivity:view	moodle_mobile_app
421	mod_h5pactivity_get_attempts	mod_h5pactivity\\external\\get_attempts	execute	\N	mod_h5pactivity	mod/h5pactivity:view	moodle_mobile_app
422	mod_h5pactivity_get_results	mod_h5pactivity\\external\\get_results	execute	\N	mod_h5pactivity	mod/h5pactivity:view	moodle_mobile_app
423	mod_h5pactivity_get_h5pactivities_by_courses	mod_h5pactivity\\external\\get_h5pactivities_by_courses	execute	\N	mod_h5pactivity	mod/h5pactivity:view	moodle_mobile_app
424	mod_imscp_view_imscp	mod_imscp_external	view_imscp	\N	mod_imscp	mod/imscp:view	moodle_mobile_app
425	mod_imscp_get_imscps_by_courses	mod_imscp_external	get_imscps_by_courses	\N	mod_imscp	mod/imscp:view	moodle_mobile_app
426	mod_label_get_labels_by_courses	mod_label_external	get_labels_by_courses	\N	mod_label	mod/label:view	moodle_mobile_app
427	mod_lesson_get_lessons_by_courses	mod_lesson_external	get_lessons_by_courses	\N	mod_lesson	mod/lesson:view	moodle_mobile_app
428	mod_lesson_get_lesson_access_information	mod_lesson_external	get_lesson_access_information	\N	mod_lesson	mod/lesson:view	moodle_mobile_app
429	mod_lesson_view_lesson	mod_lesson_external	view_lesson	\N	mod_lesson	mod/lesson:view	moodle_mobile_app
430	mod_lesson_get_questions_attempts	mod_lesson_external	get_questions_attempts	\N	mod_lesson	mod/lesson:view	moodle_mobile_app
431	mod_lesson_get_user_grade	mod_lesson_external	get_user_grade	\N	mod_lesson	mod/lesson:view	moodle_mobile_app
432	mod_lesson_get_user_attempt_grade	mod_lesson_external	get_user_attempt_grade	\N	mod_lesson	mod/lesson:view	moodle_mobile_app
433	mod_lesson_get_content_pages_viewed	mod_lesson_external	get_content_pages_viewed	\N	mod_lesson	mod/lesson:view	moodle_mobile_app
434	mod_lesson_get_user_timers	mod_lesson_external	get_user_timers	\N	mod_lesson	mod/lesson:view	moodle_mobile_app
435	mod_lesson_get_pages	mod_lesson_external	get_pages	\N	mod_lesson	mod/lesson:view	moodle_mobile_app
436	mod_lesson_launch_attempt	mod_lesson_external	launch_attempt	\N	mod_lesson	mod/lesson:view	moodle_mobile_app
437	mod_lesson_get_page_data	mod_lesson_external	get_page_data	\N	mod_lesson	mod/lesson:view	moodle_mobile_app
438	mod_lesson_process_page	mod_lesson_external	process_page	\N	mod_lesson	mod/lesson:view	moodle_mobile_app
439	mod_lesson_finish_attempt	mod_lesson_external	finish_attempt	\N	mod_lesson	mod/lesson:view	moodle_mobile_app
440	mod_lesson_get_attempts_overview	mod_lesson_external	get_attempts_overview	\N	mod_lesson	mod/lesson:viewreports	moodle_mobile_app
441	mod_lesson_get_user_attempt	mod_lesson_external	get_user_attempt	\N	mod_lesson	mod/lesson:viewreports	moodle_mobile_app
442	mod_lesson_get_pages_possible_jumps	mod_lesson_external	get_pages_possible_jumps	\N	mod_lesson	mod/lesson:view	moodle_mobile_app
443	mod_lesson_get_lesson	mod_lesson_external	get_lesson	\N	mod_lesson	mod/lesson:view	moodle_mobile_app
444	mod_lti_get_tool_launch_data	mod_lti_external	get_tool_launch_data	\N	mod_lti	mod/lti:view	moodle_mobile_app
445	mod_lti_get_ltis_by_courses	mod_lti_external	get_ltis_by_courses	\N	mod_lti	mod/lti:view	moodle_mobile_app
446	mod_lti_view_lti	mod_lti_external	view_lti	\N	mod_lti	mod/lti:view	moodle_mobile_app
447	mod_lti_get_tool_proxies	mod_lti_external	get_tool_proxies	\N	mod_lti	moodle/site:config	\N
448	mod_lti_create_tool_proxy	mod_lti_external	create_tool_proxy	\N	mod_lti	moodle/site:config	\N
449	mod_lti_delete_tool_proxy	mod_lti_external	delete_tool_proxy	\N	mod_lti	moodle/site:config	\N
450	mod_lti_get_tool_proxy_registration_request	mod_lti_external	get_tool_proxy_registration_request	\N	mod_lti	moodle/site:config	\N
451	mod_lti_get_tool_types	mod_lti_external	get_tool_types	\N	mod_lti	moodle/site:config	\N
452	mod_lti_create_tool_type	mod_lti_external	create_tool_type	\N	mod_lti	moodle/site:config	\N
453	mod_lti_update_tool_type	mod_lti_external	update_tool_type	\N	mod_lti	moodle/site:config	\N
454	mod_lti_delete_tool_type	mod_lti_external	delete_tool_type	\N	mod_lti	moodle/site:config	\N
455	mod_lti_is_cartridge	mod_lti_external	is_cartridge	\N	mod_lti	moodle/site:config	\N
456	mod_page_view_page	mod_page_external	view_page	\N	mod_page	mod/page:view	moodle_mobile_app
457	mod_page_get_pages_by_courses	mod_page_external	get_pages_by_courses	\N	mod_page	mod/page:view	moodle_mobile_app
458	mod_quiz_get_quizzes_by_courses	mod_quiz_external	get_quizzes_by_courses	\N	mod_quiz	mod/quiz:view	moodle_mobile_app
459	mod_quiz_view_quiz	mod_quiz_external	view_quiz	\N	mod_quiz	mod/quiz:view	moodle_mobile_app
460	mod_quiz_get_user_attempts	mod_quiz_external	get_user_attempts	\N	mod_quiz	mod/quiz:view	moodle_mobile_app
461	mod_quiz_get_user_best_grade	mod_quiz_external	get_user_best_grade	\N	mod_quiz	mod/quiz:view	moodle_mobile_app
462	mod_quiz_get_combined_review_options	mod_quiz_external	get_combined_review_options	\N	mod_quiz	mod/quiz:view	moodle_mobile_app
463	mod_quiz_start_attempt	mod_quiz_external	start_attempt	\N	mod_quiz	mod/quiz:attempt	moodle_mobile_app
464	mod_quiz_get_attempt_data	mod_quiz_external	get_attempt_data	\N	mod_quiz	mod/quiz:attempt	moodle_mobile_app
465	mod_quiz_get_attempt_summary	mod_quiz_external	get_attempt_summary	\N	mod_quiz	mod/quiz:attempt	moodle_mobile_app
466	mod_quiz_save_attempt	mod_quiz_external	save_attempt	\N	mod_quiz	mod/quiz:attempt	moodle_mobile_app
467	mod_quiz_process_attempt	mod_quiz_external	process_attempt	\N	mod_quiz	mod/quiz:attempt	moodle_mobile_app
468	mod_quiz_get_attempt_review	mod_quiz_external	get_attempt_review	\N	mod_quiz	mod/quiz:reviewmyattempts	moodle_mobile_app
469	mod_quiz_view_attempt	mod_quiz_external	view_attempt	\N	mod_quiz	mod/quiz:attempt	moodle_mobile_app
470	mod_quiz_view_attempt_summary	mod_quiz_external	view_attempt_summary	\N	mod_quiz	mod/quiz:attempt	moodle_mobile_app
471	mod_quiz_view_attempt_review	mod_quiz_external	view_attempt_review	\N	mod_quiz	mod/quiz:reviewmyattempts	moodle_mobile_app
472	mod_quiz_get_quiz_feedback_for_grade	mod_quiz_external	get_quiz_feedback_for_grade	\N	mod_quiz	mod/quiz:view	moodle_mobile_app
473	mod_quiz_get_quiz_access_information	mod_quiz_external	get_quiz_access_information	\N	mod_quiz	mod/quiz:view	moodle_mobile_app
474	mod_quiz_get_attempt_access_information	mod_quiz_external	get_attempt_access_information	\N	mod_quiz	mod/quiz:view	moodle_mobile_app
475	mod_quiz_get_quiz_required_qtypes	mod_quiz_external	get_quiz_required_qtypes	\N	mod_quiz	mod/quiz:view	moodle_mobile_app
476	mod_resource_view_resource	mod_resource_external	view_resource	\N	mod_resource	mod/resource:view	moodle_mobile_app
477	mod_resource_get_resources_by_courses	mod_resource_external	get_resources_by_courses	\N	mod_resource	mod/resource:view	moodle_mobile_app
478	mod_scorm_view_scorm	mod_scorm_external	view_scorm	\N	mod_scorm		moodle_mobile_app
479	mod_scorm_get_scorm_attempt_count	mod_scorm_external	get_scorm_attempt_count	\N	mod_scorm		moodle_mobile_app
480	mod_scorm_get_scorm_scoes	mod_scorm_external	get_scorm_scoes	\N	mod_scorm		moodle_mobile_app
481	mod_scorm_get_scorm_user_data	mod_scorm_external	get_scorm_user_data	\N	mod_scorm		moodle_mobile_app
482	mod_scorm_insert_scorm_tracks	mod_scorm_external	insert_scorm_tracks	\N	mod_scorm	mod/scorm:savetrack	moodle_mobile_app
483	mod_scorm_get_scorm_sco_tracks	mod_scorm_external	get_scorm_sco_tracks	\N	mod_scorm		moodle_mobile_app
484	mod_scorm_get_scorms_by_courses	mod_scorm_external	get_scorms_by_courses	\N	mod_scorm		moodle_mobile_app
485	mod_scorm_launch_sco	mod_scorm_external	launch_sco	\N	mod_scorm		moodle_mobile_app
486	mod_scorm_get_scorm_access_information	mod_scorm_external	get_scorm_access_information	\N	mod_scorm		moodle_mobile_app
487	mod_survey_get_surveys_by_courses	mod_survey_external	get_surveys_by_courses	\N	mod_survey		moodle_mobile_app
488	mod_survey_view_survey	mod_survey_external	view_survey	\N	mod_survey	mod/survey:participate	moodle_mobile_app
489	mod_survey_get_questions	mod_survey_external	get_questions	\N	mod_survey	mod/survey:participate	moodle_mobile_app
490	mod_survey_submit_answers	mod_survey_external	submit_answers	\N	mod_survey	mod/survey:participate	moodle_mobile_app
491	mod_url_view_url	mod_url_external	view_url	\N	mod_url	mod/url:view	moodle_mobile_app
492	mod_url_get_urls_by_courses	mod_url_external	get_urls_by_courses	\N	mod_url	mod/url:view	moodle_mobile_app
493	mod_wiki_get_wikis_by_courses	mod_wiki_external	get_wikis_by_courses	\N	mod_wiki	mod/wiki:viewpage	moodle_mobile_app
494	mod_wiki_view_wiki	mod_wiki_external	view_wiki	\N	mod_wiki	mod/wiki:viewpage	moodle_mobile_app
495	mod_wiki_view_page	mod_wiki_external	view_page	\N	mod_wiki	mod/wiki:viewpage	moodle_mobile_app
496	mod_wiki_get_subwikis	mod_wiki_external	get_subwikis	\N	mod_wiki	mod/wiki:viewpage	moodle_mobile_app
497	mod_wiki_get_subwiki_pages	mod_wiki_external	get_subwiki_pages	\N	mod_wiki	mod/wiki:viewpage	moodle_mobile_app
498	mod_wiki_get_subwiki_files	mod_wiki_external	get_subwiki_files	\N	mod_wiki	mod/wiki:viewpage	moodle_mobile_app
499	mod_wiki_get_page_contents	mod_wiki_external	get_page_contents	\N	mod_wiki	mod/wiki:viewpage	moodle_mobile_app
500	mod_wiki_get_page_for_editing	mod_wiki_external	get_page_for_editing	\N	mod_wiki	mod/wiki:editpage	moodle_mobile_app
501	mod_wiki_new_page	mod_wiki_external	new_page	\N	mod_wiki	mod/wiki:editpage	moodle_mobile_app
502	mod_wiki_edit_page	mod_wiki_external	edit_page	\N	mod_wiki	mod/wiki:editpage	moodle_mobile_app
503	mod_workshop_get_workshops_by_courses	mod_workshop_external	get_workshops_by_courses	\N	mod_workshop	mod/workshop:view	moodle_mobile_app
504	mod_workshop_get_workshop_access_information	mod_workshop_external	get_workshop_access_information	\N	mod_workshop	mod/workshop:view	moodle_mobile_app
505	mod_workshop_get_user_plan	mod_workshop_external	get_user_plan	\N	mod_workshop	mod/workshop:view	moodle_mobile_app
506	mod_workshop_view_workshop	mod_workshop_external	view_workshop	\N	mod_workshop	mod/workshop:view	moodle_mobile_app
507	mod_workshop_add_submission	mod_workshop_external	add_submission	\N	mod_workshop	mod/workshop:submit	moodle_mobile_app
508	mod_workshop_update_submission	mod_workshop_external	update_submission	\N	mod_workshop	mod/workshop:submit	moodle_mobile_app
509	mod_workshop_delete_submission	mod_workshop_external	delete_submission	\N	mod_workshop	mod/workshop:submit	moodle_mobile_app
510	mod_workshop_get_submissions	mod_workshop_external	get_submissions	\N	mod_workshop		moodle_mobile_app
511	mod_workshop_get_submission	mod_workshop_external	get_submission	\N	mod_workshop		moodle_mobile_app
512	mod_workshop_get_submission_assessments	mod_workshop_external	get_submission_assessments	\N	mod_workshop		moodle_mobile_app
513	mod_workshop_get_assessment	mod_workshop_external	get_assessment	\N	mod_workshop		moodle_mobile_app
514	mod_workshop_get_assessment_form_definition	mod_workshop_external	get_assessment_form_definition	\N	mod_workshop		moodle_mobile_app
515	mod_workshop_get_reviewer_assessments	mod_workshop_external	get_reviewer_assessments	\N	mod_workshop		moodle_mobile_app
516	mod_workshop_update_assessment	mod_workshop_external	update_assessment	\N	mod_workshop		moodle_mobile_app
517	mod_workshop_get_grades	mod_workshop_external	get_grades	\N	mod_workshop		moodle_mobile_app
518	mod_workshop_evaluate_assessment	mod_workshop_external	evaluate_assessment	\N	mod_workshop		moodle_mobile_app
519	mod_workshop_get_grades_report	mod_workshop_external	get_grades_report	\N	mod_workshop		moodle_mobile_app
520	mod_workshop_view_submission	mod_workshop_external	view_submission	\N	mod_workshop	mod/workshop:view	moodle_mobile_app
521	mod_workshop_evaluate_submission	mod_workshop_external	evaluate_submission	\N	mod_workshop		moodle_mobile_app
522	auth_email_get_signup_settings	auth_email_external	get_signup_settings	\N	auth_email		\N
523	auth_email_signup_user	auth_email_external	signup_user	\N	auth_email		\N
524	enrol_guest_get_instance_info	enrol_guest_external	get_instance_info	\N	enrol_guest		moodle_mobile_app
525	enrol_manual_enrol_users	enrol_manual_external	enrol_users	enrol/manual/externallib.php	enrol_manual	enrol/manual:enrol	\N
526	enrol_manual_unenrol_users	enrol_manual_external	unenrol_users	enrol/manual/externallib.php	enrol_manual	enrol/manual:unenrol	\N
527	enrol_self_get_instance_info	enrol_self_external	get_instance_info	enrol/self/externallib.php	enrol_self		moodle_mobile_app
528	enrol_self_enrol_user	enrol_self_external	enrol_user	enrol/self/externallib.php	enrol_self		moodle_mobile_app
529	message_airnotifier_is_system_configured	message_airnotifier_external	is_system_configured	message/output/airnotifier/externallib.php	message_airnotifier		moodle_mobile_app
530	message_airnotifier_are_notification_preferences_configured	message_airnotifier_external	are_notification_preferences_configured	message/output/airnotifier/externallib.php	message_airnotifier		moodle_mobile_app
531	message_airnotifier_get_user_devices	message_airnotifier_external	get_user_devices	message/output/airnotifier/externallib.php	message_airnotifier		moodle_mobile_app
532	message_airnotifier_enable_device	message_airnotifier_external	enable_device	message/output/airnotifier/externallib.php	message_airnotifier	message/airnotifier:managedevice	moodle_mobile_app
533	message_popup_get_popup_notifications	message_popup_external	get_popup_notifications	message/output/popup/externallib.php	message_popup		moodle_mobile_app
534	message_popup_get_unread_popup_notification_count	message_popup_external	get_unread_popup_notification_count	message/output/popup/externallib.php	message_popup		moodle_mobile_app
535	block_recentlyaccesseditems_get_recent_items	block_recentlyaccesseditems\\external	get_recent_items	\N	block_recentlyaccesseditems		moodle_mobile_app
536	block_starredcourses_get_starred_courses	block_starredcourses_external	get_starred_courses	block/starredcourses/classes/external.php	block_starredcourses		moodle_mobile_app
537	media_videojs_get_language	media_videojs\\external\\get_language	execute	\N	media_videojs		\N
538	report_competency_data_for_report	report_competency\\external	data_for_report	\N	report_competency	moodle/competency:coursecompetencyview	\N
539	report_insights_set_notuseful_prediction	report_insights\\external	set_notuseful_prediction	\N	report_insights		moodle_mobile_app
540	report_insights_set_fixed_prediction	report_insights\\external	set_fixed_prediction	\N	report_insights		moodle_mobile_app
541	report_insights_action_executed	report_insights\\external	action_executed	\N	report_insights		moodle_mobile_app
542	gradereport_overview_get_course_grades	gradereport_overview_external	get_course_grades	\N	gradereport_overview		moodle_mobile_app
543	gradereport_overview_view_grade_report	gradereport_overview_external	view_grade_report	\N	gradereport_overview	gradereport/overview:view	moodle_mobile_app
544	gradereport_user_get_grades_table	gradereport_user_external	get_grades_table	grade/report/user/externallib.php	gradereport_user	gradereport/user:view	moodle_mobile_app
545	gradereport_user_view_grade_report	gradereport_user_external	view_grade_report	grade/report/user/externallib.php	gradereport_user	gradereport/user:view	moodle_mobile_app
546	gradereport_user_get_grade_items	gradereport_user_external	get_grade_items	grade/report/user/externallib.php	gradereport_user	gradereport/user:view	moodle_mobile_app
547	gradingform_guide_grader_gradingpanel_fetch	gradingform_guide\\grades\\grader\\gradingpanel\\external\\fetch	execute	\N	gradingform_guide		\N
548	gradingform_guide_grader_gradingpanel_store	gradingform_guide\\grades\\grader\\gradingpanel\\external\\store	execute	\N	gradingform_guide		\N
549	gradingform_rubric_grader_gradingpanel_fetch	gradingform_rubric\\grades\\grader\\gradingpanel\\external\\fetch	execute	\N	gradingform_rubric		\N
550	gradingform_rubric_grader_gradingpanel_store	gradingform_rubric\\grades\\grader\\gradingpanel\\external\\store	execute	\N	gradingform_rubric		\N
551	tool_analytics_potential_contexts	tool_analytics\\external	potential_contexts	\N	tool_analytics		moodle_mobile_app
552	tool_dataprivacy_cancel_data_request	tool_dataprivacy\\external	cancel_data_request	\N	tool_dataprivacy		\N
553	tool_dataprivacy_contact_dpo	tool_dataprivacy\\external	contact_dpo	\N	tool_dataprivacy		\N
554	tool_dataprivacy_mark_complete	tool_dataprivacy\\external	mark_complete	\N	tool_dataprivacy	tool/dataprivacy:managedatarequests	\N
555	tool_dataprivacy_get_data_request	tool_dataprivacy\\external	get_data_request	\N	tool_dataprivacy	tool/dataprivacy:managedatarequests	\N
556	tool_dataprivacy_approve_data_request	tool_dataprivacy\\external	approve_data_request	\N	tool_dataprivacy	tool/dataprivacy:managedatarequests	\N
557	tool_dataprivacy_bulk_approve_data_requests	tool_dataprivacy\\external	bulk_approve_data_requests	\N	tool_dataprivacy	tool/dataprivacy:managedatarequests	\N
558	tool_dataprivacy_deny_data_request	tool_dataprivacy\\external	deny_data_request	\N	tool_dataprivacy	tool/dataprivacy:managedatarequests	\N
559	tool_dataprivacy_bulk_deny_data_requests	tool_dataprivacy\\external	bulk_deny_data_requests	\N	tool_dataprivacy	tool/dataprivacy:managedatarequests	\N
560	tool_dataprivacy_get_users	tool_dataprivacy\\external	get_users	\N	tool_dataprivacy	tool/dataprivacy:managedatarequests	\N
561	tool_dataprivacy_create_purpose_form	tool_dataprivacy\\external	create_purpose_form	\N	tool_dataprivacy		\N
562	tool_dataprivacy_create_category_form	tool_dataprivacy\\external	create_category_form	\N	tool_dataprivacy		\N
563	tool_dataprivacy_delete_purpose	tool_dataprivacy\\external	delete_purpose	\N	tool_dataprivacy		\N
564	tool_dataprivacy_delete_category	tool_dataprivacy\\external	delete_category	\N	tool_dataprivacy		\N
565	tool_dataprivacy_set_contextlevel_form	tool_dataprivacy\\external	set_contextlevel_form	\N	tool_dataprivacy		\N
566	tool_dataprivacy_set_context_form	tool_dataprivacy\\external	set_context_form	\N	tool_dataprivacy		\N
567	tool_dataprivacy_tree_extra_branches	tool_dataprivacy\\external	tree_extra_branches	\N	tool_dataprivacy		\N
568	tool_dataprivacy_confirm_contexts_for_deletion	tool_dataprivacy\\external	confirm_contexts_for_deletion	\N	tool_dataprivacy		\N
569	tool_dataprivacy_set_context_defaults	tool_dataprivacy\\external	set_context_defaults	\N	tool_dataprivacy	tool/dataprivacy:managedataregistry	\N
570	tool_dataprivacy_get_category_options	tool_dataprivacy\\external	get_category_options	\N	tool_dataprivacy	tool/dataprivacy:managedataregistry	\N
571	tool_dataprivacy_get_purpose_options	tool_dataprivacy\\external	get_purpose_options	\N	tool_dataprivacy	tool/dataprivacy:managedataregistry	\N
572	tool_dataprivacy_get_activity_options	tool_dataprivacy\\external	get_activity_options	\N	tool_dataprivacy	tool/dataprivacy:managedataregistry	\N
573	tool_lp_data_for_competency_frameworks_manage_page	tool_lp\\external	data_for_competency_frameworks_manage_page	\N	tool_lp	moodle/competency:competencyview	\N
574	tool_lp_data_for_competency_summary	tool_lp\\external	data_for_competency_summary	\N	tool_lp	moodle/competency:competencyview	\N
575	tool_lp_data_for_competencies_manage_page	tool_lp\\external	data_for_competencies_manage_page	\N	tool_lp	moodle/competency:competencyview	\N
576	tool_lp_list_courses_using_competency	tool_lp\\external	list_courses_using_competency	\N	tool_lp	moodle/competency:coursecompetencyview	\N
577	tool_lp_data_for_course_competencies_page	tool_lp\\external	data_for_course_competencies_page	\N	tool_lp	moodle/competency:coursecompetencyview	moodle_mobile_app
578	tool_lp_data_for_template_competencies_page	tool_lp\\external	data_for_template_competencies_page	\N	tool_lp	moodle/competency:templateview	\N
579	tool_lp_data_for_templates_manage_page	tool_lp\\external	data_for_templates_manage_page	\N	tool_lp	moodle/competency:templateview	\N
580	tool_lp_data_for_plans_page	tool_lp\\external	data_for_plans_page	\N	tool_lp	moodle/competency:planviewown	moodle_mobile_app
581	tool_lp_data_for_plan_page	tool_lp\\external	data_for_plan_page	\N	tool_lp	moodle/competency:planview	moodle_mobile_app
582	tool_lp_data_for_related_competencies_section	tool_lp\\external	data_for_related_competencies_section	\N	tool_lp	moodle/competency:competencyview	\N
583	tool_lp_search_users	tool_lp\\external	search_users	\N	tool_lp		\N
584	tool_lp_search_cohorts	core_cohort_external	search_cohorts	cohort/externallib.php	tool_lp	moodle/cohort:view	\N
585	tool_lp_data_for_user_evidence_list_page	tool_lp\\external	data_for_user_evidence_list_page	\N	tool_lp	moodle/competency:userevidenceview	moodle_mobile_app
586	tool_lp_data_for_user_evidence_page	tool_lp\\external	data_for_user_evidence_page	\N	tool_lp	moodle/competency:userevidenceview	moodle_mobile_app
587	tool_lp_data_for_user_competency_summary	tool_lp\\external	data_for_user_competency_summary	\N	tool_lp	moodle/competency:planview	moodle_mobile_app
588	tool_lp_data_for_user_competency_summary_in_plan	tool_lp\\external	data_for_user_competency_summary_in_plan	\N	tool_lp	moodle/competency:planview	moodle_mobile_app
589	tool_lp_data_for_user_competency_summary_in_course	tool_lp\\external	data_for_user_competency_summary_in_course	\N	tool_lp	moodle/competency:coursecompetencyview	moodle_mobile_app
590	tool_mobile_get_plugins_supporting_mobile	tool_mobile\\external	get_plugins_supporting_mobile	\N	tool_mobile		moodle_mobile_app
591	tool_mobile_get_public_config	tool_mobile\\external	get_public_config	\N	tool_mobile		moodle_mobile_app
592	tool_mobile_get_config	tool_mobile\\external	get_config	\N	tool_mobile		moodle_mobile_app
593	tool_mobile_get_autologin_key	tool_mobile\\external	get_autologin_key	\N	tool_mobile		moodle_mobile_app
594	tool_mobile_get_content	tool_mobile\\external	get_content	\N	tool_mobile		moodle_mobile_app
595	tool_mobile_call_external_functions	tool_mobile\\external	call_external_functions	\N	tool_mobile		moodle_mobile_app
596	tool_mobile_validate_subscription_key	tool_mobile\\external	validate_subscription_key	\N	tool_mobile		moodle_mobile_app
597	tool_mobile_get_tokens_for_qr_login	tool_mobile\\external	get_tokens_for_qr_login	\N	tool_mobile		moodle_mobile_app
598	tool_moodlenet_verify_webfinger	tool_moodlenet\\external	verify_webfinger	\N	tool_moodlenet		moodle_mobile_app
599	tool_moodlenet_search_courses	tool_moodlenet\\external	search_courses	\N	tool_moodlenet		moodle_mobile_app
600	tool_policy_get_policy_version	tool_policy\\external	get_policy_version	\N	tool_policy		\N
601	tool_policy_submit_accept_on_behalf	tool_policy\\external	submit_accept_on_behalf	\N	tool_policy		\N
602	tool_templatelibrary_list_templates	tool_templatelibrary\\external	list_templates	\N	tool_templatelibrary		\N
603	tool_templatelibrary_load_canonical_template	tool_templatelibrary\\external	load_canonical_template	\N	tool_templatelibrary		\N
604	tool_usertours_fetch_and_start_tour	tool_usertours\\external\\tour	fetch_and_start_tour	\N	tool_usertours		\N
605	tool_usertours_step_shown	tool_usertours\\external\\tour	step_shown	\N	tool_usertours		\N
606	tool_usertours_complete_tour	tool_usertours\\external\\tour	complete_tour	\N	tool_usertours		\N
607	tool_usertours_reset_tour	tool_usertours\\external\\tour	reset_tour	\N	tool_usertours		\N
608	tool_xmldb_invoke_move_action	tool_xmldb_external	invoke_move_action	\N	tool_xmldb		\N
609	paygw_paypal_get_config_for_js	paygw_paypal\\external\\get_config_for_js	execute	\N	paygw_paypal		\N
610	paygw_paypal_create_transaction_complete	paygw_paypal\\external\\transaction_complete	execute	\N	paygw_paypal		\N
\.


--
-- Data for Name: mdl_external_services; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_external_services (id, name, enabled, requiredcapability, restrictedusers, component, timecreated, timemodified, shortname, downloadfiles, uploadfiles) FROM stdin;
1	Moodle mobile web service	1	\N	0	moodle	1617856671	1617856759	moodle_mobile_app	1	1
\.


--
-- Data for Name: mdl_external_services_functions; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_external_services_functions (id, externalserviceid, functionname) FROM stdin;
1	1	core_badges_get_user_badges
2	1	core_blog_get_entries
3	1	core_blog_view_entries
4	1	core_calendar_get_calendar_monthly_view
5	1	core_calendar_get_calendar_day_view
6	1	core_calendar_get_calendar_upcoming_view
7	1	core_calendar_update_event_start_day
8	1	core_calendar_create_calendar_events
9	1	core_calendar_delete_calendar_events
10	1	core_calendar_get_calendar_events
11	1	core_calendar_get_action_events_by_timesort
12	1	core_calendar_get_action_events_by_course
13	1	core_calendar_get_action_events_by_courses
14	1	core_calendar_get_calendar_event_by_id
15	1	core_calendar_submit_create_update_form
16	1	core_calendar_get_calendar_access_information
17	1	core_calendar_get_allowed_event_types
18	1	core_calendar_get_calendar_export_token
19	1	core_comment_get_comments
20	1	core_comment_add_comments
21	1	core_comment_delete_comments
22	1	core_completion_get_activities_completion_status
23	1	core_completion_get_course_completion_status
24	1	core_completion_mark_course_self_completed
25	1	core_completion_update_activity_completion_status_manually
26	1	core_course_get_categories
27	1	core_course_get_contents
28	1	core_course_get_course_module
29	1	core_course_get_course_module_by_instance
30	1	core_course_get_courses
31	1	core_course_search_courses
32	1	core_course_view_course
33	1	core_course_get_user_navigation_options
34	1	core_course_get_user_administration_options
35	1	core_course_get_courses_by_field
36	1	core_course_check_updates
37	1	core_course_get_updates_since
38	1	core_course_get_enrolled_courses_by_timeline_classification
39	1	core_course_get_recent_courses
40	1	core_course_set_favourite_courses
41	1	core_enrol_get_course_enrolment_methods
42	1	core_enrol_get_enrolled_users
43	1	core_enrol_search_users
44	1	core_enrol_get_users_courses
45	1	core_files_get_files
46	1	core_files_delete_draft_files
47	1	core_get_component_strings
48	1	core_grades_grader_gradingpanel_point_fetch
49	1	core_grades_grader_gradingpanel_point_store
50	1	core_grades_grader_gradingpanel_scale_fetch
51	1	core_grades_grader_gradingpanel_scale_store
52	1	core_group_get_activity_allowed_groups
53	1	core_group_get_activity_groupmode
54	1	core_group_get_course_groupings
55	1	core_group_get_course_groups
56	1	core_group_get_course_user_groups
57	1	core_message_mute_conversations
58	1	core_message_unmute_conversations
59	1	core_message_block_user
60	1	core_message_get_contact_requests
61	1	core_message_create_contact_request
62	1	core_message_confirm_contact_request
63	1	core_message_decline_contact_request
64	1	core_message_get_received_contact_requests_count
65	1	core_message_delete_contacts
66	1	core_message_delete_conversations_by_id
67	1	core_message_delete_message
68	1	core_message_get_blocked_users
69	1	core_message_data_for_messagearea_search_messages
70	1	core_message_message_search_users
71	1	core_message_get_user_contacts
72	1	core_message_get_conversations
73	1	core_message_get_conversation
74	1	core_message_get_conversation_between_users
75	1	core_message_get_self_conversation
76	1	core_message_get_messages
77	1	core_message_get_conversation_counts
78	1	core_message_get_unread_conversation_counts
79	1	core_message_get_conversation_members
80	1	core_message_get_member_info
81	1	core_message_get_unread_conversations_count
82	1	core_message_mark_all_notifications_as_read
83	1	core_message_mark_all_conversation_messages_as_read
84	1	core_message_mark_message_read
85	1	core_message_mark_notification_read
86	1	core_message_message_processor_config_form
87	1	core_message_search_contacts
88	1	core_message_send_instant_messages
89	1	core_message_send_messages_to_conversation
90	1	core_message_get_conversation_messages
91	1	core_message_unblock_user
92	1	core_message_get_user_notification_preferences
93	1	core_message_get_user_message_preferences
94	1	core_message_set_favourite_conversations
95	1	core_message_unset_favourite_conversations
96	1	core_message_delete_message_for_all_users
97	1	core_notes_create_notes
98	1	core_notes_delete_notes
99	1	core_notes_get_course_notes
100	1	core_notes_view_notes
101	1	core_question_update_flag
102	1	core_rating_get_item_ratings
103	1	core_rating_add_rating
104	1	core_tag_get_tagindex
105	1	core_tag_get_tagindex_per_area
106	1	core_tag_get_tag_areas
107	1	core_tag_get_tag_collections
108	1	core_tag_get_tag_cloud
109	1	core_user_add_user_device
110	1	core_user_add_user_private_files
111	1	core_user_get_course_user_profiles
112	1	core_user_get_users_by_field
113	1	core_user_remove_user_device
114	1	core_user_update_user_preferences
115	1	core_user_view_user_list
116	1	core_user_view_user_profile
117	1	core_user_get_user_preferences
118	1	core_user_update_picture
119	1	core_user_set_user_preferences
120	1	core_user_agree_site_policy
121	1	core_user_get_private_files_info
122	1	core_competency_competency_viewed
123	1	core_competency_list_course_competencies
124	1	mod_chat_login_user
125	1	core_competency_get_scale_values
126	1	core_competency_user_competency_viewed
127	1	core_competency_user_competency_viewed_in_plan
128	1	core_competency_user_competency_viewed_in_course
129	1	core_competency_user_competency_plan_viewed
130	1	core_competency_grade_competency_in_course
131	1	core_competency_delete_evidence
132	1	core_webservice_get_site_info
133	1	core_block_get_course_blocks
134	1	core_block_get_dashboard_blocks
135	1	core_filters_get_available_in_context
136	1	core_h5p_get_trusted_h5p_file
137	1	core_table_get_dynamic_table_content
138	1	core_xapi_statement_post
139	1	mod_assign_get_grades
140	1	mod_assign_get_assignments
141	1	mod_assign_get_submissions
142	1	mod_assign_get_user_flags
143	1	mod_assign_set_user_flags
144	1	mod_assign_get_user_mappings
145	1	mod_assign_revert_submissions_to_draft
146	1	mod_assign_lock_submissions
147	1	mod_assign_unlock_submissions
148	1	mod_assign_save_submission
149	1	mod_assign_submit_for_grading
150	1	mod_assign_save_grade
151	1	mod_assign_save_grades
152	1	mod_assign_save_user_extensions
153	1	mod_assign_reveal_identities
154	1	mod_assign_view_grading_table
155	1	mod_assign_view_submission_status
156	1	mod_assign_get_submission_status
157	1	mod_assign_list_participants
158	1	mod_assign_submit_grading_form
159	1	mod_assign_get_participant
160	1	mod_assign_view_assign
161	1	mod_bigbluebuttonbn_view_bigbluebuttonbn
162	1	mod_bigbluebuttonbn_get_bigbluebuttonbns_by_courses
163	1	mod_bigbluebuttonbn_can_join
164	1	mod_book_view_book
165	1	mod_book_get_books_by_courses
166	1	mod_chat_get_chat_users
167	1	mod_chat_send_chat_message
168	1	mod_chat_get_chat_latest_messages
169	1	mod_chat_view_chat
170	1	mod_chat_get_chats_by_courses
171	1	mod_chat_get_sessions
172	1	mod_chat_get_session_messages
173	1	mod_choice_get_choice_results
174	1	mod_choice_get_choice_options
175	1	mod_choice_submit_choice_response
176	1	mod_choice_view_choice
177	1	mod_choice_get_choices_by_courses
178	1	mod_choice_delete_choice_responses
179	1	mod_data_get_databases_by_courses
180	1	mod_data_view_database
181	1	mod_data_get_data_access_information
182	1	mod_data_get_entries
183	1	mod_data_get_entry
184	1	mod_data_get_fields
185	1	mod_data_search_entries
186	1	mod_data_approve_entry
187	1	mod_data_delete_entry
188	1	mod_data_add_entry
189	1	mod_data_update_entry
190	1	mod_feedback_get_feedbacks_by_courses
191	1	mod_feedback_get_feedback_access_information
192	1	mod_feedback_view_feedback
193	1	mod_feedback_get_current_completed_tmp
194	1	mod_feedback_get_items
195	1	mod_feedback_launch_feedback
196	1	mod_feedback_get_page_items
197	1	mod_feedback_process_page
198	1	mod_feedback_get_analysis
199	1	mod_feedback_get_unfinished_responses
200	1	mod_feedback_get_finished_responses
201	1	mod_feedback_get_non_respondents
202	1	mod_feedback_get_responses_analysis
203	1	mod_feedback_get_last_completed
204	1	mod_folder_view_folder
205	1	mod_folder_get_folders_by_courses
206	1	mod_forum_get_forums_by_courses
207	1	mod_forum_get_discussion_posts
208	1	mod_forum_get_forum_discussion_posts
209	1	mod_forum_get_forum_discussions_paginated
210	1	mod_forum_get_forum_discussions
211	1	mod_forum_view_forum
212	1	mod_forum_view_forum_discussion
213	1	mod_forum_add_discussion_post
214	1	mod_forum_add_discussion
215	1	mod_forum_can_add_discussion
216	1	mod_forum_get_forum_access_information
217	1	mod_forum_set_subscription_state
218	1	mod_forum_set_lock_state
219	1	mod_forum_toggle_favourite_state
220	1	mod_forum_set_pin_state
221	1	mod_forum_delete_post
222	1	mod_forum_get_discussion_post
223	1	mod_forum_prepare_draft_area_for_post
224	1	mod_forum_update_discussion_post
225	1	mod_glossary_get_glossaries_by_courses
226	1	mod_glossary_view_glossary
227	1	mod_glossary_view_entry
228	1	mod_glossary_get_entries_by_letter
229	1	mod_glossary_get_entries_by_date
230	1	mod_glossary_get_categories
231	1	mod_glossary_get_entries_by_category
232	1	mod_glossary_get_authors
233	1	mod_glossary_get_entries_by_author
234	1	mod_glossary_get_entries_by_author_id
235	1	mod_glossary_get_entries_by_search
236	1	mod_glossary_get_entries_by_term
237	1	mod_glossary_get_entries_to_approve
238	1	mod_glossary_get_entry_by_id
239	1	mod_glossary_add_entry
240	1	mod_glossary_delete_entry
241	1	mod_glossary_update_entry
242	1	mod_glossary_prepare_entry_for_edition
243	1	mod_h5pactivity_get_h5pactivity_access_information
244	1	mod_h5pactivity_view_h5pactivity
245	1	mod_h5pactivity_get_attempts
246	1	mod_h5pactivity_get_results
247	1	mod_h5pactivity_get_h5pactivities_by_courses
248	1	mod_imscp_view_imscp
249	1	mod_imscp_get_imscps_by_courses
250	1	mod_label_get_labels_by_courses
251	1	mod_lesson_get_lessons_by_courses
252	1	mod_lesson_get_lesson_access_information
253	1	mod_lesson_view_lesson
254	1	mod_lesson_get_questions_attempts
255	1	mod_lesson_get_user_grade
256	1	mod_lesson_get_user_attempt_grade
257	1	mod_lesson_get_content_pages_viewed
258	1	mod_lesson_get_user_timers
259	1	mod_lesson_get_pages
260	1	mod_lesson_launch_attempt
261	1	mod_lesson_get_page_data
262	1	mod_lesson_process_page
263	1	mod_lesson_finish_attempt
264	1	mod_lesson_get_attempts_overview
265	1	mod_lesson_get_user_attempt
266	1	mod_lesson_get_pages_possible_jumps
267	1	mod_lesson_get_lesson
268	1	mod_lti_get_tool_launch_data
269	1	mod_lti_get_ltis_by_courses
270	1	mod_lti_view_lti
271	1	mod_page_view_page
272	1	mod_page_get_pages_by_courses
273	1	mod_quiz_get_quizzes_by_courses
274	1	mod_quiz_view_quiz
275	1	mod_quiz_get_user_attempts
276	1	mod_quiz_get_user_best_grade
277	1	mod_quiz_get_combined_review_options
278	1	mod_quiz_start_attempt
279	1	mod_quiz_get_attempt_data
280	1	mod_quiz_get_attempt_summary
281	1	mod_quiz_save_attempt
282	1	mod_quiz_process_attempt
283	1	mod_quiz_get_attempt_review
284	1	mod_quiz_view_attempt
285	1	mod_quiz_view_attempt_summary
286	1	mod_quiz_view_attempt_review
287	1	mod_quiz_get_quiz_feedback_for_grade
288	1	mod_quiz_get_quiz_access_information
289	1	mod_quiz_get_attempt_access_information
290	1	mod_quiz_get_quiz_required_qtypes
291	1	mod_resource_view_resource
292	1	mod_resource_get_resources_by_courses
293	1	mod_scorm_view_scorm
294	1	mod_scorm_get_scorm_attempt_count
295	1	mod_scorm_get_scorm_scoes
296	1	mod_scorm_get_scorm_user_data
297	1	mod_scorm_insert_scorm_tracks
298	1	mod_scorm_get_scorm_sco_tracks
299	1	mod_scorm_get_scorms_by_courses
300	1	mod_scorm_launch_sco
301	1	mod_scorm_get_scorm_access_information
302	1	mod_survey_get_surveys_by_courses
303	1	mod_survey_view_survey
304	1	mod_survey_get_questions
305	1	mod_survey_submit_answers
306	1	mod_url_view_url
307	1	mod_url_get_urls_by_courses
308	1	mod_wiki_get_wikis_by_courses
309	1	mod_wiki_view_wiki
310	1	mod_wiki_view_page
311	1	mod_wiki_get_subwikis
312	1	mod_wiki_get_subwiki_pages
313	1	mod_wiki_get_subwiki_files
314	1	mod_wiki_get_page_contents
315	1	mod_wiki_get_page_for_editing
316	1	mod_wiki_new_page
317	1	mod_wiki_edit_page
318	1	mod_workshop_get_workshops_by_courses
319	1	mod_workshop_get_workshop_access_information
320	1	mod_workshop_get_user_plan
321	1	mod_workshop_view_workshop
322	1	mod_workshop_add_submission
323	1	mod_workshop_update_submission
324	1	mod_workshop_delete_submission
325	1	mod_workshop_get_submissions
326	1	mod_workshop_get_submission
327	1	mod_workshop_get_submission_assessments
328	1	mod_workshop_get_assessment
329	1	mod_workshop_get_assessment_form_definition
330	1	mod_workshop_get_reviewer_assessments
331	1	mod_workshop_update_assessment
332	1	mod_workshop_get_grades
333	1	mod_workshop_evaluate_assessment
334	1	mod_workshop_get_grades_report
335	1	mod_workshop_view_submission
336	1	mod_workshop_evaluate_submission
337	1	enrol_guest_get_instance_info
338	1	enrol_self_get_instance_info
339	1	enrol_self_enrol_user
340	1	message_airnotifier_is_system_configured
341	1	message_airnotifier_are_notification_preferences_configured
342	1	message_airnotifier_get_user_devices
343	1	message_airnotifier_enable_device
344	1	message_popup_get_popup_notifications
345	1	message_popup_get_unread_popup_notification_count
346	1	block_recentlyaccesseditems_get_recent_items
347	1	block_starredcourses_get_starred_courses
348	1	report_insights_set_notuseful_prediction
349	1	report_insights_set_fixed_prediction
350	1	report_insights_action_executed
351	1	gradereport_overview_get_course_grades
352	1	gradereport_overview_view_grade_report
353	1	gradereport_user_get_grades_table
354	1	gradereport_user_view_grade_report
355	1	gradereport_user_get_grade_items
356	1	tool_analytics_potential_contexts
357	1	tool_lp_data_for_course_competencies_page
358	1	tool_lp_data_for_plans_page
359	1	tool_lp_data_for_plan_page
360	1	tool_lp_data_for_user_evidence_list_page
361	1	tool_lp_data_for_user_evidence_page
362	1	tool_lp_data_for_user_competency_summary
363	1	tool_lp_data_for_user_competency_summary_in_plan
364	1	tool_lp_data_for_user_competency_summary_in_course
365	1	tool_mobile_get_plugins_supporting_mobile
366	1	tool_mobile_get_public_config
367	1	tool_mobile_get_config
368	1	tool_mobile_get_autologin_key
369	1	tool_mobile_get_content
370	1	tool_mobile_call_external_functions
371	1	tool_mobile_validate_subscription_key
372	1	tool_mobile_get_tokens_for_qr_login
373	1	tool_moodlenet_verify_webfinger
374	1	tool_moodlenet_search_courses
\.


--
-- Data for Name: mdl_external_services_users; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_external_services_users (id, externalserviceid, userid, iprestriction, validuntil, timecreated) FROM stdin;
\.


--
-- Data for Name: mdl_external_tokens; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_external_tokens (id, token, privatetoken, tokentype, userid, externalserviceid, sid, contextid, creatorid, iprestriction, validuntil, timecreated, lastaccess) FROM stdin;
\.


--
-- Data for Name: mdl_favourite; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_favourite (id, component, itemtype, itemid, contextid, userid, ordering, timecreated, timemodified) FROM stdin;
\.


--
-- Data for Name: mdl_feedback; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_feedback (id, course, name, intro, introformat, anonymous, email_notification, multiple_submit, autonumbering, site_after_submit, page_after_submit, page_after_submitformat, publish_stats, timeopen, timeclose, timemodified, completionsubmit) FROM stdin;
\.


--
-- Data for Name: mdl_feedback_completed; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_feedback_completed (id, feedback, userid, timemodified, random_response, anonymous_response, courseid) FROM stdin;
\.


--
-- Data for Name: mdl_feedback_completedtmp; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_feedback_completedtmp (id, feedback, userid, guestid, timemodified, random_response, anonymous_response, courseid) FROM stdin;
\.


--
-- Data for Name: mdl_feedback_item; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_feedback_item (id, feedback, template, name, label, presentation, typ, hasvalue, "position", required, dependitem, dependvalue, options) FROM stdin;
\.


--
-- Data for Name: mdl_feedback_sitecourse_map; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_feedback_sitecourse_map (id, feedbackid, courseid) FROM stdin;
\.


--
-- Data for Name: mdl_feedback_template; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_feedback_template (id, course, ispublic, name) FROM stdin;
\.


--
-- Data for Name: mdl_feedback_value; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_feedback_value (id, course_id, item, completed, tmp_completed, value) FROM stdin;
\.


--
-- Data for Name: mdl_feedback_valuetmp; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_feedback_valuetmp (id, course_id, item, completed, tmp_completed, value) FROM stdin;
\.


--
-- Data for Name: mdl_file_conversion; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_file_conversion (id, usermodified, timecreated, timemodified, sourcefileid, targetformat, status, statusmessage, converter, destfileid, data) FROM stdin;
\.


--
-- Data for Name: mdl_files; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_files (id, contenthash, pathnamehash, contextid, component, filearea, itemid, filepath, filename, userid, filesize, mimetype, status, source, author, license, timecreated, timemodified, sortorder, referencefileid) FROM stdin;
1	5f8e911d0da441e36f47c5c46f4393269211ca56	508e674d49c30d4fde325fe6c7f6fd3d56b247e1	1	assignfeedback_editpdf	stamps	0	/	smile.png	2	1085	image/png	0	\N	\N	\N	1617856725	1617856725	0	\N
2	da39a3ee5e6b4b0d3255bfef95601890afd80709	70b7cdade7b4e27d4e83f0cdaad10d6a3c0cccb5	1	assignfeedback_editpdf	stamps	0	/	.	2	0	\N	0	\N	\N	\N	1617856725	1617856725	0	\N
3	75c101cb8cb34ea573cd25ac38f8157b1de901b8	68317eab56c67d32aeaee5acf509a0c4aa828b6b	1	assignfeedback_editpdf	stamps	0	/	sad.png	2	966	image/png	0	\N	\N	\N	1617856725	1617856725	0	\N
4	0c5190a24c3943966541401c883eacaa20ca20cb	695a55ff780e61c9e59428aa425430b0d6bde53b	1	assignfeedback_editpdf	stamps	0	/	tick.png	2	1039	image/png	0	\N	\N	\N	1617856725	1617856725	0	\N
5	8c96a486d5801e0f4ab8c411f561f1c687e1f865	373e63af262a9b8466ba8632551520be793c37ff	1	assignfeedback_editpdf	stamps	0	/	cross.png	2	861	image/png	0	\N	\N	\N	1617856725	1617856725	0	\N
\.


--
-- Data for Name: mdl_files_reference; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_files_reference (id, repositoryid, lastsync, reference, referencehash) FROM stdin;
\.


--
-- Data for Name: mdl_filter_active; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_filter_active (id, filter, contextid, active, sortorder) FROM stdin;
2	displayh5p	1	1	1
1	activitynames	1	1	2
4	mathjaxloader	1	1	3
3	emoticon	1	1	4
6	urltolink	1	1	5
5	mediaplugin	1	1	6
\.


--
-- Data for Name: mdl_filter_config; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_filter_config (id, filter, contextid, name, value) FROM stdin;
\.


--
-- Data for Name: mdl_folder; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_folder (id, course, name, intro, introformat, revision, timemodified, display, showexpanded, showdownloadfolder, forcedownload) FROM stdin;
\.


--
-- Data for Name: mdl_forum; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_forum (id, course, type, name, intro, introformat, duedate, cutoffdate, assessed, assesstimestart, assesstimefinish, scale, grade_forum, grade_forum_notify, maxbytes, maxattachments, forcesubscribe, trackingtype, rsstype, rssarticles, timemodified, warnafter, blockafter, blockperiod, completiondiscussions, completionreplies, completionposts, displaywordcount, lockdiscussionafter) FROM stdin;
\.


--
-- Data for Name: mdl_forum_digests; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_forum_digests (id, userid, forum, maildigest) FROM stdin;
\.


--
-- Data for Name: mdl_forum_discussion_subs; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_forum_discussion_subs (id, forum, userid, discussion, preference) FROM stdin;
\.


--
-- Data for Name: mdl_forum_discussions; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_forum_discussions (id, course, forum, name, firstpost, userid, groupid, assessed, timemodified, usermodified, timestart, timeend, pinned, timelocked) FROM stdin;
\.


--
-- Data for Name: mdl_forum_grades; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_forum_grades (id, forum, itemnumber, userid, grade, timecreated, timemodified) FROM stdin;
\.


--
-- Data for Name: mdl_forum_posts; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_forum_posts (id, discussion, parent, userid, created, modified, mailed, subject, message, messageformat, messagetrust, attachment, totalscore, mailnow, deleted, privatereplyto, wordcount, charcount) FROM stdin;
\.


--
-- Data for Name: mdl_forum_queue; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_forum_queue (id, userid, discussionid, postid, timemodified) FROM stdin;
\.


--
-- Data for Name: mdl_forum_read; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_forum_read (id, userid, forumid, discussionid, postid, firstread, lastread) FROM stdin;
\.


--
-- Data for Name: mdl_forum_subscriptions; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_forum_subscriptions (id, userid, forum) FROM stdin;
\.


--
-- Data for Name: mdl_forum_track_prefs; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_forum_track_prefs (id, userid, forumid) FROM stdin;
\.


--
-- Data for Name: mdl_glossary; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_glossary (id, course, name, intro, introformat, allowduplicatedentries, displayformat, mainglossary, showspecial, showalphabet, showall, allowcomments, allowprintview, usedynalink, defaultapproval, approvaldisplayformat, globalglossary, entbypage, editalways, rsstype, rssarticles, assessed, assesstimestart, assesstimefinish, scale, timecreated, timemodified, completionentries) FROM stdin;
\.


--
-- Data for Name: mdl_glossary_alias; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_glossary_alias (id, entryid, alias) FROM stdin;
\.


--
-- Data for Name: mdl_glossary_categories; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_glossary_categories (id, glossaryid, name, usedynalink) FROM stdin;
\.


--
-- Data for Name: mdl_glossary_entries; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_glossary_entries (id, glossaryid, userid, concept, definition, definitionformat, definitiontrust, attachment, timecreated, timemodified, teacherentry, sourceglossaryid, usedynalink, casesensitive, fullmatch, approved) FROM stdin;
\.


--
-- Data for Name: mdl_glossary_entries_categories; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_glossary_entries_categories (id, categoryid, entryid) FROM stdin;
\.


--
-- Data for Name: mdl_glossary_formats; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_glossary_formats (id, name, popupformatname, visible, showgroup, showtabs, defaultmode, defaulthook, sortkey, sortorder) FROM stdin;
1	continuous	continuous	1	1	standard,category,date				
2	dictionary	dictionary	1	1	standard				
3	encyclopedia	encyclopedia	1	1	standard,category,date,author				
4	entrylist	entrylist	1	1	standard,category,date,author				
5	faq	faq	1	1	standard,category,date,author				
6	fullwithauthor	fullwithauthor	1	1	standard,category,date,author				
7	fullwithoutauthor	fullwithoutauthor	1	1	standard,category,date				
\.


--
-- Data for Name: mdl_grade_categories; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_grade_categories (id, courseid, parent, depth, path, fullname, aggregation, keephigh, droplow, aggregateonlygraded, aggregateoutcomes, timecreated, timemodified, hidden) FROM stdin;
\.


--
-- Data for Name: mdl_grade_categories_history; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_grade_categories_history (id, action, oldid, source, timemodified, loggeduser, courseid, parent, depth, path, fullname, aggregation, keephigh, droplow, aggregateonlygraded, aggregateoutcomes, aggregatesubcats, hidden) FROM stdin;
\.


--
-- Data for Name: mdl_grade_grades; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_grade_grades (id, itemid, userid, rawgrade, rawgrademax, rawgrademin, rawscaleid, usermodified, finalgrade, hidden, locked, locktime, exported, overridden, excluded, feedback, feedbackformat, information, informationformat, timecreated, timemodified, aggregationstatus, aggregationweight) FROM stdin;
\.


--
-- Data for Name: mdl_grade_grades_history; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_grade_grades_history (id, action, oldid, source, timemodified, loggeduser, itemid, userid, rawgrade, rawgrademax, rawgrademin, rawscaleid, usermodified, finalgrade, hidden, locked, locktime, exported, overridden, excluded, feedback, feedbackformat, information, informationformat) FROM stdin;
\.


--
-- Data for Name: mdl_grade_import_newitem; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_grade_import_newitem (id, itemname, importcode, importer) FROM stdin;
\.


--
-- Data for Name: mdl_grade_import_values; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_grade_import_values (id, itemid, newgradeitem, userid, finalgrade, feedback, importcode, importer, importonlyfeedback) FROM stdin;
\.


--
-- Data for Name: mdl_grade_items; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_grade_items (id, courseid, categoryid, itemname, itemtype, itemmodule, iteminstance, itemnumber, iteminfo, idnumber, calculation, gradetype, grademax, grademin, scaleid, outcomeid, gradepass, multfactor, plusfactor, aggregationcoef, aggregationcoef2, sortorder, display, decimals, hidden, locked, locktime, needsupdate, weightoverride, timecreated, timemodified) FROM stdin;
\.


--
-- Data for Name: mdl_grade_items_history; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_grade_items_history (id, action, oldid, source, timemodified, loggeduser, courseid, categoryid, itemname, itemtype, itemmodule, iteminstance, itemnumber, iteminfo, idnumber, calculation, gradetype, grademax, grademin, scaleid, outcomeid, gradepass, multfactor, plusfactor, aggregationcoef, aggregationcoef2, sortorder, hidden, locked, locktime, needsupdate, display, decimals, weightoverride) FROM stdin;
\.


--
-- Data for Name: mdl_grade_letters; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_grade_letters (id, contextid, lowerboundary, letter) FROM stdin;
\.


--
-- Data for Name: mdl_grade_outcomes; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_grade_outcomes (id, courseid, shortname, fullname, scaleid, description, descriptionformat, timecreated, timemodified, usermodified) FROM stdin;
\.


--
-- Data for Name: mdl_grade_outcomes_courses; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_grade_outcomes_courses (id, courseid, outcomeid) FROM stdin;
\.


--
-- Data for Name: mdl_grade_outcomes_history; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_grade_outcomes_history (id, action, oldid, source, timemodified, loggeduser, courseid, shortname, fullname, scaleid, description, descriptionformat) FROM stdin;
\.


--
-- Data for Name: mdl_grade_settings; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_grade_settings (id, courseid, name, value) FROM stdin;
\.


--
-- Data for Name: mdl_grading_areas; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_grading_areas (id, contextid, component, areaname, activemethod) FROM stdin;
\.


--
-- Data for Name: mdl_grading_definitions; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_grading_definitions (id, areaid, method, name, description, descriptionformat, status, copiedfromid, timecreated, usercreated, timemodified, usermodified, timecopied, options) FROM stdin;
\.


--
-- Data for Name: mdl_grading_instances; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_grading_instances (id, definitionid, raterid, itemid, rawgrade, status, feedback, feedbackformat, timemodified) FROM stdin;
\.


--
-- Data for Name: mdl_gradingform_guide_comments; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_gradingform_guide_comments (id, definitionid, sortorder, description, descriptionformat) FROM stdin;
\.


--
-- Data for Name: mdl_gradingform_guide_criteria; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_gradingform_guide_criteria (id, definitionid, sortorder, shortname, description, descriptionformat, descriptionmarkers, descriptionmarkersformat, maxscore) FROM stdin;
\.


--
-- Data for Name: mdl_gradingform_guide_fillings; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_gradingform_guide_fillings (id, instanceid, criterionid, remark, remarkformat, score) FROM stdin;
\.


--
-- Data for Name: mdl_gradingform_rubric_criteria; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_gradingform_rubric_criteria (id, definitionid, sortorder, description, descriptionformat) FROM stdin;
\.


--
-- Data for Name: mdl_gradingform_rubric_fillings; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_gradingform_rubric_fillings (id, instanceid, criterionid, levelid, remark, remarkformat) FROM stdin;
\.


--
-- Data for Name: mdl_gradingform_rubric_levels; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_gradingform_rubric_levels (id, criterionid, score, definition, definitionformat) FROM stdin;
\.


--
-- Data for Name: mdl_groupings; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_groupings (id, courseid, name, idnumber, description, descriptionformat, configdata, timecreated, timemodified) FROM stdin;
\.


--
-- Data for Name: mdl_groupings_groups; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_groupings_groups (id, groupingid, groupid, timeadded) FROM stdin;
\.


--
-- Data for Name: mdl_groups; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_groups (id, courseid, idnumber, name, description, descriptionformat, enrolmentkey, picture, hidepicture, timecreated, timemodified) FROM stdin;
\.


--
-- Data for Name: mdl_groups_members; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_groups_members (id, groupid, userid, timeadded, component, itemid) FROM stdin;
\.


--
-- Data for Name: mdl_h5p; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_h5p (id, jsoncontent, mainlibraryid, displayoptions, pathnamehash, contenthash, filtered, timecreated, timemodified) FROM stdin;
\.


--
-- Data for Name: mdl_h5p_contents_libraries; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_h5p_contents_libraries (id, h5pid, libraryid, dependencytype, dropcss, weight) FROM stdin;
\.


--
-- Data for Name: mdl_h5p_libraries; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_h5p_libraries (id, machinename, title, majorversion, minorversion, patchversion, runnable, fullscreen, embedtypes, preloadedjs, preloadedcss, droplibrarycss, semantics, addto, coremajor, coreminor, metadatasettings, tutorial, example) FROM stdin;
\.


--
-- Data for Name: mdl_h5p_libraries_cachedassets; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_h5p_libraries_cachedassets (id, libraryid, hash) FROM stdin;
\.


--
-- Data for Name: mdl_h5p_library_dependencies; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_h5p_library_dependencies (id, libraryid, requiredlibraryid, dependencytype) FROM stdin;
\.


--
-- Data for Name: mdl_h5pactivity; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_h5pactivity (id, course, name, timecreated, timemodified, intro, introformat, grade, displayoptions, enabletracking, grademethod, reviewmode) FROM stdin;
\.


--
-- Data for Name: mdl_h5pactivity_attempts; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_h5pactivity_attempts (id, h5pactivityid, userid, timecreated, timemodified, attempt, rawscore, maxscore, scaled, duration, completion, success) FROM stdin;
\.


--
-- Data for Name: mdl_h5pactivity_attempts_results; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_h5pactivity_attempts_results (id, attemptid, subcontent, timecreated, interactiontype, description, correctpattern, response, additionals, rawscore, maxscore, duration, completion, success) FROM stdin;
\.


--
-- Data for Name: mdl_imscp; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_imscp (id, course, name, intro, introformat, revision, keepold, structure, timemodified) FROM stdin;
\.


--
-- Data for Name: mdl_infected_files; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_infected_files (id, filename, quarantinedfile, userid, reason, timecreated) FROM stdin;
\.


--
-- Data for Name: mdl_jitsi; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_jitsi (id, course, name, intro, introformat, timecreated, timemodified, timeopen, minpretime) FROM stdin;
\.


--
-- Data for Name: mdl_label; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_label (id, course, name, intro, introformat, timemodified) FROM stdin;
\.


--
-- Data for Name: mdl_lesson; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_lesson (id, course, name, intro, introformat, practice, modattempts, usepassword, password, dependency, conditions, grade, custom, ongoing, usemaxgrade, maxanswers, maxattempts, review, nextpagedefault, feedback, minquestions, maxpages, timelimit, retake, activitylink, mediafile, mediaheight, mediawidth, mediaclose, slideshow, width, height, bgcolor, displayleft, displayleftif, progressbar, available, deadline, timemodified, completionendreached, completiontimespent, allowofflineattempts) FROM stdin;
\.


--
-- Data for Name: mdl_lesson_answers; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_lesson_answers (id, lessonid, pageid, jumpto, grade, score, flags, timecreated, timemodified, answer, answerformat, response, responseformat) FROM stdin;
\.


--
-- Data for Name: mdl_lesson_attempts; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_lesson_attempts (id, lessonid, pageid, userid, answerid, retry, correct, useranswer, timeseen) FROM stdin;
\.


--
-- Data for Name: mdl_lesson_branch; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_lesson_branch (id, lessonid, userid, pageid, retry, flag, timeseen, nextpageid) FROM stdin;
\.


--
-- Data for Name: mdl_lesson_grades; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_lesson_grades (id, lessonid, userid, grade, late, completed) FROM stdin;
\.


--
-- Data for Name: mdl_lesson_overrides; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_lesson_overrides (id, lessonid, groupid, userid, available, deadline, timelimit, review, maxattempts, retake, password) FROM stdin;
\.


--
-- Data for Name: mdl_lesson_pages; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_lesson_pages (id, lessonid, prevpageid, nextpageid, qtype, qoption, layout, display, timecreated, timemodified, title, contents, contentsformat) FROM stdin;
\.


--
-- Data for Name: mdl_lesson_timer; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_lesson_timer (id, lessonid, userid, starttime, lessontime, completed, timemodifiedoffline) FROM stdin;
\.


--
-- Data for Name: mdl_license; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_license (id, shortname, fullname, source, enabled, version, custom, sortorder) FROM stdin;
1	unknown	Licence not specified		1	2010033100	0	1
2	allrightsreserved	All rights reserved	https://en.wikipedia.org/wiki/All_rights_reserved	1	2010033100	0	2
3	public	Public domain	https://en.wikipedia.org/wiki/Public_domain	1	2010033100	0	3
4	cc	Creative Commons	https://creativecommons.org/licenses/by/3.0/	1	2010033100	0	4
5	cc-nd	Creative Commons - NoDerivs	https://creativecommons.org/licenses/by-nd/3.0/	1	2010033100	0	5
6	cc-nc-nd	Creative Commons - No Commercial NoDerivs	https://creativecommons.org/licenses/by-nc-nd/3.0/	1	2010033100	0	6
7	cc-nc	Creative Commons - No Commercial	https://creativecommons.org/licenses/by-nc/3.0/	1	2010033100	0	7
8	cc-nc-sa	Creative Commons - No Commercial ShareAlike	https://creativecommons.org/licenses/by-nc-sa/3.0/	1	2010033100	0	8
9	cc-sa	Creative Commons - ShareAlike	https://creativecommons.org/licenses/by-sa/3.0/	1	2010033100	0	9
\.


--
-- Data for Name: mdl_lock_db; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_lock_db (id, resourcekey, expires, owner) FROM stdin;
\.


--
-- Data for Name: mdl_log; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_log (id, "time", userid, ip, course, module, cmid, action, url, info) FROM stdin;
\.


--
-- Data for Name: mdl_log_display; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_log_display (id, module, action, mtable, field, component) FROM stdin;
1	course	user report	user	 '' || firstname || ' ' || lastname 	moodle
2	course	view	course	fullname	moodle
3	course	view section	course_sections	name	moodle
4	course	update	course	fullname	moodle
5	course	hide	course	fullname	moodle
6	course	show	course	fullname	moodle
7	course	move	course	fullname	moodle
8	course	enrol	course	fullname	moodle
9	course	unenrol	course	fullname	moodle
10	course	report log	course	fullname	moodle
11	course	report live	course	fullname	moodle
12	course	report outline	course	fullname	moodle
13	course	report participation	course	fullname	moodle
14	course	report stats	course	fullname	moodle
15	category	add	course_categories	name	moodle
16	category	hide	course_categories	name	moodle
17	category	move	course_categories	name	moodle
18	category	show	course_categories	name	moodle
19	category	update	course_categories	name	moodle
20	message	write	user	 '' || firstname || ' ' || lastname 	moodle
21	message	read	user	 '' || firstname || ' ' || lastname 	moodle
22	message	add contact	user	 '' || firstname || ' ' || lastname 	moodle
23	message	remove contact	user	 '' || firstname || ' ' || lastname 	moodle
24	message	block contact	user	 '' || firstname || ' ' || lastname 	moodle
25	message	unblock contact	user	 '' || firstname || ' ' || lastname 	moodle
26	group	view	groups	name	moodle
27	tag	update	tag	name	moodle
28	tag	flag	tag	name	moodle
29	user	view	user	 '' || firstname || ' ' || lastname 	moodle
30	assign	add	assign	name	mod_assign
31	assign	delete mod	assign	name	mod_assign
32	assign	download all submissions	assign	name	mod_assign
33	assign	grade submission	assign	name	mod_assign
34	assign	lock submission	assign	name	mod_assign
35	assign	reveal identities	assign	name	mod_assign
36	assign	revert submission to draft	assign	name	mod_assign
37	assign	set marking workflow state	assign	name	mod_assign
38	assign	submission statement accepted	assign	name	mod_assign
39	assign	submit	assign	name	mod_assign
40	assign	submit for grading	assign	name	mod_assign
41	assign	unlock submission	assign	name	mod_assign
42	assign	update	assign	name	mod_assign
43	assign	upload	assign	name	mod_assign
44	assign	view	assign	name	mod_assign
45	assign	view all	course	fullname	mod_assign
46	assign	view confirm submit assignment form	assign	name	mod_assign
47	assign	view grading form	assign	name	mod_assign
48	assign	view submission	assign	name	mod_assign
49	assign	view submission grading table	assign	name	mod_assign
50	assign	view submit assignment form	assign	name	mod_assign
51	assign	view feedback	assign	name	mod_assign
52	assign	view batch set marking workflow state	assign	name	mod_assign
53	assignment	view	assignment	name	mod_assignment
54	assignment	add	assignment	name	mod_assignment
55	assignment	update	assignment	name	mod_assignment
56	assignment	view submission	assignment	name	mod_assignment
57	assignment	upload	assignment	name	mod_assignment
58	bigbluebuttonbn	add	bigbluebuttonbn	name	mod_bigbluebuttonbn
59	bigbluebuttonbn	update	bigbluebuttonbn	name	mod_bigbluebuttonbn
60	bigbluebuttonbn	view	bigbluebuttonbn	name	mod_bigbluebuttonbn
61	bigbluebuttonbn	view all	bigbluebuttonbn	name	mod_bigbluebuttonbn
62	bigbluebuttonbn	create	bigbluebuttonbn	name	mod_bigbluebuttonbn
63	bigbluebuttonbn	end	bigbluebuttonbn	name	mod_bigbluebuttonbn
64	bigbluebuttonbn	join	bigbluebuttonbn	name	mod_bigbluebuttonbn
65	bigbluebuttonbn	left	bigbluebuttonbn	name	mod_bigbluebuttonbn
66	bigbluebuttonbn	publish	bigbluebuttonbn	name	mod_bigbluebuttonbn
67	bigbluebuttonbn	unpublish	bigbluebuttonbn	name	mod_bigbluebuttonbn
68	bigbluebuttonbn	delete	bigbluebuttonbn	name	mod_bigbluebuttonbn
69	book	add	book	name	mod_book
70	book	update	book	name	mod_book
71	book	view	book	name	mod_book
72	book	add chapter	book_chapters	title	mod_book
73	book	update chapter	book_chapters	title	mod_book
74	book	view chapter	book_chapters	title	mod_book
75	chat	view	chat	name	mod_chat
76	chat	add	chat	name	mod_chat
77	chat	update	chat	name	mod_chat
78	chat	report	chat	name	mod_chat
79	chat	talk	chat	name	mod_chat
80	choice	view	choice	name	mod_choice
81	choice	update	choice	name	mod_choice
82	choice	add	choice	name	mod_choice
83	choice	report	choice	name	mod_choice
84	choice	choose	choice	name	mod_choice
85	choice	choose again	choice	name	mod_choice
86	data	view	data	name	mod_data
87	data	add	data	name	mod_data
88	data	update	data	name	mod_data
89	data	record delete	data	name	mod_data
90	data	fields add	data_fields	name	mod_data
91	data	fields update	data_fields	name	mod_data
92	data	templates saved	data	name	mod_data
93	data	templates def	data	name	mod_data
94	feedback	startcomplete	feedback	name	mod_feedback
95	feedback	submit	feedback	name	mod_feedback
96	feedback	delete	feedback	name	mod_feedback
97	feedback	view	feedback	name	mod_feedback
98	feedback	view all	course	shortname	mod_feedback
99	folder	view	folder	name	mod_folder
100	folder	view all	folder	name	mod_folder
101	folder	update	folder	name	mod_folder
102	folder	add	folder	name	mod_folder
103	forum	add	forum	name	mod_forum
104	forum	update	forum	name	mod_forum
105	forum	add discussion	forum_discussions	name	mod_forum
106	forum	add post	forum_posts	subject	mod_forum
107	forum	update post	forum_posts	subject	mod_forum
108	forum	user report	user	 '' || firstname || ' ' || lastname 	mod_forum
109	forum	move discussion	forum_discussions	name	mod_forum
110	forum	view subscribers	forum	name	mod_forum
111	forum	view discussion	forum_discussions	name	mod_forum
112	forum	view forum	forum	name	mod_forum
113	forum	subscribe	forum	name	mod_forum
114	forum	unsubscribe	forum	name	mod_forum
115	forum	pin discussion	forum_discussions	name	mod_forum
116	forum	unpin discussion	forum_discussions	name	mod_forum
117	glossary	add	glossary	name	mod_glossary
118	glossary	update	glossary	name	mod_glossary
119	glossary	view	glossary	name	mod_glossary
120	glossary	view all	glossary	name	mod_glossary
121	glossary	add entry	glossary	name	mod_glossary
122	glossary	update entry	glossary	name	mod_glossary
123	glossary	add category	glossary	name	mod_glossary
124	glossary	update category	glossary	name	mod_glossary
125	glossary	delete category	glossary	name	mod_glossary
126	glossary	approve entry	glossary	name	mod_glossary
127	glossary	disapprove entry	glossary	name	mod_glossary
128	glossary	view entry	glossary_entries	concept	mod_glossary
129	imscp	view	imscp	name	mod_imscp
130	imscp	view all	imscp	name	mod_imscp
131	imscp	update	imscp	name	mod_imscp
132	imscp	add	imscp	name	mod_imscp
133	label	add	label	name	mod_label
134	label	update	label	name	mod_label
135	lesson	start	lesson	name	mod_lesson
136	lesson	end	lesson	name	mod_lesson
137	lesson	view	lesson_pages	title	mod_lesson
138	lti	view	lti	name	mod_lti
139	lti	launch	lti	name	mod_lti
140	lti	view all	lti	name	mod_lti
141	page	view	page	name	mod_page
142	page	view all	page	name	mod_page
143	page	update	page	name	mod_page
144	page	add	page	name	mod_page
145	quiz	add	quiz	name	mod_quiz
146	quiz	update	quiz	name	mod_quiz
147	quiz	view	quiz	name	mod_quiz
148	quiz	report	quiz	name	mod_quiz
149	quiz	attempt	quiz	name	mod_quiz
150	quiz	submit	quiz	name	mod_quiz
151	quiz	review	quiz	name	mod_quiz
152	quiz	editquestions	quiz	name	mod_quiz
153	quiz	preview	quiz	name	mod_quiz
154	quiz	start attempt	quiz	name	mod_quiz
155	quiz	close attempt	quiz	name	mod_quiz
156	quiz	continue attempt	quiz	name	mod_quiz
157	quiz	edit override	quiz	name	mod_quiz
158	quiz	delete override	quiz	name	mod_quiz
159	quiz	view summary	quiz	name	mod_quiz
160	resource	view	resource	name	mod_resource
161	resource	view all	resource	name	mod_resource
162	resource	update	resource	name	mod_resource
163	resource	add	resource	name	mod_resource
164	scorm	view	scorm	name	mod_scorm
165	scorm	review	scorm	name	mod_scorm
166	scorm	update	scorm	name	mod_scorm
167	scorm	add	scorm	name	mod_scorm
168	survey	add	survey	name	mod_survey
169	survey	update	survey	name	mod_survey
170	survey	download	survey	name	mod_survey
171	survey	view form	survey	name	mod_survey
172	survey	view graph	survey	name	mod_survey
173	survey	view report	survey	name	mod_survey
174	survey	submit	survey	name	mod_survey
175	url	view	url	name	mod_url
176	url	view all	url	name	mod_url
177	url	update	url	name	mod_url
178	url	add	url	name	mod_url
179	workshop	add	workshop	name	mod_workshop
180	workshop	update	workshop	name	mod_workshop
181	workshop	view	workshop	name	mod_workshop
182	workshop	view all	workshop	name	mod_workshop
183	workshop	add submission	workshop_submissions	title	mod_workshop
184	workshop	update submission	workshop_submissions	title	mod_workshop
185	workshop	view submission	workshop_submissions	title	mod_workshop
186	workshop	add assessment	workshop_submissions	title	mod_workshop
187	workshop	update assessment	workshop_submissions	title	mod_workshop
188	workshop	add example	workshop_submissions	title	mod_workshop
189	workshop	update example	workshop_submissions	title	mod_workshop
190	workshop	view example	workshop_submissions	title	mod_workshop
191	workshop	add reference assessment	workshop_submissions	title	mod_workshop
192	workshop	update reference assessment	workshop_submissions	title	mod_workshop
193	workshop	add example assessment	workshop_submissions	title	mod_workshop
194	workshop	update example assessment	workshop_submissions	title	mod_workshop
195	workshop	update aggregate grades	workshop	name	mod_workshop
196	workshop	update clear aggregated grades	workshop	name	mod_workshop
197	workshop	update clear assessments	workshop	name	mod_workshop
198	book	exportimscp	book	name	booktool_exportimscp
199	book	print	book	name	booktool_print
200	book	print chapter	book_chapters	title	booktool_print
\.


--
-- Data for Name: mdl_log_queries; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_log_queries (id, qtype, sqltext, sqlparams, error, info, backtrace, exectime, timelogged) FROM stdin;
\.


--
-- Data for Name: mdl_logstore_standard_log; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_logstore_standard_log (id, eventname, component, action, target, objecttable, objectid, crud, edulevel, contextid, contextlevel, contextinstanceid, userid, courseid, relateduserid, anonymous, other, timecreated, origin, ip, realuserid) FROM stdin;
1	\\core\\event\\config_log_created	core	created	config_log	config_log	1819	c	0	1	10	0	0	0	\N	0	{"name":"pathtophp","oldvalue":"","value":"\\/usr\\/bin\\/php","plugin":null}	1617856761	cli	\N	\N
2	\\core\\event\\config_log_created	core	created	config_log	config_log	1820	c	0	1	10	0	0	0	\N	0	{"name":"pathtodu","oldvalue":"","value":"\\/usr\\/bin\\/du","plugin":null}	1617856761	cli	\N	\N
3	\\core\\event\\config_log_created	core	created	config_log	config_log	1821	c	0	1	10	0	0	0	\N	0	{"name":"enableblogs","oldvalue":"1","value":"0","plugin":null}	1617856762	cli	\N	\N
4	\\core\\event\\config_log_created	core	created	config_log	config_log	1822	c	0	1	10	0	0	0	\N	0	{"name":"smtphosts","oldvalue":"","value":"smtp.mymailserver.com:587","plugin":null}	1617856762	cli	\N	\N
5	\\core\\event\\config_log_created	core	created	config_log	config_log	1823	c	0	1	10	0	0	0	\N	0	{"name":"smtpuser","oldvalue":"","value":"your_email@mymailserver.com","plugin":null}	1617856762	cli	\N	\N
6	\\core\\event\\config_log_created	core	created	config_log	config_log	1824	c	0	1	10	0	0	0	\N	0	{"name":"smtppass","oldvalue":"","value":"SuperSecret","plugin":null}	1617856762	cli	\N	\N
7	\\core\\event\\config_log_created	core	created	config_log	config_log	1825	c	0	1	10	0	0	0	\N	0	{"name":"smtpsecure","oldvalue":"","value":"tls","plugin":null}	1617856762	cli	\N	\N
8	\\core\\event\\config_log_created	core	created	config_log	config_log	1826	c	0	1	10	0	0	0	\N	0	{"name":"noreplyaddress","oldvalue":"noreply@moodle.DDOOMMAAIINN","value":"noreply@mymailserver.com","plugin":null}	1617856762	cli	\N	\N
9	\\core\\event\\config_log_created	core	created	config_log	config_log	1827	c	0	1	10	0	0	0	\N	0	{"name":"emailsubjectprefix","oldvalue":"","value":"[moodle]","plugin":null}	1617856762	cli	\N	\N
\.


--
-- Data for Name: mdl_lti; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_lti (id, course, name, intro, introformat, timecreated, timemodified, typeid, toolurl, securetoolurl, instructorchoicesendname, instructorchoicesendemailaddr, instructorchoiceallowroster, instructorchoiceallowsetting, instructorcustomparameters, instructorchoiceacceptgrades, grade, launchcontainer, resourcekey, password, debuglaunch, showtitlelaunch, showdescriptionlaunch, servicesalt, icon, secureicon) FROM stdin;
\.


--
-- Data for Name: mdl_lti_access_tokens; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_lti_access_tokens (id, typeid, scope, token, validuntil, timecreated, lastaccess) FROM stdin;
\.


--
-- Data for Name: mdl_lti_submission; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_lti_submission (id, ltiid, userid, datesubmitted, dateupdated, gradepercent, originalgrade, launchid, state) FROM stdin;
\.


--
-- Data for Name: mdl_lti_tool_proxies; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_lti_tool_proxies (id, name, regurl, state, guid, secret, vendorcode, capabilityoffered, serviceoffered, toolproxy, createdby, timecreated, timemodified) FROM stdin;
\.


--
-- Data for Name: mdl_lti_tool_settings; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_lti_tool_settings (id, toolproxyid, typeid, course, coursemoduleid, settings, timecreated, timemodified) FROM stdin;
\.


--
-- Data for Name: mdl_lti_types; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_lti_types (id, name, baseurl, tooldomain, state, course, coursevisible, ltiversion, clientid, toolproxyid, enabledcapability, parameter, icon, secureicon, createdby, timecreated, timemodified, description) FROM stdin;
\.


--
-- Data for Name: mdl_lti_types_config; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_lti_types_config (id, typeid, name, value) FROM stdin;
\.


--
-- Data for Name: mdl_ltiservice_gradebookservices; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_ltiservice_gradebookservices (id, gradeitemid, courseid, toolproxyid, typeid, baseurl, ltilinkid, resourceid, tag) FROM stdin;
\.


--
-- Data for Name: mdl_message; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_message (id, useridfrom, useridto, subject, fullmessage, fullmessageformat, fullmessagehtml, smallmessage, notification, contexturl, contexturlname, timecreated, timeuserfromdeleted, timeusertodeleted, component, eventtype, customdata) FROM stdin;
\.


--
-- Data for Name: mdl_message_airnotifier_devices; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_message_airnotifier_devices (id, userdeviceid, enable) FROM stdin;
\.


--
-- Data for Name: mdl_message_contact_requests; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_message_contact_requests (id, userid, requesteduserid, timecreated) FROM stdin;
\.


--
-- Data for Name: mdl_message_contacts; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_message_contacts (id, userid, contactid, timecreated) FROM stdin;
\.


--
-- Data for Name: mdl_message_conversation_actions; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_message_conversation_actions (id, userid, conversationid, action, timecreated) FROM stdin;
\.


--
-- Data for Name: mdl_message_conversation_members; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_message_conversation_members (id, conversationid, userid, timecreated) FROM stdin;
\.


--
-- Data for Name: mdl_message_conversations; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_message_conversations (id, type, name, convhash, component, itemtype, itemid, contextid, enabled, timecreated, timemodified) FROM stdin;
\.


--
-- Data for Name: mdl_message_email_messages; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_message_email_messages (id, useridto, conversationid, messageid) FROM stdin;
\.


--
-- Data for Name: mdl_message_popup; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_message_popup (id, messageid, isread) FROM stdin;
\.


--
-- Data for Name: mdl_message_popup_notifications; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_message_popup_notifications (id, notificationid) FROM stdin;
\.


--
-- Data for Name: mdl_message_processors; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_message_processors (id, name, enabled) FROM stdin;
1	airnotifier	1
2	email	1
3	jabber	1
4	popup	1
\.


--
-- Data for Name: mdl_message_providers; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_message_providers (id, name, component, capability) FROM stdin;
1	notices	moodle	moodle/site:config
2	errors	moodle	moodle/site:config
3	availableupdate	moodle	moodle/site:config
4	instantmessage	moodle	\N
5	backup	moodle	moodle/site:config
6	courserequested	moodle	moodle/site:approvecourse
7	courserequestapproved	moodle	moodle/course:request
8	courserequestrejected	moodle	moodle/course:request
9	coursecompleted	moodle	\N
10	badgerecipientnotice	moodle	moodle/badges:earnbadge
11	badgecreatornotice	moodle	\N
12	competencyplancomment	moodle	\N
13	competencyusercompcomment	moodle	\N
14	insights	moodle	\N
15	messagecontactrequests	moodle	\N
16	asyncbackupnotification	moodle	\N
17	gradenotifications	moodle	\N
18	infected	moodle	moodle/site:config
19	assign_notification	mod_assign	\N
20	assignment_updates	mod_assignment	\N
21	submission	mod_feedback	\N
22	message	mod_feedback	\N
23	posts	mod_forum	\N
24	digests	mod_forum	\N
25	graded_essay	mod_lesson	\N
26	submission	mod_quiz	mod/quiz:emailnotifysubmission
27	confirmation	mod_quiz	mod/quiz:emailconfirmsubmission
28	attempt_overdue	mod_quiz	mod/quiz:emailwarnoverdue
29	flatfile_enrolment	enrol_flatfile	\N
30	imsenterprise_enrolment	enrol_imsenterprise	\N
31	expiry_notification	enrol_manual	\N
32	paypal_enrolment	enrol_paypal	\N
33	expiry_notification	enrol_self	\N
34	contactdataprotectionofficer	tool_dataprivacy	tool/dataprivacy:managedatarequests
35	datarequestprocessingresults	tool_dataprivacy	\N
36	notifyexceptions	tool_dataprivacy	tool/dataprivacy:managedatarequests
37	invalidrecipienthandler	tool_messageinbound	\N
38	messageprocessingerror	tool_messageinbound	\N
39	messageprocessingsuccess	tool_messageinbound	\N
40	notification	tool_monitor	tool/monitor:subscribe
\.


--
-- Data for Name: mdl_message_read; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_message_read (id, useridfrom, useridto, subject, fullmessage, fullmessageformat, fullmessagehtml, smallmessage, notification, contexturl, contexturlname, timecreated, timeread, timeuserfromdeleted, timeusertodeleted, component, eventtype) FROM stdin;
\.


--
-- Data for Name: mdl_message_user_actions; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_message_user_actions (id, userid, messageid, action, timecreated) FROM stdin;
\.


--
-- Data for Name: mdl_message_users_blocked; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_message_users_blocked (id, userid, blockeduserid, timecreated) FROM stdin;
\.


--
-- Data for Name: mdl_messageinbound_datakeys; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_messageinbound_datakeys (id, handler, datavalue, datakey, timecreated, expires) FROM stdin;
\.


--
-- Data for Name: mdl_messageinbound_handlers; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_messageinbound_handlers (id, component, classname, defaultexpiration, validateaddress, enabled) FROM stdin;
1	core	\\core\\message\\inbound\\private_files_handler	0	1	0
2	mod_forum	\\mod_forum\\message\\inbound\\reply_handler	604800	1	0
3	tool_messageinbound	\\tool_messageinbound\\message\\inbound\\invalid_recipient_handler	604800	0	1
\.


--
-- Data for Name: mdl_messageinbound_messagelist; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_messageinbound_messagelist (id, messageid, userid, address, timecreated) FROM stdin;
\.


--
-- Data for Name: mdl_messages; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_messages (id, useridfrom, conversationid, subject, fullmessage, fullmessageformat, fullmessagehtml, smallmessage, timecreated, fullmessagetrust, customdata) FROM stdin;
\.


--
-- Data for Name: mdl_mnet_application; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_mnet_application (id, name, display_name, xmlrpc_server_url, sso_land_url, sso_jump_url) FROM stdin;
1	moodle	Moodle	/mnet/xmlrpc/server.php	/auth/mnet/land.php	/auth/mnet/jump.php
2	mahara	Mahara	/api/xmlrpc/server.php	/auth/xmlrpc/land.php	/auth/xmlrpc/jump.php
\.


--
-- Data for Name: mdl_mnet_host; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_mnet_host (id, deleted, wwwroot, ip_address, name, public_key, public_key_expires, transport, portno, last_connect_time, last_log_id, force_theme, theme, applicationid, sslverification) FROM stdin;
1	0	https://moodle.DDOOMMAAIINN	136.243.25.187			0	0	0	0	0	0	\N	1	0
2	0			All Hosts		0	0	0	0	0	0	\N	1	0
\.


--
-- Data for Name: mdl_mnet_host2service; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_mnet_host2service (id, hostid, serviceid, publish, subscribe) FROM stdin;
\.


--
-- Data for Name: mdl_mnet_log; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_mnet_log (id, hostid, remoteid, "time", userid, ip, course, coursename, module, cmid, action, url, info) FROM stdin;
\.


--
-- Data for Name: mdl_mnet_remote_rpc; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_mnet_remote_rpc (id, functionname, xmlrpcpath, plugintype, pluginname, enabled) FROM stdin;
1	user_authorise	auth/mnet/auth.php/user_authorise	auth	mnet	1
2	keepalive_server	auth/mnet/auth.php/keepalive_server	auth	mnet	1
3	kill_children	auth/mnet/auth.php/kill_children	auth	mnet	1
4	refresh_log	auth/mnet/auth.php/refresh_log	auth	mnet	1
5	fetch_user_image	auth/mnet/auth.php/fetch_user_image	auth	mnet	1
6	fetch_theme_info	auth/mnet/auth.php/fetch_theme_info	auth	mnet	1
7	update_enrolments	auth/mnet/auth.php/update_enrolments	auth	mnet	1
8	keepalive_client	auth/mnet/auth.php/keepalive_client	auth	mnet	1
9	kill_child	auth/mnet/auth.php/kill_child	auth	mnet	1
10	available_courses	enrol/mnet/enrol.php/available_courses	enrol	mnet	1
11	user_enrolments	enrol/mnet/enrol.php/user_enrolments	enrol	mnet	1
12	enrol_user	enrol/mnet/enrol.php/enrol_user	enrol	mnet	1
13	unenrol_user	enrol/mnet/enrol.php/unenrol_user	enrol	mnet	1
14	course_enrolments	enrol/mnet/enrol.php/course_enrolments	enrol	mnet	1
15	send_content_intent	portfolio/mahara/lib.php/send_content_intent	portfolio	mahara	1
16	send_content_ready	portfolio/mahara/lib.php/send_content_ready	portfolio	mahara	1
\.


--
-- Data for Name: mdl_mnet_remote_service2rpc; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_mnet_remote_service2rpc (id, serviceid, rpcid) FROM stdin;
1	1	1
2	1	2
3	1	3
4	1	4
5	1	5
6	1	6
7	1	7
8	2	8
9	2	9
10	3	10
11	3	11
12	3	12
13	3	13
14	3	14
15	4	15
16	4	16
\.


--
-- Data for Name: mdl_mnet_rpc; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_mnet_rpc (id, functionname, xmlrpcpath, plugintype, pluginname, enabled, help, profile, filename, classname, static) FROM stdin;
1	user_authorise	auth/mnet/auth.php/user_authorise	auth	mnet	1	Return user data for the provided token, compare with user_agent string.	a:2:{s:10:"parameters";a:2:{i:0;a:3:{s:4:"name";s:5:"token";s:4:"type";s:6:"string";s:11:"description";s:37:"The unique ID provided by remotehost.";}i:1;a:3:{s:4:"name";s:9:"useragent";s:4:"type";s:6:"string";s:11:"description";s:18:"User Agent string.";}}s:6:"return";a:2:{s:4:"type";s:5:"array";s:11:"description";s:44:"$userdata Array of user info for remote host";}}	auth.php	auth_plugin_mnet	0
2	keepalive_server	auth/mnet/auth.php/keepalive_server	auth	mnet	1	Receives an array of usernames from a remote machine and prods their\nsessions to keep them alive	a:2:{s:10:"parameters";a:1:{i:0;a:3:{s:4:"name";s:5:"array";s:4:"type";s:5:"array";s:11:"description";s:21:"An array of usernames";}}s:6:"return";a:2:{s:4:"type";s:6:"string";s:11:"description";s:28:""All ok" or an error message";}}	auth.php	auth_plugin_mnet	0
3	kill_children	auth/mnet/auth.php/kill_children	auth	mnet	1	The IdP uses this function to kill child sessions on other hosts	a:2:{s:10:"parameters";a:2:{i:0;a:3:{s:4:"name";s:8:"username";s:4:"type";s:6:"string";s:11:"description";s:28:"Username for session to kill";}i:1;a:3:{s:4:"name";s:9:"useragent";s:4:"type";s:6:"string";s:11:"description";s:35:"SHA1 hash of user agent to look for";}}s:6:"return";a:2:{s:4:"type";s:6:"string";s:11:"description";s:39:"A plaintext report of what has happened";}}	auth.php	auth_plugin_mnet	0
4	refresh_log	auth/mnet/auth.php/refresh_log	auth	mnet	1	Receives an array of log entries from an SP and adds them to the mnet_log\ntable	a:2:{s:10:"parameters";a:1:{i:0;a:3:{s:4:"name";s:5:"array";s:4:"type";s:5:"array";s:11:"description";s:21:"An array of usernames";}}s:6:"return";a:2:{s:4:"type";s:6:"string";s:11:"description";s:28:""All ok" or an error message";}}	auth.php	auth_plugin_mnet	0
5	fetch_user_image	auth/mnet/auth.php/fetch_user_image	auth	mnet	1	Returns the user's profile image info\nIf the user exists and has a profile picture, the returned array will contain keys:\nf1          - the content of the default 100x100px image\nf1_mimetype - the mimetype of the f1 file\nf2          - the content of the 35x35px variant of the image\nf2_mimetype - the mimetype of the f2 file\nThe mimetype information was added in Moodle 2.0. In Moodle 1.x, images are always jpegs.	a:2:{s:10:"parameters";a:1:{i:0;a:3:{s:4:"name";s:8:"username";s:4:"type";s:3:"int";s:11:"description";s:18:"The id of the user";}}s:6:"return";a:2:{s:4:"type";s:11:"false|array";s:11:"description";s:84:"false if user not found, empty array if no picture exists, array with data otherwise";}}	auth.php	auth_plugin_mnet	0
6	fetch_theme_info	auth/mnet/auth.php/fetch_theme_info	auth	mnet	1	Returns the theme information and logo url as strings.	a:2:{s:10:"parameters";a:0:{}s:6:"return";a:2:{s:4:"type";s:6:"string";s:11:"description";s:14:"The theme info";}}	auth.php	auth_plugin_mnet	0
7	update_enrolments	auth/mnet/auth.php/update_enrolments	auth	mnet	1	Invoke this function _on_ the IDP to update it with enrolment info local to\nthe SP right after calling user_authorise()\nNormally called by the SP after calling user_authorise()	a:2:{s:10:"parameters";a:2:{i:0;a:3:{s:4:"name";s:8:"username";s:4:"type";s:6:"string";s:11:"description";s:12:"The username";}i:1;a:3:{s:4:"name";s:7:"courses";s:4:"type";s:5:"array";s:11:"description";s:75:"Assoc array of courses following the structure of mnetservice_enrol_courses";}}s:6:"return";a:2:{s:4:"type";s:4:"bool";s:11:"description";s:0:"";}}	auth.php	auth_plugin_mnet	0
8	keepalive_client	auth/mnet/auth.php/keepalive_client	auth	mnet	1	Poll the IdP server to let it know that a user it has authenticated is still\nonline	a:2:{s:10:"parameters";a:0:{}s:6:"return";a:2:{s:4:"type";s:4:"void";s:11:"description";s:0:"";}}	auth.php	auth_plugin_mnet	0
9	kill_child	auth/mnet/auth.php/kill_child	auth	mnet	1	When the IdP requests that child sessions are terminated,\nthis function will be called on each of the child hosts. The machine that\ncalls the function (over xmlrpc) provides us with the mnethostid we need.	a:2:{s:10:"parameters";a:2:{i:0;a:3:{s:4:"name";s:8:"username";s:4:"type";s:6:"string";s:11:"description";s:28:"Username for session to kill";}i:1;a:3:{s:4:"name";s:9:"useragent";s:4:"type";s:6:"string";s:11:"description";s:35:"SHA1 hash of user agent to look for";}}s:6:"return";a:2:{s:4:"type";s:4:"bool";s:11:"description";s:15:"True on success";}}	auth.php	auth_plugin_mnet	0
10	available_courses	enrol/mnet/enrol.php/available_courses	enrol	mnet	1	Returns list of courses that we offer to the caller for remote enrolment of their users\nSince Moodle 2.0, courses are made available for MNet peers by creating an instance\nof enrol_mnet plugin for the course. Hidden courses are not returned. If there are two\ninstances - one specific for the host and one for 'All hosts', the setting of the specific\none is used. The id of the peer is kept in customint1, no other custom fields are used.	a:2:{s:10:"parameters";a:0:{}s:6:"return";a:2:{s:4:"type";s:5:"array";s:11:"description";s:0:"";}}	enrol.php	enrol_mnet_mnetservice_enrol	0
11	user_enrolments	enrol/mnet/enrol.php/user_enrolments	enrol	mnet	1	This method has never been implemented in Moodle MNet API	a:2:{s:10:"parameters";a:0:{}s:6:"return";a:2:{s:4:"type";s:5:"array";s:11:"description";s:11:"empty array";}}	enrol.php	enrol_mnet_mnetservice_enrol	0
12	enrol_user	enrol/mnet/enrol.php/enrol_user	enrol	mnet	1	Enrol remote user to our course\nIf we do not have local record for the remote user in our database,\nit gets created here.	a:2:{s:10:"parameters";a:2:{i:0;a:3:{s:4:"name";s:8:"userdata";s:4:"type";s:5:"array";s:11:"description";s:43:"user details {@see mnet_fields_to_import()}";}i:1;a:3:{s:4:"name";s:8:"courseid";s:4:"type";s:3:"int";s:11:"description";s:19:"our local course id";}}s:6:"return";a:2:{s:4:"type";s:4:"bool";s:11:"description";s:69:"true if the enrolment has been successful, throws exception otherwise";}}	enrol.php	enrol_mnet_mnetservice_enrol	0
13	unenrol_user	enrol/mnet/enrol.php/unenrol_user	enrol	mnet	1	Unenrol remote user from our course\nOnly users enrolled via enrol_mnet plugin can be unenrolled remotely. If the\nremote user is enrolled into the local course via some other enrol plugin\n(enrol_manual for example), the remote host can't touch such enrolment. Please\ndo not report this behaviour as bug, it is a feature ;-)	a:2:{s:10:"parameters";a:2:{i:0;a:3:{s:4:"name";s:8:"username";s:4:"type";s:6:"string";s:11:"description";s:18:"of the remote user";}i:1;a:3:{s:4:"name";s:8:"courseid";s:4:"type";s:3:"int";s:11:"description";s:19:"of our local course";}}s:6:"return";a:2:{s:4:"type";s:4:"bool";s:11:"description";s:71:"true if the unenrolment has been successful, throws exception otherwise";}}	enrol.php	enrol_mnet_mnetservice_enrol	0
14	course_enrolments	enrol/mnet/enrol.php/course_enrolments	enrol	mnet	1	Returns a list of users from the client server who are enrolled in our course\nSuitable instance of enrol_mnet must be created in the course. This method will not\nreturn any information about the enrolments in courses that are not available for\nremote enrolment, even if their users are enrolled into them via other plugin\n(note the difference from {@link self::user_enrolments()}).\nThis method will return enrolment information for users from hosts regardless\nthe enrolment plugin. It does not matter if the user was enrolled remotely by\ntheir admin or locally. Once the course is available for remote enrolments, we\nwill tell them everything about their users.\nIn Moodle 1.x the returned array used to be indexed by username. The side effect\nof MDL-19219 fix is that we do not need to use such index and therefore we can\nreturn all enrolment records. MNet clients 1.x will only use the last record for\nthe student, if she is enrolled via multiple plugins.	a:2:{s:10:"parameters";a:2:{i:0;a:3:{s:4:"name";s:8:"courseid";s:4:"type";s:3:"int";s:11:"description";s:16:"ID of our course";}i:1;a:3:{s:4:"name";s:5:"roles";s:4:"type";s:12:"string|array";s:11:"description";s:58:"comma separated list of role shortnames (or array of them)";}}s:6:"return";a:2:{s:4:"type";s:5:"array";s:11:"description";s:0:"";}}	enrol.php	enrol_mnet_mnetservice_enrol	0
15	fetch_file	portfolio/mahara/lib.php/fetch_file	portfolio	mahara	1	xmlrpc (mnet) function to get the file.\nreads in the file and returns it base_64 encoded\nso that it can be enrypted by mnet.	a:2:{s:10:"parameters";a:1:{i:0;a:3:{s:4:"name";s:5:"token";s:4:"type";s:6:"string";s:11:"description";s:56:"the token recieved previously during send_content_intent";}}s:6:"return";a:2:{s:4:"type";s:4:"void";s:11:"description";s:0:"";}}	lib.php	portfolio_plugin_mahara	1
\.


--
-- Data for Name: mdl_mnet_service; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_mnet_service (id, name, description, apiversion, offer) FROM stdin;
1	sso_idp		1	1
2	sso_sp		1	1
3	mnet_enrol		1	1
4	pf		1	1
\.


--
-- Data for Name: mdl_mnet_service2rpc; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_mnet_service2rpc (id, serviceid, rpcid) FROM stdin;
1	1	1
2	1	2
3	1	3
4	1	4
5	1	5
6	1	6
7	1	7
8	2	8
9	2	9
10	3	10
11	3	11
12	3	12
13	3	13
14	3	14
15	4	15
\.


--
-- Data for Name: mdl_mnet_session; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_mnet_session (id, userid, username, token, mnethostid, useragent, confirm_timeout, session_id, expires) FROM stdin;
\.


--
-- Data for Name: mdl_mnet_sso_access_control; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_mnet_sso_access_control (id, username, mnet_host_id, accessctrl) FROM stdin;
\.


--
-- Data for Name: mdl_mnetservice_enrol_courses; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_mnetservice_enrol_courses (id, hostid, remoteid, categoryid, categoryname, sortorder, fullname, shortname, idnumber, summary, summaryformat, startdate, roleid, rolename) FROM stdin;
\.


--
-- Data for Name: mdl_mnetservice_enrol_enrolments; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_mnetservice_enrol_enrolments (id, hostid, userid, remotecourseid, rolename, enroltime, enroltype) FROM stdin;
\.


--
-- Data for Name: mdl_modules; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_modules (id, name, cron, lastcron, search, visible) FROM stdin;
1	assign	0	0		1
2	assignment	60	0		0
3	bigbluebuttonbn	0	0		1
4	book	0	0		1
5	chat	0	0		1
6	choice	0	0		1
7	data	0	0		1
8	feedback	0	0		1
9	folder	0	0		1
10	forum	0	0		1
11	glossary	0	0		1
12	h5pactivity	0	0		1
13	imscp	0	0		1
14	jitsi	0	0		1
15	label	0	0		1
16	lesson	0	0		1
17	lti	0	0		1
18	page	0	0		1
19	quiz	0	0		1
20	resource	0	0		1
21	scorm	0	0		1
22	survey	0	0		1
23	url	0	0		1
24	wiki	0	0		1
25	workshop	0	0		1
\.


--
-- Data for Name: mdl_my_pages; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_my_pages (id, userid, name, private, sortorder) FROM stdin;
1	\N	__default	0	0
2	\N	__default	1	0
\.


--
-- Data for Name: mdl_notifications; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_notifications (id, useridfrom, useridto, subject, fullmessage, fullmessageformat, fullmessagehtml, smallmessage, component, eventtype, contexturl, contexturlname, timeread, timecreated, customdata) FROM stdin;
\.


--
-- Data for Name: mdl_oauth2_access_token; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_oauth2_access_token (id, timecreated, timemodified, usermodified, issuerid, token, expires, scope) FROM stdin;
\.


--
-- Data for Name: mdl_oauth2_endpoint; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_oauth2_endpoint (id, timecreated, timemodified, usermodified, name, url, issuerid) FROM stdin;
\.


--
-- Data for Name: mdl_oauth2_issuer; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_oauth2_issuer (id, timecreated, timemodified, usermodified, name, image, baseurl, clientid, clientsecret, loginscopes, loginscopesoffline, loginparams, loginparamsoffline, alloweddomains, scopessupported, enabled, showonloginpage, basicauth, sortorder, requireconfirmation) FROM stdin;
\.


--
-- Data for Name: mdl_oauth2_refresh_token; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_oauth2_refresh_token (id, timecreated, timemodified, userid, issuerid, token, scopehash) FROM stdin;
\.


--
-- Data for Name: mdl_oauth2_system_account; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_oauth2_system_account (id, timecreated, timemodified, usermodified, issuerid, refreshtoken, grantedscopes, email, username) FROM stdin;
\.


--
-- Data for Name: mdl_oauth2_user_field_mapping; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_oauth2_user_field_mapping (id, timemodified, timecreated, usermodified, issuerid, externalfield, internalfield) FROM stdin;
\.


--
-- Data for Name: mdl_page; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_page (id, course, name, intro, introformat, content, contentformat, legacyfiles, legacyfileslast, display, displayoptions, revision, timemodified) FROM stdin;
\.


--
-- Data for Name: mdl_paygw_paypal; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_paygw_paypal (id, paymentid, pp_orderid) FROM stdin;
\.


--
-- Data for Name: mdl_payment_accounts; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_payment_accounts (id, name, idnumber, contextid, enabled, archived, timecreated, timemodified) FROM stdin;
\.


--
-- Data for Name: mdl_payment_gateways; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_payment_gateways (id, accountid, gateway, enabled, config, timecreated, timemodified) FROM stdin;
\.


--
-- Data for Name: mdl_payments; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_payments (id, component, paymentarea, itemid, userid, amount, currency, accountid, gateway, timecreated, timemodified) FROM stdin;
\.


--
-- Data for Name: mdl_portfolio_instance; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_portfolio_instance (id, plugin, name, visible) FROM stdin;
\.


--
-- Data for Name: mdl_portfolio_instance_config; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_portfolio_instance_config (id, instance, name, value) FROM stdin;
\.


--
-- Data for Name: mdl_portfolio_instance_user; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_portfolio_instance_user (id, instance, userid, name, value) FROM stdin;
\.


--
-- Data for Name: mdl_portfolio_log; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_portfolio_log (id, userid, "time", portfolio, caller_class, caller_file, caller_component, caller_sha1, tempdataid, returnurl, continueurl) FROM stdin;
\.


--
-- Data for Name: mdl_portfolio_mahara_queue; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_portfolio_mahara_queue (id, transferid, token) FROM stdin;
\.


--
-- Data for Name: mdl_portfolio_tempdata; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_portfolio_tempdata (id, data, expirytime, userid, instance, queued) FROM stdin;
\.


--
-- Data for Name: mdl_post; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_post (id, module, userid, courseid, groupid, moduleid, coursemoduleid, subject, summary, content, uniquehash, rating, format, summaryformat, attachment, publishstate, lastmodified, created, usermodified) FROM stdin;
\.


--
-- Data for Name: mdl_profiling; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_profiling (id, runid, url, data, totalexecutiontime, totalcputime, totalcalls, totalmemory, runreference, runcomment, timecreated) FROM stdin;
\.


--
-- Data for Name: mdl_qtype_ddimageortext; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_qtype_ddimageortext (id, questionid, shuffleanswers, correctfeedback, correctfeedbackformat, partiallycorrectfeedback, partiallycorrectfeedbackformat, incorrectfeedback, incorrectfeedbackformat, shownumcorrect) FROM stdin;
\.


--
-- Data for Name: mdl_qtype_ddimageortext_drags; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_qtype_ddimageortext_drags (id, questionid, no, draggroup, infinite, label) FROM stdin;
\.


--
-- Data for Name: mdl_qtype_ddimageortext_drops; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_qtype_ddimageortext_drops (id, questionid, no, xleft, ytop, choice, label) FROM stdin;
\.


--
-- Data for Name: mdl_qtype_ddmarker; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_qtype_ddmarker (id, questionid, shuffleanswers, correctfeedback, correctfeedbackformat, partiallycorrectfeedback, partiallycorrectfeedbackformat, incorrectfeedback, incorrectfeedbackformat, shownumcorrect, showmisplaced) FROM stdin;
\.


--
-- Data for Name: mdl_qtype_ddmarker_drags; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_qtype_ddmarker_drags (id, questionid, no, label, infinite, noofdrags) FROM stdin;
\.


--
-- Data for Name: mdl_qtype_ddmarker_drops; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_qtype_ddmarker_drops (id, questionid, no, shape, coords, choice) FROM stdin;
\.


--
-- Data for Name: mdl_qtype_essay_options; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_qtype_essay_options (id, questionid, responseformat, responserequired, responsefieldlines, attachments, attachmentsrequired, graderinfo, graderinfoformat, responsetemplate, responsetemplateformat, maxbytes, filetypeslist) FROM stdin;
\.


--
-- Data for Name: mdl_qtype_match_options; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_qtype_match_options (id, questionid, shuffleanswers, correctfeedback, correctfeedbackformat, partiallycorrectfeedback, partiallycorrectfeedbackformat, incorrectfeedback, incorrectfeedbackformat, shownumcorrect) FROM stdin;
\.


--
-- Data for Name: mdl_qtype_match_subquestions; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_qtype_match_subquestions (id, questionid, questiontext, questiontextformat, answertext) FROM stdin;
\.


--
-- Data for Name: mdl_qtype_multichoice_options; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_qtype_multichoice_options (id, questionid, layout, single, shuffleanswers, correctfeedback, correctfeedbackformat, partiallycorrectfeedback, partiallycorrectfeedbackformat, incorrectfeedback, incorrectfeedbackformat, answernumbering, shownumcorrect, showstandardinstruction) FROM stdin;
\.


--
-- Data for Name: mdl_qtype_randomsamatch_options; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_qtype_randomsamatch_options (id, questionid, choose, subcats, correctfeedback, correctfeedbackformat, partiallycorrectfeedback, partiallycorrectfeedbackformat, incorrectfeedback, incorrectfeedbackformat, shownumcorrect) FROM stdin;
\.


--
-- Data for Name: mdl_qtype_shortanswer_options; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_qtype_shortanswer_options (id, questionid, usecase) FROM stdin;
\.


--
-- Data for Name: mdl_question; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_question (id, category, parent, name, questiontext, questiontextformat, generalfeedback, generalfeedbackformat, defaultmark, penalty, qtype, length, stamp, version, hidden, timecreated, timemodified, createdby, modifiedby, idnumber) FROM stdin;
\.


--
-- Data for Name: mdl_question_answers; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_question_answers (id, question, answer, answerformat, fraction, feedback, feedbackformat) FROM stdin;
\.


--
-- Data for Name: mdl_question_attempt_step_data; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_question_attempt_step_data (id, attemptstepid, name, value) FROM stdin;
\.


--
-- Data for Name: mdl_question_attempt_steps; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_question_attempt_steps (id, questionattemptid, sequencenumber, state, fraction, timecreated, userid) FROM stdin;
\.


--
-- Data for Name: mdl_question_attempts; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_question_attempts (id, questionusageid, slot, behaviour, questionid, variant, maxmark, minfraction, maxfraction, flagged, questionsummary, rightanswer, responsesummary, timemodified) FROM stdin;
\.


--
-- Data for Name: mdl_question_calculated; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_question_calculated (id, question, answer, tolerance, tolerancetype, correctanswerlength, correctanswerformat) FROM stdin;
\.


--
-- Data for Name: mdl_question_calculated_options; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_question_calculated_options (id, question, synchronize, single, shuffleanswers, correctfeedback, correctfeedbackformat, partiallycorrectfeedback, partiallycorrectfeedbackformat, incorrectfeedback, incorrectfeedbackformat, answernumbering, shownumcorrect) FROM stdin;
\.


--
-- Data for Name: mdl_question_categories; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_question_categories (id, name, contextid, info, infoformat, stamp, parent, sortorder, idnumber) FROM stdin;
\.


--
-- Data for Name: mdl_question_dataset_definitions; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_question_dataset_definitions (id, category, name, type, options, itemcount) FROM stdin;
\.


--
-- Data for Name: mdl_question_dataset_items; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_question_dataset_items (id, definition, itemnumber, value) FROM stdin;
\.


--
-- Data for Name: mdl_question_datasets; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_question_datasets (id, question, datasetdefinition) FROM stdin;
\.


--
-- Data for Name: mdl_question_ddwtos; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_question_ddwtos (id, questionid, shuffleanswers, correctfeedback, correctfeedbackformat, partiallycorrectfeedback, partiallycorrectfeedbackformat, incorrectfeedback, incorrectfeedbackformat, shownumcorrect) FROM stdin;
\.


--
-- Data for Name: mdl_question_gapselect; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_question_gapselect (id, questionid, shuffleanswers, correctfeedback, correctfeedbackformat, partiallycorrectfeedback, partiallycorrectfeedbackformat, incorrectfeedback, incorrectfeedbackformat, shownumcorrect) FROM stdin;
\.


--
-- Data for Name: mdl_question_hints; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_question_hints (id, questionid, hint, hintformat, shownumcorrect, clearwrong, options) FROM stdin;
\.


--
-- Data for Name: mdl_question_multianswer; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_question_multianswer (id, question, sequence) FROM stdin;
\.


--
-- Data for Name: mdl_question_numerical; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_question_numerical (id, question, answer, tolerance) FROM stdin;
\.


--
-- Data for Name: mdl_question_numerical_options; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_question_numerical_options (id, question, showunits, unitsleft, unitgradingtype, unitpenalty) FROM stdin;
\.


--
-- Data for Name: mdl_question_numerical_units; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_question_numerical_units (id, question, multiplier, unit) FROM stdin;
\.


--
-- Data for Name: mdl_question_response_analysis; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_question_response_analysis (id, hashcode, whichtries, timemodified, questionid, variant, subqid, aid, response, credit) FROM stdin;
\.


--
-- Data for Name: mdl_question_response_count; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_question_response_count (id, analysisid, try, rcount) FROM stdin;
\.


--
-- Data for Name: mdl_question_statistics; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_question_statistics (id, hashcode, timemodified, questionid, slot, subquestion, variant, s, effectiveweight, negcovar, discriminationindex, discriminativeefficiency, sd, facility, subquestions, maxmark, positions, randomguessscore) FROM stdin;
\.


--
-- Data for Name: mdl_question_truefalse; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_question_truefalse (id, question, trueanswer, falseanswer) FROM stdin;
\.


--
-- Data for Name: mdl_question_usages; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_question_usages (id, contextid, component, preferredbehaviour) FROM stdin;
\.


--
-- Data for Name: mdl_quiz; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_quiz (id, course, name, intro, introformat, timeopen, timeclose, timelimit, overduehandling, graceperiod, preferredbehaviour, canredoquestions, attempts, attemptonlast, grademethod, decimalpoints, questiondecimalpoints, reviewattempt, reviewcorrectness, reviewmarks, reviewspecificfeedback, reviewgeneralfeedback, reviewrightanswer, reviewoverallfeedback, questionsperpage, navmethod, shuffleanswers, sumgrades, grade, timecreated, timemodified, password, subnet, browsersecurity, delay1, delay2, showuserpicture, showblocks, completionattemptsexhausted, completionpass, completionminattempts, allowofflineattempts) FROM stdin;
\.


--
-- Data for Name: mdl_quiz_attempts; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_quiz_attempts (id, quiz, userid, attempt, uniqueid, layout, currentpage, preview, state, timestart, timefinish, timemodified, timemodifiedoffline, timecheckstate, sumgrades) FROM stdin;
\.


--
-- Data for Name: mdl_quiz_feedback; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_quiz_feedback (id, quizid, feedbacktext, feedbacktextformat, mingrade, maxgrade) FROM stdin;
\.


--
-- Data for Name: mdl_quiz_grades; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_quiz_grades (id, quiz, userid, grade, timemodified) FROM stdin;
\.


--
-- Data for Name: mdl_quiz_overrides; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_quiz_overrides (id, quiz, groupid, userid, timeopen, timeclose, timelimit, attempts, password) FROM stdin;
\.


--
-- Data for Name: mdl_quiz_overview_regrades; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_quiz_overview_regrades (id, questionusageid, slot, newfraction, oldfraction, regraded, timemodified) FROM stdin;
\.


--
-- Data for Name: mdl_quiz_reports; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_quiz_reports (id, name, displayorder, capability) FROM stdin;
1	grading	6000	mod/quiz:grade
2	overview	10000	\N
3	responses	9000	\N
4	statistics	8000	quiz/statistics:view
\.


--
-- Data for Name: mdl_quiz_sections; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_quiz_sections (id, quizid, firstslot, heading, shufflequestions) FROM stdin;
\.


--
-- Data for Name: mdl_quiz_slot_tags; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_quiz_slot_tags (id, slotid, tagid, tagname) FROM stdin;
\.


--
-- Data for Name: mdl_quiz_slots; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_quiz_slots (id, slot, quizid, page, requireprevious, questionid, questioncategoryid, includingsubcategories, maxmark) FROM stdin;
\.


--
-- Data for Name: mdl_quiz_statistics; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_quiz_statistics (id, hashcode, whichattempts, timemodified, firstattemptscount, highestattemptscount, lastattemptscount, allattemptscount, firstattemptsavg, highestattemptsavg, lastattemptsavg, allattemptsavg, median, standarddeviation, skewness, kurtosis, cic, errorratio, standarderror) FROM stdin;
\.


--
-- Data for Name: mdl_quizaccess_seb_quizsettings; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_quizaccess_seb_quizsettings (id, quizid, cmid, templateid, requiresafeexambrowser, showsebtaskbar, showwificontrol, showreloadbutton, showtime, showkeyboardlayout, allowuserquitseb, quitpassword, linkquitseb, userconfirmquit, enableaudiocontrol, muteonstartup, allowspellchecking, allowreloadinexam, activateurlfiltering, filterembeddedcontent, expressionsallowed, regexallowed, expressionsblocked, regexblocked, allowedbrowserexamkeys, showsebdownloadlink, usermodified, timecreated, timemodified) FROM stdin;
\.


--
-- Data for Name: mdl_quizaccess_seb_template; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_quizaccess_seb_template (id, name, description, content, enabled, sortorder, usermodified, timecreated, timemodified) FROM stdin;
\.


--
-- Data for Name: mdl_rating; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_rating (id, contextid, component, ratingarea, itemid, scaleid, rating, userid, timecreated, timemodified) FROM stdin;
\.


--
-- Data for Name: mdl_registration_hubs; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_registration_hubs (id, token, hubname, huburl, confirmed, secret, timemodified) FROM stdin;
\.


--
-- Data for Name: mdl_repository; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_repository (id, type, visible, sortorder) FROM stdin;
1	areafiles	1	1
2	contentbank	1	2
3	local	1	3
4	recent	1	4
5	upload	1	5
6	url	1	6
7	user	1	7
8	wikimedia	1	8
\.


--
-- Data for Name: mdl_repository_instance_config; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_repository_instance_config (id, instanceid, name, value) FROM stdin;
\.


--
-- Data for Name: mdl_repository_instances; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_repository_instances (id, name, typeid, userid, contextid, username, password, timecreated, timemodified, readonly) FROM stdin;
1		1	0	1	\N	\N	1617856716	1617856716	0
2		2	0	1	\N	\N	1617856716	1617856716	0
3		3	0	1	\N	\N	1617856717	1617856717	0
4		4	0	1	\N	\N	1617856718	1617856718	0
5		5	0	1	\N	\N	1617856718	1617856718	0
6		6	0	1	\N	\N	1617856718	1617856718	0
7		7	0	1	\N	\N	1617856718	1617856718	0
8		8	0	1	\N	\N	1617856718	1617856718	0
\.


--
-- Data for Name: mdl_repository_onedrive_access; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_repository_onedrive_access (id, timemodified, timecreated, usermodified, permissionid, itemid) FROM stdin;
\.


--
-- Data for Name: mdl_resource; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_resource (id, course, name, intro, introformat, tobemigrated, legacyfiles, legacyfileslast, display, displayoptions, filterfiles, revision, timemodified) FROM stdin;
\.


--
-- Data for Name: mdl_resource_old; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_resource_old (id, course, name, type, reference, intro, introformat, alltext, popup, options, timemodified, oldid, cmid, newmodule, newid, migrated) FROM stdin;
\.


--
-- Data for Name: mdl_role; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_role (id, name, shortname, description, sortorder, archetype) FROM stdin;
1		manager		1	manager
2		coursecreator		2	coursecreator
3		editingteacher		3	editingteacher
4		teacher		4	teacher
5		student		5	student
6		guest		6	guest
7		user		7	user
8		frontpage		8	frontpage
\.


--
-- Data for Name: mdl_role_allow_assign; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_role_allow_assign (id, roleid, allowassign) FROM stdin;
1	1	1
2	1	2
3	1	3
4	1	4
5	1	5
6	3	4
7	3	5
\.


--
-- Data for Name: mdl_role_allow_override; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_role_allow_override (id, roleid, allowoverride) FROM stdin;
1	1	1
2	1	2
3	1	3
4	1	4
5	1	5
6	1	6
7	1	7
8	1	8
9	3	4
10	3	5
11	3	6
\.


--
-- Data for Name: mdl_role_allow_switch; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_role_allow_switch (id, roleid, allowswitch) FROM stdin;
1	1	3
2	1	4
3	1	5
4	1	6
5	3	4
6	3	5
7	3	6
8	4	5
9	4	6
\.


--
-- Data for Name: mdl_role_allow_view; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_role_allow_view (id, roleid, allowview) FROM stdin;
1	1	1
2	1	2
3	1	3
4	1	4
5	1	5
6	1	6
7	1	7
8	1	8
9	2	2
10	2	3
11	2	4
12	2	5
13	3	2
14	3	3
15	3	4
16	3	5
17	4	2
18	4	3
19	4	4
20	4	5
21	5	2
22	5	3
23	5	4
24	5	5
\.


--
-- Data for Name: mdl_role_assignments; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_role_assignments (id, roleid, contextid, userid, timemodified, modifierid, component, itemid, sortorder) FROM stdin;
\.


--
-- Data for Name: mdl_role_capabilities; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_role_capabilities (id, contextid, roleid, capability, permission, timemodified, modifierid) FROM stdin;
1	1	1	moodle/site:configview	1	1617856661	0
2	1	2	moodle/site:configview	1	1617856661	0
3	1	1	moodle/site:readallmessages	1	1617856662	0
4	1	3	moodle/site:readallmessages	1	1617856662	0
5	1	1	moodle/site:manageallmessaging	1	1617856662	0
6	1	1	moodle/site:deleteanymessage	1	1617856662	0
7	1	1	moodle/site:sendmessage	1	1617856662	0
8	1	7	moodle/site:sendmessage	1	1617856662	0
9	1	7	moodle/site:senderrormessage	1	1617856662	0
10	1	7	moodle/site:deleteownmessage	1	1617856662	0
11	1	1	moodle/site:approvecourse	1	1617856662	0
12	1	3	moodle/backup:backupcourse	1	1617856662	0
13	1	1	moodle/backup:backupcourse	1	1617856662	0
14	1	3	moodle/backup:backupsection	1	1617856662	0
15	1	1	moodle/backup:backupsection	1	1617856662	0
16	1	3	moodle/backup:backupactivity	1	1617856662	0
17	1	1	moodle/backup:backupactivity	1	1617856662	0
18	1	3	moodle/backup:backuptargetimport	1	1617856662	0
19	1	1	moodle/backup:backuptargetimport	1	1617856662	0
20	1	3	moodle/backup:downloadfile	1	1617856662	0
21	1	1	moodle/backup:downloadfile	1	1617856662	0
22	1	3	moodle/backup:configure	1	1617856662	0
23	1	1	moodle/backup:configure	1	1617856662	0
24	1	1	moodle/backup:userinfo	1	1617856662	0
25	1	1	moodle/backup:anonymise	1	1617856662	0
26	1	3	moodle/restore:restorecourse	1	1617856662	0
27	1	1	moodle/restore:restorecourse	1	1617856662	0
28	1	3	moodle/restore:restoresection	1	1617856662	0
29	1	1	moodle/restore:restoresection	1	1617856662	0
30	1	3	moodle/restore:restoreactivity	1	1617856662	0
31	1	1	moodle/restore:restoreactivity	1	1617856662	0
32	1	3	moodle/restore:viewautomatedfilearea	1	1617856662	0
33	1	1	moodle/restore:viewautomatedfilearea	1	1617856662	0
34	1	3	moodle/restore:restoretargetimport	1	1617856662	0
35	1	1	moodle/restore:restoretargetimport	1	1617856662	0
36	1	3	moodle/restore:uploadfile	1	1617856662	0
37	1	1	moodle/restore:uploadfile	1	1617856662	0
38	1	3	moodle/restore:configure	1	1617856662	0
39	1	1	moodle/restore:configure	1	1617856662	0
40	1	2	moodle/restore:rolldates	1	1617856662	0
41	1	1	moodle/restore:rolldates	1	1617856662	0
42	1	1	moodle/restore:userinfo	1	1617856662	0
43	1	1	moodle/restore:createuser	1	1617856662	0
44	1	3	moodle/site:manageblocks	1	1617856662	0
45	1	1	moodle/site:manageblocks	1	1617856662	0
46	1	3	moodle/site:accessallgroups	1	1617856662	0
47	1	1	moodle/site:accessallgroups	1	1617856662	0
48	1	1	moodle/site:viewanonymousevents	1	1617856662	0
49	1	4	moodle/site:viewfullnames	1	1617856662	0
50	1	3	moodle/site:viewfullnames	1	1617856662	0
51	1	1	moodle/site:viewfullnames	1	1617856662	0
52	1	4	moodle/site:viewuseridentity	1	1617856662	0
53	1	3	moodle/site:viewuseridentity	1	1617856662	0
54	1	1	moodle/site:viewuseridentity	1	1617856662	0
55	1	4	moodle/site:viewreports	1	1617856662	0
56	1	3	moodle/site:viewreports	1	1617856662	0
57	1	1	moodle/site:viewreports	1	1617856662	0
58	1	3	moodle/site:trustcontent	1	1617856662	0
59	1	1	moodle/site:trustcontent	1	1617856662	0
60	1	1	moodle/site:uploadusers	1	1617856663	0
61	1	3	moodle/filter:manage	1	1617856663	0
62	1	1	moodle/filter:manage	1	1617856663	0
63	1	1	moodle/user:create	1	1617856663	0
64	1	1	moodle/user:delete	1	1617856663	0
65	1	1	moodle/user:update	1	1617856663	0
66	1	6	moodle/user:viewdetails	1	1617856663	0
67	1	5	moodle/user:viewdetails	1	1617856663	0
68	1	4	moodle/user:viewdetails	1	1617856663	0
69	1	3	moodle/user:viewdetails	1	1617856663	0
70	1	1	moodle/user:viewdetails	1	1617856663	0
71	1	1	moodle/user:viewalldetails	1	1617856663	0
72	1	1	moodle/user:viewlastip	1	1617856663	0
73	1	4	moodle/user:viewhiddendetails	1	1617856663	0
74	1	3	moodle/user:viewhiddendetails	1	1617856663	0
75	1	1	moodle/user:viewhiddendetails	1	1617856663	0
76	1	1	moodle/user:loginas	1	1617856663	0
77	1	1	moodle/user:managesyspages	1	1617856663	0
78	1	7	moodle/user:manageownblocks	1	1617856663	0
79	1	7	moodle/user:manageownfiles	1	1617856663	0
80	1	1	moodle/my:configsyspages	1	1617856663	0
81	1	3	moodle/role:assign	1	1617856663	0
82	1	1	moodle/role:assign	1	1617856663	0
83	1	4	moodle/role:review	1	1617856663	0
84	1	3	moodle/role:review	1	1617856663	0
85	1	1	moodle/role:review	1	1617856663	0
86	1	1	moodle/role:override	1	1617856663	0
87	1	3	moodle/role:safeoverride	1	1617856663	0
88	1	1	moodle/role:manage	1	1617856663	0
89	1	3	moodle/role:switchroles	1	1617856663	0
90	1	1	moodle/role:switchroles	1	1617856663	0
91	1	1	moodle/category:manage	1	1617856663	0
92	1	6	moodle/category:viewcourselist	1	1617856663	0
93	1	7	moodle/category:viewcourselist	1	1617856663	0
94	1	2	moodle/category:viewhiddencategories	1	1617856663	0
95	1	1	moodle/category:viewhiddencategories	1	1617856663	0
96	1	1	moodle/cohort:manage	1	1617856663	0
97	1	1	moodle/cohort:assign	1	1617856663	0
98	1	3	moodle/cohort:view	1	1617856663	0
99	1	1	moodle/cohort:view	1	1617856663	0
100	1	2	moodle/course:create	1	1617856663	0
101	1	1	moodle/course:create	1	1617856663	0
102	1	3	moodle/course:creategroupconversations	1	1617856663	0
103	1	1	moodle/course:creategroupconversations	1	1617856663	0
104	1	1	moodle/course:delete	1	1617856663	0
105	1	3	moodle/course:update	1	1617856663	0
106	1	1	moodle/course:update	1	1617856663	0
107	1	1	moodle/course:view	1	1617856663	0
108	1	3	moodle/course:enrolreview	1	1617856663	0
109	1	1	moodle/course:enrolreview	1	1617856663	0
110	1	3	moodle/course:enrolconfig	1	1617856663	0
111	1	1	moodle/course:enrolconfig	1	1617856663	0
112	1	3	moodle/course:reviewotherusers	1	1617856663	0
113	1	1	moodle/course:reviewotherusers	1	1617856663	0
114	1	4	moodle/course:bulkmessaging	1	1617856664	0
115	1	3	moodle/course:bulkmessaging	1	1617856664	0
116	1	1	moodle/course:bulkmessaging	1	1617856664	0
117	1	4	moodle/course:viewhiddenuserfields	1	1617856664	0
118	1	3	moodle/course:viewhiddenuserfields	1	1617856664	0
119	1	1	moodle/course:viewhiddenuserfields	1	1617856664	0
120	1	2	moodle/course:viewhiddencourses	1	1617856664	0
121	1	4	moodle/course:viewhiddencourses	1	1617856664	0
122	1	3	moodle/course:viewhiddencourses	1	1617856664	0
123	1	1	moodle/course:viewhiddencourses	1	1617856664	0
124	1	3	moodle/course:visibility	1	1617856664	0
125	1	1	moodle/course:visibility	1	1617856664	0
126	1	3	moodle/course:managefiles	1	1617856664	0
127	1	1	moodle/course:managefiles	1	1617856664	0
128	1	1	moodle/course:ignoreavailabilityrestrictions	1	1617856664	0
129	1	2	moodle/course:ignoreavailabilityrestrictions	1	1617856664	0
130	1	3	moodle/course:ignoreavailabilityrestrictions	1	1617856664	0
131	1	4	moodle/course:ignoreavailabilityrestrictions	1	1617856664	0
132	1	3	moodle/course:manageactivities	1	1617856664	0
133	1	1	moodle/course:manageactivities	1	1617856664	0
134	1	3	moodle/course:activityvisibility	1	1617856664	0
135	1	1	moodle/course:activityvisibility	1	1617856664	0
136	1	4	moodle/course:viewhiddenactivities	1	1617856664	0
137	1	3	moodle/course:viewhiddenactivities	1	1617856664	0
138	1	1	moodle/course:viewhiddenactivities	1	1617856664	0
139	1	5	moodle/course:viewparticipants	1	1617856664	0
140	1	4	moodle/course:viewparticipants	1	1617856664	0
141	1	3	moodle/course:viewparticipants	1	1617856664	0
142	1	1	moodle/course:viewparticipants	1	1617856664	0
143	1	3	moodle/course:changefullname	1	1617856664	0
144	1	1	moodle/course:changefullname	1	1617856664	0
145	1	3	moodle/course:changeshortname	1	1617856664	0
146	1	1	moodle/course:changeshortname	1	1617856664	0
147	1	1	moodle/course:changelockedcustomfields	1	1617856664	0
148	1	3	moodle/course:renameroles	1	1617856664	0
149	1	1	moodle/course:renameroles	1	1617856664	0
150	1	3	moodle/course:changeidnumber	1	1617856664	0
151	1	1	moodle/course:changeidnumber	1	1617856664	0
152	1	3	moodle/course:changecategory	1	1617856664	0
153	1	1	moodle/course:changecategory	1	1617856664	0
154	1	3	moodle/course:changesummary	1	1617856664	0
155	1	1	moodle/course:changesummary	1	1617856664	0
156	1	3	moodle/course:setforcedlanguage	1	1617856664	0
157	1	1	moodle/course:setforcedlanguage	1	1617856664	0
158	1	1	moodle/site:viewparticipants	1	1617856664	0
159	1	5	moodle/course:isincompletionreports	1	1617856664	0
160	1	5	moodle/course:viewscales	1	1617856664	0
161	1	4	moodle/course:viewscales	1	1617856664	0
162	1	3	moodle/course:viewscales	1	1617856664	0
163	1	1	moodle/course:viewscales	1	1617856664	0
164	1	3	moodle/course:managescales	1	1617856664	0
165	1	1	moodle/course:managescales	1	1617856664	0
166	1	3	moodle/course:managegroups	1	1617856664	0
167	1	1	moodle/course:managegroups	1	1617856664	0
168	1	3	moodle/course:reset	1	1617856664	0
169	1	1	moodle/course:reset	1	1617856664	0
170	1	3	moodle/course:viewsuspendedusers	1	1617856664	0
171	1	1	moodle/course:viewsuspendedusers	1	1617856664	0
172	1	1	moodle/course:tag	1	1617856664	0
173	1	3	moodle/course:tag	1	1617856665	0
174	1	6	moodle/blog:view	1	1617856665	0
175	1	7	moodle/blog:view	1	1617856665	0
176	1	5	moodle/blog:view	1	1617856665	0
177	1	4	moodle/blog:view	1	1617856665	0
178	1	3	moodle/blog:view	1	1617856665	0
179	1	1	moodle/blog:view	1	1617856665	0
180	1	6	moodle/blog:search	1	1617856665	0
181	1	7	moodle/blog:search	1	1617856665	0
182	1	5	moodle/blog:search	1	1617856665	0
183	1	4	moodle/blog:search	1	1617856665	0
184	1	3	moodle/blog:search	1	1617856665	0
185	1	1	moodle/blog:search	1	1617856665	0
186	1	1	moodle/blog:viewdrafts	1	1617856665	0
187	1	7	moodle/blog:create	1	1617856665	0
188	1	1	moodle/blog:create	1	1617856665	0
189	1	4	moodle/blog:manageentries	1	1617856665	0
190	1	3	moodle/blog:manageentries	1	1617856665	0
191	1	1	moodle/blog:manageentries	1	1617856665	0
192	1	5	moodle/blog:manageexternal	1	1617856665	0
193	1	7	moodle/blog:manageexternal	1	1617856665	0
194	1	4	moodle/blog:manageexternal	1	1617856665	0
195	1	3	moodle/blog:manageexternal	1	1617856665	0
196	1	1	moodle/blog:manageexternal	1	1617856665	0
197	1	7	moodle/calendar:manageownentries	1	1617856665	0
198	1	1	moodle/calendar:manageownentries	1	1617856665	0
199	1	4	moodle/calendar:managegroupentries	1	1617856665	0
200	1	3	moodle/calendar:managegroupentries	1	1617856665	0
201	1	1	moodle/calendar:managegroupentries	1	1617856665	0
202	1	4	moodle/calendar:manageentries	1	1617856665	0
203	1	3	moodle/calendar:manageentries	1	1617856665	0
204	1	1	moodle/calendar:manageentries	1	1617856665	0
205	1	1	moodle/user:editprofile	1	1617856665	0
206	1	6	moodle/user:editownprofile	-1000	1617856665	0
207	1	7	moodle/user:editownprofile	1	1617856665	0
208	1	1	moodle/user:editownprofile	1	1617856665	0
209	1	6	moodle/user:changeownpassword	-1000	1617856665	0
210	1	7	moodle/user:changeownpassword	1	1617856665	0
211	1	1	moodle/user:changeownpassword	1	1617856665	0
212	1	5	moodle/user:readuserposts	1	1617856665	0
213	1	4	moodle/user:readuserposts	1	1617856665	0
214	1	3	moodle/user:readuserposts	1	1617856665	0
215	1	1	moodle/user:readuserposts	1	1617856665	0
216	1	5	moodle/user:readuserblogs	1	1617856665	0
217	1	4	moodle/user:readuserblogs	1	1617856665	0
218	1	3	moodle/user:readuserblogs	1	1617856665	0
219	1	1	moodle/user:readuserblogs	1	1617856665	0
220	1	1	moodle/user:editmessageprofile	1	1617856665	0
221	1	6	moodle/user:editownmessageprofile	-1000	1617856665	0
222	1	7	moodle/user:editownmessageprofile	1	1617856665	0
223	1	1	moodle/user:editownmessageprofile	1	1617856665	0
224	1	3	moodle/question:managecategory	1	1617856665	0
225	1	1	moodle/question:managecategory	1	1617856665	0
226	1	3	moodle/question:add	1	1617856665	0
227	1	1	moodle/question:add	1	1617856665	0
228	1	3	moodle/question:editmine	1	1617856665	0
229	1	1	moodle/question:editmine	1	1617856665	0
230	1	3	moodle/question:editall	1	1617856666	0
231	1	1	moodle/question:editall	1	1617856666	0
232	1	3	moodle/question:viewmine	1	1617856666	0
233	1	1	moodle/question:viewmine	1	1617856666	0
234	1	3	moodle/question:viewall	1	1617856666	0
235	1	1	moodle/question:viewall	1	1617856666	0
236	1	3	moodle/question:usemine	1	1617856666	0
237	1	1	moodle/question:usemine	1	1617856666	0
238	1	3	moodle/question:useall	1	1617856666	0
239	1	1	moodle/question:useall	1	1617856666	0
240	1	3	moodle/question:movemine	1	1617856666	0
241	1	1	moodle/question:movemine	1	1617856666	0
242	1	3	moodle/question:moveall	1	1617856666	0
243	1	1	moodle/question:moveall	1	1617856666	0
244	1	1	moodle/question:config	1	1617856666	0
245	1	5	moodle/question:flag	1	1617856666	0
246	1	4	moodle/question:flag	1	1617856666	0
247	1	3	moodle/question:flag	1	1617856666	0
248	1	1	moodle/question:flag	1	1617856666	0
249	1	3	moodle/question:tagmine	1	1617856666	0
250	1	1	moodle/question:tagmine	1	1617856666	0
251	1	3	moodle/question:tagall	1	1617856666	0
252	1	1	moodle/question:tagall	1	1617856666	0
253	1	4	moodle/site:doclinks	1	1617856666	0
254	1	3	moodle/site:doclinks	1	1617856666	0
255	1	1	moodle/site:doclinks	1	1617856666	0
256	1	3	moodle/course:sectionvisibility	1	1617856666	0
257	1	1	moodle/course:sectionvisibility	1	1617856666	0
258	1	3	moodle/course:useremail	1	1617856666	0
259	1	1	moodle/course:useremail	1	1617856666	0
260	1	3	moodle/course:viewhiddensections	1	1617856666	0
261	1	1	moodle/course:viewhiddensections	1	1617856666	0
262	1	3	moodle/course:setcurrentsection	1	1617856666	0
263	1	1	moodle/course:setcurrentsection	1	1617856666	0
264	1	3	moodle/course:movesections	1	1617856666	0
265	1	1	moodle/course:movesections	1	1617856666	0
266	1	4	moodle/grade:viewall	1	1617856666	0
267	1	3	moodle/grade:viewall	1	1617856666	0
268	1	1	moodle/grade:viewall	1	1617856666	0
269	1	5	moodle/grade:view	1	1617856666	0
270	1	4	moodle/grade:viewhidden	1	1617856666	0
271	1	3	moodle/grade:viewhidden	1	1617856666	0
272	1	1	moodle/grade:viewhidden	1	1617856666	0
273	1	3	moodle/grade:import	1	1617856666	0
274	1	1	moodle/grade:import	1	1617856666	0
275	1	4	moodle/grade:export	1	1617856666	0
276	1	3	moodle/grade:export	1	1617856666	0
277	1	1	moodle/grade:export	1	1617856666	0
278	1	3	moodle/grade:manage	1	1617856666	0
279	1	1	moodle/grade:manage	1	1617856666	0
280	1	3	moodle/grade:edit	1	1617856666	0
281	1	1	moodle/grade:edit	1	1617856666	0
282	1	3	moodle/grade:managegradingforms	1	1617856666	0
283	1	1	moodle/grade:managegradingforms	1	1617856666	0
284	1	1	moodle/grade:sharegradingforms	1	1617856666	0
285	1	1	moodle/grade:managesharedforms	1	1617856666	0
286	1	3	moodle/grade:manageoutcomes	1	1617856666	0
287	1	1	moodle/grade:manageoutcomes	1	1617856666	0
288	1	3	moodle/grade:manageletters	1	1617856667	0
289	1	1	moodle/grade:manageletters	1	1617856667	0
290	1	3	moodle/grade:hide	1	1617856667	0
291	1	1	moodle/grade:hide	1	1617856667	0
292	1	3	moodle/grade:lock	1	1617856667	0
293	1	1	moodle/grade:lock	1	1617856667	0
294	1	3	moodle/grade:unlock	1	1617856667	0
295	1	1	moodle/grade:unlock	1	1617856667	0
296	1	7	moodle/my:manageblocks	1	1617856667	0
297	1	4	moodle/notes:view	1	1617856667	0
298	1	3	moodle/notes:view	1	1617856667	0
299	1	1	moodle/notes:view	1	1617856667	0
300	1	4	moodle/notes:manage	1	1617856667	0
301	1	3	moodle/notes:manage	1	1617856667	0
302	1	1	moodle/notes:manage	1	1617856667	0
303	1	1	moodle/tag:manage	1	1617856667	0
304	1	1	moodle/tag:edit	1	1617856667	0
305	1	7	moodle/tag:flag	1	1617856667	0
306	1	4	moodle/tag:editblocks	1	1617856667	0
307	1	3	moodle/tag:editblocks	1	1617856667	0
308	1	1	moodle/tag:editblocks	1	1617856667	0
309	1	6	moodle/block:view	1	1617856667	0
310	1	7	moodle/block:view	1	1617856667	0
311	1	5	moodle/block:view	1	1617856667	0
312	1	4	moodle/block:view	1	1617856667	0
313	1	3	moodle/block:view	1	1617856667	0
314	1	3	moodle/block:edit	1	1617856667	0
315	1	1	moodle/block:edit	1	1617856667	0
316	1	7	moodle/portfolio:export	1	1617856667	0
317	1	5	moodle/portfolio:export	1	1617856667	0
318	1	4	moodle/portfolio:export	1	1617856667	0
319	1	3	moodle/portfolio:export	1	1617856667	0
320	1	8	moodle/comment:view	1	1617856667	0
321	1	6	moodle/comment:view	1	1617856667	0
322	1	7	moodle/comment:view	1	1617856667	0
323	1	5	moodle/comment:view	1	1617856667	0
324	1	4	moodle/comment:view	1	1617856667	0
325	1	3	moodle/comment:view	1	1617856667	0
326	1	1	moodle/comment:view	1	1617856667	0
327	1	7	moodle/comment:post	1	1617856667	0
328	1	5	moodle/comment:post	1	1617856667	0
329	1	4	moodle/comment:post	1	1617856667	0
330	1	3	moodle/comment:post	1	1617856667	0
331	1	1	moodle/comment:post	1	1617856667	0
332	1	3	moodle/comment:delete	1	1617856667	0
333	1	1	moodle/comment:delete	1	1617856667	0
334	1	1	moodle/webservice:createtoken	1	1617856667	0
335	1	7	moodle/webservice:createmobiletoken	1	1617856667	0
336	1	7	moodle/rating:view	1	1617856667	0
337	1	5	moodle/rating:view	1	1617856667	0
338	1	4	moodle/rating:view	1	1617856667	0
339	1	3	moodle/rating:view	1	1617856667	0
340	1	1	moodle/rating:view	1	1617856667	0
341	1	7	moodle/rating:viewany	1	1617856667	0
342	1	5	moodle/rating:viewany	1	1617856667	0
343	1	4	moodle/rating:viewany	1	1617856668	0
344	1	3	moodle/rating:viewany	1	1617856668	0
345	1	1	moodle/rating:viewany	1	1617856668	0
346	1	7	moodle/rating:viewall	1	1617856668	0
347	1	5	moodle/rating:viewall	1	1617856668	0
348	1	4	moodle/rating:viewall	1	1617856668	0
349	1	3	moodle/rating:viewall	1	1617856668	0
350	1	1	moodle/rating:viewall	1	1617856668	0
351	1	7	moodle/rating:rate	1	1617856668	0
352	1	5	moodle/rating:rate	1	1617856668	0
353	1	4	moodle/rating:rate	1	1617856668	0
354	1	3	moodle/rating:rate	1	1617856668	0
355	1	1	moodle/rating:rate	1	1617856668	0
356	1	4	moodle/course:markcomplete	1	1617856668	0
357	1	3	moodle/course:markcomplete	1	1617856668	0
358	1	1	moodle/course:markcomplete	1	1617856668	0
359	1	4	moodle/course:overridecompletion	1	1617856668	0
360	1	3	moodle/course:overridecompletion	1	1617856668	0
361	1	1	moodle/course:overridecompletion	1	1617856668	0
362	1	1	moodle/badges:manageglobalsettings	1	1617856668	0
363	1	7	moodle/badges:viewbadges	1	1617856668	0
364	1	7	moodle/badges:manageownbadges	1	1617856668	0
365	1	7	moodle/badges:viewotherbadges	1	1617856668	0
366	1	7	moodle/badges:earnbadge	1	1617856668	0
367	1	1	moodle/badges:createbadge	1	1617856668	0
368	1	3	moodle/badges:createbadge	1	1617856668	0
369	1	1	moodle/badges:deletebadge	1	1617856668	0
370	1	3	moodle/badges:deletebadge	1	1617856668	0
371	1	1	moodle/badges:configuredetails	1	1617856668	0
372	1	3	moodle/badges:configuredetails	1	1617856668	0
373	1	1	moodle/badges:configurecriteria	1	1617856668	0
374	1	3	moodle/badges:configurecriteria	1	1617856668	0
375	1	1	moodle/badges:configuremessages	1	1617856668	0
376	1	3	moodle/badges:configuremessages	1	1617856668	0
377	1	1	moodle/badges:awardbadge	1	1617856668	0
378	1	4	moodle/badges:awardbadge	1	1617856668	0
379	1	3	moodle/badges:awardbadge	1	1617856668	0
380	1	1	moodle/badges:revokebadge	1	1617856668	0
381	1	4	moodle/badges:revokebadge	1	1617856668	0
382	1	3	moodle/badges:revokebadge	1	1617856668	0
383	1	1	moodle/badges:viewawarded	1	1617856668	0
384	1	4	moodle/badges:viewawarded	1	1617856668	0
385	1	3	moodle/badges:viewawarded	1	1617856668	0
386	1	6	moodle/search:query	1	1617856668	0
387	1	7	moodle/search:query	1	1617856668	0
388	1	5	moodle/search:query	1	1617856668	0
389	1	4	moodle/search:query	1	1617856668	0
390	1	3	moodle/search:query	1	1617856668	0
391	1	1	moodle/search:query	1	1617856668	0
392	1	1	moodle/competency:competencymanage	1	1617856668	0
393	1	7	moodle/competency:competencyview	1	1617856668	0
394	1	3	moodle/competency:competencygrade	1	1617856668	0
395	1	4	moodle/competency:competencygrade	1	1617856668	0
396	1	1	moodle/competency:competencygrade	1	1617856668	0
397	1	3	moodle/competency:coursecompetencymanage	1	1617856668	0
398	1	1	moodle/competency:coursecompetencymanage	1	1617856668	0
399	1	1	moodle/competency:coursecompetencyconfigure	1	1617856669	0
400	1	5	moodle/competency:coursecompetencygradable	1	1617856669	0
401	1	7	moodle/competency:coursecompetencyview	1	1617856669	0
402	1	1	moodle/competency:planmanage	1	1617856669	0
403	1	1	moodle/competency:planmanagedraft	1	1617856669	0
404	1	1	moodle/competency:planview	1	1617856669	0
405	1	1	moodle/competency:planviewdraft	1	1617856669	0
406	1	7	moodle/competency:planviewown	1	1617856669	0
407	1	1	moodle/competency:planrequestreview	1	1617856669	0
408	1	7	moodle/competency:planrequestreviewown	1	1617856669	0
409	1	1	moodle/competency:planreview	1	1617856669	0
410	1	1	moodle/competency:plancomment	1	1617856669	0
411	1	7	moodle/competency:plancommentown	1	1617856669	0
412	1	1	moodle/competency:usercompetencyview	1	1617856669	0
413	1	3	moodle/competency:usercompetencyview	1	1617856669	0
414	1	4	moodle/competency:usercompetencyview	1	1617856669	0
415	1	1	moodle/competency:usercompetencyrequestreview	1	1617856669	0
416	1	7	moodle/competency:usercompetencyrequestreviewown	1	1617856669	0
417	1	1	moodle/competency:usercompetencyreview	1	1617856669	0
418	1	1	moodle/competency:usercompetencycomment	1	1617856669	0
419	1	7	moodle/competency:usercompetencycommentown	1	1617856669	0
420	1	1	moodle/competency:templatemanage	1	1617856669	0
421	1	4	moodle/analytics:listinsights	1	1617856669	0
422	1	3	moodle/analytics:listinsights	1	1617856669	0
423	1	1	moodle/analytics:listinsights	1	1617856669	0
424	1	1	moodle/analytics:managemodels	1	1617856669	0
425	1	1	moodle/competency:templateview	1	1617856669	0
426	1	1	moodle/competency:userevidencemanage	1	1617856669	0
427	1	7	moodle/competency:userevidencemanageown	1	1617856669	0
428	1	1	moodle/competency:userevidenceview	1	1617856669	0
429	1	4	moodle/site:messageanyuser	1	1617856669	0
430	1	3	moodle/site:messageanyuser	1	1617856669	0
431	1	1	moodle/site:messageanyuser	1	1617856669	0
432	1	7	moodle/course:togglecompletion	1	1617856669	0
433	1	7	moodle/analytics:listowninsights	1	1617856669	0
434	1	3	moodle/h5p:setdisplayoptions	1	1617856669	0
435	1	1	moodle/h5p:deploy	1	1617856669	0
436	1	3	moodle/h5p:deploy	1	1617856669	0
437	1	1	moodle/h5p:updatelibraries	1	1617856669	0
438	1	1	moodle/course:recommendactivity	1	1617856669	0
439	1	1	moodle/contentbank:access	1	1617856669	0
440	1	2	moodle/contentbank:access	1	1617856669	0
441	1	3	moodle/contentbank:access	1	1617856669	0
442	1	1	moodle/contentbank:upload	1	1617856669	0
443	1	2	moodle/contentbank:upload	1	1617856669	0
444	1	3	moodle/contentbank:upload	1	1617856669	0
445	1	1	moodle/contentbank:deleteanycontent	1	1617856669	0
446	1	2	moodle/contentbank:deleteanycontent	1	1617856669	0
447	1	7	moodle/contentbank:deleteowncontent	1	1617856669	0
448	1	1	moodle/contentbank:manageanycontent	1	1617856669	0
449	1	2	moodle/contentbank:manageanycontent	1	1617856669	0
450	1	1	moodle/contentbank:manageowncontent	1	1617856669	0
451	1	2	moodle/contentbank:manageowncontent	1	1617856669	0
452	1	3	moodle/contentbank:manageowncontent	1	1617856669	0
453	1	1	moodle/contentbank:useeditor	1	1617856670	0
454	1	2	moodle/contentbank:useeditor	1	1617856670	0
455	1	3	moodle/contentbank:useeditor	1	1617856670	0
456	1	1	moodle/contentbank:downloadcontent	1	1617856670	0
457	1	2	moodle/contentbank:downloadcontent	1	1617856670	0
458	1	3	moodle/contentbank:downloadcontent	1	1617856670	0
459	1	5	moodle/course:downloadcoursecontent	1	1617856670	0
460	1	4	moodle/course:downloadcoursecontent	1	1617856670	0
461	1	3	moodle/course:downloadcoursecontent	1	1617856670	0
462	1	1	moodle/course:downloadcoursecontent	1	1617856670	0
463	1	3	moodle/course:configuredownloadcontent	1	1617856670	0
464	1	1	moodle/course:configuredownloadcontent	1	1617856670	0
465	1	6	mod/assign:view	1	1617856691	0
466	1	5	mod/assign:view	1	1617856691	0
467	1	4	mod/assign:view	1	1617856691	0
468	1	3	mod/assign:view	1	1617856691	0
469	1	1	mod/assign:view	1	1617856691	0
470	1	5	mod/assign:submit	1	1617856691	0
471	1	4	mod/assign:grade	1	1617856691	0
472	1	3	mod/assign:grade	1	1617856691	0
473	1	1	mod/assign:grade	1	1617856691	0
474	1	4	mod/assign:exportownsubmission	1	1617856691	0
475	1	3	mod/assign:exportownsubmission	1	1617856691	0
476	1	1	mod/assign:exportownsubmission	1	1617856691	0
477	1	5	mod/assign:exportownsubmission	1	1617856691	0
478	1	3	mod/assign:addinstance	1	1617856691	0
479	1	1	mod/assign:addinstance	1	1617856691	0
480	1	4	mod/assign:grantextension	1	1617856691	0
481	1	3	mod/assign:grantextension	1	1617856691	0
482	1	1	mod/assign:grantextension	1	1617856691	0
483	1	3	mod/assign:revealidentities	1	1617856691	0
484	1	1	mod/assign:revealidentities	1	1617856691	0
485	1	3	mod/assign:reviewgrades	1	1617856691	0
486	1	1	mod/assign:reviewgrades	1	1617856691	0
487	1	3	mod/assign:releasegrades	1	1617856691	0
488	1	1	mod/assign:releasegrades	1	1617856691	0
489	1	3	mod/assign:managegrades	1	1617856691	0
490	1	1	mod/assign:managegrades	1	1617856691	0
491	1	3	mod/assign:manageallocations	1	1617856691	0
492	1	1	mod/assign:manageallocations	1	1617856691	0
493	1	3	mod/assign:viewgrades	1	1617856691	0
494	1	1	mod/assign:viewgrades	1	1617856691	0
495	1	4	mod/assign:viewgrades	1	1617856691	0
496	1	1	mod/assign:viewblinddetails	1	1617856691	0
497	1	4	mod/assign:receivegradernotifications	1	1617856691	0
498	1	3	mod/assign:receivegradernotifications	1	1617856691	0
499	1	1	mod/assign:receivegradernotifications	1	1617856691	0
500	1	3	mod/assign:manageoverrides	1	1617856691	0
501	1	1	mod/assign:manageoverrides	1	1617856691	0
502	1	4	mod/assign:showhiddengrader	1	1617856691	0
503	1	3	mod/assign:showhiddengrader	1	1617856691	0
504	1	1	mod/assign:showhiddengrader	1	1617856691	0
505	1	6	mod/assignment:view	1	1617856691	0
506	1	5	mod/assignment:view	1	1617856691	0
507	1	4	mod/assignment:view	1	1617856691	0
508	1	3	mod/assignment:view	1	1617856691	0
509	1	1	mod/assignment:view	1	1617856691	0
510	1	3	mod/assignment:addinstance	1	1617856691	0
511	1	1	mod/assignment:addinstance	1	1617856691	0
512	1	5	mod/assignment:submit	1	1617856691	0
513	1	4	mod/assignment:grade	1	1617856691	0
514	1	3	mod/assignment:grade	1	1617856692	0
515	1	1	mod/assignment:grade	1	1617856692	0
516	1	4	mod/assignment:exportownsubmission	1	1617856692	0
517	1	3	mod/assignment:exportownsubmission	1	1617856692	0
518	1	1	mod/assignment:exportownsubmission	1	1617856692	0
519	1	5	mod/assignment:exportownsubmission	1	1617856692	0
520	1	3	mod/bigbluebuttonbn:addinstance	1	1617856692	0
521	1	1	mod/bigbluebuttonbn:addinstance	1	1617856692	0
522	1	1	mod/bigbluebuttonbn:join	1	1617856692	0
523	1	3	mod/bigbluebuttonbn:join	1	1617856692	0
524	1	4	mod/bigbluebuttonbn:join	1	1617856692	0
525	1	5	mod/bigbluebuttonbn:join	1	1617856692	0
526	1	6	mod/bigbluebuttonbn:join	1	1617856692	0
527	1	1	mod/bigbluebuttonbn:managerecordings	1	1617856692	0
528	1	3	mod/bigbluebuttonbn:managerecordings	1	1617856692	0
529	1	4	mod/bigbluebuttonbn:managerecordings	1	1617856692	0
530	1	5	mod/bigbluebuttonbn:view	1	1617856692	0
531	1	4	mod/bigbluebuttonbn:view	1	1617856692	0
532	1	3	mod/bigbluebuttonbn:view	1	1617856692	0
533	1	1	mod/bigbluebuttonbn:view	1	1617856692	0
534	1	1	mod/bigbluebuttonbn:meeting	1	1617856692	0
535	1	3	mod/bigbluebuttonbn:meeting	1	1617856692	0
536	1	1	mod/bigbluebuttonbn:recording	1	1617856692	0
537	1	3	mod/bigbluebuttonbn:recording	1	1617856692	0
538	1	3	mod/book:addinstance	1	1617856692	0
539	1	1	mod/book:addinstance	1	1617856692	0
540	1	6	mod/book:read	1	1617856692	0
541	1	8	mod/book:read	1	1617856692	0
542	1	5	mod/book:read	1	1617856692	0
543	1	4	mod/book:read	1	1617856692	0
544	1	3	mod/book:read	1	1617856692	0
545	1	1	mod/book:read	1	1617856692	0
546	1	4	mod/book:viewhiddenchapters	1	1617856692	0
547	1	3	mod/book:viewhiddenchapters	1	1617856692	0
548	1	1	mod/book:viewhiddenchapters	1	1617856692	0
549	1	3	mod/book:edit	1	1617856692	0
550	1	1	mod/book:edit	1	1617856692	0
551	1	3	mod/chat:addinstance	1	1617856692	0
552	1	1	mod/chat:addinstance	1	1617856692	0
553	1	5	mod/chat:chat	1	1617856692	0
554	1	4	mod/chat:chat	1	1617856692	0
555	1	3	mod/chat:chat	1	1617856692	0
556	1	1	mod/chat:chat	1	1617856692	0
557	1	5	mod/chat:readlog	1	1617856692	0
558	1	4	mod/chat:readlog	1	1617856692	0
559	1	3	mod/chat:readlog	1	1617856692	0
560	1	1	mod/chat:readlog	1	1617856692	0
561	1	4	mod/chat:deletelog	1	1617856692	0
562	1	3	mod/chat:deletelog	1	1617856693	0
563	1	1	mod/chat:deletelog	1	1617856693	0
564	1	4	mod/chat:exportparticipatedsession	1	1617856693	0
565	1	3	mod/chat:exportparticipatedsession	1	1617856693	0
566	1	1	mod/chat:exportparticipatedsession	1	1617856693	0
567	1	4	mod/chat:exportsession	1	1617856693	0
568	1	3	mod/chat:exportsession	1	1617856693	0
569	1	1	mod/chat:exportsession	1	1617856693	0
570	1	7	mod/chat:view	1	1617856693	0
571	1	6	mod/chat:view	1	1617856693	0
572	1	3	mod/choice:addinstance	1	1617856693	0
573	1	1	mod/choice:addinstance	1	1617856693	0
574	1	5	mod/choice:choose	1	1617856693	0
575	1	4	mod/choice:choose	1	1617856693	0
576	1	3	mod/choice:choose	1	1617856693	0
577	1	4	mod/choice:readresponses	1	1617856693	0
578	1	3	mod/choice:readresponses	1	1617856693	0
579	1	1	mod/choice:readresponses	1	1617856693	0
580	1	4	mod/choice:deleteresponses	1	1617856693	0
581	1	3	mod/choice:deleteresponses	1	1617856693	0
582	1	1	mod/choice:deleteresponses	1	1617856693	0
583	1	4	mod/choice:downloadresponses	1	1617856693	0
584	1	3	mod/choice:downloadresponses	1	1617856693	0
585	1	1	mod/choice:downloadresponses	1	1617856693	0
586	1	7	mod/choice:view	1	1617856693	0
587	1	6	mod/choice:view	1	1617856693	0
588	1	3	mod/data:addinstance	1	1617856693	0
589	1	1	mod/data:addinstance	1	1617856693	0
590	1	8	mod/data:viewentry	1	1617856693	0
591	1	6	mod/data:viewentry	1	1617856693	0
592	1	5	mod/data:viewentry	1	1617856693	0
593	1	4	mod/data:viewentry	1	1617856693	0
594	1	3	mod/data:viewentry	1	1617856693	0
595	1	1	mod/data:viewentry	1	1617856693	0
596	1	5	mod/data:writeentry	1	1617856693	0
597	1	4	mod/data:writeentry	1	1617856693	0
598	1	3	mod/data:writeentry	1	1617856693	0
599	1	1	mod/data:writeentry	1	1617856693	0
600	1	5	mod/data:comment	1	1617856693	0
601	1	4	mod/data:comment	1	1617856693	0
602	1	3	mod/data:comment	1	1617856693	0
603	1	1	mod/data:comment	1	1617856693	0
604	1	4	mod/data:rate	1	1617856693	0
605	1	3	mod/data:rate	1	1617856693	0
606	1	1	mod/data:rate	1	1617856693	0
607	1	4	mod/data:viewrating	1	1617856693	0
608	1	3	mod/data:viewrating	1	1617856693	0
609	1	1	mod/data:viewrating	1	1617856693	0
610	1	4	mod/data:viewanyrating	1	1617856693	0
611	1	3	mod/data:viewanyrating	1	1617856693	0
612	1	1	mod/data:viewanyrating	1	1617856693	0
613	1	4	mod/data:viewallratings	1	1617856693	0
614	1	3	mod/data:viewallratings	1	1617856693	0
615	1	1	mod/data:viewallratings	1	1617856693	0
616	1	4	mod/data:approve	1	1617856693	0
617	1	3	mod/data:approve	1	1617856693	0
618	1	1	mod/data:approve	1	1617856694	0
619	1	4	mod/data:manageentries	1	1617856694	0
620	1	3	mod/data:manageentries	1	1617856694	0
621	1	1	mod/data:manageentries	1	1617856694	0
622	1	4	mod/data:managecomments	1	1617856694	0
623	1	3	mod/data:managecomments	1	1617856694	0
624	1	1	mod/data:managecomments	1	1617856694	0
625	1	3	mod/data:managetemplates	1	1617856694	0
626	1	1	mod/data:managetemplates	1	1617856694	0
627	1	4	mod/data:viewalluserpresets	1	1617856694	0
628	1	3	mod/data:viewalluserpresets	1	1617856694	0
629	1	1	mod/data:viewalluserpresets	1	1617856694	0
630	1	1	mod/data:manageuserpresets	1	1617856694	0
631	1	1	mod/data:exportentry	1	1617856694	0
632	1	4	mod/data:exportentry	1	1617856694	0
633	1	3	mod/data:exportentry	1	1617856694	0
634	1	1	mod/data:exportownentry	1	1617856694	0
635	1	4	mod/data:exportownentry	1	1617856694	0
636	1	3	mod/data:exportownentry	1	1617856694	0
637	1	5	mod/data:exportownentry	1	1617856694	0
638	1	1	mod/data:exportallentries	1	1617856694	0
639	1	4	mod/data:exportallentries	1	1617856694	0
640	1	3	mod/data:exportallentries	1	1617856694	0
641	1	1	mod/data:exportuserinfo	1	1617856694	0
642	1	4	mod/data:exportuserinfo	1	1617856694	0
643	1	3	mod/data:exportuserinfo	1	1617856694	0
644	1	6	mod/data:view	1	1617856694	0
645	1	5	mod/data:view	1	1617856694	0
646	1	4	mod/data:view	1	1617856694	0
647	1	3	mod/data:view	1	1617856694	0
648	1	1	mod/data:view	1	1617856694	0
649	1	3	mod/feedback:addinstance	1	1617856694	0
650	1	1	mod/feedback:addinstance	1	1617856694	0
651	1	6	mod/feedback:view	1	1617856694	0
652	1	8	mod/feedback:view	1	1617856694	0
653	1	5	mod/feedback:view	1	1617856694	0
654	1	4	mod/feedback:view	1	1617856694	0
655	1	3	mod/feedback:view	1	1617856694	0
656	1	1	mod/feedback:view	1	1617856694	0
657	1	8	mod/feedback:complete	1	1617856694	0
658	1	5	mod/feedback:complete	1	1617856694	0
659	1	5	mod/feedback:viewanalysepage	1	1617856694	0
660	1	3	mod/feedback:viewanalysepage	1	1617856694	0
661	1	1	mod/feedback:viewanalysepage	1	1617856694	0
662	1	3	mod/feedback:deletesubmissions	1	1617856694	0
663	1	1	mod/feedback:deletesubmissions	1	1617856694	0
664	1	1	mod/feedback:mapcourse	1	1617856694	0
665	1	3	mod/feedback:edititems	1	1617856694	0
666	1	1	mod/feedback:edititems	1	1617856694	0
667	1	3	mod/feedback:createprivatetemplate	1	1617856694	0
668	1	1	mod/feedback:createprivatetemplate	1	1617856694	0
669	1	3	mod/feedback:createpublictemplate	1	1617856694	0
670	1	1	mod/feedback:createpublictemplate	1	1617856694	0
671	1	3	mod/feedback:deletetemplate	1	1617856694	0
672	1	1	mod/feedback:deletetemplate	1	1617856694	0
673	1	4	mod/feedback:viewreports	1	1617856694	0
674	1	3	mod/feedback:viewreports	1	1617856694	0
675	1	1	mod/feedback:viewreports	1	1617856694	0
676	1	4	mod/feedback:receivemail	1	1617856694	0
677	1	3	mod/feedback:receivemail	1	1617856695	0
678	1	3	mod/folder:addinstance	1	1617856695	0
679	1	1	mod/folder:addinstance	1	1617856695	0
680	1	6	mod/folder:view	1	1617856695	0
681	1	7	mod/folder:view	1	1617856695	0
682	1	3	mod/folder:managefiles	1	1617856695	0
683	1	3	mod/forum:addinstance	1	1617856695	0
684	1	1	mod/forum:addinstance	1	1617856695	0
685	1	8	mod/forum:viewdiscussion	1	1617856695	0
686	1	6	mod/forum:viewdiscussion	1	1617856695	0
687	1	5	mod/forum:viewdiscussion	1	1617856695	0
688	1	4	mod/forum:viewdiscussion	1	1617856695	0
689	1	3	mod/forum:viewdiscussion	1	1617856695	0
690	1	1	mod/forum:viewdiscussion	1	1617856695	0
691	1	4	mod/forum:viewhiddentimedposts	1	1617856695	0
692	1	3	mod/forum:viewhiddentimedposts	1	1617856695	0
693	1	1	mod/forum:viewhiddentimedposts	1	1617856695	0
772	1	3	mod/forum:exportownpost	1	1617856696	0
694	1	5	mod/forum:startdiscussion	1	1617856695	0
695	1	4	mod/forum:startdiscussion	1	1617856695	0
696	1	3	mod/forum:startdiscussion	1	1617856695	0
697	1	1	mod/forum:startdiscussion	1	1617856695	0
698	1	5	mod/forum:replypost	1	1617856695	0
699	1	4	mod/forum:replypost	1	1617856695	0
700	1	3	mod/forum:replypost	1	1617856695	0
701	1	1	mod/forum:replypost	1	1617856695	0
702	1	4	mod/forum:addnews	1	1617856695	0
703	1	3	mod/forum:addnews	1	1617856695	0
704	1	1	mod/forum:addnews	1	1617856695	0
705	1	4	mod/forum:replynews	1	1617856695	0
706	1	3	mod/forum:replynews	1	1617856695	0
707	1	1	mod/forum:replynews	1	1617856695	0
708	1	5	mod/forum:viewrating	1	1617856695	0
709	1	4	mod/forum:viewrating	1	1617856695	0
710	1	3	mod/forum:viewrating	1	1617856695	0
711	1	1	mod/forum:viewrating	1	1617856695	0
712	1	4	mod/forum:viewanyrating	1	1617856695	0
713	1	3	mod/forum:viewanyrating	1	1617856695	0
714	1	1	mod/forum:viewanyrating	1	1617856695	0
715	1	4	mod/forum:viewallratings	1	1617856695	0
716	1	3	mod/forum:viewallratings	1	1617856695	0
717	1	1	mod/forum:viewallratings	1	1617856695	0
718	1	4	mod/forum:rate	1	1617856695	0
719	1	3	mod/forum:rate	1	1617856695	0
720	1	1	mod/forum:rate	1	1617856695	0
721	1	4	mod/forum:postprivatereply	1	1617856695	0
722	1	3	mod/forum:postprivatereply	1	1617856695	0
723	1	1	mod/forum:postprivatereply	1	1617856695	0
724	1	4	mod/forum:readprivatereplies	1	1617856695	0
725	1	3	mod/forum:readprivatereplies	1	1617856695	0
726	1	1	mod/forum:readprivatereplies	1	1617856695	0
727	1	5	mod/forum:createattachment	1	1617856696	0
728	1	4	mod/forum:createattachment	1	1617856696	0
729	1	3	mod/forum:createattachment	1	1617856696	0
730	1	1	mod/forum:createattachment	1	1617856696	0
731	1	5	mod/forum:deleteownpost	1	1617856696	0
732	1	4	mod/forum:deleteownpost	1	1617856696	0
733	1	3	mod/forum:deleteownpost	1	1617856696	0
734	1	1	mod/forum:deleteownpost	1	1617856696	0
735	1	4	mod/forum:deleteanypost	1	1617856696	0
736	1	3	mod/forum:deleteanypost	1	1617856696	0
737	1	1	mod/forum:deleteanypost	1	1617856696	0
738	1	4	mod/forum:splitdiscussions	1	1617856696	0
739	1	3	mod/forum:splitdiscussions	1	1617856696	0
740	1	1	mod/forum:splitdiscussions	1	1617856696	0
741	1	4	mod/forum:movediscussions	1	1617856696	0
742	1	3	mod/forum:movediscussions	1	1617856696	0
743	1	1	mod/forum:movediscussions	1	1617856696	0
744	1	4	mod/forum:pindiscussions	1	1617856696	0
745	1	3	mod/forum:pindiscussions	1	1617856696	0
746	1	1	mod/forum:pindiscussions	1	1617856696	0
747	1	4	mod/forum:editanypost	1	1617856696	0
748	1	3	mod/forum:editanypost	1	1617856696	0
749	1	1	mod/forum:editanypost	1	1617856696	0
750	1	4	mod/forum:viewqandawithoutposting	1	1617856696	0
751	1	3	mod/forum:viewqandawithoutposting	1	1617856696	0
752	1	1	mod/forum:viewqandawithoutposting	1	1617856696	0
753	1	4	mod/forum:viewsubscribers	1	1617856696	0
754	1	3	mod/forum:viewsubscribers	1	1617856696	0
755	1	1	mod/forum:viewsubscribers	1	1617856696	0
756	1	4	mod/forum:managesubscriptions	1	1617856696	0
757	1	3	mod/forum:managesubscriptions	1	1617856696	0
758	1	1	mod/forum:managesubscriptions	1	1617856696	0
759	1	4	mod/forum:postwithoutthrottling	1	1617856696	0
760	1	3	mod/forum:postwithoutthrottling	1	1617856696	0
761	1	1	mod/forum:postwithoutthrottling	1	1617856696	0
762	1	4	mod/forum:exportdiscussion	1	1617856696	0
763	1	3	mod/forum:exportdiscussion	1	1617856696	0
764	1	1	mod/forum:exportdiscussion	1	1617856696	0
765	1	4	mod/forum:exportforum	1	1617856696	0
766	1	3	mod/forum:exportforum	1	1617856696	0
767	1	1	mod/forum:exportforum	1	1617856696	0
768	1	4	mod/forum:exportpost	1	1617856696	0
769	1	3	mod/forum:exportpost	1	1617856696	0
770	1	1	mod/forum:exportpost	1	1617856696	0
771	1	4	mod/forum:exportownpost	1	1617856696	0
773	1	1	mod/forum:exportownpost	1	1617856696	0
774	1	5	mod/forum:exportownpost	1	1617856696	0
775	1	4	mod/forum:addquestion	1	1617856696	0
776	1	3	mod/forum:addquestion	1	1617856696	0
777	1	1	mod/forum:addquestion	1	1617856696	0
778	1	5	mod/forum:allowforcesubscribe	1	1617856696	0
779	1	4	mod/forum:allowforcesubscribe	1	1617856696	0
780	1	3	mod/forum:allowforcesubscribe	1	1617856696	0
781	1	8	mod/forum:allowforcesubscribe	1	1617856696	0
782	1	4	mod/forum:canposttomygroups	1	1617856696	0
783	1	3	mod/forum:canposttomygroups	1	1617856696	0
784	1	1	mod/forum:canposttomygroups	1	1617856696	0
785	1	4	mod/forum:canoverridediscussionlock	1	1617856696	0
786	1	3	mod/forum:canoverridediscussionlock	1	1617856696	0
787	1	1	mod/forum:canoverridediscussionlock	1	1617856696	0
788	1	4	mod/forum:canoverridecutoff	1	1617856696	0
789	1	3	mod/forum:canoverridecutoff	1	1617856696	0
790	1	1	mod/forum:canoverridecutoff	1	1617856696	0
791	1	7	mod/forum:cantogglefavourite	1	1617856696	0
792	1	4	mod/forum:grade	1	1617856696	0
793	1	3	mod/forum:grade	1	1617856696	0
794	1	1	mod/forum:grade	1	1617856696	0
795	1	3	mod/glossary:addinstance	1	1617856697	0
796	1	1	mod/glossary:addinstance	1	1617856697	0
797	1	8	mod/glossary:view	1	1617856697	0
798	1	6	mod/glossary:view	1	1617856697	0
799	1	5	mod/glossary:view	1	1617856697	0
800	1	4	mod/glossary:view	1	1617856697	0
801	1	3	mod/glossary:view	1	1617856697	0
802	1	1	mod/glossary:view	1	1617856697	0
803	1	5	mod/glossary:write	1	1617856697	0
804	1	4	mod/glossary:write	1	1617856697	0
805	1	3	mod/glossary:write	1	1617856697	0
806	1	1	mod/glossary:write	1	1617856697	0
807	1	4	mod/glossary:manageentries	1	1617856697	0
808	1	3	mod/glossary:manageentries	1	1617856697	0
809	1	1	mod/glossary:manageentries	1	1617856697	0
810	1	4	mod/glossary:managecategories	1	1617856697	0
811	1	3	mod/glossary:managecategories	1	1617856697	0
812	1	1	mod/glossary:managecategories	1	1617856697	0
813	1	5	mod/glossary:comment	1	1617856697	0
814	1	4	mod/glossary:comment	1	1617856697	0
815	1	3	mod/glossary:comment	1	1617856697	0
816	1	1	mod/glossary:comment	1	1617856697	0
817	1	4	mod/glossary:managecomments	1	1617856697	0
818	1	3	mod/glossary:managecomments	1	1617856697	0
819	1	1	mod/glossary:managecomments	1	1617856697	0
820	1	4	mod/glossary:import	1	1617856697	0
821	1	3	mod/glossary:import	1	1617856697	0
822	1	1	mod/glossary:import	1	1617856697	0
823	1	4	mod/glossary:export	1	1617856697	0
824	1	3	mod/glossary:export	1	1617856697	0
825	1	1	mod/glossary:export	1	1617856697	0
826	1	4	mod/glossary:approve	1	1617856697	0
827	1	3	mod/glossary:approve	1	1617856697	0
828	1	1	mod/glossary:approve	1	1617856697	0
829	1	4	mod/glossary:rate	1	1617856697	0
830	1	3	mod/glossary:rate	1	1617856697	0
831	1	1	mod/glossary:rate	1	1617856697	0
832	1	4	mod/glossary:viewrating	1	1617856697	0
833	1	3	mod/glossary:viewrating	1	1617856697	0
834	1	1	mod/glossary:viewrating	1	1617856697	0
835	1	4	mod/glossary:viewanyrating	1	1617856697	0
836	1	3	mod/glossary:viewanyrating	1	1617856697	0
837	1	1	mod/glossary:viewanyrating	1	1617856697	0
838	1	4	mod/glossary:viewallratings	1	1617856697	0
839	1	3	mod/glossary:viewallratings	1	1617856697	0
840	1	1	mod/glossary:viewallratings	1	1617856697	0
841	1	4	mod/glossary:exportentry	1	1617856697	0
842	1	3	mod/glossary:exportentry	1	1617856697	0
843	1	1	mod/glossary:exportentry	1	1617856697	0
844	1	4	mod/glossary:exportownentry	1	1617856697	0
845	1	3	mod/glossary:exportownentry	1	1617856697	0
846	1	1	mod/glossary:exportownentry	1	1617856697	0
847	1	5	mod/glossary:exportownentry	1	1617856697	0
848	1	6	mod/h5pactivity:view	1	1617856698	0
849	1	5	mod/h5pactivity:view	1	1617856698	0
850	1	4	mod/h5pactivity:view	1	1617856698	0
851	1	3	mod/h5pactivity:view	1	1617856698	0
852	1	1	mod/h5pactivity:view	1	1617856698	0
853	1	3	mod/h5pactivity:addinstance	1	1617856698	0
854	1	1	mod/h5pactivity:addinstance	1	1617856698	0
855	1	5	mod/h5pactivity:submit	1	1617856698	0
856	1	3	mod/h5pactivity:reviewattempts	1	1617856698	0
857	1	1	mod/h5pactivity:reviewattempts	1	1617856698	0
858	1	6	mod/imscp:view	1	1617856698	0
859	1	7	mod/imscp:view	1	1617856698	0
860	1	3	mod/imscp:addinstance	1	1617856698	0
861	1	1	mod/imscp:addinstance	1	1617856698	0
862	1	3	mod/jitsi:addinstance	1	1617856698	0
863	1	1	mod/jitsi:addinstance	1	1617856698	0
864	1	6	mod/jitsi:view	1	1617856698	0
865	1	7	mod/jitsi:view	1	1617856698	0
866	1	3	mod/jitsi:moderation	1	1617856698	0
867	1	1	mod/jitsi:moderation	1	1617856698	0
868	1	3	mod/jitsi:sharedesktop	1	1617856698	0
869	1	1	mod/jitsi:sharedesktop	1	1617856698	0
870	1	5	mod/jitsi:sharedesktop	1	1617856698	0
871	1	3	mod/label:addinstance	1	1617856698	0
872	1	1	mod/label:addinstance	1	1617856698	0
873	1	7	mod/label:view	1	1617856698	0
874	1	6	mod/label:view	1	1617856698	0
875	1	3	mod/lesson:addinstance	1	1617856698	0
876	1	1	mod/lesson:addinstance	1	1617856698	0
877	1	3	mod/lesson:edit	1	1617856698	0
878	1	1	mod/lesson:edit	1	1617856698	0
879	1	4	mod/lesson:grade	1	1617856698	0
880	1	3	mod/lesson:grade	1	1617856698	0
881	1	1	mod/lesson:grade	1	1617856698	0
882	1	4	mod/lesson:viewreports	1	1617856698	0
883	1	3	mod/lesson:viewreports	1	1617856698	0
884	1	1	mod/lesson:viewreports	1	1617856698	0
885	1	4	mod/lesson:manage	1	1617856698	0
886	1	3	mod/lesson:manage	1	1617856699	0
887	1	1	mod/lesson:manage	1	1617856699	0
888	1	3	mod/lesson:manageoverrides	1	1617856699	0
889	1	1	mod/lesson:manageoverrides	1	1617856699	0
890	1	7	mod/lesson:view	1	1617856699	0
891	1	6	mod/lesson:view	1	1617856699	0
892	1	5	mod/lti:view	1	1617856699	0
893	1	4	mod/lti:view	1	1617856699	0
894	1	3	mod/lti:view	1	1617856699	0
895	1	1	mod/lti:view	1	1617856699	0
896	1	3	mod/lti:addinstance	1	1617856699	0
897	1	1	mod/lti:addinstance	1	1617856699	0
898	1	4	mod/lti:manage	1	1617856699	0
899	1	3	mod/lti:manage	1	1617856699	0
900	1	1	mod/lti:manage	1	1617856699	0
901	1	3	mod/lti:addcoursetool	1	1617856699	0
902	1	1	mod/lti:addcoursetool	1	1617856699	0
903	1	3	mod/lti:addpreconfiguredinstance	1	1617856699	0
904	1	1	mod/lti:addpreconfiguredinstance	1	1617856699	0
905	1	3	mod/lti:addmanualinstance	1	1617856699	0
906	1	1	mod/lti:addmanualinstance	1	1617856699	0
907	1	3	mod/lti:requesttooladd	1	1617856699	0
908	1	1	mod/lti:requesttooladd	1	1617856699	0
909	1	6	mod/page:view	1	1617856699	0
910	1	7	mod/page:view	1	1617856699	0
911	1	3	mod/page:addinstance	1	1617856699	0
912	1	1	mod/page:addinstance	1	1617856699	0
913	1	6	mod/quiz:view	1	1617856699	0
914	1	5	mod/quiz:view	1	1617856699	0
915	1	4	mod/quiz:view	1	1617856699	0
916	1	3	mod/quiz:view	1	1617856700	0
917	1	1	mod/quiz:view	1	1617856700	0
918	1	3	mod/quiz:addinstance	1	1617856700	0
919	1	1	mod/quiz:addinstance	1	1617856700	0
920	1	5	mod/quiz:attempt	1	1617856700	0
921	1	5	mod/quiz:reviewmyattempts	1	1617856700	0
922	1	3	mod/quiz:manage	1	1617856700	0
923	1	1	mod/quiz:manage	1	1617856700	0
924	1	3	mod/quiz:manageoverrides	1	1617856700	0
925	1	1	mod/quiz:manageoverrides	1	1617856700	0
926	1	4	mod/quiz:preview	1	1617856700	0
927	1	3	mod/quiz:preview	1	1617856700	0
928	1	1	mod/quiz:preview	1	1617856700	0
929	1	4	mod/quiz:grade	1	1617856700	0
930	1	3	mod/quiz:grade	1	1617856700	0
931	1	1	mod/quiz:grade	1	1617856700	0
932	1	4	mod/quiz:regrade	1	1617856700	0
933	1	3	mod/quiz:regrade	1	1617856700	0
934	1	1	mod/quiz:regrade	1	1617856700	0
935	1	4	mod/quiz:viewreports	1	1617856700	0
936	1	3	mod/quiz:viewreports	1	1617856700	0
937	1	1	mod/quiz:viewreports	1	1617856700	0
938	1	3	mod/quiz:deleteattempts	1	1617856700	0
939	1	1	mod/quiz:deleteattempts	1	1617856700	0
940	1	6	mod/resource:view	1	1617856700	0
941	1	7	mod/resource:view	1	1617856700	0
942	1	3	mod/resource:addinstance	1	1617856700	0
943	1	1	mod/resource:addinstance	1	1617856700	0
944	1	3	mod/scorm:addinstance	1	1617856700	0
945	1	1	mod/scorm:addinstance	1	1617856700	0
946	1	4	mod/scorm:viewreport	1	1617856700	0
947	1	3	mod/scorm:viewreport	1	1617856700	0
948	1	1	mod/scorm:viewreport	1	1617856700	0
949	1	5	mod/scorm:skipview	1	1617856700	0
950	1	5	mod/scorm:savetrack	1	1617856700	0
951	1	4	mod/scorm:savetrack	1	1617856700	0
952	1	3	mod/scorm:savetrack	1	1617856700	0
953	1	1	mod/scorm:savetrack	1	1617856700	0
954	1	5	mod/scorm:viewscores	1	1617856700	0
955	1	4	mod/scorm:viewscores	1	1617856700	0
956	1	3	mod/scorm:viewscores	1	1617856700	0
957	1	1	mod/scorm:viewscores	1	1617856700	0
958	1	4	mod/scorm:deleteresponses	1	1617856701	0
959	1	3	mod/scorm:deleteresponses	1	1617856701	0
960	1	1	mod/scorm:deleteresponses	1	1617856701	0
961	1	3	mod/survey:addinstance	1	1617856701	0
962	1	1	mod/survey:addinstance	1	1617856701	0
963	1	5	mod/survey:participate	1	1617856701	0
964	1	4	mod/survey:participate	1	1617856701	0
965	1	3	mod/survey:participate	1	1617856701	0
966	1	1	mod/survey:participate	1	1617856701	0
967	1	4	mod/survey:readresponses	1	1617856701	0
968	1	3	mod/survey:readresponses	1	1617856701	0
969	1	1	mod/survey:readresponses	1	1617856701	0
970	1	4	mod/survey:download	1	1617856701	0
971	1	3	mod/survey:download	1	1617856701	0
972	1	1	mod/survey:download	1	1617856701	0
973	1	6	mod/url:view	1	1617856701	0
974	1	7	mod/url:view	1	1617856701	0
975	1	3	mod/url:addinstance	1	1617856701	0
976	1	1	mod/url:addinstance	1	1617856701	0
977	1	3	mod/wiki:addinstance	1	1617856701	0
978	1	1	mod/wiki:addinstance	1	1617856701	0
979	1	6	mod/wiki:viewpage	1	1617856701	0
980	1	8	mod/wiki:viewpage	1	1617856701	0
981	1	5	mod/wiki:viewpage	1	1617856701	0
982	1	4	mod/wiki:viewpage	1	1617856701	0
983	1	3	mod/wiki:viewpage	1	1617856701	0
984	1	1	mod/wiki:viewpage	1	1617856701	0
985	1	5	mod/wiki:editpage	1	1617856701	0
986	1	4	mod/wiki:editpage	1	1617856701	0
987	1	3	mod/wiki:editpage	1	1617856701	0
988	1	1	mod/wiki:editpage	1	1617856701	0
989	1	5	mod/wiki:createpage	1	1617856701	0
990	1	4	mod/wiki:createpage	1	1617856701	0
991	1	3	mod/wiki:createpage	1	1617856702	0
992	1	1	mod/wiki:createpage	1	1617856702	0
993	1	5	mod/wiki:viewcomment	1	1617856702	0
994	1	4	mod/wiki:viewcomment	1	1617856702	0
995	1	3	mod/wiki:viewcomment	1	1617856702	0
996	1	1	mod/wiki:viewcomment	1	1617856702	0
997	1	5	mod/wiki:editcomment	1	1617856702	0
998	1	4	mod/wiki:editcomment	1	1617856702	0
999	1	3	mod/wiki:editcomment	1	1617856702	0
1000	1	1	mod/wiki:editcomment	1	1617856702	0
1001	1	4	mod/wiki:managecomment	1	1617856702	0
1002	1	3	mod/wiki:managecomment	1	1617856702	0
1003	1	1	mod/wiki:managecomment	1	1617856702	0
1004	1	4	mod/wiki:managefiles	1	1617856702	0
1005	1	3	mod/wiki:managefiles	1	1617856702	0
1006	1	1	mod/wiki:managefiles	1	1617856702	0
1007	1	4	mod/wiki:overridelock	1	1617856702	0
1008	1	3	mod/wiki:overridelock	1	1617856702	0
1009	1	1	mod/wiki:overridelock	1	1617856702	0
1010	1	4	mod/wiki:managewiki	1	1617856702	0
1011	1	3	mod/wiki:managewiki	1	1617856702	0
1012	1	1	mod/wiki:managewiki	1	1617856702	0
1013	1	6	mod/workshop:view	1	1617856702	0
1014	1	5	mod/workshop:view	1	1617856702	0
1015	1	4	mod/workshop:view	1	1617856702	0
1016	1	3	mod/workshop:view	1	1617856702	0
1017	1	1	mod/workshop:view	1	1617856702	0
1018	1	3	mod/workshop:addinstance	1	1617856702	0
1019	1	1	mod/workshop:addinstance	1	1617856702	0
1020	1	4	mod/workshop:switchphase	1	1617856702	0
1021	1	3	mod/workshop:switchphase	1	1617856702	0
1022	1	1	mod/workshop:switchphase	1	1617856702	0
1023	1	3	mod/workshop:editdimensions	1	1617856702	0
1024	1	1	mod/workshop:editdimensions	1	1617856702	0
1025	1	5	mod/workshop:submit	1	1617856702	0
1026	1	5	mod/workshop:peerassess	1	1617856702	0
1027	1	4	mod/workshop:manageexamples	1	1617856702	0
1028	1	3	mod/workshop:manageexamples	1	1617856702	0
1029	1	1	mod/workshop:manageexamples	1	1617856702	0
1030	1	4	mod/workshop:allocate	1	1617856702	0
1031	1	3	mod/workshop:allocate	1	1617856702	0
1032	1	1	mod/workshop:allocate	1	1617856702	0
1033	1	4	mod/workshop:publishsubmissions	1	1617856702	0
1034	1	3	mod/workshop:publishsubmissions	1	1617856702	0
1035	1	1	mod/workshop:publishsubmissions	1	1617856702	0
1036	1	5	mod/workshop:viewauthornames	1	1617856702	0
1037	1	4	mod/workshop:viewauthornames	1	1617856702	0
1038	1	3	mod/workshop:viewauthornames	1	1617856702	0
1039	1	1	mod/workshop:viewauthornames	1	1617856702	0
1040	1	4	mod/workshop:viewreviewernames	1	1617856702	0
1041	1	3	mod/workshop:viewreviewernames	1	1617856702	0
1042	1	1	mod/workshop:viewreviewernames	1	1617856702	0
1043	1	4	mod/workshop:viewallsubmissions	1	1617856702	0
1044	1	3	mod/workshop:viewallsubmissions	1	1617856702	0
1045	1	1	mod/workshop:viewallsubmissions	1	1617856702	0
1046	1	5	mod/workshop:viewpublishedsubmissions	1	1617856702	0
1047	1	4	mod/workshop:viewpublishedsubmissions	1	1617856702	0
1048	1	3	mod/workshop:viewpublishedsubmissions	1	1617856702	0
1049	1	1	mod/workshop:viewpublishedsubmissions	1	1617856702	0
1050	1	5	mod/workshop:viewauthorpublished	1	1617856702	0
1051	1	4	mod/workshop:viewauthorpublished	1	1617856702	0
1052	1	3	mod/workshop:viewauthorpublished	1	1617856702	0
1053	1	1	mod/workshop:viewauthorpublished	1	1617856703	0
1054	1	4	mod/workshop:viewallassessments	1	1617856703	0
1055	1	3	mod/workshop:viewallassessments	1	1617856703	0
1056	1	1	mod/workshop:viewallassessments	1	1617856703	0
1057	1	4	mod/workshop:overridegrades	1	1617856703	0
1058	1	3	mod/workshop:overridegrades	1	1617856703	0
1059	1	1	mod/workshop:overridegrades	1	1617856703	0
1060	1	4	mod/workshop:ignoredeadlines	1	1617856703	0
1061	1	3	mod/workshop:ignoredeadlines	1	1617856703	0
1062	1	1	mod/workshop:ignoredeadlines	1	1617856703	0
1063	1	4	mod/workshop:deletesubmissions	1	1617856703	0
1064	1	3	mod/workshop:deletesubmissions	1	1617856703	0
1065	1	1	mod/workshop:deletesubmissions	1	1617856703	0
1066	1	1	mod/workshop:exportsubmissions	1	1617856703	0
1067	1	4	mod/workshop:exportsubmissions	1	1617856703	0
1068	1	3	mod/workshop:exportsubmissions	1	1617856703	0
1069	1	5	mod/workshop:exportsubmissions	1	1617856703	0
1070	1	7	auth/oauth2:managelinkedlogins	1	1617856703	0
1071	1	1	enrol/category:config	1	1617856704	0
1072	1	3	enrol/category:config	1	1617856704	0
1073	1	3	enrol/cohort:config	1	1617856704	0
1074	1	1	enrol/cohort:config	1	1617856704	0
1075	1	1	enrol/cohort:unenrol	1	1617856704	0
1076	1	1	enrol/database:unenrol	1	1617856704	0
1077	1	1	enrol/database:config	1	1617856704	0
1078	1	3	enrol/database:config	1	1617856704	0
1079	1	1	enrol/fee:config	1	1617856704	0
1080	1	1	enrol/fee:manage	1	1617856704	0
1081	1	3	enrol/fee:manage	1	1617856705	0
1082	1	1	enrol/fee:unenrol	1	1617856705	0
1083	1	1	enrol/guest:config	1	1617856705	0
1084	1	3	enrol/guest:config	1	1617856705	0
1085	1	1	enrol/imsenterprise:config	1	1617856705	0
1086	1	3	enrol/imsenterprise:config	1	1617856705	0
1087	1	1	enrol/ldap:manage	1	1617856705	0
1088	1	1	enrol/lti:config	1	1617856705	0
1089	1	3	enrol/lti:config	1	1617856705	0
1090	1	1	enrol/lti:unenrol	1	1617856705	0
1091	1	3	enrol/lti:unenrol	1	1617856705	0
1092	1	1	enrol/manual:config	1	1617856705	0
1093	1	1	enrol/manual:enrol	1	1617856705	0
1094	1	3	enrol/manual:enrol	1	1617856705	0
1095	1	1	enrol/manual:manage	1	1617856705	0
1096	1	3	enrol/manual:manage	1	1617856705	0
1097	1	1	enrol/manual:unenrol	1	1617856705	0
1098	1	3	enrol/manual:unenrol	1	1617856705	0
1099	1	1	enrol/meta:config	1	1617856705	0
1100	1	3	enrol/meta:config	1	1617856705	0
1101	1	1	enrol/meta:selectaslinked	1	1617856705	0
1102	1	1	enrol/meta:unenrol	1	1617856705	0
1103	1	1	enrol/mnet:config	1	1617856705	0
1104	1	3	enrol/mnet:config	1	1617856706	0
1105	1	1	enrol/paypal:config	1	1617856706	0
1106	1	1	enrol/paypal:manage	1	1617856706	0
1107	1	3	enrol/paypal:manage	1	1617856706	0
1108	1	1	enrol/paypal:unenrol	1	1617856706	0
1109	1	3	enrol/self:config	1	1617856706	0
1110	1	1	enrol/self:config	1	1617856706	0
1111	1	3	enrol/self:manage	1	1617856706	0
1112	1	1	enrol/self:manage	1	1617856706	0
1113	1	5	enrol/self:unenrolself	1	1617856706	0
1114	1	3	enrol/self:unenrol	1	1617856706	0
1115	1	1	enrol/self:unenrol	1	1617856706	0
1116	1	7	enrol/self:enrolself	1	1617856706	0
1117	1	7	message/airnotifier:managedevice	1	1617856706	0
1118	1	3	block/activity_modules:addinstance	1	1617856707	0
1119	1	1	block/activity_modules:addinstance	1	1617856707	0
1120	1	3	block/activity_results:addinstance	1	1617856707	0
1121	1	1	block/activity_results:addinstance	1	1617856707	0
1122	1	7	block/admin_bookmarks:myaddinstance	1	1617856707	0
1123	1	3	block/admin_bookmarks:addinstance	1	1617856707	0
1124	1	1	block/admin_bookmarks:addinstance	1	1617856707	0
1125	1	3	block/badges:addinstance	1	1617856707	0
1126	1	1	block/badges:addinstance	1	1617856707	0
1127	1	7	block/badges:myaddinstance	1	1617856707	0
1128	1	3	block/blog_menu:addinstance	1	1617856707	0
1129	1	1	block/blog_menu:addinstance	1	1617856707	0
1130	1	3	block/blog_recent:addinstance	1	1617856707	0
1131	1	1	block/blog_recent:addinstance	1	1617856707	0
1132	1	3	block/blog_tags:addinstance	1	1617856707	0
1133	1	1	block/blog_tags:addinstance	1	1617856707	0
1134	1	7	block/calendar_month:myaddinstance	1	1617856707	0
1135	1	3	block/calendar_month:addinstance	1	1617856707	0
1136	1	1	block/calendar_month:addinstance	1	1617856707	0
1137	1	7	block/calendar_upcoming:myaddinstance	1	1617856707	0
1138	1	3	block/calendar_upcoming:addinstance	1	1617856707	0
1139	1	1	block/calendar_upcoming:addinstance	1	1617856707	0
1140	1	7	block/comments:myaddinstance	1	1617856708	0
1141	1	3	block/comments:addinstance	1	1617856708	0
1142	1	1	block/comments:addinstance	1	1617856708	0
1143	1	3	block/completionstatus:addinstance	1	1617856708	0
1144	1	1	block/completionstatus:addinstance	1	1617856708	0
1145	1	7	block/course_list:myaddinstance	1	1617856708	0
1146	1	3	block/course_list:addinstance	1	1617856708	0
1147	1	1	block/course_list:addinstance	1	1617856708	0
1148	1	3	block/course_summary:addinstance	1	1617856708	0
1149	1	1	block/course_summary:addinstance	1	1617856708	0
1150	1	3	block/feedback:addinstance	1	1617856708	0
1151	1	1	block/feedback:addinstance	1	1617856708	0
1152	1	7	block/globalsearch:myaddinstance	1	1617856708	0
1153	1	3	block/globalsearch:addinstance	1	1617856708	0
1154	1	1	block/globalsearch:addinstance	1	1617856708	0
1155	1	7	block/glossary_random:myaddinstance	1	1617856708	0
1156	1	3	block/glossary_random:addinstance	1	1617856708	0
1157	1	1	block/glossary_random:addinstance	1	1617856708	0
1158	1	7	block/html:myaddinstance	1	1617856708	0
1159	1	3	block/html:addinstance	1	1617856708	0
1160	1	1	block/html:addinstance	1	1617856708	0
1161	1	3	block/login:addinstance	1	1617856708	0
1162	1	1	block/login:addinstance	1	1617856708	0
1163	1	3	block/lp:addinstance	1	1617856708	0
1164	1	1	block/lp:addinstance	1	1617856708	0
1165	1	7	block/lp:myaddinstance	1	1617856708	0
1166	1	7	block/mentees:myaddinstance	1	1617856708	0
1167	1	3	block/mentees:addinstance	1	1617856708	0
1168	1	1	block/mentees:addinstance	1	1617856708	0
1169	1	7	block/mnet_hosts:myaddinstance	1	1617856709	0
1170	1	3	block/mnet_hosts:addinstance	1	1617856709	0
1171	1	1	block/mnet_hosts:addinstance	1	1617856709	0
1172	1	7	block/myoverview:myaddinstance	1	1617856709	0
1173	1	7	block/myprofile:myaddinstance	1	1617856709	0
1174	1	3	block/myprofile:addinstance	1	1617856709	0
1175	1	1	block/myprofile:addinstance	1	1617856709	0
1176	1	7	block/navigation:myaddinstance	1	1617856709	0
1177	1	3	block/navigation:addinstance	1	1617856709	0
1178	1	1	block/navigation:addinstance	1	1617856709	0
1179	1	7	block/news_items:myaddinstance	1	1617856709	0
1180	1	3	block/news_items:addinstance	1	1617856709	0
1181	1	1	block/news_items:addinstance	1	1617856709	0
1182	1	7	block/online_users:myaddinstance	1	1617856709	0
1183	1	3	block/online_users:addinstance	1	1617856709	0
1184	1	1	block/online_users:addinstance	1	1617856709	0
1185	1	7	block/online_users:viewlist	1	1617856709	0
1186	1	6	block/online_users:viewlist	-1	1617856709	0
1187	1	5	block/online_users:viewlist	1	1617856709	0
1188	1	4	block/online_users:viewlist	1	1617856709	0
1189	1	3	block/online_users:viewlist	1	1617856709	0
1190	1	1	block/online_users:viewlist	1	1617856709	0
1191	1	7	block/private_files:myaddinstance	1	1617856709	0
1192	1	3	block/private_files:addinstance	1	1617856709	0
1193	1	1	block/private_files:addinstance	1	1617856709	0
1194	1	3	block/quiz_results:addinstance	1	1617856709	0
1195	1	1	block/quiz_results:addinstance	1	1617856709	0
1196	1	3	block/recent_activity:addinstance	1	1617856709	0
1197	1	1	block/recent_activity:addinstance	1	1617856709	0
1198	1	7	block/recent_activity:viewaddupdatemodule	1	1617856709	0
1199	1	7	block/recent_activity:viewdeletemodule	1	1617856709	0
1200	1	7	block/recentlyaccessedcourses:myaddinstance	1	1617856709	0
1201	1	7	block/recentlyaccesseditems:myaddinstance	1	1617856710	0
1202	1	7	block/rss_client:myaddinstance	1	1617856710	0
1203	1	3	block/rss_client:addinstance	1	1617856710	0
1204	1	1	block/rss_client:addinstance	1	1617856710	0
1205	1	4	block/rss_client:manageownfeeds	1	1617856710	0
1206	1	3	block/rss_client:manageownfeeds	1	1617856710	0
1207	1	1	block/rss_client:manageownfeeds	1	1617856710	0
1208	1	1	block/rss_client:manageanyfeeds	1	1617856710	0
1209	1	3	block/search_forums:addinstance	1	1617856710	0
1210	1	1	block/search_forums:addinstance	1	1617856710	0
1211	1	3	block/section_links:addinstance	1	1617856710	0
1212	1	1	block/section_links:addinstance	1	1617856710	0
1213	1	3	block/selfcompletion:addinstance	1	1617856710	0
1214	1	1	block/selfcompletion:addinstance	1	1617856710	0
1215	1	7	block/settings:myaddinstance	1	1617856710	0
1216	1	3	block/settings:addinstance	1	1617856710	0
1217	1	1	block/settings:addinstance	1	1617856710	0
1218	1	3	block/site_main_menu:addinstance	1	1617856710	0
1219	1	1	block/site_main_menu:addinstance	1	1617856710	0
1220	1	3	block/social_activities:addinstance	1	1617856710	0
1221	1	1	block/social_activities:addinstance	1	1617856710	0
1222	1	7	block/starredcourses:myaddinstance	1	1617856710	0
1223	1	3	block/tag_flickr:addinstance	1	1617856710	0
1224	1	1	block/tag_flickr:addinstance	1	1617856710	0
1225	1	3	block/tag_youtube:addinstance	1	1617856710	0
1226	1	1	block/tag_youtube:addinstance	1	1617856711	0
1227	1	7	block/tags:myaddinstance	1	1617856711	0
1228	1	3	block/tags:addinstance	1	1617856711	0
1229	1	1	block/tags:addinstance	1	1617856711	0
1230	1	7	block/timeline:myaddinstance	1	1617856711	0
1231	1	4	report/completion:view	1	1617856713	0
1232	1	3	report/completion:view	1	1617856713	0
1233	1	1	report/completion:view	1	1617856713	0
1234	1	4	report/courseoverview:view	1	1617856713	0
1235	1	3	report/courseoverview:view	1	1617856713	0
1236	1	1	report/courseoverview:view	1	1617856713	0
1237	1	4	report/log:view	1	1617856713	0
1238	1	3	report/log:view	1	1617856713	0
1239	1	1	report/log:view	1	1617856713	0
1240	1	4	report/log:viewtoday	1	1617856713	0
1241	1	3	report/log:viewtoday	1	1617856713	0
1242	1	1	report/log:viewtoday	1	1617856713	0
1243	1	4	report/loglive:view	1	1617856714	0
1244	1	3	report/loglive:view	1	1617856714	0
1245	1	1	report/loglive:view	1	1617856714	0
1246	1	4	report/outline:view	1	1617856714	0
1247	1	3	report/outline:view	1	1617856714	0
1248	1	1	report/outline:view	1	1617856714	0
1249	1	4	report/outline:viewuserreport	1	1617856714	0
1250	1	3	report/outline:viewuserreport	1	1617856714	0
1251	1	1	report/outline:viewuserreport	1	1617856714	0
1252	1	4	report/participation:view	1	1617856714	0
1253	1	3	report/participation:view	1	1617856714	0
1254	1	1	report/participation:view	1	1617856714	0
1255	1	1	report/performance:view	1	1617856714	0
1256	1	4	report/progress:view	1	1617856714	0
1257	1	3	report/progress:view	1	1617856714	0
1258	1	1	report/progress:view	1	1617856714	0
1259	1	1	report/security:view	1	1617856714	0
1260	1	4	report/stats:view	1	1617856714	0
1261	1	3	report/stats:view	1	1617856714	0
1262	1	1	report/stats:view	1	1617856714	0
1263	1	1	report/status:view	1	1617856714	0
1264	1	6	report/usersessions:manageownsessions	-1000	1617856714	0
1265	1	7	report/usersessions:manageownsessions	1	1617856714	0
1266	1	1	report/usersessions:manageownsessions	1	1617856714	0
1267	1	4	gradeexport/ods:view	1	1617856714	0
1268	1	3	gradeexport/ods:view	1	1617856714	0
1269	1	1	gradeexport/ods:view	1	1617856714	0
1270	1	1	gradeexport/ods:publish	1	1617856714	0
1271	1	4	gradeexport/txt:view	1	1617856715	0
1272	1	3	gradeexport/txt:view	1	1617856715	0
1273	1	1	gradeexport/txt:view	1	1617856715	0
1274	1	1	gradeexport/txt:publish	1	1617856715	0
1275	1	4	gradeexport/xls:view	1	1617856715	0
1276	1	3	gradeexport/xls:view	1	1617856715	0
1277	1	1	gradeexport/xls:view	1	1617856715	0
1278	1	1	gradeexport/xls:publish	1	1617856715	0
1279	1	4	gradeexport/xml:view	1	1617856715	0
1280	1	3	gradeexport/xml:view	1	1617856715	0
1281	1	1	gradeexport/xml:view	1	1617856715	0
1282	1	1	gradeexport/xml:publish	1	1617856715	0
1283	1	3	gradeimport/csv:view	1	1617856715	0
1284	1	1	gradeimport/csv:view	1	1617856715	0
1285	1	3	gradeimport/direct:view	1	1617856715	0
1286	1	1	gradeimport/direct:view	1	1617856715	0
1287	1	3	gradeimport/xml:view	1	1617856715	0
1288	1	1	gradeimport/xml:view	1	1617856715	0
1289	1	1	gradeimport/xml:publish	1	1617856715	0
1290	1	4	gradereport/grader:view	1	1617856715	0
1291	1	3	gradereport/grader:view	1	1617856715	0
1292	1	1	gradereport/grader:view	1	1617856715	0
1293	1	4	gradereport/history:view	1	1617856715	0
1294	1	3	gradereport/history:view	1	1617856715	0
1295	1	1	gradereport/history:view	1	1617856715	0
1296	1	4	gradereport/outcomes:view	1	1617856715	0
1297	1	3	gradereport/outcomes:view	1	1617856715	0
1298	1	1	gradereport/outcomes:view	1	1617856715	0
1299	1	7	gradereport/overview:view	1	1617856715	0
1300	1	3	gradereport/singleview:view	1	1617856715	0
1301	1	1	gradereport/singleview:view	1	1617856715	0
1302	1	5	gradereport/user:view	1	1617856716	0
1303	1	4	gradereport/user:view	1	1617856716	0
1304	1	3	gradereport/user:view	1	1617856716	0
1305	1	1	gradereport/user:view	1	1617856716	0
1306	1	7	repository/areafiles:view	1	1617856716	0
1307	1	7	repository/boxnet:view	1	1617856716	0
1308	1	2	repository/contentbank:view	1	1617856716	0
1309	1	3	repository/contentbank:view	1	1617856716	0
1310	1	1	repository/contentbank:view	1	1617856716	0
1311	1	2	repository/contentbank:accesscoursecontent	1	1617856716	0
1312	1	3	repository/contentbank:accesscoursecontent	1	1617856717	0
1313	1	1	repository/contentbank:accesscoursecontent	1	1617856717	0
1314	1	2	repository/contentbank:accesscoursecategorycontent	1	1617856717	0
1315	1	1	repository/contentbank:accesscoursecategorycontent	1	1617856717	0
1316	1	7	repository/contentbank:accessgeneralcontent	1	1617856717	0
1317	1	2	repository/coursefiles:view	1	1617856717	0
1318	1	4	repository/coursefiles:view	1	1617856717	0
1319	1	3	repository/coursefiles:view	1	1617856717	0
1320	1	1	repository/coursefiles:view	1	1617856717	0
1321	1	7	repository/dropbox:view	1	1617856717	0
1322	1	7	repository/equella:view	1	1617856717	0
1323	1	2	repository/filesystem:view	1	1617856717	0
1324	1	4	repository/filesystem:view	1	1617856717	0
1325	1	3	repository/filesystem:view	1	1617856717	0
1326	1	1	repository/filesystem:view	1	1617856717	0
1327	1	7	repository/flickr:view	1	1617856717	0
1328	1	7	repository/flickr_public:view	1	1617856717	0
1329	1	7	repository/googledocs:view	1	1617856717	0
1330	1	2	repository/local:view	1	1617856717	0
1331	1	4	repository/local:view	1	1617856717	0
1332	1	3	repository/local:view	1	1617856717	0
1333	1	1	repository/local:view	1	1617856717	0
1334	1	7	repository/merlot:view	1	1617856717	0
1335	1	7	repository/nextcloud:view	1	1617856717	0
1336	1	7	repository/onedrive:view	1	1617856718	0
1337	1	7	repository/picasa:view	1	1617856718	0
1338	1	7	repository/recent:view	1	1617856718	0
1339	1	7	repository/s3:view	1	1617856718	0
1340	1	7	repository/skydrive:view	1	1617856718	0
1341	1	7	repository/upload:view	1	1617856718	0
1342	1	7	repository/url:view	1	1617856718	0
1343	1	7	repository/user:view	1	1617856718	0
1344	1	2	repository/webdav:view	1	1617856718	0
1345	1	4	repository/webdav:view	1	1617856718	0
1346	1	3	repository/webdav:view	1	1617856718	0
1347	1	1	repository/webdav:view	1	1617856718	0
1348	1	7	repository/wikimedia:view	1	1617856718	0
1349	1	7	repository/youtube:view	1	1617856718	0
1350	1	1	tool/customlang:view	1	1617856720	0
1351	1	1	tool/customlang:edit	1	1617856720	0
1352	1	1	tool/customlang:export	1	1617856720	0
1353	1	7	tool/dataprivacy:downloadownrequest	1	1617856721	0
1354	1	7	tool/dataprivacy:requestdelete	1	1617856721	0
1355	1	1	tool/lpmigrate:frameworksmigrate	1	1617856721	0
1356	1	4	tool/monitor:subscribe	1	1617856722	0
1357	1	3	tool/monitor:subscribe	1	1617856722	0
1358	1	1	tool/monitor:subscribe	1	1617856722	0
1359	1	4	tool/monitor:managerules	1	1617856722	0
1360	1	3	tool/monitor:managerules	1	1617856722	0
1361	1	1	tool/monitor:managerules	1	1617856722	0
1362	1	1	tool/monitor:managetool	1	1617856722	0
1363	1	7	tool/policy:accept	1	1617856722	0
1364	1	1	tool/policy:managedocs	1	1617856722	0
1365	1	1	tool/policy:viewacceptances	1	1617856722	0
1366	1	3	tool/recyclebin:deleteitems	1	1617856722	0
1367	1	1	tool/recyclebin:deleteitems	1	1617856722	0
1368	1	3	tool/recyclebin:restoreitems	1	1617856722	0
1369	1	1	tool/recyclebin:restoreitems	1	1617856722	0
1370	1	4	tool/recyclebin:viewitems	1	1617856723	0
1371	1	3	tool/recyclebin:viewitems	1	1617856723	0
1372	1	1	tool/recyclebin:viewitems	1	1617856723	0
1373	1	1	tool/uploaduser:uploaduserpictures	1	1617856723	0
1374	1	1	tool/usertours:managetours	1	1617856723	0
1375	1	1	contenttype/h5p:access	1	1617856724	0
1376	1	2	contenttype/h5p:access	1	1617856724	0
1377	1	3	contenttype/h5p:access	1	1617856724	0
1378	1	1	contenttype/h5p:upload	1	1617856724	0
1379	1	2	contenttype/h5p:upload	1	1617856724	0
1380	1	3	contenttype/h5p:upload	1	1617856724	0
1381	1	1	contenttype/h5p:useeditor	1	1617856724	0
1382	1	2	contenttype/h5p:useeditor	1	1617856724	0
1383	1	3	contenttype/h5p:useeditor	1	1617856724	0
1384	1	3	booktool/importhtml:import	1	1617856725	0
1385	1	1	booktool/importhtml:import	1	1617856725	0
1386	1	6	booktool/print:print	1	1617856725	0
1387	1	8	booktool/print:print	1	1617856725	0
1388	1	5	booktool/print:print	1	1617856725	0
1389	1	4	booktool/print:print	1	1617856725	0
1390	1	3	booktool/print:print	1	1617856725	0
1391	1	1	booktool/print:print	1	1617856725	0
1392	1	4	forumreport/summary:view	1	1617856726	0
1393	1	3	forumreport/summary:view	1	1617856726	0
1394	1	1	forumreport/summary:view	1	1617856726	0
1395	1	4	forumreport/summary:viewall	1	1617856726	0
1396	1	3	forumreport/summary:viewall	1	1617856726	0
1397	1	1	forumreport/summary:viewall	1	1617856726	0
1398	1	4	quiz/grading:viewstudentnames	1	1617856727	0
1399	1	3	quiz/grading:viewstudentnames	1	1617856727	0
1400	1	1	quiz/grading:viewstudentnames	1	1617856727	0
1401	1	4	quiz/grading:viewidnumber	1	1617856727	0
1402	1	3	quiz/grading:viewidnumber	1	1617856727	0
1403	1	1	quiz/grading:viewidnumber	1	1617856727	0
1404	1	4	quiz/statistics:view	1	1617856727	0
1405	1	3	quiz/statistics:view	1	1617856727	0
1406	1	1	quiz/statistics:view	1	1617856727	0
1407	1	1	quizaccess/seb:managetemplates	1	1617856727	0
1408	1	1	quizaccess/seb:bypassseb	1	1617856727	0
1409	1	3	quizaccess/seb:bypassseb	1	1617856727	0
1410	1	1	quizaccess/seb:manage_seb_requiresafeexambrowser	1	1617856727	0
1411	1	3	quizaccess/seb:manage_seb_requiresafeexambrowser	1	1617856727	0
1412	1	1	quizaccess/seb:manage_seb_templateid	1	1617856727	0
1413	1	3	quizaccess/seb:manage_seb_templateid	1	1617856727	0
1414	1	1	quizaccess/seb:manage_filemanager_sebconfigfile	1	1617856727	0
1415	1	3	quizaccess/seb:manage_filemanager_sebconfigfile	1	1617856727	0
1416	1	1	quizaccess/seb:manage_seb_showsebdownloadlink	1	1617856727	0
1417	1	3	quizaccess/seb:manage_seb_showsebdownloadlink	1	1617856727	0
1418	1	1	quizaccess/seb:manage_seb_allowedbrowserexamkeys	1	1617856727	0
1419	1	3	quizaccess/seb:manage_seb_allowedbrowserexamkeys	1	1617856728	0
1420	1	1	quizaccess/seb:manage_seb_linkquitseb	1	1617856728	0
1421	1	3	quizaccess/seb:manage_seb_linkquitseb	1	1617856728	0
1422	1	1	quizaccess/seb:manage_seb_userconfirmquit	1	1617856728	0
1423	1	3	quizaccess/seb:manage_seb_userconfirmquit	1	1617856728	0
1424	1	1	quizaccess/seb:manage_seb_allowuserquitseb	1	1617856728	0
1425	1	3	quizaccess/seb:manage_seb_allowuserquitseb	1	1617856728	0
1426	1	1	quizaccess/seb:manage_seb_quitpassword	1	1617856728	0
1427	1	3	quizaccess/seb:manage_seb_quitpassword	1	1617856728	0
1428	1	1	quizaccess/seb:manage_seb_allowreloadinexam	1	1617856728	0
1429	1	3	quizaccess/seb:manage_seb_allowreloadinexam	1	1617856728	0
1430	1	1	quizaccess/seb:manage_seb_showsebtaskbar	1	1617856728	0
1431	1	3	quizaccess/seb:manage_seb_showsebtaskbar	1	1617856728	0
1432	1	1	quizaccess/seb:manage_seb_showreloadbutton	1	1617856728	0
1433	1	3	quizaccess/seb:manage_seb_showreloadbutton	1	1617856728	0
1434	1	1	quizaccess/seb:manage_seb_showtime	1	1617856728	0
1435	1	3	quizaccess/seb:manage_seb_showtime	1	1617856728	0
1436	1	1	quizaccess/seb:manage_seb_showkeyboardlayout	1	1617856728	0
1437	1	3	quizaccess/seb:manage_seb_showkeyboardlayout	1	1617856728	0
1438	1	1	quizaccess/seb:manage_seb_showwificontrol	1	1617856728	0
1439	1	3	quizaccess/seb:manage_seb_showwificontrol	1	1617856728	0
1440	1	1	quizaccess/seb:manage_seb_enableaudiocontrol	1	1617856728	0
1441	1	3	quizaccess/seb:manage_seb_enableaudiocontrol	1	1617856728	0
1442	1	1	quizaccess/seb:manage_seb_muteonstartup	1	1617856728	0
1443	1	3	quizaccess/seb:manage_seb_muteonstartup	1	1617856728	0
1444	1	1	quizaccess/seb:manage_seb_allowspellchecking	1	1617856728	0
1445	1	3	quizaccess/seb:manage_seb_allowspellchecking	1	1617856728	0
1446	1	1	quizaccess/seb:manage_seb_activateurlfiltering	1	1617856728	0
1447	1	3	quizaccess/seb:manage_seb_activateurlfiltering	1	1617856728	0
1448	1	1	quizaccess/seb:manage_seb_filterembeddedcontent	1	1617856728	0
1449	1	3	quizaccess/seb:manage_seb_filterembeddedcontent	1	1617856728	0
1450	1	1	quizaccess/seb:manage_seb_expressionsallowed	1	1617856728	0
1451	1	3	quizaccess/seb:manage_seb_expressionsallowed	1	1617856728	0
1452	1	1	quizaccess/seb:manage_seb_regexallowed	1	1617856728	0
1453	1	3	quizaccess/seb:manage_seb_regexallowed	1	1617856728	0
1454	1	1	quizaccess/seb:manage_seb_expressionsblocked	1	1617856728	0
1455	1	3	quizaccess/seb:manage_seb_expressionsblocked	1	1617856728	0
1456	1	1	quizaccess/seb:manage_seb_regexblocked	1	1617856728	0
1457	1	3	quizaccess/seb:manage_seb_regexblocked	1	1617856728	0
1458	1	3	atto/h5p:addembed	1	1617856730	0
1459	1	7	atto/recordrtc:recordaudio	1	1617856730	0
1460	1	7	atto/recordrtc:recordvideo	1	1617856730	0
1461	1	7	webservice/rest:use	1	1617856749	2
\.


--
-- Data for Name: mdl_role_context_levels; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_role_context_levels (id, roleid, contextlevel) FROM stdin;
1	1	10
2	1	40
3	1	50
4	2	10
5	2	40
6	3	50
7	3	70
8	4	50
9	4	70
10	5	50
11	5	70
\.


--
-- Data for Name: mdl_role_names; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_role_names (id, roleid, contextid, name) FROM stdin;
\.


--
-- Data for Name: mdl_scale; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_scale (id, courseid, userid, name, scale, description, descriptionformat, timemodified) FROM stdin;
1	0	0	Vías de conocimiento separadas y conectadas	Muy individualista,Término medio,Muy comunicativo	La escala está basada en la teoría de las vías de conocimiento separadas (aprendizaje individual)  y conectadas (aprendizaje colaborativo). Esta teoría describe dos maneras diferentes con las que podemos evaluar y aprender a partir de lo que vemos y oímos. <li><strong> Conocedores separados (individulaistas) </strong> se mantiene lo la más objetivso posible, sin incluir sentimientos y emociones. En una discusión con otras personas, les gusta defender sus propias ideas, usando la lógica para encontrar fisuras en las ideas del adversario. </li> <li> <strong> Conocedores conectados (colaborativos) </strong> son más sensibles a otras personas. Son expertos en empatía y tienden a escuchar y hacer preguntas hasta que sienten que pueden conectar y "entender las cosas desde otros punto de vista". Aprenden tratando de compartir experiencias lo que les permite encontrar el conocimiento en las demás personas.	0	1617856670
2	0	0	Escala de competencia por defecto	No competente aún,Competente	Una escala de valoración binaria que no proporciona ninguna información adicional más allá de si alguien ha demostrado competencia o no.	0	1617856670
\.


--
-- Data for Name: mdl_scale_history; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_scale_history (id, action, oldid, source, timemodified, loggeduser, courseid, userid, name, scale, description) FROM stdin;
\.


--
-- Data for Name: mdl_scorm; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_scorm (id, course, name, scormtype, reference, intro, introformat, version, maxgrade, grademethod, whatgrade, maxattempt, forcecompleted, forcenewattempt, lastattemptlock, masteryoverride, displayattemptstatus, displaycoursestructure, updatefreq, sha1hash, md5hash, revision, launch, skipview, hidebrowse, hidetoc, nav, navpositionleft, navpositiontop, auto, popup, options, width, height, timeopen, timeclose, timemodified, completionstatusrequired, completionscorerequired, completionstatusallscos, displayactivityname, autocommit) FROM stdin;
\.


--
-- Data for Name: mdl_scorm_aicc_session; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_scorm_aicc_session (id, userid, scormid, hacpsession, scoid, scormmode, scormstatus, attempt, lessonstatus, sessiontime, timecreated, timemodified) FROM stdin;
\.


--
-- Data for Name: mdl_scorm_scoes; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_scorm_scoes (id, scorm, manifest, organization, parent, identifier, launch, scormtype, title, sortorder) FROM stdin;
\.


--
-- Data for Name: mdl_scorm_scoes_data; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_scorm_scoes_data (id, scoid, name, value) FROM stdin;
\.


--
-- Data for Name: mdl_scorm_scoes_track; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_scorm_scoes_track (id, userid, scormid, scoid, attempt, element, value, timemodified) FROM stdin;
\.


--
-- Data for Name: mdl_scorm_seq_mapinfo; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_scorm_seq_mapinfo (id, scoid, objectiveid, targetobjectiveid, readsatisfiedstatus, readnormalizedmeasure, writesatisfiedstatus, writenormalizedmeasure) FROM stdin;
\.


--
-- Data for Name: mdl_scorm_seq_objective; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_scorm_seq_objective (id, scoid, primaryobj, objectiveid, satisfiedbymeasure, minnormalizedmeasure) FROM stdin;
\.


--
-- Data for Name: mdl_scorm_seq_rolluprule; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_scorm_seq_rolluprule (id, scoid, childactivityset, minimumcount, minimumpercent, conditioncombination, action) FROM stdin;
\.


--
-- Data for Name: mdl_scorm_seq_rolluprulecond; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_scorm_seq_rolluprulecond (id, scoid, rollupruleid, operator, cond) FROM stdin;
\.


--
-- Data for Name: mdl_scorm_seq_rulecond; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_scorm_seq_rulecond (id, scoid, ruleconditionsid, refrencedobjective, measurethreshold, operator, cond) FROM stdin;
\.


--
-- Data for Name: mdl_scorm_seq_ruleconds; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_scorm_seq_ruleconds (id, scoid, conditioncombination, ruletype, action) FROM stdin;
\.


--
-- Data for Name: mdl_search_index_requests; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_search_index_requests (id, contextid, searcharea, timerequested, partialarea, partialtime, indexpriority) FROM stdin;
\.


--
-- Data for Name: mdl_search_simpledb_index; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_search_simpledb_index (id, docid, itemid, title, content, contextid, areaid, type, courseid, owneruserid, modified, userid, description1, description2) FROM stdin;
\.


--
-- Data for Name: mdl_sessions; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_sessions (id, state, sid, userid, sessdata, timecreated, timemodified, firstip, lastip) FROM stdin;
\.


--
-- Data for Name: mdl_stats_daily; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_stats_daily (id, courseid, timeend, roleid, stattype, stat1, stat2) FROM stdin;
\.


--
-- Data for Name: mdl_stats_monthly; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_stats_monthly (id, courseid, timeend, roleid, stattype, stat1, stat2) FROM stdin;
\.


--
-- Data for Name: mdl_stats_user_daily; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_stats_user_daily (id, courseid, userid, roleid, timeend, statsreads, statswrites, stattype) FROM stdin;
\.


--
-- Data for Name: mdl_stats_user_monthly; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_stats_user_monthly (id, courseid, userid, roleid, timeend, statsreads, statswrites, stattype) FROM stdin;
\.


--
-- Data for Name: mdl_stats_user_weekly; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_stats_user_weekly (id, courseid, userid, roleid, timeend, statsreads, statswrites, stattype) FROM stdin;
\.


--
-- Data for Name: mdl_stats_weekly; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_stats_weekly (id, courseid, timeend, roleid, stattype, stat1, stat2) FROM stdin;
\.


--
-- Data for Name: mdl_survey; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_survey (id, course, template, days, timecreated, timemodified, name, intro, introformat, questions, completionsubmit) FROM stdin;
1	0	0	0	985017600	985017600	collesaname	collesaintro	0	25,26,27,28,29,30,43,44	0
2	0	0	0	985017600	985017600	collespname	collespintro	0	31,32,33,34,35,36,43,44	0
3	0	0	0	985017600	985017600	collesapname	collesapintro	0	37,38,39,40,41,42,43,44	0
4	0	0	0	985017600	985017600	attlsname	attlsintro	0	65,67,68	0
5	0	0	0	985017600	985017600	ciqname	ciqintro	0	69,70,71,72,73	0
\.


--
-- Data for Name: mdl_survey_analysis; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_survey_analysis (id, survey, userid, notes) FROM stdin;
\.


--
-- Data for Name: mdl_survey_answers; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_survey_answers (id, userid, survey, question, "time", answer1, answer2) FROM stdin;
\.


--
-- Data for Name: mdl_survey_questions; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_survey_questions (id, text, shorttext, multi, intro, type, options) FROM stdin;
1	colles1	colles1short			1	scaletimes5
2	colles2	colles2short			1	scaletimes5
3	colles3	colles3short			1	scaletimes5
4	colles4	colles4short			1	scaletimes5
5	colles5	colles5short			1	scaletimes5
6	colles6	colles6short			1	scaletimes5
7	colles7	colles7short			1	scaletimes5
8	colles8	colles8short			1	scaletimes5
9	colles9	colles9short			1	scaletimes5
10	colles10	colles10short			1	scaletimes5
11	colles11	colles11short			1	scaletimes5
12	colles12	colles12short			1	scaletimes5
13	colles13	colles13short			1	scaletimes5
14	colles14	colles14short			1	scaletimes5
15	colles15	colles15short			1	scaletimes5
16	colles16	colles16short			1	scaletimes5
17	colles17	colles17short			1	scaletimes5
18	colles18	colles18short			1	scaletimes5
19	colles19	colles19short			1	scaletimes5
20	colles20	colles20short			1	scaletimes5
21	colles21	colles21short			1	scaletimes5
22	colles22	colles22short			1	scaletimes5
23	colles23	colles23short			1	scaletimes5
24	colles24	colles24short			1	scaletimes5
25	collesm1	collesm1short	1,2,3,4	collesmintro	1	scaletimes5
26	collesm2	collesm2short	5,6,7,8	collesmintro	1	scaletimes5
27	collesm3	collesm3short	9,10,11,12	collesmintro	1	scaletimes5
28	collesm4	collesm4short	13,14,15,16	collesmintro	1	scaletimes5
29	collesm5	collesm5short	17,18,19,20	collesmintro	1	scaletimes5
30	collesm6	collesm6short	21,22,23,24	collesmintro	1	scaletimes5
31	collesm1	collesm1short	1,2,3,4	collesmintro	2	scaletimes5
32	collesm2	collesm2short	5,6,7,8	collesmintro	2	scaletimes5
33	collesm3	collesm3short	9,10,11,12	collesmintro	2	scaletimes5
34	collesm4	collesm4short	13,14,15,16	collesmintro	2	scaletimes5
35	collesm5	collesm5short	17,18,19,20	collesmintro	2	scaletimes5
36	collesm6	collesm6short	21,22,23,24	collesmintro	2	scaletimes5
37	collesm1	collesm1short	1,2,3,4	collesmintro	3	scaletimes5
38	collesm2	collesm2short	5,6,7,8	collesmintro	3	scaletimes5
39	collesm3	collesm3short	9,10,11,12	collesmintro	3	scaletimes5
40	collesm4	collesm4short	13,14,15,16	collesmintro	3	scaletimes5
41	collesm5	collesm5short	17,18,19,20	collesmintro	3	scaletimes5
42	collesm6	collesm6short	21,22,23,24	collesmintro	3	scaletimes5
43	howlong				1	howlongoptions
44	othercomments				0	\N
45	attls1	attls1short			1	scaleagree5
46	attls2	attls2short			1	scaleagree5
47	attls3	attls3short			1	scaleagree5
48	attls4	attls4short			1	scaleagree5
49	attls5	attls5short			1	scaleagree5
50	attls6	attls6short			1	scaleagree5
51	attls7	attls7short			1	scaleagree5
52	attls8	attls8short			1	scaleagree5
53	attls9	attls9short			1	scaleagree5
54	attls10	attls10short			1	scaleagree5
55	attls11	attls11short			1	scaleagree5
56	attls12	attls12short			1	scaleagree5
57	attls13	attls13short			1	scaleagree5
58	attls14	attls14short			1	scaleagree5
59	attls15	attls15short			1	scaleagree5
60	attls16	attls16short			1	scaleagree5
61	attls17	attls17short			1	scaleagree5
62	attls18	attls18short			1	scaleagree5
63	attls19	attls19short			1	scaleagree5
64	attls20	attls20short			1	scaleagree5
65	attlsm1	attlsm1	45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64	attlsmintro	1	scaleagree5
66	-	-	-	-	0	-
67	attlsm2	attlsm2	63,62,59,57,55,49,52,50,48,47	attlsmintro	-1	scaleagree5
68	attlsm3	attlsm3	46,54,45,51,60,53,56,58,61,64	attlsmintro	-1	scaleagree5
69	ciq1	ciq1short			0	\N
70	ciq2	ciq2short			0	\N
71	ciq3	ciq3short			0	\N
72	ciq4	ciq4short			0	\N
73	ciq5	ciq5short			0	\N
\.


--
-- Data for Name: mdl_tag; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_tag (id, userid, tagcollid, name, rawname, isstandard, description, descriptionformat, flag, timemodified) FROM stdin;
\.


--
-- Data for Name: mdl_tag_area; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_tag_area (id, component, itemtype, enabled, tagcollid, callback, callbackfile, showstandard, multiplecontexts) FROM stdin;
1	core	user	1	1	user_get_tagged_users	/user/lib.php	2	0
2	core	course	1	1	course_get_tagged_courses	/course/lib.php	0	0
3	core_question	question	1	1	\N	\N	0	1
4	core	post	1	1	blog_get_tagged_posts	/blog/lib.php	0	0
5	core	blog_external	1	1	\N	\N	0	0
6	core	course_modules	1	1	course_get_tagged_course_modules	/course/lib.php	0	0
7	mod_book	book_chapters	1	1	mod_book_get_tagged_chapters	/mod/book/locallib.php	0	0
8	mod_data	data_records	1	1	mod_data_get_tagged_records	/mod/data/locallib.php	0	0
9	mod_forum	forum_posts	1	1	mod_forum_get_tagged_posts	/mod/forum/locallib.php	0	0
10	mod_glossary	glossary_entries	1	1	mod_glossary_get_tagged_entries	/mod/glossary/locallib.php	0	0
11	mod_wiki	wiki_pages	1	1	mod_wiki_get_tagged_pages	/mod/wiki/locallib.php	0	0
\.


--
-- Data for Name: mdl_tag_coll; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_tag_coll (id, name, isdefault, component, sortorder, searchable, customurl) FROM stdin;
1	\N	1	\N	0	1	\N
\.


--
-- Data for Name: mdl_tag_correlation; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_tag_correlation (id, tagid, correlatedtags) FROM stdin;
\.


--
-- Data for Name: mdl_tag_instance; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_tag_instance (id, tagid, component, itemtype, itemid, contextid, tiuserid, ordering, timecreated, timemodified) FROM stdin;
\.


--
-- Data for Name: mdl_task_adhoc; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_task_adhoc (id, component, classname, nextruntime, faildelay, customdata, userid, blocking, timecreated, timestarted, hostname, pid) FROM stdin;
\.


--
-- Data for Name: mdl_task_log; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_task_log (id, type, component, classname, userid, timestart, timeend, dbreads, dbwrites, result, output, hostname, pid) FROM stdin;
1	0	moodle	core\\task\\session_cleanup_task	0	1617856801.9741000000	1617856802.0052000000	21	1	0	Execute scheduled task: Limpiar sesiones antiguas (core\\task\\session_cleanup_task)\n... started 05:40:01. Current memory use 15.9MB.\n... used 22 dbqueries\n... used 0.013468027114868 seconds\nScheduled task complete: Limpiar sesiones antiguas (core\\task\\session_cleanup_task)\n	18211e19acdd	96
2	0	moodle	core\\task\\send_new_user_passwords_task	0	1617856802.0136000000	1617856802.0148000000	1	0	0	Execute scheduled task: Enviar nuevas contraseñas de usuario (core\\task\\send_new_user_passwords_task)\n... started 05:40:02. Current memory use 17.3MB.\n... used 1 dbqueries\n... used 0.00082015991210938 seconds\nScheduled task complete: Enviar nuevas contraseñas de usuario (core\\task\\send_new_user_passwords_task)\n	18211e19acdd	96
3	0	moodle	core\\task\\send_failed_login_notifications_task	0	1617856802.0202000000	1617856802.0205000000	0	0	0	Execute scheduled task: Enviar notificaciones de inicio de sesión fallidos (core\\task\\send_failed_login_notifications_task)\n... started 05:40:02. Current memory use 17.3MB.\n... used 0 dbqueries\n... used 2.4080276489258E-5 seconds\nScheduled task complete: Enviar notificaciones de inicio de sesión fallidos (core\\task\\send_failed_login_notifications_task)\n	18211e19acdd	96
4	0	moodle	core\\task\\legacy_plugin_cron_task	0	1617856802.0261000000	1617856802.1696000000	2	0	0	Execute scheduled task: Procesamiento heredado de extensiones (core\\task\\legacy_plugin_cron_task)\n... started 05:40:02. Current memory use 17.4MB.\nRunning auth crons if required...\nRunning enrol crons if required...\nStarting activity modules\nFinished activity modules\nStarting blocks\nFinished blocks\nStarting admin reports\nFinished admin reports\nStarting course reports\nFinished course reports\nStarting gradebook plugins\nFinished gradebook plugins\n... used 2 dbqueries\n... used 0.14326477050781 seconds\nScheduled task complete: Procesamiento heredado de extensiones (core\\task\\legacy_plugin_cron_task)\n	18211e19acdd	96
5	0	moodle	core\\task\\grade_cron_task	0	1617856802.1776000000	1617856802.1826000000	6	0	0	Execute scheduled task: Procesamiento en segundo plano del libro de calificaciones (core\\task\\grade_cron_task)\n... started 05:40:02. Current memory use 38.7MB.\n... used 6 dbqueries\n... used 0.004490852355957 seconds\nScheduled task complete: Procesamiento en segundo plano del libro de calificaciones (core\\task\\grade_cron_task)\n	18211e19acdd	96
6	0	moodle	core\\task\\completion_regular_task	0	1617856802.1892000000	1617856802.2185000000	18	0	0	Execute scheduled task: Marcado continuo de finalización de actividades y cursos (core\\task\\completion_regular_task)\n... started 05:40:02. Current memory use 38.8MB.\n... used 18 dbqueries\n... used 0.028832912445068 seconds\nScheduled task complete: Marcado continuo de finalización de actividades y cursos (core\\task\\completion_regular_task)\n	18211e19acdd	96
7	0	moodle	core\\task\\portfolio_cron_task	0	1617856802.2239000000	1617856802.2243000000	0	0	0	Execute scheduled task: Procesamiento en segundo plano de los extensiones de portfolio (core\\task\\portfolio_cron_task)\n... started 05:40:02. Current memory use 39MB.\n... used 0 dbqueries\n... used 3.6954879760742E-5 seconds\nScheduled task complete: Procesamiento en segundo plano de los extensiones de portfolio (core\\task\\portfolio_cron_task)\n	18211e19acdd	96
8	0	moodle	core\\task\\plagiarism_cron_task	0	1617856802.2299000000	1617856802.2302000000	0	0	0	Execute scheduled task: Procesamiento en segundo plano para cron heredado en las extensiones de plagio (core\\task\\plagiarism_cron_task)\n... started 05:40:02. Current memory use 39MB.\n... used 0 dbqueries\n... used 2.288818359375E-5 seconds\nScheduled task complete: Procesamiento en segundo plano para cron heredado en las extensiones de plagio (core\\task\\plagiarism_cron_task)\n	18211e19acdd	96
9	0	moodle	core\\task\\calendar_cron_task	0	1617856802.2354000000	1617856802.2399000000	1	0	0	Execute scheduled task: Enviar notificaciones de calendario (core\\task\\calendar_cron_task)\n... started 05:40:02. Current memory use 39MB.\n... used 1 dbqueries\n... used 0.0042049884796143 seconds\nScheduled task complete: Enviar notificaciones de calendario (core\\task\\calendar_cron_task)\n	18211e19acdd	96
10	0	moodle	core\\task\\blog_cron_task	0	1617856802.2462000000	1617856802.2465000000	0	0	0	Execute scheduled task: Sincronizar blogs externos (core\\task\\blog_cron_task)\n... started 05:40:02. Current memory use 39.4MB.\n... used 0 dbqueries\n... used 2.4080276489258E-5 seconds\nScheduled task complete: Sincronizar blogs externos (core\\task\\blog_cron_task)\n	18211e19acdd	96
11	0	moodle	core\\task\\question_preview_cleanup_task	0	1617856802.2520000000	1617856802.2759000000	1	4	0	Execute scheduled task: Procesamiento en segundo plano para limpieza de vistas previas de preguntas (core\\task\\question_preview_cleanup_task)\n... started 05:40:02. Current memory use 39.4MB.\n\n  Cleaning up old question previews...done.\n... used 5 dbqueries\n... used 0.023589849472046 seconds\nScheduled task complete: Procesamiento en segundo plano para limpieza de vistas previas de preguntas (core\\task\\question_preview_cleanup_task)\n	18211e19acdd	96
12	0	moodle	core\\task\\question_stats_cleanup_task	0	1617856802.2834000000	1617856802.2867000000	1	3	0	Execute scheduled task: Procesamiento en segundo plano para limpieza de caché de estadísticas de pregunta (core\\task\\question_stats_cleanup_task)\n... started 05:40:02. Current memory use 41MB.\n\n  Cleaning up old question statistics cache records...done.\n... used 4 dbqueries\n... used 0.0029098987579346 seconds\nScheduled task complete: Procesamiento en segundo plano para limpieza de caché de estadísticas de pregunta (core\\task\\question_stats_cleanup_task)\n	18211e19acdd	96
13	0	moodle	core\\task\\badges_cron_task	0	1617856802.2936000000	1617856802.2988000000	1	0	0	Execute scheduled task: Insignias del premio (core\\task\\badges_cron_task)\n... started 05:40:02. Current memory use 41.1MB.\nStarted reviewing available badges.\nBadges were issued 0 time(s).\n... used 1 dbqueries\n... used 0.0048718452453613 seconds\nScheduled task complete: Insignias del premio (core\\task\\badges_cron_task)\n	18211e19acdd	96
14	0	moodle	core\\task\\badges_message_task	0	1617856802.3048000000	1617856802.3057000000	1	0	0	Execute scheduled task: Procesamiento en segundo plano para enviar notificaciones de insignias (core\\task\\badges_message_task)\n... started 05:40:02. Current memory use 41.4MB.\nSending scheduled badge notifications.\n... used 1 dbqueries\n... used 0.0005948543548584 seconds\nScheduled task complete: Procesamiento en segundo plano para enviar notificaciones de insignias (core\\task\\badges_message_task)\n	18211e19acdd	96
15	0	mod_assign	mod_assign\\task\\cron_task	0	1617856802.3702000000	1617856802.3934000000	10	0	0	Execute scheduled task: Procesamiento en segundo plano para módulo Tarea (mod_assign\\task\\cron_task)\n... started 05:40:02. Current memory use 43.8MB.\n... used 10 dbqueries\n... used 0.022654056549072 seconds\nScheduled task complete: Procesamiento en segundo plano para módulo Tarea (mod_assign\\task\\cron_task)\n	18211e19acdd	96
16	0	mod_chat	mod_chat\\task\\cron_task	0	1617856802.3999000000	1617856802.4050000000	2	2	0	Execute scheduled task: Procesamiento en segundo plano para módulo chat (mod_chat\\task\\cron_task)\n... started 05:40:02. Current memory use 44.4MB.\n... used 4 dbqueries\n... used 0.0046958923339844 seconds\nScheduled task complete: Procesamiento en segundo plano para módulo chat (mod_chat\\task\\cron_task)\n	18211e19acdd	96
17	0	mod_forum	mod_forum\\task\\cron_task	0	1617856802.4123000000	1617856802.4160000000	1	1	0	Execute scheduled task: Correos del foro y trabajos de mantenimiento (mod_forum\\task\\cron_task)\n... started 05:40:02. Current memory use 44.5MB.\nRemoving old digest records from 7 days ago.\nRemoved all old digest records.\nFetching unmailed posts.\n  No posts found.\n... used 2 dbqueries\n... used 0.0031518936157227 seconds\nScheduled task complete: Correos del foro y trabajos de mantenimiento (mod_forum\\task\\cron_task)\n	18211e19acdd	96
18	0	mod_quiz	mod_quiz\\task\\update_overdue_attempts	0	1617856802.4297000000	1617856802.4422000000	4	0	0	Execute scheduled task: Updating overdue quiz attempts (mod_quiz\\task\\update_overdue_attempts)\n... started 05:40:02. Current memory use 45.3MB.\n  Looking for quiz overdue quiz attempts...\n  Considered 0 attempts in 0 quizzes.\n... used 4 dbqueries\n... used 0.012064933776855 seconds\nScheduled task complete: Updating overdue quiz attempts (mod_quiz\\task\\update_overdue_attempts)\n	18211e19acdd	96
19	0	mod_quiz	mod_quiz\\task\\legacy_quiz_reports_cron	0	1617856802.4472000000	1617856802.4478000000	0	0	0	Execute scheduled task: Legacy cron quiz reports (mod_quiz\\task\\legacy_quiz_reports_cron)\n... started 05:40:02. Current memory use 45.4MB.\n... used 0 dbqueries\n... used 0.0001070499420166 seconds\nScheduled task complete: Legacy cron quiz reports (mod_quiz\\task\\legacy_quiz_reports_cron)\n	18211e19acdd	96
20	0	mod_quiz	mod_quiz\\task\\legacy_quiz_accessrules_cron	0	1617856802.4534000000	1617856802.4538000000	0	0	0	Execute scheduled task: Legacy cron quiz access rules (mod_quiz\\task\\legacy_quiz_accessrules_cron)\n... started 05:40:02. Current memory use 45.4MB.\n... used 0 dbqueries\n... used 5.9127807617188E-5 seconds\nScheduled task complete: Legacy cron quiz access rules (mod_quiz\\task\\legacy_quiz_accessrules_cron)\n	18211e19acdd	96
21	0	mod_scorm	mod_scorm\\task\\cron_task	0	1617856802.4590000000	1617856802.4675000000	4	2	0	Execute scheduled task: Procesamiento en segundo plano para SCORM (mod_scorm\\task\\cron_task)\n... started 05:40:02. Current memory use 45.4MB.\nUpdating scorm packages which require daily update\n... used 6 dbqueries\n... used 0.0080420970916748 seconds\nScheduled task complete: Procesamiento en segundo plano para SCORM (mod_scorm\\task\\cron_task)\n	18211e19acdd	96
22	0	mod_workshop	mod_workshop\\task\\cron_task	0	1617856802.4729000000	1617856802.4745000000	1	0	0	Execute scheduled task: Background processing for workshop module (mod_workshop\\task\\cron_task)\n... started 05:40:02. Current memory use 45.7MB.\n processing workshop subplugins ...\n... used 1 dbqueries\n... used 0.001154899597168 seconds\nScheduled task complete: Background processing for workshop module (mod_workshop\\task\\cron_task)\n	18211e19acdd	96
23	0	mod_workshop	mod_workshop\\task\\legacy_workshop_allocation_cron	0	1617856802.4799000000	1617856802.4805000000	0	0	0	Execute scheduled task: Legacy cron workshop allocation (mod_workshop\\task\\legacy_workshop_allocation_cron)\n... started 05:40:02. Current memory use 45.7MB.\n... used 0 dbqueries\n... used 8.702278137207E-5 seconds\nScheduled task complete: Legacy cron workshop allocation (mod_workshop\\task\\legacy_workshop_allocation_cron)\n	18211e19acdd	96
24	0	enrol_manual	enrol_manual\\task\\sync_enrolments	0	1617856802.5014000000	1617856802.5025000000	1	0	0	Execute scheduled task: Synchronise manual enrolments task (enrol_manual\\task\\sync_enrolments)\n... started 05:40:02. Current memory use 48.1MB.\nVerifying manual enrolment expiration...\n...manual enrolment updates finished.\n... used 1 dbqueries\n... used 0.00069689750671387 seconds\nScheduled task complete: Synchronise manual enrolments task (enrol_manual\\task\\sync_enrolments)\n	18211e19acdd	96
25	0	enrol_manual	enrol_manual\\task\\send_expiry_notifications	0	1617856802.5109000000	1617856802.5115000000	0	0	0	Execute scheduled task: Manual enrolment send expiry notifications task (enrol_manual\\task\\send_expiry_notifications)\n... started 05:40:02. Current memory use 48.1MB.\nmanual enrolment expiry notifications will be sent at Thursday, 8 de April de 2021, 06:00.\n... used 0 dbqueries\n... used 0.00016999244689941 seconds\nScheduled task complete: Manual enrolment send expiry notifications task (enrol_manual\\task\\send_expiry_notifications)\n	18211e19acdd	96
26	0	enrol_self	enrol_self\\task\\sync_enrolments	0	1617856802.5187000000	1617856802.5228000000	7	0	0	Execute scheduled task: Synchronise self enrolments task (enrol_self\\task\\sync_enrolments)\n... started 05:40:02. Current memory use 48.1MB.\nVerifying self-enrolments...\n...user self-enrolment updates finished.\nNo expired enrol_self enrolments detected\n... used 7 dbqueries\n... used 0.0037522315979004 seconds\nScheduled task complete: Synchronise self enrolments task (enrol_self\\task\\sync_enrolments)\n	18211e19acdd	96
27	0	enrol_self	enrol_self\\task\\send_expiry_notifications	0	1617856802.5296000000	1617856802.5301000000	0	0	0	Execute scheduled task: Self enrolment send expiry notifications task (enrol_self\\task\\send_expiry_notifications)\n... started 05:40:02. Current memory use 48.1MB.\nself enrolment expiry notifications will be sent at Thursday, 8 de April de 2021, 06:00.\n... used 0 dbqueries\n... used 0.0001521110534668 seconds\nScheduled task complete: Self enrolment send expiry notifications task (enrol_self\\task\\send_expiry_notifications)\n	18211e19acdd	96
28	0	block_rss_client	block_rss_client\\task\\refreshfeeds	0	1617856802.5531000000	1617856802.5590000000	3	0	0	Execute scheduled task: Refresh RSS feeds task (block_rss_client\\task\\refreshfeeds)\n... started 05:40:02. Current memory use 48.1MB.\n\n0 feeds refreshed (took 0.00099800000000005 seconds)\n... used 3 dbqueries\n... used 0.0055670738220215 seconds\nScheduled task complete: Refresh RSS feeds task (block_rss_client\\task\\refreshfeeds)\n	18211e19acdd	96
29	0	tool_messageinbound	tool_messageinbound\\task\\pickup_task	0	1617856802.5931000000	1617856802.5945000000	0	0	0	Execute scheduled task: Recogida de correos electrónicos entrantes (tool_messageinbound\\task\\pickup_task)\n... started 05:40:02. Current memory use 49.5MB.\nInbound Message not fully configured - exiting early.\n... used 0 dbqueries\n... used 0.0010709762573242 seconds\nScheduled task complete: Recogida de correos electrónicos entrantes (tool_messageinbound\\task\\pickup_task)\n	18211e19acdd	96
30	0	tool_monitor	tool_monitor\\task\\clean_events	0	1617856802.6019000000	1617856802.6025000000	0	0	0	Execute scheduled task: Cleanup event monitor events (tool_monitor\\task\\clean_events)\n... started 05:40:02. Current memory use 49.7MB.\n... used 0 dbqueries\n... used 0.0002129077911377 seconds\nScheduled task complete: Cleanup event monitor events (tool_monitor\\task\\clean_events)\n	18211e19acdd	96
31	0	workshopallocation_scheduled	workshopallocation_scheduled\\task\\cron_task	0	1617856802.6102000000	1617856802.6118000000	1	0	0	Execute scheduled task: Background processing for scheduled allocation (workshopallocation_scheduled\\task\\cron_task)\n... started 05:40:02. Current memory use 49.7MB.\n... no workshops awaiting scheduled allocation. ... used 1 dbqueries\n... used 0.0011069774627686 seconds\nScheduled task complete: Background processing for scheduled allocation (workshopallocation_scheduled\\task\\cron_task)\n	18211e19acdd	96
32	1		core\\task\\build_installed_themes_task	0	1617856802.6226000000	1617856812.2928000000	6	2	0	Execute adhoc task: core\\task\\build_installed_themes_task\n... started 05:40:02. Current memory use 49.8MB.\n... used 8 dbqueries\n... used 9.6698141098022 seconds\nAdhoc task complete: core\\task\\build_installed_themes_task\n	18211e19acdd	96
33	0	moodle	core\\task\\session_cleanup_task	0	1617856861.4778000000	1617856861.4959000000	18	1	0	Execute scheduled task: Limpiar sesiones antiguas (core\\task\\session_cleanup_task)\n... started 05:41:01. Current memory use 16.3MB.\n... used 19 dbqueries\n... used 0.015081167221069 seconds\nScheduled task complete: Limpiar sesiones antiguas (core\\task\\session_cleanup_task)\n	18211e19acdd	111
34	0	moodle	core\\task\\send_new_user_passwords_task	0	1617856861.5048000000	1617856861.5061000000	1	0	0	Execute scheduled task: Enviar nuevas contraseñas de usuario (core\\task\\send_new_user_passwords_task)\n... started 05:41:01. Current memory use 17.5MB.\n... used 1 dbqueries\n... used 0.00077199935913086 seconds\nScheduled task complete: Enviar nuevas contraseñas de usuario (core\\task\\send_new_user_passwords_task)\n	18211e19acdd	111
35	0	moodle	core\\task\\send_failed_login_notifications_task	0	1617856861.5129000000	1617856861.5133000000	0	0	0	Execute scheduled task: Enviar notificaciones de inicio de sesión fallidos (core\\task\\send_failed_login_notifications_task)\n... started 05:41:01. Current memory use 17.5MB.\n... used 0 dbqueries\n... used 2.4080276489258E-5 seconds\nScheduled task complete: Enviar notificaciones de inicio de sesión fallidos (core\\task\\send_failed_login_notifications_task)\n	18211e19acdd	111
36	0	moodle	core\\task\\legacy_plugin_cron_task	0	1617856861.5196000000	1617856861.5594000000	2	0	0	Execute scheduled task: Procesamiento heredado de extensiones (core\\task\\legacy_plugin_cron_task)\n... started 05:41:01. Current memory use 17.6MB.\nRunning auth crons if required...\nRunning enrol crons if required...\nStarting activity modules\nFinished activity modules\nStarting blocks\nFinished blocks\nStarting admin reports\nFinished admin reports\nStarting course reports\nFinished course reports\nStarting gradebook plugins\nFinished gradebook plugins\n... used 2 dbqueries\n... used 0.039389848709106 seconds\nScheduled task complete: Procesamiento heredado de extensiones (core\\task\\legacy_plugin_cron_task)\n	18211e19acdd	111
37	0	moodle	core\\task\\grade_cron_task	0	1617856861.5666000000	1617856861.5712000000	6	0	0	Execute scheduled task: Procesamiento en segundo plano del libro de calificaciones (core\\task\\grade_cron_task)\n... started 05:41:01. Current memory use 22.5MB.\n... used 6 dbqueries\n... used 0.0039689540863037 seconds\nScheduled task complete: Procesamiento en segundo plano del libro de calificaciones (core\\task\\grade_cron_task)\n	18211e19acdd	111
38	0	moodle	core\\task\\completion_regular_task	0	1617856861.5772000000	1617856861.6086000000	18	0	0	Execute scheduled task: Marcado continuo de finalización de actividades y cursos (core\\task\\completion_regular_task)\n... started 05:41:01. Current memory use 22.5MB.\n... used 18 dbqueries\n... used 0.030766010284424 seconds\nScheduled task complete: Marcado continuo de finalización de actividades y cursos (core\\task\\completion_regular_task)\n	18211e19acdd	111
39	0	moodle	core\\task\\portfolio_cron_task	0	1617856861.6149000000	1617856861.6157000000	0	0	0	Execute scheduled task: Procesamiento en segundo plano de los extensiones de portfolio (core\\task\\portfolio_cron_task)\n... started 05:41:01. Current memory use 23MB.\n... used 0 dbqueries\n... used 4.0054321289062E-5 seconds\nScheduled task complete: Procesamiento en segundo plano de los extensiones de portfolio (core\\task\\portfolio_cron_task)\n	18211e19acdd	111
40	0	moodle	core\\task\\plagiarism_cron_task	0	1617856861.6220000000	1617856861.6224000000	0	0	0	Execute scheduled task: Procesamiento en segundo plano para cron heredado en las extensiones de plagio (core\\task\\plagiarism_cron_task)\n... started 05:41:01. Current memory use 23MB.\n... used 0 dbqueries\n... used 2.288818359375E-5 seconds\nScheduled task complete: Procesamiento en segundo plano para cron heredado en las extensiones de plagio (core\\task\\plagiarism_cron_task)\n	18211e19acdd	111
41	0	moodle	core\\task\\calendar_cron_task	0	1617856861.6335000000	1617856861.6381000000	1	0	0	Execute scheduled task: Enviar notificaciones de calendario (core\\task\\calendar_cron_task)\n... started 05:41:01. Current memory use 23.5MB.\n... used 1 dbqueries\n... used 0.0041370391845703 seconds\nScheduled task complete: Enviar notificaciones de calendario (core\\task\\calendar_cron_task)\n	18211e19acdd	111
42	0	moodle	core\\task\\blog_cron_task	0	1617856861.6438000000	1617856861.6441000000	0	0	0	Execute scheduled task: Sincronizar blogs externos (core\\task\\blog_cron_task)\n... started 05:41:01. Current memory use 23.9MB.\n... used 0 dbqueries\n... used 1.5974044799805E-5 seconds\nScheduled task complete: Sincronizar blogs externos (core\\task\\blog_cron_task)\n	18211e19acdd	111
43	0	moodle	core\\task\\question_preview_cleanup_task	0	1617856861.6503000000	1617856861.6725000000	1	4	0	Execute scheduled task: Procesamiento en segundo plano para limpieza de vistas previas de preguntas (core\\task\\question_preview_cleanup_task)\n... started 05:41:01. Current memory use 23.9MB.\n\n  Cleaning up old question previews...done.\n... used 5 dbqueries\n... used 0.021721124649048 seconds\nScheduled task complete: Procesamiento en segundo plano para limpieza de vistas previas de preguntas (core\\task\\question_preview_cleanup_task)\n	18211e19acdd	111
44	0	moodle	core\\task\\question_stats_cleanup_task	0	1617856861.6785000000	1617856861.6805000000	1	3	0	Execute scheduled task: Procesamiento en segundo plano para limpieza de caché de estadísticas de pregunta (core\\task\\question_stats_cleanup_task)\n... started 05:41:01. Current memory use 25.5MB.\n\n  Cleaning up old question statistics cache records...done.\n... used 4 dbqueries\n... used 0.0013740062713623 seconds\nScheduled task complete: Procesamiento en segundo plano para limpieza de caché de estadísticas de pregunta (core\\task\\question_stats_cleanup_task)\n	18211e19acdd	111
45	0	mod_assign	mod_assign\\task\\cron_task	0	1617856861.6919000000	1617856861.7314000000	3	0	0	Execute scheduled task: Procesamiento en segundo plano para módulo Tarea (mod_assign\\task\\cron_task)\n... started 05:41:01. Current memory use 27.9MB.\n... used 3 dbqueries\n... used 0.038854837417603 seconds\nScheduled task complete: Procesamiento en segundo plano para módulo Tarea (mod_assign\\task\\cron_task)\n	18211e19acdd	111
46	0	mod_forum	mod_forum\\task\\cron_task	0	1617856861.7465000000	1617856861.7500000000	1	1	0	Execute scheduled task: Correos del foro y trabajos de mantenimiento (mod_forum\\task\\cron_task)\n... started 05:41:01. Current memory use 31.8MB.\nRemoving old digest records from 7 days ago.\nRemoved all old digest records.\nFetching unmailed posts.\n  No posts found.\n... used 2 dbqueries\n... used 0.0026471614837646 seconds\nScheduled task complete: Correos del foro y trabajos de mantenimiento (mod_forum\\task\\cron_task)\n	18211e19acdd	111
47	0	mod_quiz	mod_quiz\\task\\update_overdue_attempts	0	1617856861.7681000000	1617856861.7779000000	3	0	0	Execute scheduled task: Updating overdue quiz attempts (mod_quiz\\task\\update_overdue_attempts)\n... started 05:41:01. Current memory use 32.8MB.\n  Looking for quiz overdue quiz attempts...\n  Considered 0 attempts in 0 quizzes.\n... used 3 dbqueries\n... used 0.0093600749969482 seconds\nScheduled task complete: Updating overdue quiz attempts (mod_quiz\\task\\update_overdue_attempts)\n	18211e19acdd	111
48	0	mod_quiz	mod_quiz\\task\\legacy_quiz_reports_cron	0	1617856861.7839000000	1617856861.7850000000	0	0	0	Execute scheduled task: Legacy cron quiz reports (mod_quiz\\task\\legacy_quiz_reports_cron)\n... started 05:41:01. Current memory use 32.9MB.\n... used 0 dbqueries\n... used 9.9897384643555E-5 seconds\nScheduled task complete: Legacy cron quiz reports (mod_quiz\\task\\legacy_quiz_reports_cron)\n	18211e19acdd	111
49	0	mod_quiz	mod_quiz\\task\\legacy_quiz_accessrules_cron	0	1617856861.7912000000	1617856861.7918000000	0	0	0	Execute scheduled task: Legacy cron quiz access rules (mod_quiz\\task\\legacy_quiz_accessrules_cron)\n... started 05:41:01. Current memory use 32.9MB.\n... used 0 dbqueries\n... used 6.0081481933594E-5 seconds\nScheduled task complete: Legacy cron quiz access rules (mod_quiz\\task\\legacy_quiz_accessrules_cron)\n	18211e19acdd	111
50	0	mod_workshop	mod_workshop\\task\\cron_task	0	1617856861.7983000000	1617856861.8001000000	1	0	0	Execute scheduled task: Background processing for workshop module (mod_workshop\\task\\cron_task)\n... started 05:41:01. Current memory use 32.9MB.\n processing workshop subplugins ...\n... used 1 dbqueries\n... used 0.0011639595031738 seconds\nScheduled task complete: Background processing for workshop module (mod_workshop\\task\\cron_task)\n	18211e19acdd	111
51	0	mod_workshop	mod_workshop\\task\\legacy_workshop_allocation_cron	0	1617856861.8066000000	1617856861.8072000000	0	0	0	Execute scheduled task: Legacy cron workshop allocation (mod_workshop\\task\\legacy_workshop_allocation_cron)\n... started 05:41:01. Current memory use 32.9MB.\n... used 0 dbqueries\n... used 6.3180923461914E-5 seconds\nScheduled task complete: Legacy cron workshop allocation (mod_workshop\\task\\legacy_workshop_allocation_cron)\n	18211e19acdd	111
52	0	tool_messageinbound	tool_messageinbound\\task\\pickup_task	0	1617856861.8172000000	1617856861.8193000000	0	0	0	Execute scheduled task: Recogida de correos electrónicos entrantes (tool_messageinbound\\task\\pickup_task)\n... started 05:41:01. Current memory use 31.8MB.\nInbound Message not fully configured - exiting early.\n... used 0 dbqueries\n... used 0.0015740394592285 seconds\nScheduled task complete: Recogida de correos electrónicos entrantes (tool_messageinbound\\task\\pickup_task)\n	18211e19acdd	111
53	0	tool_monitor	tool_monitor\\task\\clean_events	0	1617856861.8254000000	1617856861.8259000000	0	0	0	Execute scheduled task: Cleanup event monitor events (tool_monitor\\task\\clean_events)\n... started 05:41:01. Current memory use 32MB.\n... used 0 dbqueries\n... used 8.702278137207E-5 seconds\nScheduled task complete: Cleanup event monitor events (tool_monitor\\task\\clean_events)\n	18211e19acdd	111
54	0	workshopallocation_scheduled	workshopallocation_scheduled\\task\\cron_task	0	1617856861.8323000000	1617856861.8339000000	1	0	0	Execute scheduled task: Background processing for scheduled allocation (workshopallocation_scheduled\\task\\cron_task)\n... started 05:41:01. Current memory use 32MB.\n... no workshops awaiting scheduled allocation. ... used 1 dbqueries\n... used 0.0010650157928467 seconds\nScheduled task complete: Background processing for scheduled allocation (workshopallocation_scheduled\\task\\cron_task)\n	18211e19acdd	111
55	0	moodle	core\\task\\analytics_cleanup_task	0	1617856921.9927000000	1617856922.0672000000	28	3	0	Execute scheduled task: Limpieza de Analítica (core\\task\\analytics_cleanup_task)\n... started 05:42:01. Current memory use 15.7MB.\n... used 31 dbqueries\n... used 0.071213006973267 seconds\nScheduled task complete: Limpieza de Analítica (core\\task\\analytics_cleanup_task)\n	18211e19acdd	126
56	0	moodle	core\\task\\session_cleanup_task	0	1617856922.0823000000	1617856922.0937000000	18	1	0	Execute scheduled task: Limpiar sesiones antiguas (core\\task\\session_cleanup_task)\n... started 05:42:02. Current memory use 22.6MB.\n... used 19 dbqueries\n... used 0.010357856750488 seconds\nScheduled task complete: Limpiar sesiones antiguas (core\\task\\session_cleanup_task)\n	18211e19acdd	126
57	0	moodle	core\\task\\send_new_user_passwords_task	0	1617856922.1004000000	1617856922.1017000000	1	0	0	Execute scheduled task: Enviar nuevas contraseñas de usuario (core\\task\\send_new_user_passwords_task)\n... started 05:42:02. Current memory use 22.9MB.\n... used 1 dbqueries\n... used 0.00090813636779785 seconds\nScheduled task complete: Enviar nuevas contraseñas de usuario (core\\task\\send_new_user_passwords_task)\n	18211e19acdd	126
58	0	moodle	core\\task\\send_failed_login_notifications_task	0	1617856922.1088000000	1617856922.1092000000	0	0	0	Execute scheduled task: Enviar notificaciones de inicio de sesión fallidos (core\\task\\send_failed_login_notifications_task)\n... started 05:42:02. Current memory use 23MB.\n... used 0 dbqueries\n... used 2.288818359375E-5 seconds\nScheduled task complete: Enviar notificaciones de inicio de sesión fallidos (core\\task\\send_failed_login_notifications_task)\n	18211e19acdd	126
59	0	moodle	core\\task\\legacy_plugin_cron_task	0	1617856922.1160000000	1617856922.1393000000	2	0	0	Execute scheduled task: Procesamiento heredado de extensiones (core\\task\\legacy_plugin_cron_task)\n... started 05:42:02. Current memory use 23MB.\nRunning auth crons if required...\nRunning enrol crons if required...\nStarting activity modules\nFinished activity modules\nStarting blocks\nFinished blocks\nStarting admin reports\nFinished admin reports\nStarting course reports\nFinished course reports\nStarting gradebook plugins\nFinished gradebook plugins\n... used 2 dbqueries\n... used 0.022925138473511 seconds\nScheduled task complete: Procesamiento heredado de extensiones (core\\task\\legacy_plugin_cron_task)\n	18211e19acdd	126
60	0	moodle	core\\task\\grade_cron_task	0	1617856922.1456000000	1617856922.1498000000	6	0	0	Execute scheduled task: Procesamiento en segundo plano del libro de calificaciones (core\\task\\grade_cron_task)\n... started 05:42:02. Current memory use 25.6MB.\n... used 6 dbqueries\n... used 0.0037879943847656 seconds\nScheduled task complete: Procesamiento en segundo plano del libro de calificaciones (core\\task\\grade_cron_task)\n	18211e19acdd	126
61	0	moodle	core\\task\\completion_regular_task	0	1617856922.1559000000	1617856922.1875000000	18	0	0	Execute scheduled task: Marcado continuo de finalización de actividades y cursos (core\\task\\completion_regular_task)\n... started 05:42:02. Current memory use 25.6MB.\n... used 18 dbqueries\n... used 0.031062126159668 seconds\nScheduled task complete: Marcado continuo de finalización de actividades y cursos (core\\task\\completion_regular_task)\n	18211e19acdd	126
62	0	moodle	core\\task\\portfolio_cron_task	0	1617856922.1954000000	1617856922.1960000000	0	0	0	Execute scheduled task: Procesamiento en segundo plano de los extensiones de portfolio (core\\task\\portfolio_cron_task)\n... started 05:42:02. Current memory use 25.8MB.\n... used 0 dbqueries\n... used 3.7193298339844E-5 seconds\nScheduled task complete: Procesamiento en segundo plano de los extensiones de portfolio (core\\task\\portfolio_cron_task)\n	18211e19acdd	126
63	0	moodle	core\\task\\plagiarism_cron_task	0	1617856922.2045000000	1617856922.2049000000	0	0	0	Execute scheduled task: Procesamiento en segundo plano para cron heredado en las extensiones de plagio (core\\task\\plagiarism_cron_task)\n... started 05:42:02. Current memory use 25.8MB.\n... used 0 dbqueries\n... used 2.4080276489258E-5 seconds\nScheduled task complete: Procesamiento en segundo plano para cron heredado en las extensiones de plagio (core\\task\\plagiarism_cron_task)\n	18211e19acdd	126
64	0	moodle	core\\task\\calendar_cron_task	0	1617856922.2112000000	1617856922.2155000000	1	0	0	Execute scheduled task: Enviar notificaciones de calendario (core\\task\\calendar_cron_task)\n... started 05:42:02. Current memory use 25.8MB.\n... used 1 dbqueries\n... used 0.0039360523223877 seconds\nScheduled task complete: Enviar notificaciones de calendario (core\\task\\calendar_cron_task)\n	18211e19acdd	126
65	0	moodle	core\\task\\blog_cron_task	0	1617856922.2222000000	1617856922.2226000000	0	0	0	Execute scheduled task: Sincronizar blogs externos (core\\task\\blog_cron_task)\n... started 05:42:02. Current memory use 26.2MB.\n... used 0 dbqueries\n... used 2.4080276489258E-5 seconds\nScheduled task complete: Sincronizar blogs externos (core\\task\\blog_cron_task)\n	18211e19acdd	126
66	0	moodle	core\\task\\question_preview_cleanup_task	0	1617856922.2279000000	1617856922.2480000000	1	4	0	Execute scheduled task: Procesamiento en segundo plano para limpieza de vistas previas de preguntas (core\\task\\question_preview_cleanup_task)\n... started 05:42:02. Current memory use 26.2MB.\n\n  Cleaning up old question previews...done.\n... used 5 dbqueries\n... used 0.019673824310303 seconds\nScheduled task complete: Procesamiento en segundo plano para limpieza de vistas previas de preguntas (core\\task\\question_preview_cleanup_task)\n	18211e19acdd	126
67	0	moodle	core\\task\\question_stats_cleanup_task	0	1617856922.2551000000	1617856922.2571000000	1	3	0	Execute scheduled task: Procesamiento en segundo plano para limpieza de caché de estadísticas de pregunta (core\\task\\question_stats_cleanup_task)\n... started 05:42:02. Current memory use 27.9MB.\n\n  Cleaning up old question statistics cache records...done.\n... used 4 dbqueries\n... used 0.0014281272888184 seconds\nScheduled task complete: Procesamiento en segundo plano para limpieza de caché de estadísticas de pregunta (core\\task\\question_stats_cleanup_task)\n	18211e19acdd	126
68	0	mod_assign	mod_assign\\task\\cron_task	0	1617856922.2677000000	1617856922.3046000000	3	0	0	Execute scheduled task: Procesamiento en segundo plano para módulo Tarea (mod_assign\\task\\cron_task)\n... started 05:42:02. Current memory use 30.2MB.\n... used 3 dbqueries\n... used 0.036401987075806 seconds\nScheduled task complete: Procesamiento en segundo plano para módulo Tarea (mod_assign\\task\\cron_task)\n	18211e19acdd	126
69	0	mod_forum	mod_forum\\task\\cron_task	0	1617856922.3224000000	1617856922.3266000000	1	1	0	Execute scheduled task: Correos del foro y trabajos de mantenimiento (mod_forum\\task\\cron_task)\n... started 05:42:02. Current memory use 34.1MB.\nRemoving old digest records from 7 days ago.\nRemoved all old digest records.\nFetching unmailed posts.\n  No posts found.\n... used 2 dbqueries\n... used 0.0036768913269043 seconds\nScheduled task complete: Correos del foro y trabajos de mantenimiento (mod_forum\\task\\cron_task)\n	18211e19acdd	126
70	0	mod_quiz	mod_quiz\\task\\update_overdue_attempts	0	1617856922.3435000000	1617856922.3547000000	3	0	0	Execute scheduled task: Updating overdue quiz attempts (mod_quiz\\task\\update_overdue_attempts)\n... started 05:42:02. Current memory use 35.1MB.\n  Looking for quiz overdue quiz attempts...\n  Considered 0 attempts in 0 quizzes.\n... used 3 dbqueries\n... used 0.010842084884644 seconds\nScheduled task complete: Updating overdue quiz attempts (mod_quiz\\task\\update_overdue_attempts)\n	18211e19acdd	126
71	0	mod_quiz	mod_quiz\\task\\legacy_quiz_reports_cron	0	1617856922.3604000000	1617856922.3613000000	0	0	0	Execute scheduled task: Legacy cron quiz reports (mod_quiz\\task\\legacy_quiz_reports_cron)\n... started 05:42:02. Current memory use 35.2MB.\n... used 0 dbqueries\n... used 9.608268737793E-5 seconds\nScheduled task complete: Legacy cron quiz reports (mod_quiz\\task\\legacy_quiz_reports_cron)\n	18211e19acdd	126
72	0	mod_quiz	mod_quiz\\task\\legacy_quiz_accessrules_cron	0	1617856922.3674000000	1617856922.3680000000	0	0	0	Execute scheduled task: Legacy cron quiz access rules (mod_quiz\\task\\legacy_quiz_accessrules_cron)\n... started 05:42:02. Current memory use 35.2MB.\n... used 0 dbqueries\n... used 5.6982040405273E-5 seconds\nScheduled task complete: Legacy cron quiz access rules (mod_quiz\\task\\legacy_quiz_accessrules_cron)\n	18211e19acdd	126
73	0	mod_workshop	mod_workshop\\task\\cron_task	0	1617856922.3743000000	1617856922.3760000000	1	0	0	Execute scheduled task: Background processing for workshop module (mod_workshop\\task\\cron_task)\n... started 05:42:02. Current memory use 35.3MB.\n processing workshop subplugins ...\n... used 1 dbqueries\n... used 0.0012350082397461 seconds\nScheduled task complete: Background processing for workshop module (mod_workshop\\task\\cron_task)\n	18211e19acdd	126
74	0	mod_workshop	mod_workshop\\task\\legacy_workshop_allocation_cron	0	1617856922.3819000000	1617856922.3825000000	0	0	0	Execute scheduled task: Legacy cron workshop allocation (mod_workshop\\task\\legacy_workshop_allocation_cron)\n... started 05:42:02. Current memory use 35.3MB.\n... used 0 dbqueries\n... used 5.6982040405273E-5 seconds\nScheduled task complete: Legacy cron workshop allocation (mod_workshop\\task\\legacy_workshop_allocation_cron)\n	18211e19acdd	126
75	0	tool_messageinbound	tool_messageinbound\\task\\pickup_task	0	1617856922.3917000000	1617856922.3937000000	0	0	0	Execute scheduled task: Recogida de correos electrónicos entrantes (tool_messageinbound\\task\\pickup_task)\n... started 05:42:02. Current memory use 34.5MB.\nInbound Message not fully configured - exiting early.\n... used 0 dbqueries\n... used 0.0015618801116943 seconds\nScheduled task complete: Recogida de correos electrónicos entrantes (tool_messageinbound\\task\\pickup_task)\n	18211e19acdd	126
76	0	tool_monitor	tool_monitor\\task\\clean_events	0	1617856922.4010000000	1617856922.4015000000	0	0	0	Execute scheduled task: Cleanup event monitor events (tool_monitor\\task\\clean_events)\n... started 05:42:02. Current memory use 34.6MB.\n... used 0 dbqueries\n... used 8.2969665527344E-5 seconds\nScheduled task complete: Cleanup event monitor events (tool_monitor\\task\\clean_events)\n	18211e19acdd	126
77	0	workshopallocation_scheduled	workshopallocation_scheduled\\task\\cron_task	0	1617856922.4085000000	1617856922.4100000000	1	0	0	Execute scheduled task: Background processing for scheduled allocation (workshopallocation_scheduled\\task\\cron_task)\n... started 05:42:02. Current memory use 34.6MB.\n... no workshops awaiting scheduled allocation. ... used 1 dbqueries\n... used 0.0010430812835693 seconds\nScheduled task complete: Background processing for scheduled allocation (workshopallocation_scheduled\\task\\cron_task)\n	18211e19acdd	126
78	0	moodle	core\\task\\session_cleanup_task	0	1617856981.5801000000	1617856981.5991000000	18	1	0	Execute scheduled task: Limpiar sesiones antiguas (core\\task\\session_cleanup_task)\n... started 05:43:01. Current memory use 16.3MB.\n... used 19 dbqueries\n... used 0.015897989273071 seconds\nScheduled task complete: Limpiar sesiones antiguas (core\\task\\session_cleanup_task)\n	18211e19acdd	141
79	0	moodle	core\\task\\send_new_user_passwords_task	0	1617856981.6070000000	1617856981.6083000000	1	0	0	Execute scheduled task: Enviar nuevas contraseñas de usuario (core\\task\\send_new_user_passwords_task)\n... started 05:43:01. Current memory use 17.5MB.\n... used 1 dbqueries\n... used 0.00076699256896973 seconds\nScheduled task complete: Enviar nuevas contraseñas de usuario (core\\task\\send_new_user_passwords_task)\n	18211e19acdd	141
80	0	moodle	core\\task\\send_failed_login_notifications_task	0	1617856981.6159000000	1617856981.6164000000	0	0	0	Execute scheduled task: Enviar notificaciones de inicio de sesión fallidos (core\\task\\send_failed_login_notifications_task)\n... started 05:43:01. Current memory use 17.5MB.\n... used 0 dbqueries\n... used 2.4080276489258E-5 seconds\nScheduled task complete: Enviar notificaciones de inicio de sesión fallidos (core\\task\\send_failed_login_notifications_task)\n	18211e19acdd	141
81	0	moodle	core\\task\\legacy_plugin_cron_task	0	1617856981.6231000000	1617856981.6662000000	2	0	0	Execute scheduled task: Procesamiento heredado de extensiones (core\\task\\legacy_plugin_cron_task)\n... started 05:43:01. Current memory use 17.6MB.\nRunning auth crons if required...\nRunning enrol crons if required...\nStarting activity modules\nFinished activity modules\nStarting blocks\nFinished blocks\nStarting admin reports\nFinished admin reports\nStarting course reports\nFinished course reports\nStarting gradebook plugins\nFinished gradebook plugins\n... used 2 dbqueries\n... used 0.042639970779419 seconds\nScheduled task complete: Procesamiento heredado de extensiones (core\\task\\legacy_plugin_cron_task)\n	18211e19acdd	141
82	0	moodle	core\\task\\grade_cron_task	0	1617856981.6738000000	1617856981.6785000000	6	0	0	Execute scheduled task: Procesamiento en segundo plano del libro de calificaciones (core\\task\\grade_cron_task)\n... started 05:43:01. Current memory use 22.5MB.\n... used 6 dbqueries\n... used 0.0042600631713867 seconds\nScheduled task complete: Procesamiento en segundo plano del libro de calificaciones (core\\task\\grade_cron_task)\n	18211e19acdd	141
83	0	moodle	core\\task\\completion_regular_task	0	1617856981.6843000000	1617856981.7110000000	18	0	0	Execute scheduled task: Marcado continuo de finalización de actividades y cursos (core\\task\\completion_regular_task)\n... started 05:43:01. Current memory use 22.5MB.\n... used 18 dbqueries\n... used 0.02647590637207 seconds\nScheduled task complete: Marcado continuo de finalización de actividades y cursos (core\\task\\completion_regular_task)\n	18211e19acdd	141
84	0	moodle	core\\task\\portfolio_cron_task	0	1617856981.7156000000	1617856981.7159000000	0	0	0	Execute scheduled task: Procesamiento en segundo plano de los extensiones de portfolio (core\\task\\portfolio_cron_task)\n... started 05:43:01. Current memory use 23MB.\n... used 0 dbqueries\n... used 1.8835067749023E-5 seconds\nScheduled task complete: Procesamiento en segundo plano de los extensiones de portfolio (core\\task\\portfolio_cron_task)\n	18211e19acdd	141
85	0	moodle	core\\task\\plagiarism_cron_task	0	1617856981.7204000000	1617856981.7207000000	0	0	0	Execute scheduled task: Procesamiento en segundo plano para cron heredado en las extensiones de plagio (core\\task\\plagiarism_cron_task)\n... started 05:43:01. Current memory use 23MB.\n... used 0 dbqueries\n... used 1.5020370483398E-5 seconds\nScheduled task complete: Procesamiento en segundo plano para cron heredado en las extensiones de plagio (core\\task\\plagiarism_cron_task)\n	18211e19acdd	141
86	0	moodle	core\\task\\calendar_cron_task	0	1617856981.7295000000	1617856981.7325000000	1	0	0	Execute scheduled task: Enviar notificaciones de calendario (core\\task\\calendar_cron_task)\n... started 05:43:01. Current memory use 23.5MB.\n... used 1 dbqueries\n... used 0.0027461051940918 seconds\nScheduled task complete: Enviar notificaciones de calendario (core\\task\\calendar_cron_task)\n	18211e19acdd	141
87	0	moodle	core\\task\\blog_cron_task	0	1617856981.7384000000	1617856981.7387000000	0	0	0	Execute scheduled task: Sincronizar blogs externos (core\\task\\blog_cron_task)\n... started 05:43:01. Current memory use 23.9MB.\n... used 0 dbqueries\n... used 1.5020370483398E-5 seconds\nScheduled task complete: Sincronizar blogs externos (core\\task\\blog_cron_task)\n	18211e19acdd	141
88	0	moodle	core\\task\\question_preview_cleanup_task	0	1617856981.7442000000	1617856981.7606000000	1	4	0	Execute scheduled task: Procesamiento en segundo plano para limpieza de vistas previas de preguntas (core\\task\\question_preview_cleanup_task)\n... started 05:43:01. Current memory use 23.9MB.\n\n  Cleaning up old question previews...done.\n... used 5 dbqueries\n... used 0.016066789627075 seconds\nScheduled task complete: Procesamiento en segundo plano para limpieza de vistas previas de preguntas (core\\task\\question_preview_cleanup_task)\n	18211e19acdd	141
89	0	moodle	core\\task\\question_stats_cleanup_task	0	1617856981.7657000000	1617856981.7672000000	1	3	0	Execute scheduled task: Procesamiento en segundo plano para limpieza de caché de estadísticas de pregunta (core\\task\\question_stats_cleanup_task)\n... started 05:43:01. Current memory use 25.5MB.\n\n  Cleaning up old question statistics cache records...done.\n... used 4 dbqueries\n... used 0.0012600421905518 seconds\nScheduled task complete: Procesamiento en segundo plano para limpieza de caché de estadísticas de pregunta (core\\task\\question_stats_cleanup_task)\n	18211e19acdd	141
90	0	mod_assign	mod_assign\\task\\cron_task	0	1617856981.7786000000	1617856981.8163000000	3	0	0	Execute scheduled task: Procesamiento en segundo plano para módulo Tarea (mod_assign\\task\\cron_task)\n... started 05:43:01. Current memory use 27.9MB.\n... used 3 dbqueries\n... used 0.036911964416504 seconds\nScheduled task complete: Procesamiento en segundo plano para módulo Tarea (mod_assign\\task\\cron_task)\n	18211e19acdd	141
91	0	mod_forum	mod_forum\\task\\cron_task	0	1617856981.8324000000	1617856981.8364000000	1	1	0	Execute scheduled task: Correos del foro y trabajos de mantenimiento (mod_forum\\task\\cron_task)\n... started 05:43:01. Current memory use 31.8MB.\nRemoving old digest records from 7 days ago.\nRemoved all old digest records.\nFetching unmailed posts.\n  No posts found.\n... used 2 dbqueries\n... used 0.0031461715698242 seconds\nScheduled task complete: Correos del foro y trabajos de mantenimiento (mod_forum\\task\\cron_task)\n	18211e19acdd	141
92	0	mod_quiz	mod_quiz\\task\\update_overdue_attempts	0	1617856981.8532000000	1617856981.8658000000	3	0	0	Execute scheduled task: Updating overdue quiz attempts (mod_quiz\\task\\update_overdue_attempts)\n... started 05:43:01. Current memory use 32.8MB.\n  Looking for quiz overdue quiz attempts...\n  Considered 0 attempts in 0 quizzes.\n... used 3 dbqueries\n... used 0.011859893798828 seconds\nScheduled task complete: Updating overdue quiz attempts (mod_quiz\\task\\update_overdue_attempts)\n	18211e19acdd	141
93	0	mod_quiz	mod_quiz\\task\\legacy_quiz_reports_cron	0	1617856981.8717000000	1617856981.8727000000	0	0	0	Execute scheduled task: Legacy cron quiz reports (mod_quiz\\task\\legacy_quiz_reports_cron)\n... started 05:43:01. Current memory use 32.9MB.\n... used 0 dbqueries\n... used 0.0001370906829834 seconds\nScheduled task complete: Legacy cron quiz reports (mod_quiz\\task\\legacy_quiz_reports_cron)\n	18211e19acdd	141
94	0	mod_quiz	mod_quiz\\task\\legacy_quiz_accessrules_cron	0	1617856981.8791000000	1617856981.8798000000	0	0	0	Execute scheduled task: Legacy cron quiz access rules (mod_quiz\\task\\legacy_quiz_accessrules_cron)\n... started 05:43:01. Current memory use 32.9MB.\n... used 0 dbqueries\n... used 6.8902969360352E-5 seconds\nScheduled task complete: Legacy cron quiz access rules (mod_quiz\\task\\legacy_quiz_accessrules_cron)\n	18211e19acdd	141
95	0	mod_workshop	mod_workshop\\task\\cron_task	0	1617856981.8863000000	1617856981.8880000000	1	0	0	Execute scheduled task: Background processing for workshop module (mod_workshop\\task\\cron_task)\n... started 05:43:01. Current memory use 32.9MB.\n processing workshop subplugins ...\n... used 1 dbqueries\n... used 0.0011060237884521 seconds\nScheduled task complete: Background processing for workshop module (mod_workshop\\task\\cron_task)\n	18211e19acdd	141
96	0	mod_workshop	mod_workshop\\task\\legacy_workshop_allocation_cron	0	1617856981.8942000000	1617856981.8948000000	0	0	0	Execute scheduled task: Legacy cron workshop allocation (mod_workshop\\task\\legacy_workshop_allocation_cron)\n... started 05:43:01. Current memory use 32.9MB.\n... used 0 dbqueries\n... used 6.5088272094727E-5 seconds\nScheduled task complete: Legacy cron workshop allocation (mod_workshop\\task\\legacy_workshop_allocation_cron)\n	18211e19acdd	141
97	0	tool_messageinbound	tool_messageinbound\\task\\pickup_task	0	1617856981.9051000000	1617856981.9073000000	0	0	0	Execute scheduled task: Recogida de correos electrónicos entrantes (tool_messageinbound\\task\\pickup_task)\n... started 05:43:01. Current memory use 31.8MB.\nInbound Message not fully configured - exiting early.\n... used 0 dbqueries\n... used 0.0017390251159668 seconds\nScheduled task complete: Recogida de correos electrónicos entrantes (tool_messageinbound\\task\\pickup_task)\n	18211e19acdd	141
98	0	tool_monitor	tool_monitor\\task\\clean_events	0	1617856981.9149000000	1617856981.9152000000	0	0	0	Execute scheduled task: Cleanup event monitor events (tool_monitor\\task\\clean_events)\n... started 05:43:01. Current memory use 32MB.\n... used 0 dbqueries\n... used 5.6982040405273E-5 seconds\nScheduled task complete: Cleanup event monitor events (tool_monitor\\task\\clean_events)\n	18211e19acdd	141
99	0	workshopallocation_scheduled	workshopallocation_scheduled\\task\\cron_task	0	1617856981.9227000000	1617856981.9244000000	1	0	0	Execute scheduled task: Background processing for scheduled allocation (workshopallocation_scheduled\\task\\cron_task)\n... started 05:43:01. Current memory use 32MB.\n... no workshops awaiting scheduled allocation. ... used 1 dbqueries\n... used 0.0011179447174072 seconds\nScheduled task complete: Background processing for scheduled allocation (workshopallocation_scheduled\\task\\cron_task)\n	18211e19acdd	141
100	0	moodle	core\\task\\session_cleanup_task	0	1617857042.0933000000	1617857042.1103000000	18	1	0	Execute scheduled task: Limpiar sesiones antiguas (core\\task\\session_cleanup_task)\n... started 05:44:02. Current memory use 16.3MB.\n... used 19 dbqueries\n... used 0.014848947525024 seconds\nScheduled task complete: Limpiar sesiones antiguas (core\\task\\session_cleanup_task)\n	18211e19acdd	157
101	0	moodle	core\\task\\send_new_user_passwords_task	0	1617857042.1178000000	1617857042.1195000000	1	0	0	Execute scheduled task: Enviar nuevas contraseñas de usuario (core\\task\\send_new_user_passwords_task)\n... started 05:44:02. Current memory use 17.5MB.\n... used 1 dbqueries\n... used 0.0011060237884521 seconds\nScheduled task complete: Enviar nuevas contraseñas de usuario (core\\task\\send_new_user_passwords_task)\n	18211e19acdd	157
102	0	moodle	core\\task\\send_failed_login_notifications_task	0	1617857042.1276000000	1617857042.1281000000	0	0	0	Execute scheduled task: Enviar notificaciones de inicio de sesión fallidos (core\\task\\send_failed_login_notifications_task)\n... started 05:44:02. Current memory use 17.5MB.\n... used 0 dbqueries\n... used 2.598762512207E-5 seconds\nScheduled task complete: Enviar notificaciones de inicio de sesión fallidos (core\\task\\send_failed_login_notifications_task)\n	18211e19acdd	157
103	0	moodle	core\\task\\legacy_plugin_cron_task	0	1617857042.1334000000	1617857042.1734000000	2	0	0	Execute scheduled task: Procesamiento heredado de extensiones (core\\task\\legacy_plugin_cron_task)\n... started 05:44:02. Current memory use 17.6MB.\nRunning auth crons if required...\nRunning enrol crons if required...\nStarting activity modules\nFinished activity modules\nStarting blocks\nFinished blocks\nStarting admin reports\nFinished admin reports\nStarting course reports\nFinished course reports\nStarting gradebook plugins\nFinished gradebook plugins\n... used 2 dbqueries\n... used 0.039447069168091 seconds\nScheduled task complete: Procesamiento heredado de extensiones (core\\task\\legacy_plugin_cron_task)\n	18211e19acdd	157
104	0	moodle	core\\task\\grade_cron_task	0	1617857042.1795000000	1617857042.1843000000	6	0	0	Execute scheduled task: Procesamiento en segundo plano del libro de calificaciones (core\\task\\grade_cron_task)\n... started 05:44:02. Current memory use 22.5MB.\n... used 6 dbqueries\n... used 0.0041060447692871 seconds\nScheduled task complete: Procesamiento en segundo plano del libro de calificaciones (core\\task\\grade_cron_task)\n	18211e19acdd	157
105	0	moodle	core\\task\\completion_regular_task	0	1617857042.1916000000	1617857042.2234000000	18	0	0	Execute scheduled task: Marcado continuo de finalización de actividades y cursos (core\\task\\completion_regular_task)\n... started 05:44:02. Current memory use 22.5MB.\n... used 18 dbqueries\n... used 0.0312340259552 seconds\nScheduled task complete: Marcado continuo de finalización de actividades y cursos (core\\task\\completion_regular_task)\n	18211e19acdd	157
106	0	moodle	core\\task\\portfolio_cron_task	0	1617857042.2300000000	1617857042.2308000000	0	0	0	Execute scheduled task: Procesamiento en segundo plano de los extensiones de portfolio (core\\task\\portfolio_cron_task)\n... started 05:44:02. Current memory use 23MB.\n... used 0 dbqueries\n... used 4.5061111450195E-5 seconds\nScheduled task complete: Procesamiento en segundo plano de los extensiones de portfolio (core\\task\\portfolio_cron_task)\n	18211e19acdd	157
107	0	moodle	core\\task\\plagiarism_cron_task	0	1617857042.2368000000	1617857042.2372000000	0	0	0	Execute scheduled task: Procesamiento en segundo plano para cron heredado en las extensiones de plagio (core\\task\\plagiarism_cron_task)\n... started 05:44:02. Current memory use 23MB.\n... used 0 dbqueries\n... used 2.3841857910156E-5 seconds\nScheduled task complete: Procesamiento en segundo plano para cron heredado en las extensiones de plagio (core\\task\\plagiarism_cron_task)\n	18211e19acdd	157
108	0	moodle	core\\task\\calendar_cron_task	0	1617857042.2483000000	1617857042.2526000000	1	0	0	Execute scheduled task: Enviar notificaciones de calendario (core\\task\\calendar_cron_task)\n... started 05:44:02. Current memory use 23.5MB.\n... used 1 dbqueries\n... used 0.0038669109344482 seconds\nScheduled task complete: Enviar notificaciones de calendario (core\\task\\calendar_cron_task)\n	18211e19acdd	157
109	0	moodle	core\\task\\blog_cron_task	0	1617857042.2598000000	1617857042.2602000000	0	0	0	Execute scheduled task: Sincronizar blogs externos (core\\task\\blog_cron_task)\n... started 05:44:02. Current memory use 23.9MB.\n... used 0 dbqueries\n... used 2.3841857910156E-5 seconds\nScheduled task complete: Sincronizar blogs externos (core\\task\\blog_cron_task)\n	18211e19acdd	157
110	0	moodle	core\\task\\question_preview_cleanup_task	0	1617857042.2654000000	1617857042.2864000000	1	4	0	Execute scheduled task: Procesamiento en segundo plano para limpieza de vistas previas de preguntas (core\\task\\question_preview_cleanup_task)\n... started 05:44:02. Current memory use 23.9MB.\n\n  Cleaning up old question previews...done.\n... used 5 dbqueries\n... used 0.020563840866089 seconds\nScheduled task complete: Procesamiento en segundo plano para limpieza de vistas previas de preguntas (core\\task\\question_preview_cleanup_task)\n	18211e19acdd	157
111	0	moodle	core\\task\\question_stats_cleanup_task	0	1617857042.2923000000	1617857042.2945000000	1	3	0	Execute scheduled task: Procesamiento en segundo plano para limpieza de caché de estadísticas de pregunta (core\\task\\question_stats_cleanup_task)\n... started 05:44:02. Current memory use 25.5MB.\n\n  Cleaning up old question statistics cache records...done.\n... used 4 dbqueries\n... used 0.0014519691467285 seconds\nScheduled task complete: Procesamiento en segundo plano para limpieza de caché de estadísticas de pregunta (core\\task\\question_stats_cleanup_task)\n	18211e19acdd	157
112	0	mod_assign	mod_assign\\task\\cron_task	0	1617857042.3057000000	1617857042.3481000000	3	0	0	Execute scheduled task: Procesamiento en segundo plano para módulo Tarea (mod_assign\\task\\cron_task)\n... started 05:44:02. Current memory use 27.9MB.\n... used 3 dbqueries\n... used 0.041775941848755 seconds\nScheduled task complete: Procesamiento en segundo plano para módulo Tarea (mod_assign\\task\\cron_task)\n	18211e19acdd	157
113	0	mod_forum	mod_forum\\task\\cron_task	0	1617857042.3640000000	1617857042.3685000000	1	1	0	Execute scheduled task: Correos del foro y trabajos de mantenimiento (mod_forum\\task\\cron_task)\n... started 05:44:02. Current memory use 31.8MB.\nRemoving old digest records from 7 days ago.\nRemoved all old digest records.\nFetching unmailed posts.\n  No posts found.\n... used 2 dbqueries\n... used 0.0036947727203369 seconds\nScheduled task complete: Correos del foro y trabajos de mantenimiento (mod_forum\\task\\cron_task)\n	18211e19acdd	157
114	0	mod_quiz	mod_quiz\\task\\update_overdue_attempts	0	1617857042.3868000000	1617857042.3985000000	3	0	0	Execute scheduled task: Updating overdue quiz attempts (mod_quiz\\task\\update_overdue_attempts)\n... started 05:44:02. Current memory use 32.8MB.\n  Looking for quiz overdue quiz attempts...\n  Considered 0 attempts in 0 quizzes.\n... used 3 dbqueries\n... used 0.011218786239624 seconds\nScheduled task complete: Updating overdue quiz attempts (mod_quiz\\task\\update_overdue_attempts)\n	18211e19acdd	157
115	0	mod_quiz	mod_quiz\\task\\legacy_quiz_reports_cron	0	1617857042.4044000000	1617857042.4051000000	0	0	0	Execute scheduled task: Legacy cron quiz reports (mod_quiz\\task\\legacy_quiz_reports_cron)\n... started 05:44:02. Current memory use 32.9MB.\n... used 0 dbqueries\n... used 7.3909759521484E-5 seconds\nScheduled task complete: Legacy cron quiz reports (mod_quiz\\task\\legacy_quiz_reports_cron)\n	18211e19acdd	157
116	0	mod_quiz	mod_quiz\\task\\legacy_quiz_accessrules_cron	0	1617857042.4113000000	1617857042.4119000000	0	0	0	Execute scheduled task: Legacy cron quiz access rules (mod_quiz\\task\\legacy_quiz_accessrules_cron)\n... started 05:44:02. Current memory use 32.9MB.\n... used 0 dbqueries\n... used 6.7949295043945E-5 seconds\nScheduled task complete: Legacy cron quiz access rules (mod_quiz\\task\\legacy_quiz_accessrules_cron)\n	18211e19acdd	157
117	0	mod_workshop	mod_workshop\\task\\cron_task	0	1617857042.4180000000	1617857042.4198000000	1	0	0	Execute scheduled task: Background processing for workshop module (mod_workshop\\task\\cron_task)\n... started 05:44:02. Current memory use 32.9MB.\n processing workshop subplugins ...\n... used 1 dbqueries\n... used 0.0011980533599854 seconds\nScheduled task complete: Background processing for workshop module (mod_workshop\\task\\cron_task)\n	18211e19acdd	157
118	0	mod_workshop	mod_workshop\\task\\legacy_workshop_allocation_cron	0	1617857042.4252000000	1617857042.4258000000	0	0	0	Execute scheduled task: Legacy cron workshop allocation (mod_workshop\\task\\legacy_workshop_allocation_cron)\n... started 05:44:02. Current memory use 32.9MB.\n... used 0 dbqueries\n... used 6.413459777832E-5 seconds\nScheduled task complete: Legacy cron workshop allocation (mod_workshop\\task\\legacy_workshop_allocation_cron)\n	18211e19acdd	157
119	0	tool_messageinbound	tool_messageinbound\\task\\pickup_task	0	1617857042.4349000000	1617857042.4369000000	0	0	0	Execute scheduled task: Recogida de correos electrónicos entrantes (tool_messageinbound\\task\\pickup_task)\n... started 05:44:02. Current memory use 31.8MB.\nInbound Message not fully configured - exiting early.\n... used 0 dbqueries\n... used 0.0015740394592285 seconds\nScheduled task complete: Recogida de correos electrónicos entrantes (tool_messageinbound\\task\\pickup_task)\n	18211e19acdd	157
120	0	tool_monitor	tool_monitor\\task\\clean_events	0	1617857042.4424000000	1617857042.4427000000	0	0	0	Execute scheduled task: Cleanup event monitor events (tool_monitor\\task\\clean_events)\n... started 05:44:02. Current memory use 32MB.\n... used 0 dbqueries\n... used 5.6028366088867E-5 seconds\nScheduled task complete: Cleanup event monitor events (tool_monitor\\task\\clean_events)\n	18211e19acdd	157
121	0	workshopallocation_scheduled	workshopallocation_scheduled\\task\\cron_task	0	1617857042.4485000000	1617857042.4500000000	1	0	0	Execute scheduled task: Background processing for scheduled allocation (workshopallocation_scheduled\\task\\cron_task)\n... started 05:44:02. Current memory use 32MB.\n... no workshops awaiting scheduled allocation. ... used 1 dbqueries\n... used 0.0010130405426025 seconds\nScheduled task complete: Background processing for scheduled allocation (workshopallocation_scheduled\\task\\cron_task)\n	18211e19acdd	157
122	0	assignfeedback_editpdf	assignfeedback_editpdf\\task\\convert_submissions	0	1617857101.6169000000	1617857101.6657000000	1	0	0	Execute scheduled task: Preparar los envíos para la anotación (assignfeedback_editpdf\\task\\convert_submissions)\n... started 05:45:01. Current memory use 16MB.\n... used 1 dbqueries\n... used 0.047064065933228 seconds\nScheduled task complete: Preparar los envíos para la anotación (assignfeedback_editpdf\\task\\convert_submissions)\n	18211e19acdd	172
123	0	moodle	core\\task\\badges_cron_task	0	1617857101.6746000000	1617857101.6801000000	1	0	0	Execute scheduled task: Insignias del premio (core\\task\\badges_cron_task)\n... started 05:45:01. Current memory use 23.2MB.\nStarted reviewing available badges.\nBadges were issued 0 time(s).\n... used 1 dbqueries\n... used 0.0045199394226074 seconds\nScheduled task complete: Insignias del premio (core\\task\\badges_cron_task)\n	18211e19acdd	172
124	0	moodle	core\\task\\badges_message_task	0	1617857101.6880000000	1617857101.6895000000	1	0	0	Execute scheduled task: Procesamiento en segundo plano para enviar notificaciones de insignias (core\\task\\badges_message_task)\n... started 05:45:01. Current memory use 23.6MB.\nSending scheduled badge notifications.\n... used 1 dbqueries\n... used 0.00081300735473633 seconds\nScheduled task complete: Procesamiento en segundo plano para enviar notificaciones de insignias (core\\task\\badges_message_task)\n	18211e19acdd	172
125	0	mod_chat	mod_chat\\task\\cron_task	0	1617857101.7016000000	1617857101.7110000000	2	2	0	Execute scheduled task: Procesamiento en segundo plano para módulo chat (mod_chat\\task\\cron_task)\n... started 05:45:01. Current memory use 26MB.\n... used 4 dbqueries\n... used 0.0088851451873779 seconds\nScheduled task complete: Procesamiento en segundo plano para módulo chat (mod_chat\\task\\cron_task)\n	18211e19acdd	172
126	0	mod_scorm	mod_scorm\\task\\cron_task	0	1617857101.7170000000	1617857101.7241000000	0	0	0	Execute scheduled task: Procesamiento en segundo plano para SCORM (mod_scorm\\task\\cron_task)\n... started 05:45:01. Current memory use 26.6MB.\n... used 0 dbqueries\n... used 0.0064239501953125 seconds\nScheduled task complete: Procesamiento en segundo plano para SCORM (mod_scorm\\task\\cron_task)\n	18211e19acdd	172
127	0	block_rss_client	block_rss_client\\task\\refreshfeeds	0	1617857101.7336000000	1617857101.7412000000	3	0	0	Execute scheduled task: Refresh RSS feeds task (block_rss_client\\task\\refreshfeeds)\n... started 05:45:01. Current memory use 25.8MB.\n\n0 feeds refreshed (took 0.00084999999999991 seconds)\n... used 3 dbqueries\n... used 0.007194995880127 seconds\nScheduled task complete: Refresh RSS feeds task (block_rss_client\\task\\refreshfeeds)\n	18211e19acdd	172
128	0	moodle	core\\task\\session_cleanup_task	0	1617857101.7474000000	1617857101.7572000000	18	1	0	Execute scheduled task: Limpiar sesiones antiguas (core\\task\\session_cleanup_task)\n... started 05:45:01. Current memory use 26.7MB.\n... used 19 dbqueries\n... used 0.0087389945983887 seconds\nScheduled task complete: Limpiar sesiones antiguas (core\\task\\session_cleanup_task)\n	18211e19acdd	172
129	0	moodle	core\\task\\send_new_user_passwords_task	0	1617857101.7631000000	1617857101.7641000000	1	0	0	Execute scheduled task: Enviar nuevas contraseñas de usuario (core\\task\\send_new_user_passwords_task)\n... started 05:45:01. Current memory use 27MB.\n... used 1 dbqueries\n... used 0.00061297416687012 seconds\nScheduled task complete: Enviar nuevas contraseñas de usuario (core\\task\\send_new_user_passwords_task)\n	18211e19acdd	172
130	0	moodle	core\\task\\send_failed_login_notifications_task	0	1617857101.7695000000	1617857101.7700000000	0	0	0	Execute scheduled task: Enviar notificaciones de inicio de sesión fallidos (core\\task\\send_failed_login_notifications_task)\n... started 05:45:01. Current memory use 27.1MB.\n... used 0 dbqueries\n... used 2.598762512207E-5 seconds\nScheduled task complete: Enviar notificaciones de inicio de sesión fallidos (core\\task\\send_failed_login_notifications_task)\n	18211e19acdd	172
131	0	moodle	core\\task\\legacy_plugin_cron_task	0	1617857101.7756000000	1617857101.7930000000	2	0	0	Execute scheduled task: Procesamiento heredado de extensiones (core\\task\\legacy_plugin_cron_task)\n... started 05:45:01. Current memory use 27.1MB.\nRunning auth crons if required...\nRunning enrol crons if required...\nStarting activity modules\nFinished activity modules\nStarting blocks\nFinished blocks\nStarting admin reports\nFinished admin reports\nStarting course reports\nFinished course reports\nStarting gradebook plugins\nFinished gradebook plugins\n... used 2 dbqueries\n... used 0.016921043395996 seconds\nScheduled task complete: Procesamiento heredado de extensiones (core\\task\\legacy_plugin_cron_task)\n	18211e19acdd	172
132	0	moodle	core\\task\\grade_cron_task	0	1617857101.7994000000	1617857101.8046000000	6	0	0	Execute scheduled task: Procesamiento en segundo plano del libro de calificaciones (core\\task\\grade_cron_task)\n... started 05:45:01. Current memory use 28.5MB.\n... used 6 dbqueries\n... used 0.0047621726989746 seconds\nScheduled task complete: Procesamiento en segundo plano del libro de calificaciones (core\\task\\grade_cron_task)\n	18211e19acdd	172
133	0	moodle	core\\task\\completion_regular_task	0	1617857101.8107000000	1617857101.8374000000	18	0	0	Execute scheduled task: Marcado continuo de finalización de actividades y cursos (core\\task\\completion_regular_task)\n... started 05:45:01. Current memory use 28.5MB.\n... used 18 dbqueries\n... used 0.026173830032349 seconds\nScheduled task complete: Marcado continuo de finalización de actividades y cursos (core\\task\\completion_regular_task)\n	18211e19acdd	172
134	0	moodle	core\\task\\portfolio_cron_task	0	1617857101.8435000000	1617857101.8442000000	0	0	0	Execute scheduled task: Procesamiento en segundo plano de los extensiones de portfolio (core\\task\\portfolio_cron_task)\n... started 05:45:01. Current memory use 28.8MB.\n... used 0 dbqueries\n... used 3.8862228393555E-5 seconds\nScheduled task complete: Procesamiento en segundo plano de los extensiones de portfolio (core\\task\\portfolio_cron_task)\n	18211e19acdd	172
135	0	moodle	core\\task\\plagiarism_cron_task	0	1617857101.8506000000	1617857101.8513000000	0	0	0	Execute scheduled task: Procesamiento en segundo plano para cron heredado en las extensiones de plagio (core\\task\\plagiarism_cron_task)\n... started 05:45:01. Current memory use 28.8MB.\n... used 0 dbqueries\n... used 3.504753112793E-5 seconds\nScheduled task complete: Procesamiento en segundo plano para cron heredado en las extensiones de plagio (core\\task\\plagiarism_cron_task)\n	18211e19acdd	172
136	0	moodle	core\\task\\calendar_cron_task	0	1617857101.8587000000	1617857101.8644000000	1	0	0	Execute scheduled task: Enviar notificaciones de calendario (core\\task\\calendar_cron_task)\n... started 05:45:01. Current memory use 28.8MB.\n... used 1 dbqueries\n... used 0.0050148963928223 seconds\nScheduled task complete: Enviar notificaciones de calendario (core\\task\\calendar_cron_task)\n	18211e19acdd	172
137	0	moodle	core\\task\\blog_cron_task	0	1617857101.8705000000	1617857101.8710000000	0	0	0	Execute scheduled task: Sincronizar blogs externos (core\\task\\blog_cron_task)\n... started 05:45:01. Current memory use 29.2MB.\n... used 0 dbqueries\n... used 2.598762512207E-5 seconds\nScheduled task complete: Sincronizar blogs externos (core\\task\\blog_cron_task)\n	18211e19acdd	172
138	0	moodle	core\\task\\question_preview_cleanup_task	0	1617857101.8769000000	1617857101.9010000000	1	4	0	Execute scheduled task: Procesamiento en segundo plano para limpieza de vistas previas de preguntas (core\\task\\question_preview_cleanup_task)\n... started 05:45:01. Current memory use 29.2MB.\n\n  Cleaning up old question previews...done.\n... used 5 dbqueries\n... used 0.023720979690552 seconds\nScheduled task complete: Procesamiento en segundo plano para limpieza de vistas previas de preguntas (core\\task\\question_preview_cleanup_task)\n	18211e19acdd	172
139	0	moodle	core\\task\\question_stats_cleanup_task	0	1617857101.9068000000	1617857101.9088000000	1	3	0	Execute scheduled task: Procesamiento en segundo plano para limpieza de caché de estadísticas de pregunta (core\\task\\question_stats_cleanup_task)\n... started 05:45:01. Current memory use 30.9MB.\n\n  Cleaning up old question statistics cache records...done.\n... used 4 dbqueries\n... used 0.0013859272003174 seconds\nScheduled task complete: Procesamiento en segundo plano para limpieza de caché de estadísticas de pregunta (core\\task\\question_stats_cleanup_task)\n	18211e19acdd	172
140	0	mod_assign	mod_assign\\task\\cron_task	0	1617857101.9148000000	1617857101.9340000000	3	0	0	Execute scheduled task: Procesamiento en segundo plano para módulo Tarea (mod_assign\\task\\cron_task)\n... started 05:45:01. Current memory use 31MB.\n... used 3 dbqueries\n... used 0.018187046051025 seconds\nScheduled task complete: Procesamiento en segundo plano para módulo Tarea (mod_assign\\task\\cron_task)\n	18211e19acdd	172
141	0	mod_forum	mod_forum\\task\\cron_task	0	1617857101.9514000000	1617857101.9561000000	1	1	0	Execute scheduled task: Correos del foro y trabajos de mantenimiento (mod_forum\\task\\cron_task)\n... started 05:45:01. Current memory use 32.6MB.\nRemoving old digest records from 7 days ago.\nRemoved all old digest records.\nFetching unmailed posts.\n  No posts found.\n... used 2 dbqueries\n... used 0.0037689208984375 seconds\nScheduled task complete: Correos del foro y trabajos de mantenimiento (mod_forum\\task\\cron_task)\n	18211e19acdd	172
142	0	mod_quiz	mod_quiz\\task\\update_overdue_attempts	0	1617857101.9768000000	1617857101.9883000000	3	0	0	Execute scheduled task: Updating overdue quiz attempts (mod_quiz\\task\\update_overdue_attempts)\n... started 05:45:01. Current memory use 33.9MB.\n  Looking for quiz overdue quiz attempts...\n  Considered 0 attempts in 0 quizzes.\n... used 3 dbqueries\n... used 0.010841131210327 seconds\nScheduled task complete: Updating overdue quiz attempts (mod_quiz\\task\\update_overdue_attempts)\n	18211e19acdd	172
143	0	mod_quiz	mod_quiz\\task\\legacy_quiz_reports_cron	0	1617857101.9949000000	1617857101.9958000000	0	0	0	Execute scheduled task: Legacy cron quiz reports (mod_quiz\\task\\legacy_quiz_reports_cron)\n... started 05:45:01. Current memory use 33.9MB.\n... used 0 dbqueries\n... used 9.9897384643555E-5 seconds\nScheduled task complete: Legacy cron quiz reports (mod_quiz\\task\\legacy_quiz_reports_cron)\n	18211e19acdd	172
144	0	mod_quiz	mod_quiz\\task\\legacy_quiz_accessrules_cron	0	1617857102.0017000000	1617857102.0024000000	0	0	0	Execute scheduled task: Legacy cron quiz access rules (mod_quiz\\task\\legacy_quiz_accessrules_cron)\n... started 05:45:02. Current memory use 33.9MB.\n... used 0 dbqueries\n... used 8.4161758422852E-5 seconds\nScheduled task complete: Legacy cron quiz access rules (mod_quiz\\task\\legacy_quiz_accessrules_cron)\n	18211e19acdd	172
145	0	mod_workshop	mod_workshop\\task\\cron_task	0	1617857102.0087000000	1617857102.0105000000	1	0	0	Execute scheduled task: Background processing for workshop module (mod_workshop\\task\\cron_task)\n... started 05:45:02. Current memory use 34MB.\n processing workshop subplugins ...\n... used 1 dbqueries\n... used 0.0011129379272461 seconds\nScheduled task complete: Background processing for workshop module (mod_workshop\\task\\cron_task)\n	18211e19acdd	172
146	0	mod_workshop	mod_workshop\\task\\legacy_workshop_allocation_cron	0	1617857102.0159000000	1617857102.0164000000	0	0	0	Execute scheduled task: Legacy cron workshop allocation (mod_workshop\\task\\legacy_workshop_allocation_cron)\n... started 05:45:02. Current memory use 34MB.\n... used 0 dbqueries\n... used 5.9127807617188E-5 seconds\nScheduled task complete: Legacy cron workshop allocation (mod_workshop\\task\\legacy_workshop_allocation_cron)\n	18211e19acdd	172
147	0	tool_messageinbound	tool_messageinbound\\task\\pickup_task	0	1617857102.0251000000	1617857102.0274000000	0	0	0	Execute scheduled task: Recogida de correos electrónicos entrantes (tool_messageinbound\\task\\pickup_task)\n... started 05:45:02. Current memory use 33.7MB.\nInbound Message not fully configured - exiting early.\n... used 0 dbqueries\n... used 0.0017600059509277 seconds\nScheduled task complete: Recogida de correos electrónicos entrantes (tool_messageinbound\\task\\pickup_task)\n	18211e19acdd	172
148	0	tool_monitor	tool_monitor\\task\\clean_events	0	1617857102.0342000000	1617857102.0347000000	0	0	0	Execute scheduled task: Cleanup event monitor events (tool_monitor\\task\\clean_events)\n... started 05:45:02. Current memory use 33.9MB.\n... used 0 dbqueries\n... used 8.2969665527344E-5 seconds\nScheduled task complete: Cleanup event monitor events (tool_monitor\\task\\clean_events)\n	18211e19acdd	172
149	0	workshopallocation_scheduled	workshopallocation_scheduled\\task\\cron_task	0	1617857102.0414000000	1617857102.0429000000	1	0	0	Execute scheduled task: Background processing for scheduled allocation (workshopallocation_scheduled\\task\\cron_task)\n... started 05:45:02. Current memory use 33.9MB.\n... no workshops awaiting scheduled allocation. ... used 1 dbqueries\n... used 0.00098013877868652 seconds\nScheduled task complete: Background processing for scheduled allocation (workshopallocation_scheduled\\task\\cron_task)\n	18211e19acdd	172
150	0	moodle	core\\task\\session_cleanup_task	0	1617857161.2136000000	1617857161.2336000000	18	1	0	Execute scheduled task: Limpiar sesiones antiguas (core\\task\\session_cleanup_task)\n... started 05:46:01. Current memory use 16.3MB.\n... used 19 dbqueries\n... used 0.016496896743774 seconds\nScheduled task complete: Limpiar sesiones antiguas (core\\task\\session_cleanup_task)\n	18211e19acdd	188
151	0	moodle	core\\task\\send_new_user_passwords_task	0	1617857161.2417000000	1617857161.2431000000	1	0	0	Execute scheduled task: Enviar nuevas contraseñas de usuario (core\\task\\send_new_user_passwords_task)\n... started 05:46:01. Current memory use 17.5MB.\n... used 1 dbqueries\n... used 0.00076985359191895 seconds\nScheduled task complete: Enviar nuevas contraseñas de usuario (core\\task\\send_new_user_passwords_task)\n	18211e19acdd	188
152	0	moodle	core\\task\\send_failed_login_notifications_task	0	1617857161.2503000000	1617857161.2509000000	0	0	0	Execute scheduled task: Enviar notificaciones de inicio de sesión fallidos (core\\task\\send_failed_login_notifications_task)\n... started 05:46:01. Current memory use 17.5MB.\n... used 0 dbqueries\n... used 2.9087066650391E-5 seconds\nScheduled task complete: Enviar notificaciones de inicio de sesión fallidos (core\\task\\send_failed_login_notifications_task)\n	18211e19acdd	188
153	0	moodle	core\\task\\legacy_plugin_cron_task	0	1617857161.2576000000	1617857161.2986000000	2	0	0	Execute scheduled task: Procesamiento heredado de extensiones (core\\task\\legacy_plugin_cron_task)\n... started 05:46:01. Current memory use 17.6MB.\nRunning auth crons if required...\nRunning enrol crons if required...\nStarting activity modules\nFinished activity modules\nStarting blocks\nFinished blocks\nStarting admin reports\nFinished admin reports\nStarting course reports\nFinished course reports\nStarting gradebook plugins\nFinished gradebook plugins\n... used 2 dbqueries\n... used 0.040564060211182 seconds\nScheduled task complete: Procesamiento heredado de extensiones (core\\task\\legacy_plugin_cron_task)\n	18211e19acdd	188
154	0	moodle	core\\task\\grade_cron_task	0	1617857161.3049000000	1617857161.3095000000	6	0	0	Execute scheduled task: Procesamiento en segundo plano del libro de calificaciones (core\\task\\grade_cron_task)\n... started 05:46:01. Current memory use 22.5MB.\n... used 6 dbqueries\n... used 0.0040709972381592 seconds\nScheduled task complete: Procesamiento en segundo plano del libro de calificaciones (core\\task\\grade_cron_task)\n	18211e19acdd	188
155	0	moodle	core\\task\\completion_regular_task	0	1617857161.3164000000	1617857161.3460000000	18	0	0	Execute scheduled task: Marcado continuo de finalización de actividades y cursos (core\\task\\completion_regular_task)\n... started 05:46:01. Current memory use 22.5MB.\n... used 18 dbqueries\n... used 0.029108047485352 seconds\nScheduled task complete: Marcado continuo de finalización de actividades y cursos (core\\task\\completion_regular_task)\n	18211e19acdd	188
156	0	moodle	core\\task\\portfolio_cron_task	0	1617857161.3530000000	1617857161.3538000000	0	0	0	Execute scheduled task: Procesamiento en segundo plano de los extensiones de portfolio (core\\task\\portfolio_cron_task)\n... started 05:46:01. Current memory use 23MB.\n... used 0 dbqueries\n... used 4.0054321289062E-5 seconds\nScheduled task complete: Procesamiento en segundo plano de los extensiones de portfolio (core\\task\\portfolio_cron_task)\n	18211e19acdd	188
157	0	moodle	core\\task\\plagiarism_cron_task	0	1617857161.3605000000	1617857161.3610000000	0	0	0	Execute scheduled task: Procesamiento en segundo plano para cron heredado en las extensiones de plagio (core\\task\\plagiarism_cron_task)\n... started 05:46:01. Current memory use 23MB.\n... used 0 dbqueries\n... used 2.3126602172852E-5 seconds\nScheduled task complete: Procesamiento en segundo plano para cron heredado en las extensiones de plagio (core\\task\\plagiarism_cron_task)\n	18211e19acdd	188
158	0	moodle	core\\task\\calendar_cron_task	0	1617857161.3726000000	1617857161.3772000000	1	0	0	Execute scheduled task: Enviar notificaciones de calendario (core\\task\\calendar_cron_task)\n... started 05:46:01. Current memory use 23.5MB.\n... used 1 dbqueries\n... used 0.004019021987915 seconds\nScheduled task complete: Enviar notificaciones de calendario (core\\task\\calendar_cron_task)\n	18211e19acdd	188
159	0	moodle	core\\task\\blog_cron_task	0	1617857161.3837000000	1617857161.3841000000	0	0	0	Execute scheduled task: Sincronizar blogs externos (core\\task\\blog_cron_task)\n... started 05:46:01. Current memory use 23.9MB.\n... used 0 dbqueries\n... used 2.3841857910156E-5 seconds\nScheduled task complete: Sincronizar blogs externos (core\\task\\blog_cron_task)\n	18211e19acdd	188
160	0	moodle	core\\task\\question_preview_cleanup_task	0	1617857161.3905000000	1617857161.4118000000	1	4	0	Execute scheduled task: Procesamiento en segundo plano para limpieza de vistas previas de preguntas (core\\task\\question_preview_cleanup_task)\n... started 05:46:01. Current memory use 23.9MB.\n\n  Cleaning up old question previews...done.\n... used 5 dbqueries\n... used 0.020840883255005 seconds\nScheduled task complete: Procesamiento en segundo plano para limpieza de vistas previas de preguntas (core\\task\\question_preview_cleanup_task)\n	18211e19acdd	188
161	0	moodle	core\\task\\question_stats_cleanup_task	0	1617857161.4187000000	1617857161.4214000000	1	3	0	Execute scheduled task: Procesamiento en segundo plano para limpieza de caché de estadísticas de pregunta (core\\task\\question_stats_cleanup_task)\n... started 05:46:01. Current memory use 25.5MB.\n\n  Cleaning up old question statistics cache records...done.\n... used 4 dbqueries\n... used 0.0019550323486328 seconds\nScheduled task complete: Procesamiento en segundo plano para limpieza de caché de estadísticas de pregunta (core\\task\\question_stats_cleanup_task)\n	18211e19acdd	188
162	0	mod_assign	mod_assign\\task\\cron_task	0	1617857161.4337000000	1617857161.4727000000	3	0	0	Execute scheduled task: Procesamiento en segundo plano para módulo Tarea (mod_assign\\task\\cron_task)\n... started 05:46:01. Current memory use 27.9MB.\n... used 3 dbqueries\n... used 0.038285970687866 seconds\nScheduled task complete: Procesamiento en segundo plano para módulo Tarea (mod_assign\\task\\cron_task)\n	18211e19acdd	188
163	0	mod_forum	mod_forum\\task\\cron_task	0	1617857161.4860000000	1617857161.4894000000	1	1	0	Execute scheduled task: Correos del foro y trabajos de mantenimiento (mod_forum\\task\\cron_task)\n... started 05:46:01. Current memory use 31.8MB.\nRemoving old digest records from 7 days ago.\nRemoved all old digest records.\nFetching unmailed posts.\n  No posts found.\n... used 2 dbqueries\n... used 0.002601146697998 seconds\nScheduled task complete: Correos del foro y trabajos de mantenimiento (mod_forum\\task\\cron_task)\n	18211e19acdd	188
164	0	mod_quiz	mod_quiz\\task\\update_overdue_attempts	0	1617857161.5096000000	1617857161.5200000000	3	0	0	Execute scheduled task: Updating overdue quiz attempts (mod_quiz\\task\\update_overdue_attempts)\n... started 05:46:01. Current memory use 32.8MB.\n  Looking for quiz overdue quiz attempts...\n  Considered 0 attempts in 0 quizzes.\n... used 3 dbqueries\n... used 0.00978684425354 seconds\nScheduled task complete: Updating overdue quiz attempts (mod_quiz\\task\\update_overdue_attempts)\n	18211e19acdd	188
165	0	mod_quiz	mod_quiz\\task\\legacy_quiz_reports_cron	0	1617857161.5259000000	1617857161.5269000000	0	0	0	Execute scheduled task: Legacy cron quiz reports (mod_quiz\\task\\legacy_quiz_reports_cron)\n... started 05:46:01. Current memory use 32.9MB.\n... used 0 dbqueries\n... used 9.9897384643555E-5 seconds\nScheduled task complete: Legacy cron quiz reports (mod_quiz\\task\\legacy_quiz_reports_cron)\n	18211e19acdd	188
166	0	mod_quiz	mod_quiz\\task\\legacy_quiz_accessrules_cron	0	1617857161.5338000000	1617857161.5345000000	0	0	0	Execute scheduled task: Legacy cron quiz access rules (mod_quiz\\task\\legacy_quiz_accessrules_cron)\n... started 05:46:01. Current memory use 32.9MB.\n... used 0 dbqueries\n... used 7.1048736572266E-5 seconds\nScheduled task complete: Legacy cron quiz access rules (mod_quiz\\task\\legacy_quiz_accessrules_cron)\n	18211e19acdd	188
167	0	mod_workshop	mod_workshop\\task\\cron_task	0	1617857161.5409000000	1617857161.5427000000	1	0	0	Execute scheduled task: Background processing for workshop module (mod_workshop\\task\\cron_task)\n... started 05:46:01. Current memory use 32.9MB.\n processing workshop subplugins ...\n... used 1 dbqueries\n... used 0.0011169910430908 seconds\nScheduled task complete: Background processing for workshop module (mod_workshop\\task\\cron_task)\n	18211e19acdd	188
168	0	mod_workshop	mod_workshop\\task\\legacy_workshop_allocation_cron	0	1617857161.5489000000	1617857161.5495000000	0	0	0	Execute scheduled task: Legacy cron workshop allocation (mod_workshop\\task\\legacy_workshop_allocation_cron)\n... started 05:46:01. Current memory use 32.9MB.\n... used 0 dbqueries\n... used 7.2956085205078E-5 seconds\nScheduled task complete: Legacy cron workshop allocation (mod_workshop\\task\\legacy_workshop_allocation_cron)\n	18211e19acdd	188
169	0	tool_messageinbound	tool_messageinbound\\task\\pickup_task	0	1617857161.5601000000	1617857161.5625000000	0	0	0	Execute scheduled task: Recogida de correos electrónicos entrantes (tool_messageinbound\\task\\pickup_task)\n... started 05:46:01. Current memory use 31.8MB.\nInbound Message not fully configured - exiting early.\n... used 0 dbqueries\n... used 0.0018310546875 seconds\nScheduled task complete: Recogida de correos electrónicos entrantes (tool_messageinbound\\task\\pickup_task)\n	18211e19acdd	188
170	0	tool_monitor	tool_monitor\\task\\clean_events	0	1617857161.5690000000	1617857161.5696000000	0	0	0	Execute scheduled task: Cleanup event monitor events (tool_monitor\\task\\clean_events)\n... started 05:46:01. Current memory use 32MB.\n... used 0 dbqueries\n... used 0.00011706352233887 seconds\nScheduled task complete: Cleanup event monitor events (tool_monitor\\task\\clean_events)\n	18211e19acdd	188
171	0	workshopallocation_scheduled	workshopallocation_scheduled\\task\\cron_task	0	1617857161.5764000000	1617857161.5779000000	1	0	0	Execute scheduled task: Background processing for scheduled allocation (workshopallocation_scheduled\\task\\cron_task)\n... started 05:46:01. Current memory use 32MB.\n... no workshops awaiting scheduled allocation. ... used 1 dbqueries\n... used 0.0010378360748291 seconds\nScheduled task complete: Background processing for scheduled allocation (workshopallocation_scheduled\\task\\cron_task)\n	18211e19acdd	188
172	0	moodle	core\\task\\session_cleanup_task	0	1617857221.7556000000	1617857221.7738000000	18	1	0	Execute scheduled task: Limpiar sesiones antiguas (core\\task\\session_cleanup_task)\n... started 05:47:01. Current memory use 16.3MB.\n... used 19 dbqueries\n... used 0.015197038650513 seconds\nScheduled task complete: Limpiar sesiones antiguas (core\\task\\session_cleanup_task)\n	18211e19acdd	204
173	0	moodle	core\\task\\send_new_user_passwords_task	0	1617857221.7818000000	1617857221.7831000000	1	0	0	Execute scheduled task: Enviar nuevas contraseñas de usuario (core\\task\\send_new_user_passwords_task)\n... started 05:47:01. Current memory use 17.5MB.\n... used 1 dbqueries\n... used 0.00076580047607422 seconds\nScheduled task complete: Enviar nuevas contraseñas de usuario (core\\task\\send_new_user_passwords_task)\n	18211e19acdd	204
174	0	moodle	core\\task\\send_failed_login_notifications_task	0	1617857221.7894000000	1617857221.7899000000	0	0	0	Execute scheduled task: Enviar notificaciones de inicio de sesión fallidos (core\\task\\send_failed_login_notifications_task)\n... started 05:47:01. Current memory use 17.5MB.\n... used 0 dbqueries\n... used 2.5033950805664E-5 seconds\nScheduled task complete: Enviar notificaciones de inicio de sesión fallidos (core\\task\\send_failed_login_notifications_task)\n	18211e19acdd	204
175	0	moodle	core\\task\\legacy_plugin_cron_task	0	1617857221.7961000000	1617857221.8365000000	2	0	0	Execute scheduled task: Procesamiento heredado de extensiones (core\\task\\legacy_plugin_cron_task)\n... started 05:47:01. Current memory use 17.6MB.\nRunning auth crons if required...\nRunning enrol crons if required...\nStarting activity modules\nFinished activity modules\nStarting blocks\nFinished blocks\nStarting admin reports\nFinished admin reports\nStarting course reports\nFinished course reports\nStarting gradebook plugins\nFinished gradebook plugins\n... used 2 dbqueries\n... used 0.039990901947021 seconds\nScheduled task complete: Procesamiento heredado de extensiones (core\\task\\legacy_plugin_cron_task)\n	18211e19acdd	204
176	0	moodle	core\\task\\grade_cron_task	0	1617857221.8438000000	1617857221.8485000000	6	0	0	Execute scheduled task: Procesamiento en segundo plano del libro de calificaciones (core\\task\\grade_cron_task)\n... started 05:47:01. Current memory use 22.5MB.\n... used 6 dbqueries\n... used 0.0042200088500977 seconds\nScheduled task complete: Procesamiento en segundo plano del libro de calificaciones (core\\task\\grade_cron_task)\n	18211e19acdd	204
177	0	moodle	core\\task\\completion_regular_task	0	1617857221.8552000000	1617857221.8879000000	18	0	0	Execute scheduled task: Marcado continuo de finalización de actividades y cursos (core\\task\\completion_regular_task)\n... started 05:47:01. Current memory use 22.5MB.\n... used 18 dbqueries\n... used 0.032317161560059 seconds\nScheduled task complete: Marcado continuo de finalización de actividades y cursos (core\\task\\completion_regular_task)\n	18211e19acdd	204
178	0	moodle	core\\task\\portfolio_cron_task	0	1617857221.8943000000	1617857221.8950000000	0	0	0	Execute scheduled task: Procesamiento en segundo plano de los extensiones de portfolio (core\\task\\portfolio_cron_task)\n... started 05:47:01. Current memory use 23MB.\n... used 0 dbqueries\n... used 3.6954879760742E-5 seconds\nScheduled task complete: Procesamiento en segundo plano de los extensiones de portfolio (core\\task\\portfolio_cron_task)\n	18211e19acdd	204
179	0	moodle	core\\task\\plagiarism_cron_task	0	1617857221.9016000000	1617857221.9020000000	0	0	0	Execute scheduled task: Procesamiento en segundo plano para cron heredado en las extensiones de plagio (core\\task\\plagiarism_cron_task)\n... started 05:47:01. Current memory use 23MB.\n... used 0 dbqueries\n... used 2.5033950805664E-5 seconds\nScheduled task complete: Procesamiento en segundo plano para cron heredado en las extensiones de plagio (core\\task\\plagiarism_cron_task)\n	18211e19acdd	204
180	0	moodle	core\\task\\calendar_cron_task	0	1617857221.9142000000	1617857221.9185000000	1	0	0	Execute scheduled task: Enviar notificaciones de calendario (core\\task\\calendar_cron_task)\n... started 05:47:01. Current memory use 23.5MB.\n... used 1 dbqueries\n... used 0.0038869380950928 seconds\nScheduled task complete: Enviar notificaciones de calendario (core\\task\\calendar_cron_task)\n	18211e19acdd	204
181	0	moodle	core\\task\\blog_cron_task	0	1617857221.9240000000	1617857221.9243000000	0	0	0	Execute scheduled task: Sincronizar blogs externos (core\\task\\blog_cron_task)\n... started 05:47:01. Current memory use 23.9MB.\n... used 0 dbqueries\n... used 2.0980834960938E-5 seconds\nScheduled task complete: Sincronizar blogs externos (core\\task\\blog_cron_task)\n	18211e19acdd	204
182	0	moodle	core\\task\\question_preview_cleanup_task	0	1617857221.9301000000	1617857221.9555000000	1	4	0	Execute scheduled task: Procesamiento en segundo plano para limpieza de vistas previas de preguntas (core\\task\\question_preview_cleanup_task)\n... started 05:47:01. Current memory use 23.9MB.\n\n  Cleaning up old question previews...done.\n... used 5 dbqueries\n... used 0.024944067001343 seconds\nScheduled task complete: Procesamiento en segundo plano para limpieza de vistas previas de preguntas (core\\task\\question_preview_cleanup_task)\n	18211e19acdd	204
183	0	moodle	core\\task\\question_stats_cleanup_task	0	1617857221.9618000000	1617857221.9636000000	1	3	0	Execute scheduled task: Procesamiento en segundo plano para limpieza de caché de estadísticas de pregunta (core\\task\\question_stats_cleanup_task)\n... started 05:47:01. Current memory use 25.5MB.\n\n  Cleaning up old question statistics cache records...done.\n... used 4 dbqueries\n... used 0.0013270378112793 seconds\nScheduled task complete: Procesamiento en segundo plano para limpieza de caché de estadísticas de pregunta (core\\task\\question_stats_cleanup_task)\n	18211e19acdd	204
184	0	mod_assign	mod_assign\\task\\cron_task	0	1617857221.9734000000	1617857222.0155000000	3	0	0	Execute scheduled task: Procesamiento en segundo plano para módulo Tarea (mod_assign\\task\\cron_task)\n... started 05:47:01. Current memory use 27.9MB.\n... used 3 dbqueries\n... used 0.041517019271851 seconds\nScheduled task complete: Procesamiento en segundo plano para módulo Tarea (mod_assign\\task\\cron_task)\n	18211e19acdd	204
185	0	mod_forum	mod_forum\\task\\cron_task	0	1617857222.0327000000	1617857222.0365000000	1	1	0	Execute scheduled task: Correos del foro y trabajos de mantenimiento (mod_forum\\task\\cron_task)\n... started 05:47:02. Current memory use 31.8MB.\nRemoving old digest records from 7 days ago.\nRemoved all old digest records.\nFetching unmailed posts.\n  No posts found.\n... used 2 dbqueries\n... used 0.0032370090484619 seconds\nScheduled task complete: Correos del foro y trabajos de mantenimiento (mod_forum\\task\\cron_task)\n	18211e19acdd	204
186	0	mod_quiz	mod_quiz\\task\\update_overdue_attempts	0	1617857222.0531000000	1617857222.0620000000	3	0	0	Execute scheduled task: Updating overdue quiz attempts (mod_quiz\\task\\update_overdue_attempts)\n... started 05:47:02. Current memory use 32.8MB.\n  Looking for quiz overdue quiz attempts...\n  Considered 0 attempts in 0 quizzes.\n... used 3 dbqueries\n... used 0.0084078311920166 seconds\nScheduled task complete: Updating overdue quiz attempts (mod_quiz\\task\\update_overdue_attempts)\n	18211e19acdd	204
187	0	mod_quiz	mod_quiz\\task\\legacy_quiz_reports_cron	0	1617857222.0665000000	1617857222.0671000000	0	0	0	Execute scheduled task: Legacy cron quiz reports (mod_quiz\\task\\legacy_quiz_reports_cron)\n... started 05:47:02. Current memory use 32.9MB.\n... used 0 dbqueries\n... used 7.0095062255859E-5 seconds\nScheduled task complete: Legacy cron quiz reports (mod_quiz\\task\\legacy_quiz_reports_cron)\n	18211e19acdd	204
188	0	mod_quiz	mod_quiz\\task\\legacy_quiz_accessrules_cron	0	1617857222.0717000000	1617857222.0722000000	0	0	0	Execute scheduled task: Legacy cron quiz access rules (mod_quiz\\task\\legacy_quiz_accessrules_cron)\n... started 05:47:02. Current memory use 32.9MB.\n... used 0 dbqueries\n... used 5.8174133300781E-5 seconds\nScheduled task complete: Legacy cron quiz access rules (mod_quiz\\task\\legacy_quiz_accessrules_cron)\n	18211e19acdd	204
189	0	mod_workshop	mod_workshop\\task\\cron_task	0	1617857222.0768000000	1617857222.0781000000	1	0	0	Execute scheduled task: Background processing for workshop module (mod_workshop\\task\\cron_task)\n... started 05:47:02. Current memory use 32.9MB.\n processing workshop subplugins ...\n... used 1 dbqueries\n... used 0.0007789134979248 seconds\nScheduled task complete: Background processing for workshop module (mod_workshop\\task\\cron_task)\n	18211e19acdd	204
190	0	mod_workshop	mod_workshop\\task\\legacy_workshop_allocation_cron	0	1617857222.0829000000	1617857222.0835000000	0	0	0	Execute scheduled task: Legacy cron workshop allocation (mod_workshop\\task\\legacy_workshop_allocation_cron)\n... started 05:47:02. Current memory use 32.9MB.\n... used 0 dbqueries\n... used 5.793571472168E-5 seconds\nScheduled task complete: Legacy cron workshop allocation (mod_workshop\\task\\legacy_workshop_allocation_cron)\n	18211e19acdd	204
191	0	tool_messageinbound	tool_messageinbound\\task\\pickup_task	0	1617857222.0925000000	1617857222.0945000000	0	0	0	Execute scheduled task: Recogida de correos electrónicos entrantes (tool_messageinbound\\task\\pickup_task)\n... started 05:47:02. Current memory use 31.8MB.\nInbound Message not fully configured - exiting early.\n... used 0 dbqueries\n... used 0.0015270709991455 seconds\nScheduled task complete: Recogida de correos electrónicos entrantes (tool_messageinbound\\task\\pickup_task)\n	18211e19acdd	204
192	0	tool_monitor	tool_monitor\\task\\clean_events	0	1617857222.1001000000	1617857222.1006000000	0	0	0	Execute scheduled task: Cleanup event monitor events (tool_monitor\\task\\clean_events)\n... started 05:47:02. Current memory use 32MB.\n... used 0 dbqueries\n... used 8.1062316894531E-5 seconds\nScheduled task complete: Cleanup event monitor events (tool_monitor\\task\\clean_events)\n	18211e19acdd	204
193	0	workshopallocation_scheduled	workshopallocation_scheduled\\task\\cron_task	0	1617857222.1064000000	1617857222.1078000000	1	0	0	Execute scheduled task: Background processing for scheduled allocation (workshopallocation_scheduled\\task\\cron_task)\n... started 05:47:02. Current memory use 32MB.\n... no workshops awaiting scheduled allocation. ... used 1 dbqueries\n... used 0.00098490715026855 seconds\nScheduled task complete: Background processing for scheduled allocation (workshopallocation_scheduled\\task\\cron_task)\n	18211e19acdd	204
194	0	moodle	core\\task\\session_cleanup_task	0	1617857281.2781000000	1617857281.2948000000	18	1	0	Execute scheduled task: Limpiar sesiones antiguas (core\\task\\session_cleanup_task)\n... started 05:48:01. Current memory use 16.3MB.\n... used 19 dbqueries\n... used 0.013738870620728 seconds\nScheduled task complete: Limpiar sesiones antiguas (core\\task\\session_cleanup_task)\n	18211e19acdd	219
195	0	moodle	core\\task\\send_new_user_passwords_task	0	1617857281.3029000000	1617857281.3042000000	1	0	0	Execute scheduled task: Enviar nuevas contraseñas de usuario (core\\task\\send_new_user_passwords_task)\n... started 05:48:01. Current memory use 17.5MB.\n... used 1 dbqueries\n... used 0.00074505805969238 seconds\nScheduled task complete: Enviar nuevas contraseñas de usuario (core\\task\\send_new_user_passwords_task)\n	18211e19acdd	219
196	0	moodle	core\\task\\send_failed_login_notifications_task	0	1617857281.3114000000	1617857281.3119000000	0	0	0	Execute scheduled task: Enviar notificaciones de inicio de sesión fallidos (core\\task\\send_failed_login_notifications_task)\n... started 05:48:01. Current memory use 17.5MB.\n... used 0 dbqueries\n... used 2.5033950805664E-5 seconds\nScheduled task complete: Enviar notificaciones de inicio de sesión fallidos (core\\task\\send_failed_login_notifications_task)\n	18211e19acdd	219
197	0	moodle	core\\task\\legacy_plugin_cron_task	0	1617857281.3187000000	1617857281.3584000000	2	0	0	Execute scheduled task: Procesamiento heredado de extensiones (core\\task\\legacy_plugin_cron_task)\n... started 05:48:01. Current memory use 17.6MB.\nRunning auth crons if required...\nRunning enrol crons if required...\nStarting activity modules\nFinished activity modules\nStarting blocks\nFinished blocks\nStarting admin reports\nFinished admin reports\nStarting course reports\nFinished course reports\nStarting gradebook plugins\nFinished gradebook plugins\n... used 2 dbqueries\n... used 0.039204120635986 seconds\nScheduled task complete: Procesamiento heredado de extensiones (core\\task\\legacy_plugin_cron_task)\n	18211e19acdd	219
198	0	moodle	core\\task\\grade_cron_task	0	1617857281.3656000000	1617857281.3704000000	6	0	0	Execute scheduled task: Procesamiento en segundo plano del libro de calificaciones (core\\task\\grade_cron_task)\n... started 05:48:01. Current memory use 22.5MB.\n... used 6 dbqueries\n... used 0.0041050910949707 seconds\nScheduled task complete: Procesamiento en segundo plano del libro de calificaciones (core\\task\\grade_cron_task)\n	18211e19acdd	219
199	0	moodle	core\\task\\completion_regular_task	0	1617857281.3773000000	1617857281.4087000000	18	0	0	Execute scheduled task: Marcado continuo de finalización de actividades y cursos (core\\task\\completion_regular_task)\n... started 05:48:01. Current memory use 22.5MB.\n... used 18 dbqueries\n... used 0.030890226364136 seconds\nScheduled task complete: Marcado continuo de finalización de actividades y cursos (core\\task\\completion_regular_task)\n	18211e19acdd	219
200	0	moodle	core\\task\\portfolio_cron_task	0	1617857281.4155000000	1617857281.4162000000	0	0	0	Execute scheduled task: Procesamiento en segundo plano de los extensiones de portfolio (core\\task\\portfolio_cron_task)\n... started 05:48:01. Current memory use 23MB.\n... used 0 dbqueries\n... used 3.3855438232422E-5 seconds\nScheduled task complete: Procesamiento en segundo plano de los extensiones de portfolio (core\\task\\portfolio_cron_task)\n	18211e19acdd	219
201	0	moodle	core\\task\\plagiarism_cron_task	0	1617857281.4227000000	1617857281.4232000000	0	0	0	Execute scheduled task: Procesamiento en segundo plano para cron heredado en las extensiones de plagio (core\\task\\plagiarism_cron_task)\n... started 05:48:01. Current memory use 23MB.\n... used 0 dbqueries\n... used 2.5033950805664E-5 seconds\nScheduled task complete: Procesamiento en segundo plano para cron heredado en las extensiones de plagio (core\\task\\plagiarism_cron_task)\n	18211e19acdd	219
202	0	moodle	core\\task\\calendar_cron_task	0	1617857281.4356000000	1617857281.4404000000	1	0	0	Execute scheduled task: Enviar notificaciones de calendario (core\\task\\calendar_cron_task)\n... started 05:48:01. Current memory use 23.5MB.\n... used 1 dbqueries\n... used 0.0043249130249023 seconds\nScheduled task complete: Enviar notificaciones de calendario (core\\task\\calendar_cron_task)\n	18211e19acdd	219
203	0	moodle	core\\task\\blog_cron_task	0	1617857281.4487000000	1617857281.4492000000	0	0	0	Execute scheduled task: Sincronizar blogs externos (core\\task\\blog_cron_task)\n... started 05:48:01. Current memory use 23.9MB.\n... used 0 dbqueries\n... used 2.598762512207E-5 seconds\nScheduled task complete: Sincronizar blogs externos (core\\task\\blog_cron_task)\n	18211e19acdd	219
204	0	moodle	core\\task\\question_preview_cleanup_task	0	1617857281.4559000000	1617857281.4801000000	1	4	0	Execute scheduled task: Procesamiento en segundo plano para limpieza de vistas previas de preguntas (core\\task\\question_preview_cleanup_task)\n... started 05:48:01. Current memory use 23.9MB.\n\n  Cleaning up old question previews...done.\n... used 5 dbqueries\n... used 0.023778915405273 seconds\nScheduled task complete: Procesamiento en segundo plano para limpieza de vistas previas de preguntas (core\\task\\question_preview_cleanup_task)\n	18211e19acdd	219
205	0	moodle	core\\task\\question_stats_cleanup_task	0	1617857281.4874000000	1617857281.4900000000	1	3	0	Execute scheduled task: Procesamiento en segundo plano para limpieza de caché de estadísticas de pregunta (core\\task\\question_stats_cleanup_task)\n... started 05:48:01. Current memory use 25.5MB.\n\n  Cleaning up old question statistics cache records...done.\n... used 4 dbqueries\n... used 0.0019638538360596 seconds\nScheduled task complete: Procesamiento en segundo plano para limpieza de caché de estadísticas de pregunta (core\\task\\question_stats_cleanup_task)\n	18211e19acdd	219
206	0	mod_assign	mod_assign\\task\\cron_task	0	1617857281.5014000000	1617857281.5398000000	3	0	0	Execute scheduled task: Procesamiento en segundo plano para módulo Tarea (mod_assign\\task\\cron_task)\n... started 05:48:01. Current memory use 27.9MB.\n... used 3 dbqueries\n... used 0.037837982177734 seconds\nScheduled task complete: Procesamiento en segundo plano para módulo Tarea (mod_assign\\task\\cron_task)\n	18211e19acdd	219
207	0	mod_forum	mod_forum\\task\\cron_task	0	1617857281.5571000000	1617857281.5611000000	1	1	0	Execute scheduled task: Correos del foro y trabajos de mantenimiento (mod_forum\\task\\cron_task)\n... started 05:48:01. Current memory use 31.8MB.\nRemoving old digest records from 7 days ago.\nRemoved all old digest records.\nFetching unmailed posts.\n  No posts found.\n... used 2 dbqueries\n... used 0.00347900390625 seconds\nScheduled task complete: Correos del foro y trabajos de mantenimiento (mod_forum\\task\\cron_task)\n	18211e19acdd	219
208	0	mod_quiz	mod_quiz\\task\\update_overdue_attempts	0	1617857281.5786000000	1617857281.5901000000	3	0	0	Execute scheduled task: Updating overdue quiz attempts (mod_quiz\\task\\update_overdue_attempts)\n... started 05:48:01. Current memory use 32.8MB.\n  Looking for quiz overdue quiz attempts...\n  Considered 0 attempts in 0 quizzes.\n... used 3 dbqueries\n... used 0.011098861694336 seconds\nScheduled task complete: Updating overdue quiz attempts (mod_quiz\\task\\update_overdue_attempts)\n	18211e19acdd	219
209	0	mod_quiz	mod_quiz\\task\\legacy_quiz_reports_cron	0	1617857281.5955000000	1617857281.5964000000	0	0	0	Execute scheduled task: Legacy cron quiz reports (mod_quiz\\task\\legacy_quiz_reports_cron)\n... started 05:48:01. Current memory use 32.9MB.\n... used 0 dbqueries\n... used 9.608268737793E-5 seconds\nScheduled task complete: Legacy cron quiz reports (mod_quiz\\task\\legacy_quiz_reports_cron)\n	18211e19acdd	219
210	0	mod_quiz	mod_quiz\\task\\legacy_quiz_accessrules_cron	0	1617857281.6029000000	1617857281.6035000000	0	0	0	Execute scheduled task: Legacy cron quiz access rules (mod_quiz\\task\\legacy_quiz_accessrules_cron)\n... started 05:48:01. Current memory use 32.9MB.\n... used 0 dbqueries\n... used 5.6982040405273E-5 seconds\nScheduled task complete: Legacy cron quiz access rules (mod_quiz\\task\\legacy_quiz_accessrules_cron)\n	18211e19acdd	219
211	0	mod_workshop	mod_workshop\\task\\cron_task	0	1617857281.6100000000	1617857281.6116000000	1	0	0	Execute scheduled task: Background processing for workshop module (mod_workshop\\task\\cron_task)\n... started 05:48:01. Current memory use 32.9MB.\n processing workshop subplugins ...\n... used 1 dbqueries\n... used 0.0010890960693359 seconds\nScheduled task complete: Background processing for workshop module (mod_workshop\\task\\cron_task)\n	18211e19acdd	219
212	0	mod_workshop	mod_workshop\\task\\legacy_workshop_allocation_cron	0	1617857281.6177000000	1617857281.6183000000	0	0	0	Execute scheduled task: Legacy cron workshop allocation (mod_workshop\\task\\legacy_workshop_allocation_cron)\n... started 05:48:01. Current memory use 32.9MB.\n... used 0 dbqueries\n... used 5.793571472168E-5 seconds\nScheduled task complete: Legacy cron workshop allocation (mod_workshop\\task\\legacy_workshop_allocation_cron)\n	18211e19acdd	219
228	0	mod_assign	mod_assign\\task\\cron_task	0	1617857342.0319000000	1617857342.0663000000	3	0	0	Execute scheduled task: Procesamiento en segundo plano para módulo Tarea (mod_assign\\task\\cron_task)\n... started 05:49:02. Current memory use 27.9MB.\n... used 3 dbqueries\n... used 0.033953905105591 seconds\nScheduled task complete: Procesamiento en segundo plano para módulo Tarea (mod_assign\\task\\cron_task)\n	18211e19acdd	234
213	0	tool_messageinbound	tool_messageinbound\\task\\pickup_task	0	1617857281.6280000000	1617857281.6300000000	0	0	0	Execute scheduled task: Recogida de correos electrónicos entrantes (tool_messageinbound\\task\\pickup_task)\n... started 05:48:01. Current memory use 31.8MB.\nInbound Message not fully configured - exiting early.\n... used 0 dbqueries\n... used 0.0016100406646729 seconds\nScheduled task complete: Recogida de correos electrónicos entrantes (tool_messageinbound\\task\\pickup_task)\n	18211e19acdd	219
214	0	tool_monitor	tool_monitor\\task\\clean_events	0	1617857281.6377000000	1617857281.6381000000	0	0	0	Execute scheduled task: Cleanup event monitor events (tool_monitor\\task\\clean_events)\n... started 05:48:01. Current memory use 32MB.\n... used 0 dbqueries\n... used 8.2015991210938E-5 seconds\nScheduled task complete: Cleanup event monitor events (tool_monitor\\task\\clean_events)\n	18211e19acdd	219
215	0	workshopallocation_scheduled	workshopallocation_scheduled\\task\\cron_task	0	1617857281.6451000000	1617857281.6465000000	1	0	0	Execute scheduled task: Background processing for scheduled allocation (workshopallocation_scheduled\\task\\cron_task)\n... started 05:48:01. Current memory use 32MB.\n... no workshops awaiting scheduled allocation. ... used 1 dbqueries\n... used 0.0009920597076416 seconds\nScheduled task complete: Background processing for scheduled allocation (workshopallocation_scheduled\\task\\cron_task)\n	18211e19acdd	219
216	0	moodle	core\\task\\session_cleanup_task	0	1617857341.8189000000	1617857341.8373000000	18	1	0	Execute scheduled task: Limpiar sesiones antiguas (core\\task\\session_cleanup_task)\n... started 05:49:01. Current memory use 16.3MB.\n... used 19 dbqueries\n... used 0.015289068222046 seconds\nScheduled task complete: Limpiar sesiones antiguas (core\\task\\session_cleanup_task)\n	18211e19acdd	234
217	0	moodle	core\\task\\send_new_user_passwords_task	0	1617857341.8456000000	1617857341.8472000000	1	0	0	Execute scheduled task: Enviar nuevas contraseñas de usuario (core\\task\\send_new_user_passwords_task)\n... started 05:49:01. Current memory use 17.5MB.\n... used 1 dbqueries\n... used 0.00087118148803711 seconds\nScheduled task complete: Enviar nuevas contraseñas de usuario (core\\task\\send_new_user_passwords_task)\n	18211e19acdd	234
218	0	moodle	core\\task\\send_failed_login_notifications_task	0	1617857341.8542000000	1617857341.8547000000	0	0	0	Execute scheduled task: Enviar notificaciones de inicio de sesión fallidos (core\\task\\send_failed_login_notifications_task)\n... started 05:49:01. Current memory use 17.5MB.\n... used 0 dbqueries\n... used 2.5033950805664E-5 seconds\nScheduled task complete: Enviar notificaciones de inicio de sesión fallidos (core\\task\\send_failed_login_notifications_task)\n	18211e19acdd	234
219	0	moodle	core\\task\\legacy_plugin_cron_task	0	1617857341.8609000000	1617857341.9022000000	2	0	0	Execute scheduled task: Procesamiento heredado de extensiones (core\\task\\legacy_plugin_cron_task)\n... started 05:49:01. Current memory use 17.6MB.\nRunning auth crons if required...\nRunning enrol crons if required...\nStarting activity modules\nFinished activity modules\nStarting blocks\nFinished blocks\nStarting admin reports\nFinished admin reports\nStarting course reports\nFinished course reports\nStarting gradebook plugins\nFinished gradebook plugins\n... used 2 dbqueries\n... used 0.040838003158569 seconds\nScheduled task complete: Procesamiento heredado de extensiones (core\\task\\legacy_plugin_cron_task)\n	18211e19acdd	234
220	0	moodle	core\\task\\grade_cron_task	0	1617857341.9093000000	1617857341.9163000000	6	0	0	Execute scheduled task: Procesamiento en segundo plano del libro de calificaciones (core\\task\\grade_cron_task)\n... started 05:49:01. Current memory use 22.5MB.\n... used 6 dbqueries\n... used 0.0059258937835693 seconds\nScheduled task complete: Procesamiento en segundo plano del libro de calificaciones (core\\task\\grade_cron_task)\n	18211e19acdd	234
221	0	moodle	core\\task\\completion_regular_task	0	1617857341.9228000000	1617857341.9561000000	18	0	0	Execute scheduled task: Marcado continuo de finalización de actividades y cursos (core\\task\\completion_regular_task)\n... started 05:49:01. Current memory use 22.5MB.\n... used 18 dbqueries\n... used 0.032531023025513 seconds\nScheduled task complete: Marcado continuo de finalización de actividades y cursos (core\\task\\completion_regular_task)\n	18211e19acdd	234
222	0	moodle	core\\task\\portfolio_cron_task	0	1617857341.9627000000	1617857341.9635000000	0	0	0	Execute scheduled task: Procesamiento en segundo plano de los extensiones de portfolio (core\\task\\portfolio_cron_task)\n... started 05:49:01. Current memory use 23MB.\n... used 0 dbqueries\n... used 4.2915344238281E-5 seconds\nScheduled task complete: Procesamiento en segundo plano de los extensiones de portfolio (core\\task\\portfolio_cron_task)\n	18211e19acdd	234
223	0	moodle	core\\task\\plagiarism_cron_task	0	1617857341.9695000000	1617857341.9700000000	0	0	0	Execute scheduled task: Procesamiento en segundo plano para cron heredado en las extensiones de plagio (core\\task\\plagiarism_cron_task)\n... started 05:49:01. Current memory use 23MB.\n... used 0 dbqueries\n... used 2.5033950805664E-5 seconds\nScheduled task complete: Procesamiento en segundo plano para cron heredado en las extensiones de plagio (core\\task\\plagiarism_cron_task)\n	18211e19acdd	234
224	0	moodle	core\\task\\calendar_cron_task	0	1617857341.9813000000	1617857341.9861000000	1	0	0	Execute scheduled task: Enviar notificaciones de calendario (core\\task\\calendar_cron_task)\n... started 05:49:01. Current memory use 23.5MB.\n... used 1 dbqueries\n... used 0.004101037979126 seconds\nScheduled task complete: Enviar notificaciones de calendario (core\\task\\calendar_cron_task)\n	18211e19acdd	234
225	0	moodle	core\\task\\blog_cron_task	0	1617857341.9926000000	1617857341.9930000000	0	0	0	Execute scheduled task: Sincronizar blogs externos (core\\task\\blog_cron_task)\n... started 05:49:01. Current memory use 23.9MB.\n... used 0 dbqueries\n... used 2.3126602172852E-5 seconds\nScheduled task complete: Sincronizar blogs externos (core\\task\\blog_cron_task)\n	18211e19acdd	234
226	0	moodle	core\\task\\question_preview_cleanup_task	0	1617857341.9989000000	1617857342.0165000000	1	4	0	Execute scheduled task: Procesamiento en segundo plano para limpieza de vistas previas de preguntas (core\\task\\question_preview_cleanup_task)\n... started 05:49:01. Current memory use 23.9MB.\n\n  Cleaning up old question previews...done.\n... used 5 dbqueries\n... used 0.017235040664673 seconds\nScheduled task complete: Procesamiento en segundo plano para limpieza de vistas previas de preguntas (core\\task\\question_preview_cleanup_task)\n	18211e19acdd	234
227	0	moodle	core\\task\\question_stats_cleanup_task	0	1617857342.0225000000	1617857342.0243000000	1	3	0	Execute scheduled task: Procesamiento en segundo plano para limpieza de caché de estadísticas de pregunta (core\\task\\question_stats_cleanup_task)\n... started 05:49:02. Current memory use 25.5MB.\n\n  Cleaning up old question statistics cache records...done.\n... used 4 dbqueries\n... used 0.0013370513916016 seconds\nScheduled task complete: Procesamiento en segundo plano para limpieza de caché de estadísticas de pregunta (core\\task\\question_stats_cleanup_task)\n	18211e19acdd	234
229	0	mod_forum	mod_forum\\task\\cron_task	0	1617857342.0851000000	1617857342.0894000000	1	1	0	Execute scheduled task: Correos del foro y trabajos de mantenimiento (mod_forum\\task\\cron_task)\n... started 05:49:02. Current memory use 31.8MB.\nRemoving old digest records from 7 days ago.\nRemoved all old digest records.\nFetching unmailed posts.\n  No posts found.\n... used 2 dbqueries\n... used 0.0035910606384277 seconds\nScheduled task complete: Correos del foro y trabajos de mantenimiento (mod_forum\\task\\cron_task)\n	18211e19acdd	234
230	0	mod_quiz	mod_quiz\\task\\update_overdue_attempts	0	1617857342.1077000000	1617857342.1191000000	3	0	0	Execute scheduled task: Updating overdue quiz attempts (mod_quiz\\task\\update_overdue_attempts)\n... started 05:49:02. Current memory use 32.8MB.\n  Looking for quiz overdue quiz attempts...\n  Considered 0 attempts in 0 quizzes.\n... used 3 dbqueries\n... used 0.010783910751343 seconds\nScheduled task complete: Updating overdue quiz attempts (mod_quiz\\task\\update_overdue_attempts)\n	18211e19acdd	234
231	0	mod_quiz	mod_quiz\\task\\legacy_quiz_reports_cron	0	1617857342.1240000000	1617857342.1246000000	0	0	0	Execute scheduled task: Legacy cron quiz reports (mod_quiz\\task\\legacy_quiz_reports_cron)\n... started 05:49:02. Current memory use 32.9MB.\n... used 0 dbqueries\n... used 6.103515625E-5 seconds\nScheduled task complete: Legacy cron quiz reports (mod_quiz\\task\\legacy_quiz_reports_cron)\n	18211e19acdd	234
232	0	mod_quiz	mod_quiz\\task\\legacy_quiz_accessrules_cron	0	1617857342.1288000000	1617857342.1292000000	0	0	0	Execute scheduled task: Legacy cron quiz access rules (mod_quiz\\task\\legacy_quiz_accessrules_cron)\n... started 05:49:02. Current memory use 32.9MB.\n... used 0 dbqueries\n... used 4.1961669921875E-5 seconds\nScheduled task complete: Legacy cron quiz access rules (mod_quiz\\task\\legacy_quiz_accessrules_cron)\n	18211e19acdd	234
233	0	mod_workshop	mod_workshop\\task\\cron_task	0	1617857342.1343000000	1617857342.1359000000	1	0	0	Execute scheduled task: Background processing for workshop module (mod_workshop\\task\\cron_task)\n... started 05:49:02. Current memory use 32.9MB.\n processing workshop subplugins ...\n... used 1 dbqueries\n... used 0.0012009143829346 seconds\nScheduled task complete: Background processing for workshop module (mod_workshop\\task\\cron_task)\n	18211e19acdd	234
234	0	mod_workshop	mod_workshop\\task\\legacy_workshop_allocation_cron	0	1617857342.1413000000	1617857342.1418000000	0	0	0	Execute scheduled task: Legacy cron workshop allocation (mod_workshop\\task\\legacy_workshop_allocation_cron)\n... started 05:49:02. Current memory use 32.9MB.\n... used 0 dbqueries\n... used 4.887580871582E-5 seconds\nScheduled task complete: Legacy cron workshop allocation (mod_workshop\\task\\legacy_workshop_allocation_cron)\n	18211e19acdd	234
235	0	tool_messageinbound	tool_messageinbound\\task\\pickup_task	0	1617857342.1504000000	1617857342.1519000000	0	0	0	Execute scheduled task: Recogida de correos electrónicos entrantes (tool_messageinbound\\task\\pickup_task)\n... started 05:49:02. Current memory use 31.8MB.\nInbound Message not fully configured - exiting early.\n... used 0 dbqueries\n... used 0.0011048316955566 seconds\nScheduled task complete: Recogida de correos electrónicos entrantes (tool_messageinbound\\task\\pickup_task)\n	18211e19acdd	234
236	0	tool_monitor	tool_monitor\\task\\clean_events	0	1617857342.1576000000	1617857342.1579000000	0	0	0	Execute scheduled task: Cleanup event monitor events (tool_monitor\\task\\clean_events)\n... started 05:49:02. Current memory use 32MB.\n... used 0 dbqueries\n... used 6.103515625E-5 seconds\nScheduled task complete: Cleanup event monitor events (tool_monitor\\task\\clean_events)\n	18211e19acdd	234
237	0	workshopallocation_scheduled	workshopallocation_scheduled\\task\\cron_task	0	1617857342.1636000000	1617857342.1650000000	1	0	0	Execute scheduled task: Background processing for scheduled allocation (workshopallocation_scheduled\\task\\cron_task)\n... started 05:49:02. Current memory use 32MB.\n... no workshops awaiting scheduled allocation. ... used 1 dbqueries\n... used 0.0010828971862793 seconds\nScheduled task complete: Background processing for scheduled allocation (workshopallocation_scheduled\\task\\cron_task)\n	18211e19acdd	234
238	0	moodle	core\\task\\cache_cron_task	0	1617857401.3165000000	1617857401.3246000000	0	0	0	Execute scheduled task: Procesamiento de cachés en segundo plano (core\\task\\cache_cron_task)\n... started 05:50:01. Current memory use 15.7MB.\nCleaning up stale session data from cache stores.\n... used 0 dbqueries\n... used 0.0048439502716064 seconds\nScheduled task complete: Procesamiento de cachés en segundo plano (core\\task\\cache_cron_task)\n	18211e19acdd	250
239	0	moodle	core\\task\\automated_backup_task	0	1617857401.3311000000	1617857401.4561000000	1	0	0	Execute scheduled task: Copias de seguridad automáticas (core\\task\\automated_backup_task)\n... started 05:50:01. Current memory use 16.6MB.\nChecking automated backup status...INACTIVE\n... used 1 dbqueries\n... used 0.12465691566467 seconds\nScheduled task complete: Copias de seguridad automáticas (core\\task\\automated_backup_task)\n	18211e19acdd	250
240	0	enrol_manual	enrol_manual\\task\\sync_enrolments	0	1617857401.4708000000	1617857401.4722000000	0	0	0	Execute scheduled task: Synchronise manual enrolments task (enrol_manual\\task\\sync_enrolments)\n... started 05:50:01. Current memory use 36.7MB.\nVerifying manual enrolment expiration...\n...manual enrolment updates finished.\n... used 0 dbqueries\n... used 0.00097417831420898 seconds\nScheduled task complete: Synchronise manual enrolments task (enrol_manual\\task\\sync_enrolments)\n	18211e19acdd	250
241	0	enrol_manual	enrol_manual\\task\\send_expiry_notifications	0	1617857401.4799000000	1617857401.4805000000	0	0	0	Execute scheduled task: Manual enrolment send expiry notifications task (enrol_manual\\task\\send_expiry_notifications)\n... started 05:50:01. Current memory use 36.7MB.\nmanual enrolment expiry notifications will be sent at Thursday, 8 de April de 2021, 06:00.\n... used 0 dbqueries\n... used 0.00015807151794434 seconds\nScheduled task complete: Manual enrolment send expiry notifications task (enrol_manual\\task\\send_expiry_notifications)\n	18211e19acdd	250
242	0	enrol_self	enrol_self\\task\\sync_enrolments	0	1617857401.4892000000	1617857401.4962000000	6	0	0	Execute scheduled task: Synchronise self enrolments task (enrol_self\\task\\sync_enrolments)\n... started 05:50:01. Current memory use 36.7MB.\nVerifying self-enrolments...\n...user self-enrolment updates finished.\nNo expired enrol_self enrolments detected\n... used 6 dbqueries\n... used 0.0065279006958008 seconds\nScheduled task complete: Synchronise self enrolments task (enrol_self\\task\\sync_enrolments)\n	18211e19acdd	250
243	0	enrol_self	enrol_self\\task\\send_expiry_notifications	0	1617857401.5029000000	1617857401.5034000000	0	0	0	Execute scheduled task: Self enrolment send expiry notifications task (enrol_self\\task\\send_expiry_notifications)\n... started 05:50:01. Current memory use 36.9MB.\nself enrolment expiry notifications will be sent at Thursday, 8 de April de 2021, 06:00.\n... used 0 dbqueries\n... used 0.0001378059387207 seconds\nScheduled task complete: Self enrolment send expiry notifications task (enrol_self\\task\\send_expiry_notifications)\n	18211e19acdd	250
244	0	moodle	core\\task\\badges_cron_task	0	1617857401.5100000000	1617857401.5158000000	1	0	0	Execute scheduled task: Insignias del premio (core\\task\\badges_cron_task)\n... started 05:50:01. Current memory use 37.1MB.\nStarted reviewing available badges.\nBadges were issued 0 time(s).\n... used 1 dbqueries\n... used 0.0047528743743896 seconds\nScheduled task complete: Insignias del premio (core\\task\\badges_cron_task)\n	18211e19acdd	250
245	0	moodle	core\\task\\badges_message_task	0	1617857401.5219000000	1617857401.5231000000	1	0	0	Execute scheduled task: Procesamiento en segundo plano para enviar notificaciones de insignias (core\\task\\badges_message_task)\n... started 05:50:01. Current memory use 37.4MB.\nSending scheduled badge notifications.\n... used 1 dbqueries\n... used 0.00075984001159668 seconds\nScheduled task complete: Procesamiento en segundo plano para enviar notificaciones de insignias (core\\task\\badges_message_task)\n	18211e19acdd	250
246	0	mod_chat	mod_chat\\task\\cron_task	0	1617857401.5330000000	1617857401.5370000000	2	2	0	Execute scheduled task: Procesamiento en segundo plano para módulo chat (mod_chat\\task\\cron_task)\n... started 05:50:01. Current memory use 38.6MB.\n... used 4 dbqueries\n... used 0.0035030841827393 seconds\nScheduled task complete: Procesamiento en segundo plano para módulo chat (mod_chat\\task\\cron_task)\n	18211e19acdd	250
247	0	mod_scorm	mod_scorm\\task\\cron_task	0	1617857401.5436000000	1617857401.5492000000	0	0	0	Execute scheduled task: Procesamiento en segundo plano para SCORM (mod_scorm\\task\\cron_task)\n... started 05:50:01. Current memory use 38.6MB.\n... used 0 dbqueries\n... used 0.0049970149993896 seconds\nScheduled task complete: Procesamiento en segundo plano para SCORM (mod_scorm\\task\\cron_task)\n	18211e19acdd	250
248	0	block_rss_client	block_rss_client\\task\\refreshfeeds	0	1617857401.5572000000	1617857401.5630000000	3	0	0	Execute scheduled task: Refresh RSS feeds task (block_rss_client\\task\\refreshfeeds)\n... started 05:50:01. Current memory use 37.8MB.\n\n0 feeds refreshed (took 0.00093100000000002 seconds)\n... used 3 dbqueries\n... used 0.005547046661377 seconds\nScheduled task complete: Refresh RSS feeds task (block_rss_client\\task\\refreshfeeds)\n	18211e19acdd	250
249	0	moodle	core\\task\\session_cleanup_task	0	1617857401.5695000000	1617857401.5799000000	18	1	0	Execute scheduled task: Limpiar sesiones antiguas (core\\task\\session_cleanup_task)\n... started 05:50:01. Current memory use 38.8MB.\n... used 19 dbqueries\n... used 0.0093479156494141 seconds\nScheduled task complete: Limpiar sesiones antiguas (core\\task\\session_cleanup_task)\n	18211e19acdd	250
250	0	moodle	core\\task\\send_new_user_passwords_task	0	1617857401.5867000000	1617857401.5880000000	1	0	0	Execute scheduled task: Enviar nuevas contraseñas de usuario (core\\task\\send_new_user_passwords_task)\n... started 05:50:01. Current memory use 39.1MB.\n... used 1 dbqueries\n... used 0.00084400177001953 seconds\nScheduled task complete: Enviar nuevas contraseñas de usuario (core\\task\\send_new_user_passwords_task)\n	18211e19acdd	250
251	0	moodle	core\\task\\send_failed_login_notifications_task	0	1617857401.5948000000	1617857401.5953000000	0	0	0	Execute scheduled task: Enviar notificaciones de inicio de sesión fallidos (core\\task\\send_failed_login_notifications_task)\n... started 05:50:01. Current memory use 39.1MB.\n... used 0 dbqueries\n... used 2.288818359375E-5 seconds\nScheduled task complete: Enviar notificaciones de inicio de sesión fallidos (core\\task\\send_failed_login_notifications_task)\n	18211e19acdd	250
252	0	moodle	core\\task\\legacy_plugin_cron_task	0	1617857401.6017000000	1617857401.6156000000	2	0	0	Execute scheduled task: Procesamiento heredado de extensiones (core\\task\\legacy_plugin_cron_task)\n... started 05:50:01. Current memory use 39.2MB.\nRunning auth crons if required...\nRunning enrol crons if required...\nStarting activity modules\nFinished activity modules\nStarting blocks\nFinished blocks\nStarting admin reports\nFinished admin reports\nStarting course reports\nFinished course reports\nStarting gradebook plugins\nFinished gradebook plugins\n... used 2 dbqueries\n... used 0.01350998878479 seconds\nScheduled task complete: Procesamiento heredado de extensiones (core\\task\\legacy_plugin_cron_task)\n	18211e19acdd	250
253	0	moodle	core\\task\\grade_cron_task	0	1617857401.6223000000	1617857401.6272000000	6	0	0	Execute scheduled task: Procesamiento en segundo plano del libro de calificaciones (core\\task\\grade_cron_task)\n... started 05:50:01. Current memory use 40.4MB.\n... used 6 dbqueries\n... used 0.0043869018554688 seconds\nScheduled task complete: Procesamiento en segundo plano del libro de calificaciones (core\\task\\grade_cron_task)\n	18211e19acdd	250
254	0	moodle	core\\task\\completion_regular_task	0	1617857401.6346000000	1617857401.6632000000	18	0	0	Execute scheduled task: Marcado continuo de finalización de actividades y cursos (core\\task\\completion_regular_task)\n... started 05:50:01. Current memory use 40.4MB.\n... used 18 dbqueries\n... used 0.028038024902344 seconds\nScheduled task complete: Marcado continuo de finalización de actividades y cursos (core\\task\\completion_regular_task)\n	18211e19acdd	250
255	0	moodle	core\\task\\portfolio_cron_task	0	1617857401.6698000000	1617857401.6704000000	0	0	0	Execute scheduled task: Procesamiento en segundo plano de los extensiones de portfolio (core\\task\\portfolio_cron_task)\n... started 05:50:01. Current memory use 40.6MB.\n... used 0 dbqueries\n... used 3.4093856811523E-5 seconds\nScheduled task complete: Procesamiento en segundo plano de los extensiones de portfolio (core\\task\\portfolio_cron_task)\n	18211e19acdd	250
256	0	moodle	core\\task\\plagiarism_cron_task	0	1617857401.6773000000	1617857401.6777000000	0	0	0	Execute scheduled task: Procesamiento en segundo plano para cron heredado en las extensiones de plagio (core\\task\\plagiarism_cron_task)\n... started 05:50:01. Current memory use 40.6MB.\n... used 0 dbqueries\n... used 2.4080276489258E-5 seconds\nScheduled task complete: Procesamiento en segundo plano para cron heredado en las extensiones de plagio (core\\task\\plagiarism_cron_task)\n	18211e19acdd	250
257	0	moodle	core\\task\\calendar_cron_task	0	1617857401.6856000000	1617857401.6901000000	1	0	0	Execute scheduled task: Enviar notificaciones de calendario (core\\task\\calendar_cron_task)\n... started 05:50:01. Current memory use 40.7MB.\n... used 1 dbqueries\n... used 0.0041539669036865 seconds\nScheduled task complete: Enviar notificaciones de calendario (core\\task\\calendar_cron_task)\n	18211e19acdd	250
258	0	moodle	core\\task\\blog_cron_task	0	1617857401.6963000000	1617857401.6968000000	0	0	0	Execute scheduled task: Sincronizar blogs externos (core\\task\\blog_cron_task)\n... started 05:50:01. Current memory use 41.1MB.\n... used 0 dbqueries\n... used 2.3841857910156E-5 seconds\nScheduled task complete: Sincronizar blogs externos (core\\task\\blog_cron_task)\n	18211e19acdd	250
259	0	moodle	core\\task\\question_preview_cleanup_task	0	1617857401.7028000000	1617857401.7096000000	1	4	0	Execute scheduled task: Procesamiento en segundo plano para limpieza de vistas previas de preguntas (core\\task\\question_preview_cleanup_task)\n... started 05:50:01. Current memory use 41.1MB.\n\n  Cleaning up old question previews...done.\n... used 5 dbqueries\n... used 0.0064120292663574 seconds\nScheduled task complete: Procesamiento en segundo plano para limpieza de vistas previas de preguntas (core\\task\\question_preview_cleanup_task)\n	18211e19acdd	250
260	0	moodle	core\\task\\question_stats_cleanup_task	0	1617857401.7156000000	1617857401.7178000000	1	3	0	Execute scheduled task: Procesamiento en segundo plano para limpieza de caché de estadísticas de pregunta (core\\task\\question_stats_cleanup_task)\n... started 05:50:01. Current memory use 41.1MB.\n\n  Cleaning up old question statistics cache records...done.\n... used 4 dbqueries\n... used 0.0016558170318604 seconds\nScheduled task complete: Procesamiento en segundo plano para limpieza de caché de estadísticas de pregunta (core\\task\\question_stats_cleanup_task)\n	18211e19acdd	250
261	0	mod_assign	mod_assign\\task\\cron_task	0	1617857401.7240000000	1617857401.7427000000	3	0	0	Execute scheduled task: Procesamiento en segundo plano para módulo Tarea (mod_assign\\task\\cron_task)\n... started 05:50:01. Current memory use 41.2MB.\n... used 3 dbqueries\n... used 0.017822980880737 seconds\nScheduled task complete: Procesamiento en segundo plano para módulo Tarea (mod_assign\\task\\cron_task)\n	18211e19acdd	250
262	0	mod_forum	mod_forum\\task\\cron_task	0	1617857401.7510000000	1617857401.7545000000	1	1	0	Execute scheduled task: Correos del foro y trabajos de mantenimiento (mod_forum\\task\\cron_task)\n... started 05:50:01. Current memory use 41.9MB.\nRemoving old digest records from 7 days ago.\nRemoved all old digest records.\nFetching unmailed posts.\n  No posts found.\n... used 2 dbqueries\n... used 0.0026750564575195 seconds\nScheduled task complete: Correos del foro y trabajos de mantenimiento (mod_forum\\task\\cron_task)\n	18211e19acdd	250
263	0	mod_quiz	mod_quiz\\task\\update_overdue_attempts	0	1617857401.7687000000	1617857401.7807000000	3	0	0	Execute scheduled task: Updating overdue quiz attempts (mod_quiz\\task\\update_overdue_attempts)\n... started 05:50:01. Current memory use 42.9MB.\n  Looking for quiz overdue quiz attempts...\n  Considered 0 attempts in 0 quizzes.\n... used 3 dbqueries\n... used 0.010972023010254 seconds\nScheduled task complete: Updating overdue quiz attempts (mod_quiz\\task\\update_overdue_attempts)\n	18211e19acdd	250
264	0	mod_quiz	mod_quiz\\task\\legacy_quiz_reports_cron	0	1617857401.7876000000	1617857401.7884000000	0	0	0	Execute scheduled task: Legacy cron quiz reports (mod_quiz\\task\\legacy_quiz_reports_cron)\n... started 05:50:01. Current memory use 42.9MB.\n... used 0 dbqueries\n... used 9.3936920166016E-5 seconds\nScheduled task complete: Legacy cron quiz reports (mod_quiz\\task\\legacy_quiz_reports_cron)\n	18211e19acdd	250
265	0	mod_quiz	mod_quiz\\task\\legacy_quiz_accessrules_cron	0	1617857401.7946000000	1617857401.7951000000	0	0	0	Execute scheduled task: Legacy cron quiz access rules (mod_quiz\\task\\legacy_quiz_accessrules_cron)\n... started 05:50:01. Current memory use 42.9MB.\n... used 0 dbqueries\n... used 5.6982040405273E-5 seconds\nScheduled task complete: Legacy cron quiz access rules (mod_quiz\\task\\legacy_quiz_accessrules_cron)\n	18211e19acdd	250
266	0	mod_workshop	mod_workshop\\task\\cron_task	0	1617857401.8016000000	1617857401.8041000000	1	0	0	Execute scheduled task: Background processing for workshop module (mod_workshop\\task\\cron_task)\n... started 05:50:01. Current memory use 43MB.\n processing workshop subplugins ...\n... used 1 dbqueries\n... used 0.0018188953399658 seconds\nScheduled task complete: Background processing for workshop module (mod_workshop\\task\\cron_task)\n	18211e19acdd	250
267	0	mod_workshop	mod_workshop\\task\\legacy_workshop_allocation_cron	0	1617857401.8115000000	1617857401.8120000000	0	0	0	Execute scheduled task: Legacy cron workshop allocation (mod_workshop\\task\\legacy_workshop_allocation_cron)\n... started 05:50:01. Current memory use 43MB.\n... used 0 dbqueries\n... used 5.6982040405273E-5 seconds\nScheduled task complete: Legacy cron workshop allocation (mod_workshop\\task\\legacy_workshop_allocation_cron)\n	18211e19acdd	250
268	0	tool_messageinbound	tool_messageinbound\\task\\pickup_task	0	1617857401.8206000000	1617857401.8226000000	0	0	0	Execute scheduled task: Recogida de correos electrónicos entrantes (tool_messageinbound\\task\\pickup_task)\n... started 05:50:01. Current memory use 42.7MB.\nInbound Message not fully configured - exiting early.\n... used 0 dbqueries\n... used 0.0015978813171387 seconds\nScheduled task complete: Recogida de correos electrónicos entrantes (tool_messageinbound\\task\\pickup_task)\n	18211e19acdd	250
269	0	tool_monitor	tool_monitor\\task\\clean_events	0	1617857401.8280000000	1617857401.8283000000	0	0	0	Execute scheduled task: Cleanup event monitor events (tool_monitor\\task\\clean_events)\n... started 05:50:01. Current memory use 42.9MB.\n... used 0 dbqueries\n... used 5.4121017456055E-5 seconds\nScheduled task complete: Cleanup event monitor events (tool_monitor\\task\\clean_events)\n	18211e19acdd	250
270	0	workshopallocation_scheduled	workshopallocation_scheduled\\task\\cron_task	0	1617857401.8343000000	1617857401.8358000000	1	0	0	Execute scheduled task: Background processing for scheduled allocation (workshopallocation_scheduled\\task\\cron_task)\n... started 05:50:01. Current memory use 42.9MB.\n... no workshops awaiting scheduled allocation. ... used 1 dbqueries\n... used 0.0010221004486084 seconds\nScheduled task complete: Background processing for scheduled allocation (workshopallocation_scheduled\\task\\cron_task)\n	18211e19acdd	250
271	0	moodle	core\\task\\session_cleanup_task	0	1617857462.0052000000	1617857462.0219000000	18	1	0	Execute scheduled task: Limpiar sesiones antiguas (core\\task\\session_cleanup_task)\n... started 05:51:02. Current memory use 16.3MB.\n... used 19 dbqueries\n... used 0.014595985412598 seconds\nScheduled task complete: Limpiar sesiones antiguas (core\\task\\session_cleanup_task)\n	18211e19acdd	265
272	0	moodle	core\\task\\send_new_user_passwords_task	0	1617857462.0302000000	1617857462.0315000000	1	0	0	Execute scheduled task: Enviar nuevas contraseñas de usuario (core\\task\\send_new_user_passwords_task)\n... started 05:51:02. Current memory use 17.5MB.\n... used 1 dbqueries\n... used 0.00077581405639648 seconds\nScheduled task complete: Enviar nuevas contraseñas de usuario (core\\task\\send_new_user_passwords_task)\n	18211e19acdd	265
273	0	moodle	core\\task\\send_failed_login_notifications_task	0	1617857462.0388000000	1617857462.0393000000	0	0	0	Execute scheduled task: Enviar notificaciones de inicio de sesión fallidos (core\\task\\send_failed_login_notifications_task)\n... started 05:51:02. Current memory use 17.5MB.\n... used 0 dbqueries\n... used 2.5033950805664E-5 seconds\nScheduled task complete: Enviar notificaciones de inicio de sesión fallidos (core\\task\\send_failed_login_notifications_task)\n	18211e19acdd	265
274	0	moodle	core\\task\\legacy_plugin_cron_task	0	1617857462.0462000000	1617857462.0887000000	2	0	0	Execute scheduled task: Procesamiento heredado de extensiones (core\\task\\legacy_plugin_cron_task)\n... started 05:51:02. Current memory use 17.6MB.\nRunning auth crons if required...\nRunning enrol crons if required...\nStarting activity modules\nFinished activity modules\nStarting blocks\nFinished blocks\nStarting admin reports\nFinished admin reports\nStarting course reports\nFinished course reports\nStarting gradebook plugins\nFinished gradebook plugins\n... used 2 dbqueries\n... used 0.042035102844238 seconds\nScheduled task complete: Procesamiento heredado de extensiones (core\\task\\legacy_plugin_cron_task)\n	18211e19acdd	265
275	0	moodle	core\\task\\grade_cron_task	0	1617857462.0947000000	1617857462.0992000000	6	0	0	Execute scheduled task: Procesamiento en segundo plano del libro de calificaciones (core\\task\\grade_cron_task)\n... started 05:51:02. Current memory use 22.5MB.\n... used 6 dbqueries\n... used 0.0040490627288818 seconds\nScheduled task complete: Procesamiento en segundo plano del libro de calificaciones (core\\task\\grade_cron_task)\n	18211e19acdd	265
276	0	moodle	core\\task\\completion_regular_task	0	1617857462.1061000000	1617857462.1388000000	18	0	0	Execute scheduled task: Marcado continuo de finalización de actividades y cursos (core\\task\\completion_regular_task)\n... started 05:51:02. Current memory use 22.5MB.\n... used 18 dbqueries\n... used 0.032218933105469 seconds\nScheduled task complete: Marcado continuo de finalización de actividades y cursos (core\\task\\completion_regular_task)\n	18211e19acdd	265
277	0	moodle	core\\task\\portfolio_cron_task	0	1617857462.1447000000	1617857462.1455000000	0	0	0	Execute scheduled task: Procesamiento en segundo plano de los extensiones de portfolio (core\\task\\portfolio_cron_task)\n... started 05:51:02. Current memory use 23MB.\n... used 0 dbqueries\n... used 3.7193298339844E-5 seconds\nScheduled task complete: Procesamiento en segundo plano de los extensiones de portfolio (core\\task\\portfolio_cron_task)\n	18211e19acdd	265
278	0	moodle	core\\task\\plagiarism_cron_task	0	1617857462.1524000000	1617857462.1528000000	0	0	0	Execute scheduled task: Procesamiento en segundo plano para cron heredado en las extensiones de plagio (core\\task\\plagiarism_cron_task)\n... started 05:51:02. Current memory use 23MB.\n... used 0 dbqueries\n... used 2.4080276489258E-5 seconds\nScheduled task complete: Procesamiento en segundo plano para cron heredado en las extensiones de plagio (core\\task\\plagiarism_cron_task)\n	18211e19acdd	265
279	0	moodle	core\\task\\calendar_cron_task	0	1617857462.1654000000	1617857462.1707000000	1	0	0	Execute scheduled task: Enviar notificaciones de calendario (core\\task\\calendar_cron_task)\n... started 05:51:02. Current memory use 23.5MB.\n... used 1 dbqueries\n... used 0.0047049522399902 seconds\nScheduled task complete: Enviar notificaciones de calendario (core\\task\\calendar_cron_task)\n	18211e19acdd	265
280	0	moodle	core\\task\\blog_cron_task	0	1617857462.1776000000	1617857462.1782000000	0	0	0	Execute scheduled task: Sincronizar blogs externos (core\\task\\blog_cron_task)\n... started 05:51:02. Current memory use 23.9MB.\n... used 0 dbqueries\n... used 3.0040740966797E-5 seconds\nScheduled task complete: Sincronizar blogs externos (core\\task\\blog_cron_task)\n	18211e19acdd	265
281	0	moodle	core\\task\\question_preview_cleanup_task	0	1617857462.1841000000	1617857462.2081000000	1	4	0	Execute scheduled task: Procesamiento en segundo plano para limpieza de vistas previas de preguntas (core\\task\\question_preview_cleanup_task)\n... started 05:51:02. Current memory use 23.9MB.\n\n  Cleaning up old question previews...done.\n... used 5 dbqueries\n... used 0.023561000823975 seconds\nScheduled task complete: Procesamiento en segundo plano para limpieza de vistas previas de preguntas (core\\task\\question_preview_cleanup_task)\n	18211e19acdd	265
282	0	moodle	core\\task\\question_stats_cleanup_task	0	1617857462.2147000000	1617857462.2168000000	1	3	0	Execute scheduled task: Procesamiento en segundo plano para limpieza de caché de estadísticas de pregunta (core\\task\\question_stats_cleanup_task)\n... started 05:51:02. Current memory use 25.5MB.\n\n  Cleaning up old question statistics cache records...done.\n... used 4 dbqueries\n... used 0.0013821125030518 seconds\nScheduled task complete: Procesamiento en segundo plano para limpieza de caché de estadísticas de pregunta (core\\task\\question_stats_cleanup_task)\n	18211e19acdd	265
283	0	mod_assign	mod_assign\\task\\cron_task	0	1617857462.2274000000	1617857462.2672000000	3	0	0	Execute scheduled task: Procesamiento en segundo plano para módulo Tarea (mod_assign\\task\\cron_task)\n... started 05:51:02. Current memory use 27.9MB.\n... used 3 dbqueries\n... used 0.039217948913574 seconds\nScheduled task complete: Procesamiento en segundo plano para módulo Tarea (mod_assign\\task\\cron_task)\n	18211e19acdd	265
284	0	mod_forum	mod_forum\\task\\cron_task	0	1617857462.2853000000	1617857462.2896000000	1	1	0	Execute scheduled task: Correos del foro y trabajos de mantenimiento (mod_forum\\task\\cron_task)\n... started 05:51:02. Current memory use 31.8MB.\nRemoving old digest records from 7 days ago.\nRemoved all old digest records.\nFetching unmailed posts.\n  No posts found.\n... used 2 dbqueries\n... used 0.0036759376525879 seconds\nScheduled task complete: Correos del foro y trabajos de mantenimiento (mod_forum\\task\\cron_task)\n	18211e19acdd	265
285	0	mod_quiz	mod_quiz\\task\\update_overdue_attempts	0	1617857462.3076000000	1617857462.3182000000	3	0	0	Execute scheduled task: Updating overdue quiz attempts (mod_quiz\\task\\update_overdue_attempts)\n... started 05:51:02. Current memory use 32.8MB.\n  Looking for quiz overdue quiz attempts...\n  Considered 0 attempts in 0 quizzes.\n... used 3 dbqueries\n... used 0.010175943374634 seconds\nScheduled task complete: Updating overdue quiz attempts (mod_quiz\\task\\update_overdue_attempts)\n	18211e19acdd	265
286	0	mod_quiz	mod_quiz\\task\\legacy_quiz_reports_cron	0	1617857462.3258000000	1617857462.3267000000	0	0	0	Execute scheduled task: Legacy cron quiz reports (mod_quiz\\task\\legacy_quiz_reports_cron)\n... started 05:51:02. Current memory use 32.9MB.\n... used 0 dbqueries\n... used 9.9897384643555E-5 seconds\nScheduled task complete: Legacy cron quiz reports (mod_quiz\\task\\legacy_quiz_reports_cron)\n	18211e19acdd	265
287	0	mod_quiz	mod_quiz\\task\\legacy_quiz_accessrules_cron	0	1617857462.3334000000	1617857462.3340000000	0	0	0	Execute scheduled task: Legacy cron quiz access rules (mod_quiz\\task\\legacy_quiz_accessrules_cron)\n... started 05:51:02. Current memory use 32.9MB.\n... used 0 dbqueries\n... used 5.6982040405273E-5 seconds\nScheduled task complete: Legacy cron quiz access rules (mod_quiz\\task\\legacy_quiz_accessrules_cron)\n	18211e19acdd	265
288	0	mod_workshop	mod_workshop\\task\\cron_task	0	1617857462.3401000000	1617857462.3418000000	1	0	0	Execute scheduled task: Background processing for workshop module (mod_workshop\\task\\cron_task)\n... started 05:51:02. Current memory use 32.9MB.\n processing workshop subplugins ...\n... used 1 dbqueries\n... used 0.0011401176452637 seconds\nScheduled task complete: Background processing for workshop module (mod_workshop\\task\\cron_task)\n	18211e19acdd	265
289	0	mod_workshop	mod_workshop\\task\\legacy_workshop_allocation_cron	0	1617857462.3478000000	1617857462.3484000000	0	0	0	Execute scheduled task: Legacy cron workshop allocation (mod_workshop\\task\\legacy_workshop_allocation_cron)\n... started 05:51:02. Current memory use 32.9MB.\n... used 0 dbqueries\n... used 6.103515625E-5 seconds\nScheduled task complete: Legacy cron workshop allocation (mod_workshop\\task\\legacy_workshop_allocation_cron)\n	18211e19acdd	265
305	0	mod_assign	mod_assign\\task\\cron_task	0	1617857521.7740000000	1617857521.8106000000	3	0	0	Execute scheduled task: Procesamiento en segundo plano para módulo Tarea (mod_assign\\task\\cron_task)\n... started 05:52:01. Current memory use 27.9MB.\n... used 3 dbqueries\n... used 0.036082029342651 seconds\nScheduled task complete: Procesamiento en segundo plano para módulo Tarea (mod_assign\\task\\cron_task)\n	18211e19acdd	280
290	0	tool_messageinbound	tool_messageinbound\\task\\pickup_task	0	1617857462.3594000000	1617857462.3614000000	0	0	0	Execute scheduled task: Recogida de correos electrónicos entrantes (tool_messageinbound\\task\\pickup_task)\n... started 05:51:02. Current memory use 31.8MB.\nInbound Message not fully configured - exiting early.\n... used 0 dbqueries\n... used 0.0015718936920166 seconds\nScheduled task complete: Recogida de correos electrónicos entrantes (tool_messageinbound\\task\\pickup_task)\n	18211e19acdd	265
291	0	tool_monitor	tool_monitor\\task\\clean_events	0	1617857462.3677000000	1617857462.3682000000	0	0	0	Execute scheduled task: Cleanup event monitor events (tool_monitor\\task\\clean_events)\n... started 05:51:02. Current memory use 32MB.\n... used 0 dbqueries\n... used 8.1062316894531E-5 seconds\nScheduled task complete: Cleanup event monitor events (tool_monitor\\task\\clean_events)\n	18211e19acdd	265
292	0	workshopallocation_scheduled	workshopallocation_scheduled\\task\\cron_task	0	1617857462.3742000000	1617857462.3756000000	1	0	0	Execute scheduled task: Background processing for scheduled allocation (workshopallocation_scheduled\\task\\cron_task)\n... started 05:51:02. Current memory use 32MB.\n... no workshops awaiting scheduled allocation. ... used 1 dbqueries\n... used 0.0010089874267578 seconds\nScheduled task complete: Background processing for scheduled allocation (workshopallocation_scheduled\\task\\cron_task)\n	18211e19acdd	265
293	0	moodle	core\\task\\session_cleanup_task	0	1617857521.5446000000	1617857521.5638000000	18	1	0	Execute scheduled task: Limpiar sesiones antiguas (core\\task\\session_cleanup_task)\n... started 05:52:01. Current memory use 16.3MB.\n... used 19 dbqueries\n... used 0.016242980957031 seconds\nScheduled task complete: Limpiar sesiones antiguas (core\\task\\session_cleanup_task)\n	18211e19acdd	280
294	0	moodle	core\\task\\send_new_user_passwords_task	0	1617857521.5728000000	1617857521.5743000000	1	0	0	Execute scheduled task: Enviar nuevas contraseñas de usuario (core\\task\\send_new_user_passwords_task)\n... started 05:52:01. Current memory use 17.5MB.\n... used 1 dbqueries\n... used 0.00084090232849121 seconds\nScheduled task complete: Enviar nuevas contraseñas de usuario (core\\task\\send_new_user_passwords_task)\n	18211e19acdd	280
295	0	moodle	core\\task\\send_failed_login_notifications_task	0	1617857521.5814000000	1617857521.5819000000	0	0	0	Execute scheduled task: Enviar notificaciones de inicio de sesión fallidos (core\\task\\send_failed_login_notifications_task)\n... started 05:52:01. Current memory use 17.5MB.\n... used 0 dbqueries\n... used 2.3126602172852E-5 seconds\nScheduled task complete: Enviar notificaciones de inicio de sesión fallidos (core\\task\\send_failed_login_notifications_task)\n	18211e19acdd	280
296	0	moodle	core\\task\\legacy_plugin_cron_task	0	1617857521.5891000000	1617857521.6295000000	2	0	0	Execute scheduled task: Procesamiento heredado de extensiones (core\\task\\legacy_plugin_cron_task)\n... started 05:52:01. Current memory use 17.6MB.\nRunning auth crons if required...\nRunning enrol crons if required...\nStarting activity modules\nFinished activity modules\nStarting blocks\nFinished blocks\nStarting admin reports\nFinished admin reports\nStarting course reports\nFinished course reports\nStarting gradebook plugins\nFinished gradebook plugins\n... used 2 dbqueries\n... used 0.040005922317505 seconds\nScheduled task complete: Procesamiento heredado de extensiones (core\\task\\legacy_plugin_cron_task)\n	18211e19acdd	280
297	0	moodle	core\\task\\grade_cron_task	0	1617857521.6372000000	1617857521.6428000000	6	0	0	Execute scheduled task: Procesamiento en segundo plano del libro de calificaciones (core\\task\\grade_cron_task)\n... started 05:52:01. Current memory use 22.5MB.\n... used 6 dbqueries\n... used 0.0051281452178955 seconds\nScheduled task complete: Procesamiento en segundo plano del libro de calificaciones (core\\task\\grade_cron_task)\n	18211e19acdd	280
298	0	moodle	core\\task\\completion_regular_task	0	1617857521.6504000000	1617857521.6839000000	18	0	0	Execute scheduled task: Marcado continuo de finalización de actividades y cursos (core\\task\\completion_regular_task)\n... started 05:52:01. Current memory use 22.5MB.\n... used 18 dbqueries\n... used 0.032854080200195 seconds\nScheduled task complete: Marcado continuo de finalización de actividades y cursos (core\\task\\completion_regular_task)\n	18211e19acdd	280
299	0	moodle	core\\task\\portfolio_cron_task	0	1617857521.6917000000	1617857521.6921000000	0	0	0	Execute scheduled task: Procesamiento en segundo plano de los extensiones de portfolio (core\\task\\portfolio_cron_task)\n... started 05:52:01. Current memory use 23MB.\n... used 0 dbqueries\n... used 2.3126602172852E-5 seconds\nScheduled task complete: Procesamiento en segundo plano de los extensiones de portfolio (core\\task\\portfolio_cron_task)\n	18211e19acdd	280
300	0	moodle	core\\task\\plagiarism_cron_task	0	1617857521.6990000000	1617857521.6995000000	0	0	0	Execute scheduled task: Procesamiento en segundo plano para cron heredado en las extensiones de plagio (core\\task\\plagiarism_cron_task)\n... started 05:52:01. Current memory use 23MB.\n... used 0 dbqueries\n... used 2.288818359375E-5 seconds\nScheduled task complete: Procesamiento en segundo plano para cron heredado en las extensiones de plagio (core\\task\\plagiarism_cron_task)\n	18211e19acdd	280
301	0	moodle	core\\task\\calendar_cron_task	0	1617857521.7112000000	1617857521.7158000000	1	0	0	Execute scheduled task: Enviar notificaciones de calendario (core\\task\\calendar_cron_task)\n... started 05:52:01. Current memory use 23.5MB.\n... used 1 dbqueries\n... used 0.0042099952697754 seconds\nScheduled task complete: Enviar notificaciones de calendario (core\\task\\calendar_cron_task)\n	18211e19acdd	280
302	0	moodle	core\\task\\blog_cron_task	0	1617857521.7236000000	1617857521.7241000000	0	0	0	Execute scheduled task: Sincronizar blogs externos (core\\task\\blog_cron_task)\n... started 05:52:01. Current memory use 23.9MB.\n... used 0 dbqueries\n... used 2.4080276489258E-5 seconds\nScheduled task complete: Sincronizar blogs externos (core\\task\\blog_cron_task)\n	18211e19acdd	280
303	0	moodle	core\\task\\question_preview_cleanup_task	0	1617857521.7315000000	1617857521.7543000000	1	4	0	Execute scheduled task: Procesamiento en segundo plano para limpieza de vistas previas de preguntas (core\\task\\question_preview_cleanup_task)\n... started 05:52:01. Current memory use 23.9MB.\n\n  Cleaning up old question previews...done.\n... used 5 dbqueries\n... used 0.022346019744873 seconds\nScheduled task complete: Procesamiento en segundo plano para limpieza de vistas previas de preguntas (core\\task\\question_preview_cleanup_task)\n	18211e19acdd	280
304	0	moodle	core\\task\\question_stats_cleanup_task	0	1617857521.7609000000	1617857521.7631000000	1	3	0	Execute scheduled task: Procesamiento en segundo plano para limpieza de caché de estadísticas de pregunta (core\\task\\question_stats_cleanup_task)\n... started 05:52:01. Current memory use 25.5MB.\n\n  Cleaning up old question statistics cache records...done.\n... used 4 dbqueries\n... used 0.0014569759368896 seconds\nScheduled task complete: Procesamiento en segundo plano para limpieza de caché de estadísticas de pregunta (core\\task\\question_stats_cleanup_task)\n	18211e19acdd	280
306	0	mod_forum	mod_forum\\task\\cron_task	0	1617857521.8280000000	1617857521.8312000000	1	1	0	Execute scheduled task: Correos del foro y trabajos de mantenimiento (mod_forum\\task\\cron_task)\n... started 05:52:01. Current memory use 31.8MB.\nRemoving old digest records from 7 days ago.\nRemoved all old digest records.\nFetching unmailed posts.\n  No posts found.\n... used 2 dbqueries\n... used 0.0026130676269531 seconds\nScheduled task complete: Correos del foro y trabajos de mantenimiento (mod_forum\\task\\cron_task)\n	18211e19acdd	280
307	0	mod_quiz	mod_quiz\\task\\update_overdue_attempts	0	1617857521.8503000000	1617857521.8596000000	3	0	0	Execute scheduled task: Updating overdue quiz attempts (mod_quiz\\task\\update_overdue_attempts)\n... started 05:52:01. Current memory use 32.8MB.\n  Looking for quiz overdue quiz attempts...\n  Considered 0 attempts in 0 quizzes.\n... used 3 dbqueries\n... used 0.0089399814605713 seconds\nScheduled task complete: Updating overdue quiz attempts (mod_quiz\\task\\update_overdue_attempts)\n	18211e19acdd	280
308	0	mod_quiz	mod_quiz\\task\\legacy_quiz_reports_cron	0	1617857521.8669000000	1617857521.8678000000	0	0	0	Execute scheduled task: Legacy cron quiz reports (mod_quiz\\task\\legacy_quiz_reports_cron)\n... started 05:52:01. Current memory use 32.9MB.\n... used 0 dbqueries\n... used 9.608268737793E-5 seconds\nScheduled task complete: Legacy cron quiz reports (mod_quiz\\task\\legacy_quiz_reports_cron)\n	18211e19acdd	280
309	0	mod_quiz	mod_quiz\\task\\legacy_quiz_accessrules_cron	0	1617857521.8745000000	1617857521.8750000000	0	0	0	Execute scheduled task: Legacy cron quiz access rules (mod_quiz\\task\\legacy_quiz_accessrules_cron)\n... started 05:52:01. Current memory use 32.9MB.\n... used 0 dbqueries\n... used 5.8174133300781E-5 seconds\nScheduled task complete: Legacy cron quiz access rules (mod_quiz\\task\\legacy_quiz_accessrules_cron)\n	18211e19acdd	280
310	0	mod_workshop	mod_workshop\\task\\cron_task	0	1617857521.8817000000	1617857521.8835000000	1	0	0	Execute scheduled task: Background processing for workshop module (mod_workshop\\task\\cron_task)\n... started 05:52:01. Current memory use 32.9MB.\n processing workshop subplugins ...\n... used 1 dbqueries\n... used 0.0012569427490234 seconds\nScheduled task complete: Background processing for workshop module (mod_workshop\\task\\cron_task)\n	18211e19acdd	280
311	0	mod_workshop	mod_workshop\\task\\legacy_workshop_allocation_cron	0	1617857521.8900000000	1617857521.8905000000	0	0	0	Execute scheduled task: Legacy cron workshop allocation (mod_workshop\\task\\legacy_workshop_allocation_cron)\n... started 05:52:01. Current memory use 32.9MB.\n... used 0 dbqueries\n... used 5.6982040405273E-5 seconds\nScheduled task complete: Legacy cron workshop allocation (mod_workshop\\task\\legacy_workshop_allocation_cron)\n	18211e19acdd	280
312	0	tool_messageinbound	tool_messageinbound\\task\\pickup_task	0	1617857521.9005000000	1617857521.9025000000	0	0	0	Execute scheduled task: Recogida de correos electrónicos entrantes (tool_messageinbound\\task\\pickup_task)\n... started 05:52:01. Current memory use 31.8MB.\nInbound Message not fully configured - exiting early.\n... used 0 dbqueries\n... used 0.0015311241149902 seconds\nScheduled task complete: Recogida de correos electrónicos entrantes (tool_messageinbound\\task\\pickup_task)\n	18211e19acdd	280
313	0	tool_monitor	tool_monitor\\task\\clean_events	0	1617857521.9091000000	1617857521.9096000000	0	0	0	Execute scheduled task: Cleanup event monitor events (tool_monitor\\task\\clean_events)\n... started 05:52:01. Current memory use 32MB.\n... used 0 dbqueries\n... used 0.00011682510375977 seconds\nScheduled task complete: Cleanup event monitor events (tool_monitor\\task\\clean_events)\n	18211e19acdd	280
314	0	workshopallocation_scheduled	workshopallocation_scheduled\\task\\cron_task	0	1617857521.9176000000	1617857521.9195000000	1	0	0	Execute scheduled task: Background processing for scheduled allocation (workshopallocation_scheduled\\task\\cron_task)\n... started 05:52:01. Current memory use 32MB.\n... no workshops awaiting scheduled allocation. ... used 1 dbqueries\n... used 0.0012428760528564 seconds\nScheduled task complete: Background processing for scheduled allocation (workshopallocation_scheduled\\task\\cron_task)\n	18211e19acdd	280
315	0	moodle	core\\task\\session_cleanup_task	0	1617857582.0899000000	1617857582.1084000000	18	1	0	Execute scheduled task: Limpiar sesiones antiguas (core\\task\\session_cleanup_task)\n... started 05:53:02. Current memory use 16.3MB.\n... used 19 dbqueries\n... used 0.015505075454712 seconds\nScheduled task complete: Limpiar sesiones antiguas (core\\task\\session_cleanup_task)\n	18211e19acdd	296
316	0	moodle	core\\task\\send_new_user_passwords_task	0	1617857582.1164000000	1617857582.1177000000	1	0	0	Execute scheduled task: Enviar nuevas contraseñas de usuario (core\\task\\send_new_user_passwords_task)\n... started 05:53:02. Current memory use 17.5MB.\n... used 1 dbqueries\n... used 0.00078988075256348 seconds\nScheduled task complete: Enviar nuevas contraseñas de usuario (core\\task\\send_new_user_passwords_task)\n	18211e19acdd	296
317	0	moodle	core\\task\\send_failed_login_notifications_task	0	1617857582.1245000000	1617857582.1249000000	0	0	0	Execute scheduled task: Enviar notificaciones de inicio de sesión fallidos (core\\task\\send_failed_login_notifications_task)\n... started 05:53:02. Current memory use 17.5MB.\n... used 0 dbqueries\n... used 2.3126602172852E-5 seconds\nScheduled task complete: Enviar notificaciones de inicio de sesión fallidos (core\\task\\send_failed_login_notifications_task)\n	18211e19acdd	296
318	0	moodle	core\\task\\legacy_plugin_cron_task	0	1617857582.1316000000	1617857582.1716000000	2	0	0	Execute scheduled task: Procesamiento heredado de extensiones (core\\task\\legacy_plugin_cron_task)\n... started 05:53:02. Current memory use 17.6MB.\nRunning auth crons if required...\nRunning enrol crons if required...\nStarting activity modules\nFinished activity modules\nStarting blocks\nFinished blocks\nStarting admin reports\nFinished admin reports\nStarting course reports\nFinished course reports\nStarting gradebook plugins\nFinished gradebook plugins\n... used 2 dbqueries\n... used 0.039602041244507 seconds\nScheduled task complete: Procesamiento heredado de extensiones (core\\task\\legacy_plugin_cron_task)\n	18211e19acdd	296
319	0	moodle	core\\task\\grade_cron_task	0	1617857582.1798000000	1617857582.1844000000	6	0	0	Execute scheduled task: Procesamiento en segundo plano del libro de calificaciones (core\\task\\grade_cron_task)\n... started 05:53:02. Current memory use 22.5MB.\n... used 6 dbqueries\n... used 0.0040440559387207 seconds\nScheduled task complete: Procesamiento en segundo plano del libro de calificaciones (core\\task\\grade_cron_task)\n	18211e19acdd	296
320	0	moodle	core\\task\\completion_regular_task	0	1617857582.1922000000	1617857582.2255000000	18	0	0	Execute scheduled task: Marcado continuo de finalización de actividades y cursos (core\\task\\completion_regular_task)\n... started 05:53:02. Current memory use 22.5MB.\n... used 18 dbqueries\n... used 0.032724857330322 seconds\nScheduled task complete: Marcado continuo de finalización de actividades y cursos (core\\task\\completion_regular_task)\n	18211e19acdd	296
321	0	moodle	core\\task\\portfolio_cron_task	0	1617857582.2329000000	1617857582.2335000000	0	0	0	Execute scheduled task: Procesamiento en segundo plano de los extensiones de portfolio (core\\task\\portfolio_cron_task)\n... started 05:53:02. Current memory use 23MB.\n... used 0 dbqueries\n... used 2.4080276489258E-5 seconds\nScheduled task complete: Procesamiento en segundo plano de los extensiones de portfolio (core\\task\\portfolio_cron_task)\n	18211e19acdd	296
322	0	moodle	core\\task\\plagiarism_cron_task	0	1617857582.2398000000	1617857582.2403000000	0	0	0	Execute scheduled task: Procesamiento en segundo plano para cron heredado en las extensiones de plagio (core\\task\\plagiarism_cron_task)\n... started 05:53:02. Current memory use 23MB.\n... used 0 dbqueries\n... used 3.0040740966797E-5 seconds\nScheduled task complete: Procesamiento en segundo plano para cron heredado en las extensiones de plagio (core\\task\\plagiarism_cron_task)\n	18211e19acdd	296
323	0	moodle	core\\task\\calendar_cron_task	0	1617857582.2514000000	1617857582.2558000000	1	0	0	Execute scheduled task: Enviar notificaciones de calendario (core\\task\\calendar_cron_task)\n... started 05:53:02. Current memory use 23.5MB.\n... used 1 dbqueries\n... used 0.0040421485900879 seconds\nScheduled task complete: Enviar notificaciones de calendario (core\\task\\calendar_cron_task)\n	18211e19acdd	296
324	0	moodle	core\\task\\blog_cron_task	0	1617857582.2633000000	1617857582.2637000000	0	0	0	Execute scheduled task: Sincronizar blogs externos (core\\task\\blog_cron_task)\n... started 05:53:02. Current memory use 23.9MB.\n... used 0 dbqueries\n... used 2.3841857910156E-5 seconds\nScheduled task complete: Sincronizar blogs externos (core\\task\\blog_cron_task)\n	18211e19acdd	296
325	0	moodle	core\\task\\question_preview_cleanup_task	0	1617857582.2700000000	1617857582.2934000000	1	4	0	Execute scheduled task: Procesamiento en segundo plano para limpieza de vistas previas de preguntas (core\\task\\question_preview_cleanup_task)\n... started 05:53:02. Current memory use 23.9MB.\n\n  Cleaning up old question previews...done.\n... used 5 dbqueries\n... used 0.022998094558716 seconds\nScheduled task complete: Procesamiento en segundo plano para limpieza de vistas previas de preguntas (core\\task\\question_preview_cleanup_task)\n	18211e19acdd	296
326	0	moodle	core\\task\\question_stats_cleanup_task	0	1617857582.2990000000	1617857582.3012000000	1	3	0	Execute scheduled task: Procesamiento en segundo plano para limpieza de caché de estadísticas de pregunta (core\\task\\question_stats_cleanup_task)\n... started 05:53:02. Current memory use 25.5MB.\n\n  Cleaning up old question statistics cache records...done.\n... used 4 dbqueries\n... used 0.001568078994751 seconds\nScheduled task complete: Procesamiento en segundo plano para limpieza de caché de estadísticas de pregunta (core\\task\\question_stats_cleanup_task)\n	18211e19acdd	296
327	0	mod_assign	mod_assign\\task\\cron_task	0	1617857582.3128000000	1617857582.3522000000	3	0	0	Execute scheduled task: Procesamiento en segundo plano para módulo Tarea (mod_assign\\task\\cron_task)\n... started 05:53:02. Current memory use 27.9MB.\n... used 3 dbqueries\n... used 0.038677930831909 seconds\nScheduled task complete: Procesamiento en segundo plano para módulo Tarea (mod_assign\\task\\cron_task)\n	18211e19acdd	296
328	0	mod_forum	mod_forum\\task\\cron_task	0	1617857582.3670000000	1617857582.3708000000	1	1	0	Execute scheduled task: Correos del foro y trabajos de mantenimiento (mod_forum\\task\\cron_task)\n... started 05:53:02. Current memory use 31.8MB.\nRemoving old digest records from 7 days ago.\nRemoved all old digest records.\nFetching unmailed posts.\n  No posts found.\n... used 2 dbqueries\n... used 0.0030879974365234 seconds\nScheduled task complete: Correos del foro y trabajos de mantenimiento (mod_forum\\task\\cron_task)\n	18211e19acdd	296
329	0	mod_quiz	mod_quiz\\task\\update_overdue_attempts	0	1617857582.3931000000	1617857582.4045000000	3	0	0	Execute scheduled task: Updating overdue quiz attempts (mod_quiz\\task\\update_overdue_attempts)\n... started 05:53:02. Current memory use 32.8MB.\n  Looking for quiz overdue quiz attempts...\n  Considered 0 attempts in 0 quizzes.\n... used 3 dbqueries\n... used 0.011030197143555 seconds\nScheduled task complete: Updating overdue quiz attempts (mod_quiz\\task\\update_overdue_attempts)\n	18211e19acdd	296
330	0	mod_quiz	mod_quiz\\task\\legacy_quiz_reports_cron	0	1617857582.4114000000	1617857582.4123000000	0	0	0	Execute scheduled task: Legacy cron quiz reports (mod_quiz\\task\\legacy_quiz_reports_cron)\n... started 05:53:02. Current memory use 32.9MB.\n... used 0 dbqueries\n... used 9.608268737793E-5 seconds\nScheduled task complete: Legacy cron quiz reports (mod_quiz\\task\\legacy_quiz_reports_cron)\n	18211e19acdd	296
331	0	mod_quiz	mod_quiz\\task\\legacy_quiz_accessrules_cron	0	1617857582.4192000000	1617857582.4198000000	0	0	0	Execute scheduled task: Legacy cron quiz access rules (mod_quiz\\task\\legacy_quiz_accessrules_cron)\n... started 05:53:02. Current memory use 32.9MB.\n... used 0 dbqueries\n... used 5.8174133300781E-5 seconds\nScheduled task complete: Legacy cron quiz access rules (mod_quiz\\task\\legacy_quiz_accessrules_cron)\n	18211e19acdd	296
332	0	mod_workshop	mod_workshop\\task\\cron_task	0	1617857582.4259000000	1617857582.4275000000	1	0	0	Execute scheduled task: Background processing for workshop module (mod_workshop\\task\\cron_task)\n... started 05:53:02. Current memory use 32.9MB.\n processing workshop subplugins ...\n... used 1 dbqueries\n... used 0.0010950565338135 seconds\nScheduled task complete: Background processing for workshop module (mod_workshop\\task\\cron_task)\n	18211e19acdd	296
333	0	mod_workshop	mod_workshop\\task\\legacy_workshop_allocation_cron	0	1617857582.4334000000	1617857582.4340000000	0	0	0	Execute scheduled task: Legacy cron workshop allocation (mod_workshop\\task\\legacy_workshop_allocation_cron)\n... started 05:53:02. Current memory use 32.9MB.\n... used 0 dbqueries\n... used 5.8889389038086E-5 seconds\nScheduled task complete: Legacy cron workshop allocation (mod_workshop\\task\\legacy_workshop_allocation_cron)\n	18211e19acdd	296
334	0	tool_messageinbound	tool_messageinbound\\task\\pickup_task	0	1617857582.4436000000	1617857582.4456000000	0	0	0	Execute scheduled task: Recogida de correos electrónicos entrantes (tool_messageinbound\\task\\pickup_task)\n... started 05:53:02. Current memory use 31.8MB.\nInbound Message not fully configured - exiting early.\n... used 0 dbqueries\n... used 0.0015511512756348 seconds\nScheduled task complete: Recogida de correos electrónicos entrantes (tool_messageinbound\\task\\pickup_task)\n	18211e19acdd	296
335	0	tool_monitor	tool_monitor\\task\\clean_events	0	1617857582.4517000000	1617857582.4522000000	0	0	0	Execute scheduled task: Cleanup event monitor events (tool_monitor\\task\\clean_events)\n... started 05:53:02. Current memory use 32MB.\n... used 0 dbqueries\n... used 8.2015991210938E-5 seconds\nScheduled task complete: Cleanup event monitor events (tool_monitor\\task\\clean_events)\n	18211e19acdd	296
336	0	workshopallocation_scheduled	workshopallocation_scheduled\\task\\cron_task	0	1617857582.4587000000	1617857582.4601000000	1	0	0	Execute scheduled task: Background processing for scheduled allocation (workshopallocation_scheduled\\task\\cron_task)\n... started 05:53:02. Current memory use 32MB.\n... no workshops awaiting scheduled allocation. ... used 1 dbqueries\n... used 0.00097012519836426 seconds\nScheduled task complete: Background processing for scheduled allocation (workshopallocation_scheduled\\task\\cron_task)\n	18211e19acdd	296
\.


--
-- Data for Name: mdl_task_scheduled; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_task_scheduled (id, component, classname, lastruntime, nextruntime, blocking, minute, hour, day, month, dayofweek, faildelay, customised, disabled, timestarted, hostname, pid) FROM stdin;
2	moodle	\\core\\task\\delete_unconfirmed_users_task	0	1617858000	0	0	*	*	*	*	0	0	0	\N	\N	\N
3	moodle	\\core\\task\\delete_incomplete_users_task	0	1617858300	0	5	*	*	*	*	0	0	0	\N	\N	\N
4	moodle	\\core\\task\\backup_cleanup_task	0	1617858600	0	10	*	*	*	*	0	0	0	\N	\N	\N
5	moodle	\\core\\task\\tag_cron_task	0	1617937500	0	5	3	*	*	*	0	0	0	\N	\N	\N
6	moodle	\\core\\task\\context_cleanup_task	0	1617859500	0	25	*	*	*	*	0	0	0	\N	\N	\N
7	moodle	\\core\\task\\cache_cleanup_task	0	1617859800	0	30	*	*	*	*	0	0	0	\N	\N	\N
8	moodle	\\core\\task\\messaging_cleanup_task	0	1617860100	0	35	*	*	*	*	0	0	0	\N	\N	\N
11	moodle	\\core\\task\\create_contexts_task	0	1617926400	1	0	0	*	*	*	0	0	0	\N	\N	\N
14	moodle	\\core\\task\\grade_history_cleanup_task	0	1617928680	0	*	0	*	*	*	0	0	0	\N	\N	\N
16	moodle	\\core\\task\\completion_daily_task	0	1617879660	0	1	11	*	*	*	0	0	0	\N	\N	\N
23	moodle	\\core\\task\\registration_cron_task	0	1618251540	0	19	18	*	*	1	0	0	0	\N	\N	\N
24	moodle	\\core\\task\\check_for_updates_task	0	1617861600	0	0	*/2	*	*	*	0	0	0	\N	\N	\N
29	moodle	\\core\\task\\file_temp_cleanup_task	0	1617864900	0	55	*/6	*	*	*	0	0	0	\N	\N	\N
30	moodle	\\core\\task\\file_trash_cleanup_task	0	1617864900	0	55	*/6	*	*	*	0	0	0	\N	\N	\N
31	moodle	\\core\\task\\search_index_task	0	1617858000	0	*/30	*	*	*	*	0	0	0	\N	\N	\N
32	moodle	\\core\\task\\search_optimize_task	0	1617884100	0	15	*/12	*	*	*	0	0	0	\N	\N	\N
33	moodle	\\core\\task\\stats_cron_task	0	1617926400	0	0	0	*	*	*	0	0	0	\N	\N	\N
34	moodle	\\core\\task\\password_reset_cleanup_task	0	1617861600	0	0	*/6	*	*	*	0	0	0	\N	\N	\N
35	moodle	\\core\\task\\complete_plans_task	0	1617858060	0	1	*	*	*	*	0	0	0	\N	\N	\N
36	moodle	\\core\\task\\sync_plans_from_template_cohorts_task	0	1617858420	0	7	*	*	*	*	0	0	0	\N	\N	\N
37	moodle	\\core_files\\task\\conversion_cleanup_task	0	1617933720	0	2	2	*	*	*	0	0	0	\N	\N	\N
38	moodle	\\core\\oauth2\\refresh_system_tokens_task	0	1617859800	0	30	*	*	*	*	0	0	0	\N	\N	\N
40	moodle	\\core\\task\\task_log_cleanup_task	0	1617873420	0	17	9	*	*	*	0	0	0	\N	\N	\N
41	moodle	\\core\\task\\h5p_get_content_types_task	0	1619827200	0	0	0	1	*	*	0	0	0	\N	\N	\N
42	moodle	\\core\\task\\antivirus_cleanup_task	0	1617927600	0	20	0	*	*	*	0	0	0	\N	\N	\N
43	qtype_random	\\qtype_random\\task\\remove_unused_questions	0	1617858000	0	0	*	*	*	*	0	0	0	\N	\N	\N
47	mod_lti	\\mod_lti\\task\\clean_access_tokens	0	1617909180	0	13	20	*	*	*	0	0	0	\N	\N	\N
54	auth_cas	\\auth_cas\\task\\sync_task	0	1617922800	0	0	0	*	*	*	0	0	1	\N	\N	\N
55	auth_db	\\auth_db\\task\\sync_users	0	1617869640	0	14	9	*	*	*	0	0	1	\N	\N	\N
56	auth_ldap	\\auth_ldap\\task\\sync_roles	0	1617922800	0	0	0	*	*	*	0	0	1	\N	\N	\N
57	auth_ldap	\\auth_ldap\\task\\sync_task	0	1617922800	0	0	0	*	*	*	0	0	1	\N	\N	\N
58	auth_mnet	\\auth_mnet\\task\\cron_task	0	1617856740	0	*	*	*	*	*	0	0	0	\N	\N	\N
59	auth_saml2	\\auth_saml2\\task\\metadata_refresh	0	1617922800	0	0	0	*	*	*	0	0	0	\N	\N	\N
27	moodle	\\core\\task\\badges_cron_task	1617857401	1617857700	0	*/5	*	*	*	*	0	0	0	\N	\N	\N
28	moodle	\\core\\task\\badges_message_task	1617857401	1617857700	0	*/5	*	*	*	*	0	0	0	\N	\N	\N
45	mod_chat	\\mod_chat\\task\\cron_task	1617857401	1617857700	0	*/5	*	*	*	*	0	0	0	\N	\N	\N
51	mod_scorm	\\mod_scorm\\task\\cron_task	1617857401	1617857700	0	*/5	*	*	*	*	0	0	0	\N	\N	\N
39	moodle	\\core\\task\\analytics_cleanup_task	1617856922	1617860520	0	42	*	*	*	*	0	0	0	\N	\N	\N
25	moodle	\\core\\task\\cache_cron_task	1617857401	1617861000	0	50	*	*	*	*	0	0	0	\N	\N	\N
26	moodle	\\core\\task\\automated_backup_task	1617857401	1617861000	0	50	*	*	*	*	0	0	0	\N	\N	\N
60	enrol_category	\\enrol_category\\task\\enrol_category_sync	0	1617856740	0	*	*	*	*	*	0	0	0	\N	\N	\N
61	enrol_cohort	\\enrol_cohort\\task\\enrol_cohort_sync	0	1617858720	0	12	*	*	*	*	0	0	0	\N	\N	\N
62	enrol_database	\\enrol_database\\task\\sync_enrolments	0	1617887760	0	16	14	*	*	*	0	0	1	\N	\N	\N
63	enrol_flatfile	\\enrol_flatfile\\task\\flatfile_sync_task	0	1617858900	0	15	*	*	*	*	0	0	0	\N	\N	\N
64	enrol_imsenterprise	\\enrol_imsenterprise\\task\\cron_task	0	1617858600	0	10	*	*	*	*	0	0	0	\N	\N	\N
65	enrol_ldap	\\enrol_ldap\\task\\sync_enrolments	0	1617859380	0	23	6	*	*	*	0	0	1	\N	\N	\N
66	enrol_lti	\\enrol_lti\\task\\sync_grades	0	1617858000	0	*/30	*	*	*	*	0	0	0	\N	\N	\N
67	enrol_lti	\\enrol_lti\\task\\sync_members	0	1617858000	0	*/30	*	*	*	*	0	0	0	\N	\N	\N
70	enrol_meta	\\enrol_meta\\task\\enrol_meta_sync	0	1617859260	0	21	*	*	*	*	0	0	0	\N	\N	\N
71	enrol_paypal	\\enrol_paypal\\task\\process_expirations	0	1617856740	0	*	*	*	*	*	0	0	0	\N	\N	\N
74	message_email	\\message_email\\task\\send_email_task	0	1617915600	0	0	22	*	*	*	0	0	0	\N	\N	\N
75	block_recent_activity	\\block_recent_activity\\task\\cleanup	0	1617879960	0	6	12	*	*	*	0	0	0	\N	\N	\N
77	editor_atto	\\editor_atto\\task\\autosave_cleanup_task	0	1617999300	0	15	21	*	*	5	0	0	0	\N	\N	\N
78	repository_dropbox	\\repository_dropbox\\task\\cron_task	0	1617856740	0	*	*	*	*	*	0	0	0	\N	\N	\N
79	repository_filesystem	\\repository_filesystem\\task\\cron_task	0	1617856740	0	*	*	*	*	*	0	0	0	\N	\N	\N
80	repository_onedrive	\\repository_onedrive\\remove_temp_access_task	0	1618003260	0	21	22	*	*	5	0	0	0	\N	\N	\N
81	tool_analytics	\\tool_analytics\\task\\train_models	0	1617933600	0	0	3	*	*	*	0	0	0	\N	\N	\N
82	tool_analytics	\\tool_analytics\\task\\predict_models	0	1617879600	0	0	12	*	*	*	0	0	0	\N	\N	\N
83	tool_cohortroles	\\tool_cohortroles\\task\\cohort_role_sync	0	1617858600	0	10	*	*	*	*	0	0	0	\N	\N	\N
84	tool_dataprivacy	\\tool_dataprivacy\\task\\expired_retention_period	0	1617933600	0	0	3	*	*	*	0	0	0	\N	\N	\N
85	tool_dataprivacy	\\tool_dataprivacy\\task\\delete_expired_contexts	0	1617915600	0	0	22	*	*	*	0	0	0	\N	\N	\N
86	tool_dataprivacy	\\tool_dataprivacy\\task\\delete_expired_requests	0	1617902340	0	19	18	*	*	*	0	0	0	\N	\N	\N
87	tool_dataprivacy	\\tool_dataprivacy\\task\\delete_existing_deleted_users	0	1617873540	0	19	10	*	*	*	0	0	1	\N	\N	\N
88	tool_langimport	\\tool_langimport\\task\\update_langpacks_task	0	1617937620	0	7	4	*	*	*	0	0	0	\N	\N	\N
90	tool_messageinbound	\\tool_messageinbound\\task\\cleanup_task	0	1617929700	0	55	1	*	*	*	0	0	0	\N	\N	\N
92	tool_monitor	\\tool_monitor\\task\\check_subscriptions	0	1617880980	0	23	12	*	*	*	0	0	0	\N	\N	\N
93	tool_recyclebin	\\tool_recyclebin\\task\\cleanup_course_bin	0	1617858000	0	*/30	*	*	*	*	0	0	0	\N	\N	\N
94	tool_recyclebin	\\tool_recyclebin\\task\\cleanup_category_bin	0	1617858000	0	*/30	*	*	*	*	0	0	0	\N	\N	\N
96	ltiservice_gradebookservices	\\ltiservice_gradebookservices\\task\\cleanup_task	0	1617901260	0	1	18	*	*	*	0	0	0	\N	\N	\N
97	quiz_statistics	\\quiz_statistics\\task\\quiz_statistics_cleanup	0	1617872820	0	7	*/5	*	*	*	0	0	0	\N	\N	\N
99	logstore_legacy	\\logstore_legacy\\task\\cleanup_task	0	1617941520	0	12	5	*	*	*	0	0	0	\N	\N	\N
100	logstore_standard	\\logstore_standard\\task\\cleanup_task	0	1617937920	0	12	4	*	*	*	0	0	0	\N	\N	\N
9	moodle	\\core\\task\\send_new_user_passwords_task	1617857582	1617857640	0	*	*	*	*	*	0	0	0	\N	\N	\N
95	assignfeedback_editpdf	\\assignfeedback_editpdf\\task\\convert_submissions	1617857101	1617858000	0	*/15	*	*	*	*	0	0	0	\N	\N	\N
13	moodle	\\core\\task\\grade_cron_task	1617857582	1617857640	0	*	*	*	*	*	0	0	0	\N	\N	\N
76	block_rss_client	\\block_rss_client\\task\\refreshfeeds	1617857401	1617857700	0	*/5	*	*	*	*	0	0	0	\N	\N	\N
69	enrol_manual	\\enrol_manual\\task\\send_expiry_notifications	1617857401	1617858000	0	*/10	*	*	*	*	0	0	0	\N	\N	\N
10	moodle	\\core\\task\\send_failed_login_notifications_task	1617857582	1617857640	0	*	*	*	*	*	0	0	0	\N	\N	\N
15	moodle	\\core\\task\\completion_regular_task	1617857582	1617857640	0	*	*	*	*	*	0	0	0	\N	\N	\N
72	enrol_self	\\enrol_self\\task\\sync_enrolments	1617857401	1617858000	0	*/10	*	*	*	*	0	0	0	\N	\N	\N
68	enrol_manual	\\enrol_manual\\task\\sync_enrolments	1617857401	1617858000	0	*/10	*	*	*	*	0	0	0	\N	\N	\N
73	enrol_self	\\enrol_self\\task\\send_expiry_notifications	1617857401	1617858000	0	*/10	*	*	*	*	0	0	0	\N	\N	\N
1	moodle	\\core\\task\\session_cleanup_task	1617857582	1617857640	0	*	*	*	*	*	0	0	0	\N	\N	\N
12	moodle	\\core\\task\\legacy_plugin_cron_task	1617857582	1617857640	0	*	*	*	*	*	0	0	0	\N	\N	\N
49	mod_quiz	\\mod_quiz\\task\\legacy_quiz_reports_cron	1617857582	1617857640	0	*	*	*	*	*	0	0	0	\N	\N	\N
50	mod_quiz	\\mod_quiz\\task\\legacy_quiz_accessrules_cron	1617857582	1617857640	0	*	*	*	*	*	0	0	0	\N	\N	\N
52	mod_workshop	\\mod_workshop\\task\\cron_task	1617857582	1617857640	0	*	*	*	*	*	0	0	0	\N	\N	\N
53	mod_workshop	\\mod_workshop\\task\\legacy_workshop_allocation_cron	1617857582	1617857640	0	*	*	*	*	*	0	0	0	\N	\N	\N
89	tool_messageinbound	\\tool_messageinbound\\task\\pickup_task	1617857582	1617857640	0	*	*	*	*	*	0	0	0	\N	\N	\N
91	tool_monitor	\\tool_monitor\\task\\clean_events	1617857582	1617857640	0	*	*	*	*	*	0	0	0	\N	\N	\N
98	workshopallocation_scheduled	\\workshopallocation_scheduled\\task\\cron_task	1617857582	1617857640	0	*	*	*	*	*	0	0	0	\N	\N	\N
17	moodle	\\core\\task\\portfolio_cron_task	1617857582	1617857640	0	*	*	*	*	*	0	0	0	\N	\N	\N
18	moodle	\\core\\task\\plagiarism_cron_task	1617857582	1617857640	0	*	*	*	*	*	0	0	0	\N	\N	\N
19	moodle	\\core\\task\\calendar_cron_task	1617857582	1617857640	0	*	*	*	*	*	0	0	0	\N	\N	\N
20	moodle	\\core\\task\\blog_cron_task	1617857582	1617857640	0	*	*	*	*	*	0	0	0	\N	\N	\N
21	moodle	\\core\\task\\question_preview_cleanup_task	1617857582	1617857640	0	*	*	*	*	*	0	0	0	\N	\N	\N
22	moodle	\\core\\task\\question_stats_cleanup_task	1617857582	1617857640	0	*	*	*	*	*	0	0	0	\N	\N	\N
44	mod_assign	\\mod_assign\\task\\cron_task	1617857582	1617857640	0	*	*	*	*	*	0	0	0	\N	\N	\N
46	mod_forum	\\mod_forum\\task\\cron_task	1617857582	1617857640	0	*	*	*	*	*	0	0	0	\N	\N	\N
48	mod_quiz	\\mod_quiz\\task\\update_overdue_attempts	1617857582	1617857640	0	*	*	*	*	*	0	0	0	\N	\N	\N
\.


--
-- Data for Name: mdl_tool_cohortroles; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_tool_cohortroles (id, cohortid, roleid, userid, timecreated, timemodified, usermodified) FROM stdin;
\.


--
-- Data for Name: mdl_tool_customlang; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_tool_customlang (id, lang, componentid, stringid, original, master, local, timemodified, timecustomized, outdated, modified) FROM stdin;
\.


--
-- Data for Name: mdl_tool_customlang_components; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_tool_customlang_components (id, name, version) FROM stdin;
\.


--
-- Data for Name: mdl_tool_dataprivacy_category; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_tool_dataprivacy_category (id, name, description, descriptionformat, usermodified, timecreated, timemodified) FROM stdin;
\.


--
-- Data for Name: mdl_tool_dataprivacy_ctxexpired; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_tool_dataprivacy_ctxexpired (id, contextid, unexpiredroles, expiredroles, defaultexpired, status, usermodified, timecreated, timemodified) FROM stdin;
\.


--
-- Data for Name: mdl_tool_dataprivacy_ctxinstance; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_tool_dataprivacy_ctxinstance (id, contextid, purposeid, categoryid, usermodified, timecreated, timemodified) FROM stdin;
\.


--
-- Data for Name: mdl_tool_dataprivacy_ctxlevel; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_tool_dataprivacy_ctxlevel (id, contextlevel, purposeid, categoryid, usermodified, timecreated, timemodified) FROM stdin;
\.


--
-- Data for Name: mdl_tool_dataprivacy_purpose; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_tool_dataprivacy_purpose (id, name, description, descriptionformat, lawfulbases, sensitivedatareasons, retentionperiod, protected, usermodified, timecreated, timemodified) FROM stdin;
\.


--
-- Data for Name: mdl_tool_dataprivacy_purposerole; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_tool_dataprivacy_purposerole (id, purposeid, roleid, lawfulbases, sensitivedatareasons, retentionperiod, protected, usermodified, timecreated, timemodified) FROM stdin;
\.


--
-- Data for Name: mdl_tool_dataprivacy_request; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_tool_dataprivacy_request (id, type, comments, commentsformat, userid, requestedby, status, dpo, dpocomment, dpocommentformat, systemapproved, usermodified, timecreated, timemodified, creationmethod) FROM stdin;
\.


--
-- Data for Name: mdl_tool_monitor_events; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_tool_monitor_events (id, eventname, contextid, contextlevel, contextinstanceid, link, courseid, timecreated) FROM stdin;
\.


--
-- Data for Name: mdl_tool_monitor_history; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_tool_monitor_history (id, sid, userid, timesent) FROM stdin;
\.


--
-- Data for Name: mdl_tool_monitor_rules; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_tool_monitor_rules (id, description, descriptionformat, name, userid, courseid, plugin, eventname, template, templateformat, frequency, timewindow, timemodified, timecreated) FROM stdin;
\.


--
-- Data for Name: mdl_tool_monitor_subscriptions; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_tool_monitor_subscriptions (id, courseid, ruleid, cmid, userid, timecreated, lastnotificationsent, inactivedate) FROM stdin;
\.


--
-- Data for Name: mdl_tool_policy; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_tool_policy (id, sortorder, currentversionid) FROM stdin;
\.


--
-- Data for Name: mdl_tool_policy_acceptances; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_tool_policy_acceptances (id, policyversionid, userid, status, lang, usermodified, timecreated, timemodified, note) FROM stdin;
\.


--
-- Data for Name: mdl_tool_policy_versions; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_tool_policy_versions (id, name, type, audience, archived, usermodified, timecreated, timemodified, policyid, agreementstyle, optional, revision, summary, summaryformat, content, contentformat) FROM stdin;
\.


--
-- Data for Name: mdl_tool_recyclebin_category; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_tool_recyclebin_category (id, categoryid, shortname, fullname, timecreated) FROM stdin;
\.


--
-- Data for Name: mdl_tool_recyclebin_course; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_tool_recyclebin_course (id, courseid, section, module, name, timecreated) FROM stdin;
\.


--
-- Data for Name: mdl_tool_usertours_steps; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_tool_usertours_steps (id, tourid, title, content, targettype, targetvalue, sortorder, configdata) FROM stdin;
\.


--
-- Data for Name: mdl_tool_usertours_tours; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_tool_usertours_tours (id, name, description, pathmatch, enabled, sortorder, configdata) FROM stdin;
\.


--
-- Data for Name: mdl_upgrade_log; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_upgrade_log (id, type, plugin, version, targetversion, info, details, backtrace, userid, timemodified) FROM stdin;
1	0	core	2020110903.01	2020110903.01	Upgrade savepoint reached	\N		0	1617856670
2	0	core	2020110903.01	2020110903.01	Core installed	\N		0	1617856689
3	0	antivirus_clamav	\N	2020110900	Starting plugin installation	\N		0	1617856689
4	0	antivirus_clamav	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856689
5	0	antivirus_clamav	2020110900	2020110900	Plugin installed	\N		0	1617856689
6	0	availability_completion	\N	2020110900	Starting plugin installation	\N		0	1617856689
7	0	availability_completion	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856689
8	0	availability_completion	2020110900	2020110900	Plugin installed	\N		0	1617856689
9	0	availability_date	\N	2020110900	Starting plugin installation	\N		0	1617856689
10	0	availability_date	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856689
11	0	availability_date	2020110900	2020110900	Plugin installed	\N		0	1617856689
12	0	availability_grade	\N	2020110900	Starting plugin installation	\N		0	1617856689
13	0	availability_grade	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856689
14	0	availability_grade	2020110900	2020110900	Plugin installed	\N		0	1617856689
15	0	availability_group	\N	2020110900	Starting plugin installation	\N		0	1617856689
16	0	availability_group	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856689
17	0	availability_group	2020110900	2020110900	Plugin installed	\N		0	1617856689
18	0	availability_grouping	\N	2020110900	Starting plugin installation	\N		0	1617856689
19	0	availability_grouping	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856689
20	0	availability_grouping	2020110900	2020110900	Plugin installed	\N		0	1617856689
21	0	availability_profile	\N	2020110900	Starting plugin installation	\N		0	1617856689
22	0	availability_profile	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856689
23	0	availability_profile	2020110900	2020110900	Plugin installed	\N		0	1617856689
24	0	qtype_calculated	\N	2020110900	Starting plugin installation	\N		0	1617856689
25	0	qtype_calculated	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856689
26	0	qtype_calculated	2020110900	2020110900	Plugin installed	\N		0	1617856689
27	0	qtype_calculatedmulti	\N	2020110900	Starting plugin installation	\N		0	1617856689
28	0	qtype_calculatedmulti	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856689
29	0	qtype_calculatedmulti	2020110900	2020110900	Plugin installed	\N		0	1617856689
30	0	qtype_calculatedsimple	\N	2020110900	Starting plugin installation	\N		0	1617856689
31	0	qtype_calculatedsimple	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856689
32	0	qtype_calculatedsimple	2020110900	2020110900	Plugin installed	\N		0	1617856689
33	0	qtype_ddimageortext	\N	2020110900	Starting plugin installation	\N		0	1617856689
34	0	qtype_ddimageortext	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856689
35	0	qtype_ddimageortext	2020110900	2020110900	Plugin installed	\N		0	1617856690
36	0	qtype_ddmarker	\N	2020110900	Starting plugin installation	\N		0	1617856690
37	0	qtype_ddmarker	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856690
38	0	qtype_ddmarker	2020110900	2020110900	Plugin installed	\N		0	1617856690
39	0	qtype_ddwtos	\N	2020110900	Starting plugin installation	\N		0	1617856690
40	0	qtype_ddwtos	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856690
41	0	qtype_ddwtos	2020110900	2020110900	Plugin installed	\N		0	1617856690
42	0	qtype_description	\N	2020110900	Starting plugin installation	\N		0	1617856690
43	0	qtype_description	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856690
44	0	qtype_description	2020110900	2020110900	Plugin installed	\N		0	1617856690
45	0	qtype_essay	\N	2020110900	Starting plugin installation	\N		0	1617856690
46	0	qtype_essay	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856690
47	0	qtype_essay	2020110900	2020110900	Plugin installed	\N		0	1617856690
48	0	qtype_gapselect	\N	2020110900	Starting plugin installation	\N		0	1617856690
49	0	qtype_gapselect	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856690
50	0	qtype_gapselect	2020110900	2020110900	Plugin installed	\N		0	1617856690
51	0	qtype_match	\N	2020110900	Starting plugin installation	\N		0	1617856690
52	0	qtype_match	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856690
53	0	qtype_match	2020110900	2020110900	Plugin installed	\N		0	1617856690
54	0	qtype_missingtype	\N	2020110900	Starting plugin installation	\N		0	1617856690
55	0	qtype_missingtype	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856690
56	0	qtype_missingtype	2020110900	2020110900	Plugin installed	\N		0	1617856690
57	0	qtype_multianswer	\N	2020110900	Starting plugin installation	\N		0	1617856690
58	0	qtype_multianswer	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856690
59	0	qtype_multianswer	2020110900	2020110900	Plugin installed	\N		0	1617856690
60	0	qtype_multichoice	\N	2020110900	Starting plugin installation	\N		0	1617856690
61	0	qtype_multichoice	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856690
62	0	qtype_multichoice	2020110900	2020110900	Plugin installed	\N		0	1617856690
63	0	qtype_numerical	\N	2020110900	Starting plugin installation	\N		0	1617856690
64	0	qtype_numerical	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856690
65	0	qtype_numerical	2020110900	2020110900	Plugin installed	\N		0	1617856690
66	0	qtype_random	\N	2020110900	Starting plugin installation	\N		0	1617856690
67	0	qtype_random	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856690
68	0	qtype_random	2020110900	2020110900	Plugin installed	\N		0	1617856690
69	0	qtype_randomsamatch	\N	2020110900	Starting plugin installation	\N		0	1617856690
70	0	qtype_randomsamatch	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856690
71	0	qtype_randomsamatch	2020110900	2020110900	Plugin installed	\N		0	1617856690
72	0	qtype_shortanswer	\N	2020110900	Starting plugin installation	\N		0	1617856690
73	0	qtype_shortanswer	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856690
74	0	qtype_shortanswer	2020110900	2020110900	Plugin installed	\N		0	1617856690
75	0	qtype_truefalse	\N	2020110900	Starting plugin installation	\N		0	1617856690
76	0	qtype_truefalse	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856690
77	0	qtype_truefalse	2020110900	2020110900	Plugin installed	\N		0	1617856690
78	0	mod_assign	\N	2020110900	Starting plugin installation	\N		0	1617856691
79	0	mod_assign	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856691
80	0	mod_assign	2020110900	2020110900	Plugin installed	\N		0	1617856691
81	0	mod_assignment	\N	2020110900	Starting plugin installation	\N		0	1617856691
82	0	mod_assignment	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856691
83	0	mod_assignment	2020110900	2020110900	Plugin installed	\N		0	1617856692
84	0	mod_bigbluebuttonbn	\N	2019101004	Starting plugin installation	\N		0	1617856692
85	0	mod_bigbluebuttonbn	2019101004	2019101004	Upgrade savepoint reached	\N		0	1617856692
86	0	mod_bigbluebuttonbn	2019101004	2019101004	Plugin installed	\N		0	1617856692
87	0	mod_book	\N	2020110900	Starting plugin installation	\N		0	1617856692
88	0	mod_book	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856692
89	0	mod_book	2020110900	2020110900	Plugin installed	\N		0	1617856692
90	0	mod_chat	\N	2020110900	Starting plugin installation	\N		0	1617856692
91	0	mod_chat	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856692
92	0	mod_chat	2020110900	2020110900	Plugin installed	\N		0	1617856693
93	0	mod_choice	\N	2020110900	Starting plugin installation	\N		0	1617856693
94	0	mod_choice	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856693
95	0	mod_choice	2020110900	2020110900	Plugin installed	\N		0	1617856693
96	0	mod_data	\N	2020110900	Starting plugin installation	\N		0	1617856693
97	0	mod_data	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856693
98	0	mod_data	2020110900	2020110900	Plugin installed	\N		0	1617856694
99	0	mod_feedback	\N	2020110900	Starting plugin installation	\N		0	1617856694
100	0	mod_feedback	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856694
101	0	mod_feedback	2020110900	2020110900	Plugin installed	\N		0	1617856695
102	0	mod_folder	\N	2020110900	Starting plugin installation	\N		0	1617856695
103	0	mod_folder	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856695
104	0	mod_folder	2020110900	2020110900	Plugin installed	\N		0	1617856695
105	0	mod_forum	\N	2020110900	Starting plugin installation	\N		0	1617856695
106	0	mod_forum	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856695
107	0	mod_forum	2020110900	2020110900	Plugin installed	\N		0	1617856697
108	0	mod_glossary	\N	2020110900	Starting plugin installation	\N		0	1617856697
109	0	mod_glossary	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856697
110	0	mod_glossary	2020110900	2020110900	Plugin installed	\N		0	1617856697
111	0	mod_h5pactivity	\N	2020110900	Starting plugin installation	\N		0	1617856697
112	0	mod_h5pactivity	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856698
113	0	mod_h5pactivity	2020110900	2020110900	Plugin installed	\N		0	1617856698
114	0	mod_imscp	\N	2020110900	Starting plugin installation	\N		0	1617856698
115	0	mod_imscp	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856698
116	0	mod_imscp	2020110900	2020110900	Plugin installed	\N		0	1617856698
117	0	mod_jitsi	\N	2021020300	Starting plugin installation	\N		0	1617856698
118	0	mod_jitsi	2021020300	2021020300	Upgrade savepoint reached	\N		0	1617856698
119	0	mod_jitsi	2021020300	2021020300	Plugin installed	\N		0	1617856698
120	0	mod_label	\N	2020110900	Starting plugin installation	\N		0	1617856698
121	0	mod_label	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856698
122	0	mod_label	2020110900	2020110900	Plugin installed	\N		0	1617856698
123	0	mod_lesson	\N	2020110900	Starting plugin installation	\N		0	1617856698
124	0	mod_lesson	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856698
125	0	mod_lesson	2020110900	2020110900	Plugin installed	\N		0	1617856699
126	0	mod_lti	\N	2020110900	Starting plugin installation	\N		0	1617856699
127	0	mod_lti	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856699
128	0	mod_lti	2020110900	2020110900	Plugin installed	\N		0	1617856699
129	0	mod_page	\N	2020110900	Starting plugin installation	\N		0	1617856699
130	0	mod_page	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856699
131	0	mod_page	2020110900	2020110900	Plugin installed	\N		0	1617856699
132	0	mod_quiz	\N	2020110900	Starting plugin installation	\N		0	1617856699
133	0	mod_quiz	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856699
134	0	mod_quiz	2020110900	2020110900	Plugin installed	\N		0	1617856700
135	0	mod_resource	\N	2020110900	Starting plugin installation	\N		0	1617856700
136	0	mod_resource	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856700
137	0	mod_resource	2020110900	2020110900	Plugin installed	\N		0	1617856700
138	0	mod_scorm	\N	2020110900	Starting plugin installation	\N		0	1617856700
139	0	mod_scorm	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856700
140	0	mod_scorm	2020110900	2020110900	Plugin installed	\N		0	1617856701
141	0	mod_survey	\N	2020110900	Starting plugin installation	\N		0	1617856701
142	0	mod_survey	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856701
143	0	mod_survey	2020110900	2020110900	Plugin installed	\N		0	1617856701
144	0	mod_url	\N	2020110900	Starting plugin installation	\N		0	1617856701
145	0	mod_url	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856701
146	0	mod_url	2020110900	2020110900	Plugin installed	\N		0	1617856701
147	0	mod_wiki	\N	2020110900	Starting plugin installation	\N		0	1617856701
148	0	mod_wiki	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856701
149	0	mod_wiki	2020110900	2020110900	Plugin installed	\N		0	1617856702
150	0	mod_workshop	\N	2020110901	Starting plugin installation	\N		0	1617856702
151	0	mod_workshop	2020110901	2020110901	Upgrade savepoint reached	\N		0	1617856702
152	0	mod_workshop	2020110901	2020110901	Plugin installed	\N		0	1617856703
153	0	auth_cas	\N	2020110900	Starting plugin installation	\N		0	1617856703
154	0	auth_cas	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856703
155	0	auth_cas	2020110900	2020110900	Plugin installed	\N		0	1617856703
156	0	auth_db	\N	2020110900	Starting plugin installation	\N		0	1617856703
157	0	auth_db	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856703
158	0	auth_db	2020110900	2020110900	Plugin installed	\N		0	1617856703
159	0	auth_email	\N	2020110900	Starting plugin installation	\N		0	1617856703
160	0	auth_email	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856703
161	0	auth_email	2020110900	2020110900	Plugin installed	\N		0	1617856703
162	0	auth_ldap	\N	2020110900	Starting plugin installation	\N		0	1617856703
163	0	auth_ldap	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856703
164	0	auth_ldap	2020110900	2020110900	Plugin installed	\N		0	1617856703
165	0	auth_lti	\N	2020110900	Starting plugin installation	\N		0	1617856703
166	0	auth_lti	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856703
167	0	auth_lti	2020110900	2020110900	Plugin installed	\N		0	1617856703
168	0	auth_manual	\N	2020110900	Starting plugin installation	\N		0	1617856703
169	0	auth_manual	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856703
170	0	auth_manual	2020110900	2020110900	Plugin installed	\N		0	1617856703
171	0	auth_mnet	\N	2020110900	Starting plugin installation	\N		0	1617856703
172	0	auth_mnet	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856703
173	0	auth_mnet	2020110900	2020110900	Plugin installed	\N		0	1617856703
174	0	auth_nologin	\N	2020110900	Starting plugin installation	\N		0	1617856703
175	0	auth_nologin	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856703
176	0	auth_nologin	2020110900	2020110900	Plugin installed	\N		0	1617856703
177	0	auth_none	\N	2020110900	Starting plugin installation	\N		0	1617856703
178	0	auth_none	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856703
179	0	auth_none	2020110900	2020110900	Plugin installed	\N		0	1617856703
180	0	auth_oauth2	\N	2020110900	Starting plugin installation	\N		0	1617856703
181	0	auth_oauth2	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856703
182	0	auth_oauth2	2020110900	2020110900	Plugin installed	\N		0	1617856704
183	0	auth_oidc	\N	2020110900	Starting plugin installation	\N		0	1617856704
184	0	auth_oidc	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856704
185	0	auth_oidc	2020110900	2020110900	Plugin installed	\N		0	1617856704
186	0	auth_saml2	\N	2021011500	Starting plugin installation	\N		0	1617856704
187	0	auth_saml2	2021011500	2021011500	Upgrade savepoint reached	\N		0	1617856704
188	0	auth_saml2	2021011500	2021011500	Plugin installed	\N		0	1617856704
189	0	auth_shibboleth	\N	2020110901	Starting plugin installation	\N		0	1617856704
190	0	auth_shibboleth	2020110901	2020110901	Upgrade savepoint reached	\N		0	1617856704
191	0	auth_shibboleth	2020110901	2020110901	Plugin installed	\N		0	1617856704
192	0	auth_webservice	\N	2020110900	Starting plugin installation	\N		0	1617856704
193	0	auth_webservice	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856704
194	0	auth_webservice	2020110900	2020110900	Plugin installed	\N		0	1617856704
195	0	calendartype_gregorian	\N	2020110900	Starting plugin installation	\N		0	1617856704
196	0	calendartype_gregorian	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856704
197	0	calendartype_gregorian	2020110900	2020110900	Plugin installed	\N		0	1617856704
198	0	customfield_checkbox	\N	2020110900	Starting plugin installation	\N		0	1617856704
199	0	customfield_checkbox	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856704
200	0	customfield_checkbox	2020110900	2020110900	Plugin installed	\N		0	1617856704
201	0	customfield_date	\N	2020110900	Starting plugin installation	\N		0	1617856704
202	0	customfield_date	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856704
203	0	customfield_date	2020110900	2020110900	Plugin installed	\N		0	1617856704
204	0	customfield_select	\N	2020110900	Starting plugin installation	\N		0	1617856704
205	0	customfield_select	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856704
206	0	customfield_select	2020110900	2020110900	Plugin installed	\N		0	1617856704
207	0	customfield_text	\N	2020110900	Starting plugin installation	\N		0	1617856704
208	0	customfield_text	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856704
209	0	customfield_text	2020110900	2020110900	Plugin installed	\N		0	1617856704
210	0	customfield_textarea	\N	2020110900	Starting plugin installation	\N		0	1617856704
211	0	customfield_textarea	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856704
212	0	customfield_textarea	2020110900	2020110900	Plugin installed	\N		0	1617856704
213	0	enrol_category	\N	2020110900	Starting plugin installation	\N		0	1617856704
214	0	enrol_category	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856704
215	0	enrol_category	2020110900	2020110900	Plugin installed	\N		0	1617856704
216	0	enrol_cohort	\N	2020110900	Starting plugin installation	\N		0	1617856704
217	0	enrol_cohort	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856704
218	0	enrol_cohort	2020110900	2020110900	Plugin installed	\N		0	1617856704
219	0	enrol_database	\N	2020110900	Starting plugin installation	\N		0	1617856704
220	0	enrol_database	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856704
221	0	enrol_database	2020110900	2020110900	Plugin installed	\N		0	1617856704
222	0	enrol_fee	\N	2020110900	Starting plugin installation	\N		0	1617856704
223	0	enrol_fee	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856704
224	0	enrol_fee	2020110900	2020110900	Plugin installed	\N		0	1617856705
225	0	enrol_flatfile	\N	2020110900	Starting plugin installation	\N		0	1617856705
226	0	enrol_flatfile	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856705
227	0	enrol_flatfile	2020110900	2020110900	Plugin installed	\N		0	1617856705
228	0	enrol_guest	\N	2020110900	Starting plugin installation	\N		0	1617856705
229	0	enrol_guest	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856705
230	0	enrol_guest	2020110900	2020110900	Plugin installed	\N		0	1617856705
231	0	enrol_imsenterprise	\N	2020110900	Starting plugin installation	\N		0	1617856705
232	0	enrol_imsenterprise	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856705
233	0	enrol_imsenterprise	2020110900	2020110900	Plugin installed	\N		0	1617856705
234	0	enrol_ldap	\N	2020110900	Starting plugin installation	\N		0	1617856705
235	0	enrol_ldap	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856705
236	0	enrol_ldap	2020110900	2020110900	Plugin installed	\N		0	1617856705
237	0	enrol_lti	\N	2020110900	Starting plugin installation	\N		0	1617856705
238	0	enrol_lti	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856705
239	0	enrol_lti	2020110900	2020110900	Plugin installed	\N		0	1617856705
240	0	enrol_manual	\N	2020110900	Starting plugin installation	\N		0	1617856705
241	0	enrol_manual	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856705
242	0	enrol_manual	2020110900	2020110900	Plugin installed	\N		0	1617856705
243	0	enrol_meta	\N	2020110900	Starting plugin installation	\N		0	1617856705
244	0	enrol_meta	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856705
245	0	enrol_meta	2020110900	2020110900	Plugin installed	\N		0	1617856705
246	0	enrol_mnet	\N	2020110900	Starting plugin installation	\N		0	1617856705
247	0	enrol_mnet	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856705
248	0	enrol_mnet	2020110900	2020110900	Plugin installed	\N		0	1617856706
249	0	enrol_paypal	\N	2020110900	Starting plugin installation	\N		0	1617856706
250	0	enrol_paypal	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856706
251	0	enrol_paypal	2020110900	2020110900	Plugin installed	\N		0	1617856706
252	0	enrol_self	\N	2020110900	Starting plugin installation	\N		0	1617856706
253	0	enrol_self	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856706
254	0	enrol_self	2020110900	2020110900	Plugin installed	\N		0	1617856706
255	0	message_airnotifier	\N	2020110900	Starting plugin installation	\N		0	1617856706
256	0	message_airnotifier	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856706
257	0	message_airnotifier	2020110900	2020110900	Plugin installed	\N		0	1617856706
258	0	message_email	\N	2020110900	Starting plugin installation	\N		0	1617856706
259	0	message_email	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856706
260	0	message_email	2020110900	2020110900	Plugin installed	\N		0	1617856706
261	0	message_jabber	\N	2020110900	Starting plugin installation	\N		0	1617856706
262	0	message_jabber	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856706
263	0	message_jabber	2020110900	2020110900	Plugin installed	\N		0	1617856707
264	0	message_popup	\N	2020110900	Starting plugin installation	\N		0	1617856707
265	0	message_popup	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856707
266	0	message_popup	2020110900	2020110900	Plugin installed	\N		0	1617856707
267	0	block_activity_modules	\N	2020110900	Starting plugin installation	\N		0	1617856707
268	0	block_activity_modules	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856707
269	0	block_activity_modules	2020110900	2020110900	Plugin installed	\N		0	1617856707
270	0	block_activity_results	\N	2020110900	Starting plugin installation	\N		0	1617856707
271	0	block_activity_results	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856707
272	0	block_activity_results	2020110900	2020110900	Plugin installed	\N		0	1617856707
273	0	block_admin_bookmarks	\N	2020110900	Starting plugin installation	\N		0	1617856707
274	0	block_admin_bookmarks	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856707
275	0	block_admin_bookmarks	2020110900	2020110900	Plugin installed	\N		0	1617856707
276	0	block_badges	\N	2020110900	Starting plugin installation	\N		0	1617856707
277	0	block_badges	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856707
278	0	block_badges	2020110900	2020110900	Plugin installed	\N		0	1617856707
279	0	block_blog_menu	\N	2020110900	Starting plugin installation	\N		0	1617856707
280	0	block_blog_menu	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856707
281	0	block_blog_menu	2020110900	2020110900	Plugin installed	\N		0	1617856707
282	0	block_blog_recent	\N	2020110900	Starting plugin installation	\N		0	1617856707
283	0	block_blog_recent	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856707
284	0	block_blog_recent	2020110900	2020110900	Plugin installed	\N		0	1617856707
285	0	block_blog_tags	\N	2020110900	Starting plugin installation	\N		0	1617856707
286	0	block_blog_tags	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856707
287	0	block_blog_tags	2020110900	2020110900	Plugin installed	\N		0	1617856707
288	0	block_calendar_month	\N	2020110900	Starting plugin installation	\N		0	1617856707
289	0	block_calendar_month	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856707
290	0	block_calendar_month	2020110900	2020110900	Plugin installed	\N		0	1617856707
291	0	block_calendar_upcoming	\N	2020110900	Starting plugin installation	\N		0	1617856707
292	0	block_calendar_upcoming	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856707
293	0	block_calendar_upcoming	2020110900	2020110900	Plugin installed	\N		0	1617856708
294	0	block_comments	\N	2020110900	Starting plugin installation	\N		0	1617856708
295	0	block_comments	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856708
296	0	block_comments	2020110900	2020110900	Plugin installed	\N		0	1617856708
297	0	block_completionstatus	\N	2020110900	Starting plugin installation	\N		0	1617856708
298	0	block_completionstatus	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856708
299	0	block_completionstatus	2020110900	2020110900	Plugin installed	\N		0	1617856708
300	0	block_course_list	\N	2020110900	Starting plugin installation	\N		0	1617856708
301	0	block_course_list	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856708
302	0	block_course_list	2020110900	2020110900	Plugin installed	\N		0	1617856708
303	0	block_course_summary	\N	2020110900	Starting plugin installation	\N		0	1617856708
304	0	block_course_summary	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856708
305	0	block_course_summary	2020110900	2020110900	Plugin installed	\N		0	1617856708
306	0	block_feedback	\N	2020110900	Starting plugin installation	\N		0	1617856708
307	0	block_feedback	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856708
308	0	block_feedback	2020110900	2020110900	Plugin installed	\N		0	1617856708
309	0	block_globalsearch	\N	2020110900	Starting plugin installation	\N		0	1617856708
310	0	block_globalsearch	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856708
311	0	block_globalsearch	2020110900	2020110900	Plugin installed	\N		0	1617856708
312	0	block_glossary_random	\N	2020110900	Starting plugin installation	\N		0	1617856708
313	0	block_glossary_random	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856708
314	0	block_glossary_random	2020110900	2020110900	Plugin installed	\N		0	1617856708
315	0	block_html	\N	2020110900	Starting plugin installation	\N		0	1617856708
316	0	block_html	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856708
317	0	block_html	2020110900	2020110900	Plugin installed	\N		0	1617856708
318	0	block_login	\N	2020110900	Starting plugin installation	\N		0	1617856708
319	0	block_login	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856708
320	0	block_login	2020110900	2020110900	Plugin installed	\N		0	1617856708
321	0	block_lp	\N	2020110900	Starting plugin installation	\N		0	1617856708
322	0	block_lp	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856708
323	0	block_lp	2020110900	2020110900	Plugin installed	\N		0	1617856708
324	0	block_mentees	\N	2020110900	Starting plugin installation	\N		0	1617856708
325	0	block_mentees	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856708
326	0	block_mentees	2020110900	2020110900	Plugin installed	\N		0	1617856709
327	0	block_mnet_hosts	\N	2020110900	Starting plugin installation	\N		0	1617856709
328	0	block_mnet_hosts	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856709
329	0	block_mnet_hosts	2020110900	2020110900	Plugin installed	\N		0	1617856709
330	0	block_myoverview	\N	2020110900	Starting plugin installation	\N		0	1617856709
331	0	block_myoverview	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856709
332	0	block_myoverview	2020110900	2020110900	Plugin installed	\N		0	1617856709
333	0	block_myprofile	\N	2020110900	Starting plugin installation	\N		0	1617856709
334	0	block_myprofile	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856709
335	0	block_myprofile	2020110900	2020110900	Plugin installed	\N		0	1617856709
336	0	block_navigation	\N	2020110900	Starting plugin installation	\N		0	1617856709
337	0	block_navigation	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856709
338	0	block_navigation	2020110900	2020110900	Plugin installed	\N		0	1617856709
339	0	block_news_items	\N	2020110900	Starting plugin installation	\N		0	1617856709
340	0	block_news_items	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856709
341	0	block_news_items	2020110900	2020110900	Plugin installed	\N		0	1617856709
342	0	block_online_users	\N	2020110901	Starting plugin installation	\N		0	1617856709
343	0	block_online_users	2020110901	2020110901	Upgrade savepoint reached	\N		0	1617856709
344	0	block_online_users	2020110901	2020110901	Plugin installed	\N		0	1617856709
345	0	block_private_files	\N	2020110900	Starting plugin installation	\N		0	1617856709
346	0	block_private_files	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856709
347	0	block_private_files	2020110900	2020110900	Plugin installed	\N		0	1617856709
348	0	block_quiz_results	\N	2020110900	Starting plugin installation	\N		0	1617856709
349	0	block_quiz_results	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856709
350	0	block_quiz_results	2020110900	2020110900	Plugin installed	\N		0	1617856709
351	0	block_recent_activity	\N	2020110900	Starting plugin installation	\N		0	1617856709
352	0	block_recent_activity	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856709
353	0	block_recent_activity	2020110900	2020110900	Plugin installed	\N		0	1617856709
354	0	block_recentlyaccessedcourses	\N	2020110900	Starting plugin installation	\N		0	1617856709
355	0	block_recentlyaccessedcourses	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856709
356	0	block_recentlyaccessedcourses	2020110900	2020110900	Plugin installed	\N		0	1617856709
357	0	block_recentlyaccesseditems	\N	2020110900	Starting plugin installation	\N		0	1617856709
358	0	block_recentlyaccesseditems	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856710
359	0	block_recentlyaccesseditems	2020110900	2020110900	Plugin installed	\N		0	1617856710
360	0	block_rss_client	\N	2020110900	Starting plugin installation	\N		0	1617856710
361	0	block_rss_client	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856710
362	0	block_rss_client	2020110900	2020110900	Plugin installed	\N		0	1617856710
363	0	block_search_forums	\N	2020110900	Starting plugin installation	\N		0	1617856710
364	0	block_search_forums	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856710
365	0	block_search_forums	2020110900	2020110900	Plugin installed	\N		0	1617856710
366	0	block_section_links	\N	2020110900	Starting plugin installation	\N		0	1617856710
367	0	block_section_links	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856710
368	0	block_section_links	2020110900	2020110900	Plugin installed	\N		0	1617856710
369	0	block_selfcompletion	\N	2020110900	Starting plugin installation	\N		0	1617856710
370	0	block_selfcompletion	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856710
371	0	block_selfcompletion	2020110900	2020110900	Plugin installed	\N		0	1617856710
372	0	block_settings	\N	2020110900	Starting plugin installation	\N		0	1617856710
373	0	block_settings	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856710
374	0	block_settings	2020110900	2020110900	Plugin installed	\N		0	1617856710
375	0	block_site_main_menu	\N	2020110900	Starting plugin installation	\N		0	1617856710
376	0	block_site_main_menu	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856710
377	0	block_site_main_menu	2020110900	2020110900	Plugin installed	\N		0	1617856710
378	0	block_social_activities	\N	2020110900	Starting plugin installation	\N		0	1617856710
379	0	block_social_activities	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856710
380	0	block_social_activities	2020110900	2020110900	Plugin installed	\N		0	1617856710
381	0	block_starredcourses	\N	2020110900	Starting plugin installation	\N		0	1617856710
382	0	block_starredcourses	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856710
383	0	block_starredcourses	2020110900	2020110900	Plugin installed	\N		0	1617856710
384	0	block_tag_flickr	\N	2020110900	Starting plugin installation	\N		0	1617856710
385	0	block_tag_flickr	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856710
386	0	block_tag_flickr	2020110900	2020110900	Plugin installed	\N		0	1617856710
387	0	block_tag_youtube	\N	2020110901	Starting plugin installation	\N		0	1617856710
388	0	block_tag_youtube	2020110901	2020110901	Upgrade savepoint reached	\N		0	1617856710
389	0	block_tag_youtube	2020110901	2020110901	Plugin installed	\N		0	1617856711
390	0	block_tags	\N	2020110900	Starting plugin installation	\N		0	1617856711
391	0	block_tags	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856711
392	0	block_tags	2020110900	2020110900	Plugin installed	\N		0	1617856711
393	0	block_timeline	\N	2020110900	Starting plugin installation	\N		0	1617856711
394	0	block_timeline	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856711
395	0	block_timeline	2020110900	2020110900	Plugin installed	\N		0	1617856711
396	0	media_html5audio	\N	2020110900	Starting plugin installation	\N		0	1617856711
397	0	media_html5audio	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856711
398	0	media_html5audio	2020110900	2020110900	Plugin installed	\N		0	1617856711
399	0	media_html5video	\N	2020110900	Starting plugin installation	\N		0	1617856711
400	0	media_html5video	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856711
401	0	media_html5video	2020110900	2020110900	Plugin installed	\N		0	1617856711
402	0	media_swf	\N	2020110900	Starting plugin installation	\N		0	1617856711
403	0	media_swf	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856711
404	0	media_swf	2020110900	2020110900	Plugin installed	\N		0	1617856711
405	0	media_videojs	\N	2020110900	Starting plugin installation	\N		0	1617856711
406	0	media_videojs	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856711
407	0	media_videojs	2020110900	2020110900	Plugin installed	\N		0	1617856711
408	0	media_vimeo	\N	2020110900	Starting plugin installation	\N		0	1617856711
409	0	media_vimeo	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856711
410	0	media_vimeo	2020110900	2020110900	Plugin installed	\N		0	1617856711
411	0	media_youtube	\N	2020110900	Starting plugin installation	\N		0	1617856711
412	0	media_youtube	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856711
413	0	media_youtube	2020110900	2020110900	Plugin installed	\N		0	1617856711
414	0	filter_activitynames	\N	2020110900	Starting plugin installation	\N		0	1617856711
415	0	filter_activitynames	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856711
416	0	filter_activitynames	2020110900	2020110900	Plugin installed	\N		0	1617856711
417	0	filter_algebra	\N	2020110900	Starting plugin installation	\N		0	1617856711
418	0	filter_algebra	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856711
419	0	filter_algebra	2020110900	2020110900	Plugin installed	\N		0	1617856711
420	0	filter_censor	\N	2020110900	Starting plugin installation	\N		0	1617856711
421	0	filter_censor	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856711
422	0	filter_censor	2020110900	2020110900	Plugin installed	\N		0	1617856711
423	0	filter_data	\N	2020110900	Starting plugin installation	\N		0	1617856711
424	0	filter_data	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856711
425	0	filter_data	2020110900	2020110900	Plugin installed	\N		0	1617856711
426	0	filter_displayh5p	\N	2020110900	Starting plugin installation	\N		0	1617856711
427	0	filter_displayh5p	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856711
428	0	filter_displayh5p	2020110900	2020110900	Plugin installed	\N		0	1617856711
429	0	filter_emailprotect	\N	2020110900	Starting plugin installation	\N		0	1617856711
430	0	filter_emailprotect	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856711
431	0	filter_emailprotect	2020110900	2020110900	Plugin installed	\N		0	1617856711
432	0	filter_emoticon	\N	2020110900	Starting plugin installation	\N		0	1617856711
433	0	filter_emoticon	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856711
434	0	filter_emoticon	2020110900	2020110900	Plugin installed	\N		0	1617856711
435	0	filter_glossary	\N	2020110900	Starting plugin installation	\N		0	1617856711
436	0	filter_glossary	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856711
437	0	filter_glossary	2020110900	2020110900	Plugin installed	\N		0	1617856712
438	0	filter_mathjaxloader	\N	2020110900	Starting plugin installation	\N		0	1617856712
439	0	filter_mathjaxloader	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856712
440	0	filter_mathjaxloader	2020110900	2020110900	Plugin installed	\N		0	1617856712
441	0	filter_mediaplugin	\N	2020110900	Starting plugin installation	\N		0	1617856712
442	0	filter_mediaplugin	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856712
443	0	filter_mediaplugin	2020110900	2020110900	Plugin installed	\N		0	1617856712
444	0	filter_multilang	\N	2020110900	Starting plugin installation	\N		0	1617856712
445	0	filter_multilang	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856712
446	0	filter_multilang	2020110900	2020110900	Plugin installed	\N		0	1617856712
447	0	filter_tex	\N	2020110900	Starting plugin installation	\N		0	1617856712
448	0	filter_tex	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856712
449	0	filter_tex	2020110900	2020110900	Plugin installed	\N		0	1617856712
450	0	filter_tidy	\N	2020110900	Starting plugin installation	\N		0	1617856712
451	0	filter_tidy	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856712
452	0	filter_tidy	2020110900	2020110900	Plugin installed	\N		0	1617856712
453	0	filter_urltolink	\N	2020110900	Starting plugin installation	\N		0	1617856712
454	0	filter_urltolink	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856712
455	0	filter_urltolink	2020110900	2020110900	Plugin installed	\N		0	1617856712
456	0	editor_atto	\N	2020110900	Starting plugin installation	\N		0	1617856712
457	0	editor_atto	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856712
458	0	editor_atto	2020110900	2020110900	Plugin installed	\N		0	1617856712
459	0	editor_textarea	\N	2020110900	Starting plugin installation	\N		0	1617856712
460	0	editor_textarea	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856712
461	0	editor_textarea	2020110900	2020110900	Plugin installed	\N		0	1617856712
462	0	editor_tinymce	\N	2020110900	Starting plugin installation	\N		0	1617856712
463	0	editor_tinymce	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856712
464	0	editor_tinymce	2020110900	2020110900	Plugin installed	\N		0	1617856712
465	0	format_singleactivity	\N	2020110900	Starting plugin installation	\N		0	1617856712
466	0	format_singleactivity	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856712
467	0	format_singleactivity	2020110900	2020110900	Plugin installed	\N		0	1617856712
468	0	format_social	\N	2020110900	Starting plugin installation	\N		0	1617856712
469	0	format_social	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856712
470	0	format_social	2020110900	2020110900	Plugin installed	\N		0	1617856712
471	0	format_topics	\N	2020110900	Starting plugin installation	\N		0	1617856712
472	0	format_topics	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856712
473	0	format_topics	2020110900	2020110900	Plugin installed	\N		0	1617856712
474	0	format_weeks	\N	2020110900	Starting plugin installation	\N		0	1617856712
475	0	format_weeks	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856712
476	0	format_weeks	2020110900	2020110900	Plugin installed	\N		0	1617856712
477	0	dataformat_csv	\N	2020110900	Starting plugin installation	\N		0	1617856712
478	0	dataformat_csv	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856712
479	0	dataformat_csv	2020110900	2020110900	Plugin installed	\N		0	1617856712
480	0	dataformat_excel	\N	2020110900	Starting plugin installation	\N		0	1617856712
481	0	dataformat_excel	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856712
482	0	dataformat_excel	2020110900	2020110900	Plugin installed	\N		0	1617856712
483	0	dataformat_html	\N	2020110900	Starting plugin installation	\N		0	1617856712
484	0	dataformat_html	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856712
485	0	dataformat_html	2020110900	2020110900	Plugin installed	\N		0	1617856712
486	0	dataformat_json	\N	2020110900	Starting plugin installation	\N		0	1617856712
487	0	dataformat_json	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856712
488	0	dataformat_json	2020110900	2020110900	Plugin installed	\N		0	1617856712
489	0	dataformat_ods	\N	2020110900	Starting plugin installation	\N		0	1617856712
490	0	dataformat_ods	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856712
491	0	dataformat_ods	2020110900	2020110900	Plugin installed	\N		0	1617856713
492	0	dataformat_pdf	\N	2020110900	Starting plugin installation	\N		0	1617856713
493	0	dataformat_pdf	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856713
494	0	dataformat_pdf	2020110900	2020110900	Plugin installed	\N		0	1617856713
495	0	profilefield_checkbox	\N	2020110900	Starting plugin installation	\N		0	1617856713
496	0	profilefield_checkbox	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856713
497	0	profilefield_checkbox	2020110900	2020110900	Plugin installed	\N		0	1617856713
498	0	profilefield_datetime	\N	2020110900	Starting plugin installation	\N		0	1617856713
499	0	profilefield_datetime	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856713
500	0	profilefield_datetime	2020110900	2020110900	Plugin installed	\N		0	1617856713
501	0	profilefield_menu	\N	2020110900	Starting plugin installation	\N		0	1617856713
502	0	profilefield_menu	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856713
503	0	profilefield_menu	2020110900	2020110900	Plugin installed	\N		0	1617856713
504	0	profilefield_text	\N	2020110900	Starting plugin installation	\N		0	1617856713
505	0	profilefield_text	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856713
506	0	profilefield_text	2020110900	2020110900	Plugin installed	\N		0	1617856713
507	0	profilefield_textarea	\N	2020110900	Starting plugin installation	\N		0	1617856713
508	0	profilefield_textarea	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856713
509	0	profilefield_textarea	2020110900	2020110900	Plugin installed	\N		0	1617856713
510	0	report_backups	\N	2020110900	Starting plugin installation	\N		0	1617856713
511	0	report_backups	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856713
512	0	report_backups	2020110900	2020110900	Plugin installed	\N		0	1617856713
513	0	report_competency	\N	2020110900	Starting plugin installation	\N		0	1617856713
514	0	report_competency	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856713
515	0	report_competency	2020110900	2020110900	Plugin installed	\N		0	1617856713
516	0	report_completion	\N	2020110900	Starting plugin installation	\N		0	1617856713
517	0	report_completion	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856713
518	0	report_completion	2020110900	2020110900	Plugin installed	\N		0	1617856713
519	0	report_configlog	\N	2020110900	Starting plugin installation	\N		0	1617856713
520	0	report_configlog	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856713
521	0	report_configlog	2020110900	2020110900	Plugin installed	\N		0	1617856713
522	0	report_courseoverview	\N	2020110900	Starting plugin installation	\N		0	1617856713
523	0	report_courseoverview	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856713
524	0	report_courseoverview	2020110900	2020110900	Plugin installed	\N		0	1617856713
525	0	report_eventlist	\N	2020110900	Starting plugin installation	\N		0	1617856713
526	0	report_eventlist	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856713
527	0	report_eventlist	2020110900	2020110900	Plugin installed	\N		0	1617856713
528	0	report_infectedfiles	\N	2020110900	Starting plugin installation	\N		0	1617856713
529	0	report_infectedfiles	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856713
530	0	report_infectedfiles	2020110900	2020110900	Plugin installed	\N		0	1617856713
531	0	report_insights	\N	2020110900	Starting plugin installation	\N		0	1617856713
532	0	report_insights	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856713
533	0	report_insights	2020110900	2020110900	Plugin installed	\N		0	1617856713
534	0	report_log	\N	2020110900	Starting plugin installation	\N		0	1617856713
535	0	report_log	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856713
536	0	report_log	2020110900	2020110900	Plugin installed	\N		0	1617856713
537	0	report_loglive	\N	2020110900	Starting plugin installation	\N		0	1617856713
538	0	report_loglive	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856713
539	0	report_loglive	2020110900	2020110900	Plugin installed	\N		0	1617856714
540	0	report_outline	\N	2020110900	Starting plugin installation	\N		0	1617856714
541	0	report_outline	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856714
542	0	report_outline	2020110900	2020110900	Plugin installed	\N		0	1617856714
543	0	report_participation	\N	2020110900	Starting plugin installation	\N		0	1617856714
544	0	report_participation	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856714
545	0	report_participation	2020110900	2020110900	Plugin installed	\N		0	1617856714
546	0	report_performance	\N	2020110900	Starting plugin installation	\N		0	1617856714
547	0	report_performance	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856714
548	0	report_performance	2020110900	2020110900	Plugin installed	\N		0	1617856714
549	0	report_progress	\N	2020110900	Starting plugin installation	\N		0	1617856714
550	0	report_progress	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856714
551	0	report_progress	2020110900	2020110900	Plugin installed	\N		0	1617856714
552	0	report_questioninstances	\N	2020110900	Starting plugin installation	\N		0	1617856714
553	0	report_questioninstances	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856714
554	0	report_questioninstances	2020110900	2020110900	Plugin installed	\N		0	1617856714
555	0	report_security	\N	2020110900	Starting plugin installation	\N		0	1617856714
556	0	report_security	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856714
557	0	report_security	2020110900	2020110900	Plugin installed	\N		0	1617856714
558	0	report_stats	\N	2020110900	Starting plugin installation	\N		0	1617856714
559	0	report_stats	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856714
560	0	report_stats	2020110900	2020110900	Plugin installed	\N		0	1617856714
561	0	report_status	\N	2020110900	Starting plugin installation	\N		0	1617856714
562	0	report_status	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856714
563	0	report_status	2020110900	2020110900	Plugin installed	\N		0	1617856714
564	0	report_usersessions	\N	2020110900	Starting plugin installation	\N		0	1617856714
565	0	report_usersessions	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856714
566	0	report_usersessions	2020110900	2020110900	Plugin installed	\N		0	1617856714
567	0	gradeexport_ods	\N	2020110900	Starting plugin installation	\N		0	1617856714
568	0	gradeexport_ods	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856714
569	0	gradeexport_ods	2020110900	2020110900	Plugin installed	\N		0	1617856714
570	0	gradeexport_txt	\N	2020110900	Starting plugin installation	\N		0	1617856714
571	0	gradeexport_txt	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856714
572	0	gradeexport_txt	2020110900	2020110900	Plugin installed	\N		0	1617856715
573	0	gradeexport_xls	\N	2020110900	Starting plugin installation	\N		0	1617856715
574	0	gradeexport_xls	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856715
575	0	gradeexport_xls	2020110900	2020110900	Plugin installed	\N		0	1617856715
576	0	gradeexport_xml	\N	2020110900	Starting plugin installation	\N		0	1617856715
577	0	gradeexport_xml	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856715
578	0	gradeexport_xml	2020110900	2020110900	Plugin installed	\N		0	1617856715
579	0	gradeimport_csv	\N	2020110900	Starting plugin installation	\N		0	1617856715
580	0	gradeimport_csv	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856715
581	0	gradeimport_csv	2020110900	2020110900	Plugin installed	\N		0	1617856715
582	0	gradeimport_direct	\N	2020110900	Starting plugin installation	\N		0	1617856715
583	0	gradeimport_direct	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856715
584	0	gradeimport_direct	2020110900	2020110900	Plugin installed	\N		0	1617856715
585	0	gradeimport_xml	\N	2020110900	Starting plugin installation	\N		0	1617856715
586	0	gradeimport_xml	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856715
587	0	gradeimport_xml	2020110900	2020110900	Plugin installed	\N		0	1617856715
588	0	gradereport_grader	\N	2020110900	Starting plugin installation	\N		0	1617856715
589	0	gradereport_grader	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856715
590	0	gradereport_grader	2020110900	2020110900	Plugin installed	\N		0	1617856715
591	0	gradereport_history	\N	2020110900	Starting plugin installation	\N		0	1617856715
592	0	gradereport_history	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856715
593	0	gradereport_history	2020110900	2020110900	Plugin installed	\N		0	1617856715
594	0	gradereport_outcomes	\N	2020110900	Starting plugin installation	\N		0	1617856715
595	0	gradereport_outcomes	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856715
596	0	gradereport_outcomes	2020110900	2020110900	Plugin installed	\N		0	1617856715
597	0	gradereport_overview	\N	2020110900	Starting plugin installation	\N		0	1617856715
598	0	gradereport_overview	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856715
599	0	gradereport_overview	2020110900	2020110900	Plugin installed	\N		0	1617856715
600	0	gradereport_singleview	\N	2020110900	Starting plugin installation	\N		0	1617856715
601	0	gradereport_singleview	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856715
602	0	gradereport_singleview	2020110900	2020110900	Plugin installed	\N		0	1617856716
603	0	gradereport_user	\N	2020110900	Starting plugin installation	\N		0	1617856716
604	0	gradereport_user	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856716
605	0	gradereport_user	2020110900	2020110900	Plugin installed	\N		0	1617856716
606	0	gradingform_guide	\N	2020110900	Starting plugin installation	\N		0	1617856716
607	0	gradingform_guide	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856716
608	0	gradingform_guide	2020110900	2020110900	Plugin installed	\N		0	1617856716
609	0	gradingform_rubric	\N	2020110900	Starting plugin installation	\N		0	1617856716
610	0	gradingform_rubric	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856716
611	0	gradingform_rubric	2020110900	2020110900	Plugin installed	\N		0	1617856716
612	0	mlbackend_php	\N	2020110900	Starting plugin installation	\N		0	1617856716
613	0	mlbackend_php	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856716
614	0	mlbackend_php	2020110900	2020110900	Plugin installed	\N		0	1617856716
615	0	mlbackend_python	\N	2020110900	Starting plugin installation	\N		0	1617856716
616	0	mlbackend_python	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856716
617	0	mlbackend_python	2020110900	2020110900	Plugin installed	\N		0	1617856716
618	0	mnetservice_enrol	\N	2020110900	Starting plugin installation	\N		0	1617856716
619	0	mnetservice_enrol	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856716
620	0	mnetservice_enrol	2020110900	2020110900	Plugin installed	\N		0	1617856716
621	0	webservice_rest	\N	2020110900	Starting plugin installation	\N		0	1617856716
622	0	webservice_rest	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856716
623	0	webservice_rest	2020110900	2020110900	Plugin installed	\N		0	1617856716
624	0	webservice_soap	\N	2020110900	Starting plugin installation	\N		0	1617856716
625	0	webservice_soap	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856716
626	0	webservice_soap	2020110900	2020110900	Plugin installed	\N		0	1617856716
627	0	webservice_xmlrpc	\N	2020110900	Starting plugin installation	\N		0	1617856716
628	0	webservice_xmlrpc	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856716
629	0	webservice_xmlrpc	2020110900	2020110900	Plugin installed	\N		0	1617856716
630	0	repository_areafiles	\N	2020110900	Starting plugin installation	\N		0	1617856716
631	0	repository_areafiles	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856716
632	0	repository_areafiles	2020110900	2020110900	Plugin installed	\N		0	1617856716
633	0	repository_boxnet	\N	2020110900	Starting plugin installation	\N		0	1617856716
634	0	repository_boxnet	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856716
635	0	repository_boxnet	2020110900	2020110900	Plugin installed	\N		0	1617856716
636	0	repository_contentbank	\N	2020110900	Starting plugin installation	\N		0	1617856716
637	0	repository_contentbank	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856716
638	0	repository_contentbank	2020110900	2020110900	Plugin installed	\N		0	1617856717
639	0	repository_coursefiles	\N	2020110900	Starting plugin installation	\N		0	1617856717
640	0	repository_coursefiles	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856717
641	0	repository_coursefiles	2020110900	2020110900	Plugin installed	\N		0	1617856717
642	0	repository_dropbox	\N	2020110900	Starting plugin installation	\N		0	1617856717
643	0	repository_dropbox	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856717
644	0	repository_dropbox	2020110900	2020110900	Plugin installed	\N		0	1617856717
645	0	repository_equella	\N	2020110900	Starting plugin installation	\N		0	1617856717
646	0	repository_equella	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856717
647	0	repository_equella	2020110900	2020110900	Plugin installed	\N		0	1617856717
648	0	repository_filesystem	\N	2020110900	Starting plugin installation	\N		0	1617856717
649	0	repository_filesystem	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856717
650	0	repository_filesystem	2020110900	2020110900	Plugin installed	\N		0	1617856717
651	0	repository_flickr	\N	2020110900	Starting plugin installation	\N		0	1617856717
652	0	repository_flickr	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856717
653	0	repository_flickr	2020110900	2020110900	Plugin installed	\N		0	1617856717
654	0	repository_flickr_public	\N	2020110900	Starting plugin installation	\N		0	1617856717
655	0	repository_flickr_public	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856717
656	0	repository_flickr_public	2020110900	2020110900	Plugin installed	\N		0	1617856717
657	0	repository_googledocs	\N	2020110900	Starting plugin installation	\N		0	1617856717
658	0	repository_googledocs	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856717
659	0	repository_googledocs	2020110900	2020110900	Plugin installed	\N		0	1617856717
660	0	repository_local	\N	2020110900	Starting plugin installation	\N		0	1617856717
661	0	repository_local	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856717
662	0	repository_local	2020110900	2020110900	Plugin installed	\N		0	1617856717
663	0	repository_merlot	\N	2020110900	Starting plugin installation	\N		0	1617856717
664	0	repository_merlot	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856717
665	0	repository_merlot	2020110900	2020110900	Plugin installed	\N		0	1617856717
666	0	repository_nextcloud	\N	2020110900	Starting plugin installation	\N		0	1617856717
667	0	repository_nextcloud	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856717
668	0	repository_nextcloud	2020110900	2020110900	Plugin installed	\N		0	1617856717
669	0	repository_onedrive	\N	2020110900	Starting plugin installation	\N		0	1617856717
670	0	repository_onedrive	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856717
671	0	repository_onedrive	2020110900	2020110900	Plugin installed	\N		0	1617856718
672	0	repository_picasa	\N	2020110900	Starting plugin installation	\N		0	1617856718
673	0	repository_picasa	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856718
674	0	repository_picasa	2020110900	2020110900	Plugin installed	\N		0	1617856718
675	0	repository_recent	\N	2020110900	Starting plugin installation	\N		0	1617856718
676	0	repository_recent	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856718
677	0	repository_recent	2020110900	2020110900	Plugin installed	\N		0	1617856718
678	0	repository_s3	\N	2020110900	Starting plugin installation	\N		0	1617856718
679	0	repository_s3	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856718
680	0	repository_s3	2020110900	2020110900	Plugin installed	\N		0	1617856718
681	0	repository_skydrive	\N	2020110900	Starting plugin installation	\N		0	1617856718
682	0	repository_skydrive	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856718
683	0	repository_skydrive	2020110900	2020110900	Plugin installed	\N		0	1617856718
684	0	repository_upload	\N	2020110900	Starting plugin installation	\N		0	1617856718
685	0	repository_upload	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856718
686	0	repository_upload	2020110900	2020110900	Plugin installed	\N		0	1617856718
687	0	repository_url	\N	2020110900	Starting plugin installation	\N		0	1617856718
688	0	repository_url	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856718
689	0	repository_url	2020110900	2020110900	Plugin installed	\N		0	1617856718
690	0	repository_user	\N	2020110900	Starting plugin installation	\N		0	1617856718
691	0	repository_user	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856718
692	0	repository_user	2020110900	2020110900	Plugin installed	\N		0	1617856718
693	0	repository_webdav	\N	2020110900	Starting plugin installation	\N		0	1617856718
694	0	repository_webdav	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856718
695	0	repository_webdav	2020110900	2020110900	Plugin installed	\N		0	1617856718
696	0	repository_wikimedia	\N	2020110900	Starting plugin installation	\N		0	1617856718
697	0	repository_wikimedia	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856718
698	0	repository_wikimedia	2020110900	2020110900	Plugin installed	\N		0	1617856718
699	0	repository_youtube	\N	2020110900	Starting plugin installation	\N		0	1617856718
700	0	repository_youtube	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856718
701	0	repository_youtube	2020110900	2020110900	Plugin installed	\N		0	1617856718
702	0	portfolio_boxnet	\N	2020110900	Starting plugin installation	\N		0	1617856718
703	0	portfolio_boxnet	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856718
704	0	portfolio_boxnet	2020110900	2020110900	Plugin installed	\N		0	1617856718
705	0	portfolio_download	\N	2020110900	Starting plugin installation	\N		0	1617856719
706	0	portfolio_download	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856719
707	0	portfolio_download	2020110900	2020110900	Plugin installed	\N		0	1617856719
708	0	portfolio_flickr	\N	2020110900	Starting plugin installation	\N		0	1617856719
709	0	portfolio_flickr	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856719
710	0	portfolio_flickr	2020110900	2020110900	Plugin installed	\N		0	1617856719
711	0	portfolio_googledocs	\N	2020110900	Starting plugin installation	\N		0	1617856719
712	0	portfolio_googledocs	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856719
713	0	portfolio_googledocs	2020110900	2020110900	Plugin installed	\N		0	1617856719
714	0	portfolio_mahara	\N	2020110900	Starting plugin installation	\N		0	1617856719
715	0	portfolio_mahara	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856719
716	0	portfolio_mahara	2020110900	2020110900	Plugin installed	\N		0	1617856719
717	0	portfolio_picasa	\N	2020110900	Starting plugin installation	\N		0	1617856719
718	0	portfolio_picasa	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856719
719	0	portfolio_picasa	2020110900	2020110900	Plugin installed	\N		0	1617856719
720	0	search_simpledb	\N	2020110900	Starting plugin installation	\N		0	1617856719
721	0	search_simpledb	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856719
722	0	search_simpledb	2020110900	2020110900	Plugin installed	\N		0	1617856719
723	0	search_solr	\N	2020110900	Starting plugin installation	\N		0	1617856719
724	0	search_solr	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856719
725	0	search_solr	2020110900	2020110900	Plugin installed	\N		0	1617856719
726	0	qbehaviour_adaptive	\N	2020110900	Starting plugin installation	\N		0	1617856719
727	0	qbehaviour_adaptive	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856719
728	0	qbehaviour_adaptive	2020110900	2020110900	Plugin installed	\N		0	1617856719
729	0	qbehaviour_adaptivenopenalty	\N	2020110900	Starting plugin installation	\N		0	1617856719
730	0	qbehaviour_adaptivenopenalty	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856719
731	0	qbehaviour_adaptivenopenalty	2020110900	2020110900	Plugin installed	\N		0	1617856719
732	0	qbehaviour_deferredcbm	\N	2020110900	Starting plugin installation	\N		0	1617856719
733	0	qbehaviour_deferredcbm	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856719
734	0	qbehaviour_deferredcbm	2020110900	2020110900	Plugin installed	\N		0	1617856719
735	0	qbehaviour_deferredfeedback	\N	2020110900	Starting plugin installation	\N		0	1617856719
736	0	qbehaviour_deferredfeedback	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856719
737	0	qbehaviour_deferredfeedback	2020110900	2020110900	Plugin installed	\N		0	1617856719
738	0	qbehaviour_immediatecbm	\N	2020110900	Starting plugin installation	\N		0	1617856719
739	0	qbehaviour_immediatecbm	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856719
740	0	qbehaviour_immediatecbm	2020110900	2020110900	Plugin installed	\N		0	1617856719
741	0	qbehaviour_immediatefeedback	\N	2020110900	Starting plugin installation	\N		0	1617856719
742	0	qbehaviour_immediatefeedback	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856719
743	0	qbehaviour_immediatefeedback	2020110900	2020110900	Plugin installed	\N		0	1617856719
744	0	qbehaviour_informationitem	\N	2020110900	Starting plugin installation	\N		0	1617856719
745	0	qbehaviour_informationitem	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856719
746	0	qbehaviour_informationitem	2020110900	2020110900	Plugin installed	\N		0	1617856719
747	0	qbehaviour_interactive	\N	2020110900	Starting plugin installation	\N		0	1617856719
748	0	qbehaviour_interactive	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856719
749	0	qbehaviour_interactive	2020110900	2020110900	Plugin installed	\N		0	1617856719
750	0	qbehaviour_interactivecountback	\N	2020110900	Starting plugin installation	\N		0	1617856719
751	0	qbehaviour_interactivecountback	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856719
752	0	qbehaviour_interactivecountback	2020110900	2020110900	Plugin installed	\N		0	1617856719
753	0	qbehaviour_manualgraded	\N	2020110900	Starting plugin installation	\N		0	1617856719
754	0	qbehaviour_manualgraded	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856719
755	0	qbehaviour_manualgraded	2020110900	2020110900	Plugin installed	\N		0	1617856719
756	0	qbehaviour_missing	\N	2020110900	Starting plugin installation	\N		0	1617856720
757	0	qbehaviour_missing	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856720
758	0	qbehaviour_missing	2020110900	2020110900	Plugin installed	\N		0	1617856720
759	0	qformat_aiken	\N	2020110900	Starting plugin installation	\N		0	1617856720
760	0	qformat_aiken	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856720
761	0	qformat_aiken	2020110900	2020110900	Plugin installed	\N		0	1617856720
762	0	qformat_blackboard_six	\N	2020110900	Starting plugin installation	\N		0	1617856720
763	0	qformat_blackboard_six	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856720
764	0	qformat_blackboard_six	2020110900	2020110900	Plugin installed	\N		0	1617856720
765	0	qformat_examview	\N	2020110900	Starting plugin installation	\N		0	1617856720
766	0	qformat_examview	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856720
767	0	qformat_examview	2020110900	2020110900	Plugin installed	\N		0	1617856720
768	0	qformat_gift	\N	2020110900	Starting plugin installation	\N		0	1617856720
769	0	qformat_gift	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856720
770	0	qformat_gift	2020110900	2020110900	Plugin installed	\N		0	1617856720
771	0	qformat_missingword	\N	2020110900	Starting plugin installation	\N		0	1617856720
772	0	qformat_missingword	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856720
773	0	qformat_missingword	2020110900	2020110900	Plugin installed	\N		0	1617856720
774	0	qformat_multianswer	\N	2020110900	Starting plugin installation	\N		0	1617856720
775	0	qformat_multianswer	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856720
776	0	qformat_multianswer	2020110900	2020110900	Plugin installed	\N		0	1617856720
777	0	qformat_webct	\N	2020110900	Starting plugin installation	\N		0	1617856720
778	0	qformat_webct	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856720
779	0	qformat_webct	2020110900	2020110900	Plugin installed	\N		0	1617856720
780	0	qformat_xhtml	\N	2020110900	Starting plugin installation	\N		0	1617856720
781	0	qformat_xhtml	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856720
782	0	qformat_xhtml	2020110900	2020110900	Plugin installed	\N		0	1617856720
783	0	qformat_xml	\N	2020110900	Starting plugin installation	\N		0	1617856720
784	0	qformat_xml	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856720
785	0	qformat_xml	2020110900	2020110900	Plugin installed	\N		0	1617856720
786	0	tool_analytics	\N	2020110900	Starting plugin installation	\N		0	1617856720
787	0	tool_analytics	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856720
788	0	tool_analytics	2020110900	2020110900	Plugin installed	\N		0	1617856720
789	0	tool_availabilityconditions	\N	2020110900	Starting plugin installation	\N		0	1617856720
790	0	tool_availabilityconditions	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856720
791	0	tool_availabilityconditions	2020110900	2020110900	Plugin installed	\N		0	1617856720
792	0	tool_behat	\N	2020110900	Starting plugin installation	\N		0	1617856720
793	0	tool_behat	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856720
794	0	tool_behat	2020110900	2020110900	Plugin installed	\N		0	1617856720
795	0	tool_capability	\N	2020110900	Starting plugin installation	\N		0	1617856720
796	0	tool_capability	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856720
797	0	tool_capability	2020110900	2020110900	Plugin installed	\N		0	1617856720
798	0	tool_cohortroles	\N	2020110900	Starting plugin installation	\N		0	1617856720
799	0	tool_cohortroles	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856720
800	0	tool_cohortroles	2020110900	2020110900	Plugin installed	\N		0	1617856720
801	0	tool_customlang	\N	2020110900	Starting plugin installation	\N		0	1617856720
802	0	tool_customlang	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856720
803	0	tool_customlang	2020110900	2020110900	Plugin installed	\N		0	1617856720
804	0	tool_dataprivacy	\N	2020110900	Starting plugin installation	\N		0	1617856720
805	0	tool_dataprivacy	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856721
806	0	tool_dataprivacy	2020110900	2020110900	Plugin installed	\N		0	1617856721
807	0	tool_dbtransfer	\N	2020110900	Starting plugin installation	\N		0	1617856721
808	0	tool_dbtransfer	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856721
809	0	tool_dbtransfer	2020110900	2020110900	Plugin installed	\N		0	1617856721
810	0	tool_filetypes	\N	2020110900	Starting plugin installation	\N		0	1617856721
811	0	tool_filetypes	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856721
812	0	tool_filetypes	2020110900	2020110900	Plugin installed	\N		0	1617856721
813	0	tool_generator	\N	2020110900	Starting plugin installation	\N		0	1617856721
814	0	tool_generator	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856721
815	0	tool_generator	2020110900	2020110900	Plugin installed	\N		0	1617856721
816	0	tool_health	\N	2020110900	Starting plugin installation	\N		0	1617856721
817	0	tool_health	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856721
818	0	tool_health	2020110900	2020110900	Plugin installed	\N		0	1617856721
819	0	tool_httpsreplace	\N	2020110900	Starting plugin installation	\N		0	1617856721
820	0	tool_httpsreplace	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856721
821	0	tool_httpsreplace	2020110900	2020110900	Plugin installed	\N		0	1617856721
822	0	tool_innodb	\N	2020110900	Starting plugin installation	\N		0	1617856721
823	0	tool_innodb	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856721
824	0	tool_innodb	2020110900	2020110900	Plugin installed	\N		0	1617856721
825	0	tool_installaddon	\N	2020110900	Starting plugin installation	\N		0	1617856721
826	0	tool_installaddon	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856721
827	0	tool_installaddon	2020110900	2020110900	Plugin installed	\N		0	1617856721
828	0	tool_langimport	\N	2020110900	Starting plugin installation	\N		0	1617856721
829	0	tool_langimport	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856721
830	0	tool_langimport	2020110900	2020110900	Plugin installed	\N		0	1617856721
831	0	tool_licensemanager	\N	2020110900	Starting plugin installation	\N		0	1617856721
832	0	tool_licensemanager	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856721
833	0	tool_licensemanager	2020110900	2020110900	Plugin installed	\N		0	1617856721
834	0	tool_log	\N	2020110900	Starting plugin installation	\N		0	1617856721
835	0	tool_log	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856721
836	0	tool_log	2020110900	2020110900	Plugin installed	\N		0	1617856721
837	0	tool_lp	\N	2020110900	Starting plugin installation	\N		0	1617856721
838	0	tool_lp	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856721
839	0	tool_lp	2020110900	2020110900	Plugin installed	\N		0	1617856721
840	0	tool_lpimportcsv	\N	2020110900	Starting plugin installation	\N		0	1617856721
841	0	tool_lpimportcsv	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856721
842	0	tool_lpimportcsv	2020110900	2020110900	Plugin installed	\N		0	1617856721
843	0	tool_lpmigrate	\N	2020110900	Starting plugin installation	\N		0	1617856721
844	0	tool_lpmigrate	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856721
845	0	tool_lpmigrate	2020110900	2020110900	Plugin installed	\N		0	1617856722
846	0	tool_messageinbound	\N	2020110900	Starting plugin installation	\N		0	1617856722
847	0	tool_messageinbound	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856722
848	0	tool_messageinbound	2020110900	2020110900	Plugin installed	\N		0	1617856722
849	0	tool_mobile	\N	2020110900	Starting plugin installation	\N		0	1617856722
850	0	tool_mobile	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856722
851	0	tool_mobile	2020110900	2020110900	Plugin installed	\N		0	1617856722
852	0	tool_monitor	\N	2020110900	Starting plugin installation	\N		0	1617856722
853	0	tool_monitor	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856722
854	0	tool_monitor	2020110900	2020110900	Plugin installed	\N		0	1617856722
855	0	tool_moodlenet	\N	2020110900	Starting plugin installation	\N		0	1617856722
856	0	tool_moodlenet	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856722
857	0	tool_moodlenet	2020110900	2020110900	Plugin installed	\N		0	1617856722
858	0	tool_multilangupgrade	\N	2020110900	Starting plugin installation	\N		0	1617856722
859	0	tool_multilangupgrade	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856722
860	0	tool_multilangupgrade	2020110900	2020110900	Plugin installed	\N		0	1617856722
861	0	tool_oauth2	\N	2020110900	Starting plugin installation	\N		0	1617856722
862	0	tool_oauth2	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856722
863	0	tool_oauth2	2020110900	2020110900	Plugin installed	\N		0	1617856722
864	0	tool_phpunit	\N	2020110900	Starting plugin installation	\N		0	1617856722
865	0	tool_phpunit	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856722
866	0	tool_phpunit	2020110900	2020110900	Plugin installed	\N		0	1617856722
867	0	tool_policy	\N	2020110900	Starting plugin installation	\N		0	1617856722
868	0	tool_policy	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856722
869	0	tool_policy	2020110900	2020110900	Plugin installed	\N		0	1617856722
870	0	tool_profiling	\N	2020110900	Starting plugin installation	\N		0	1617856722
871	0	tool_profiling	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856722
872	0	tool_profiling	2020110900	2020110900	Plugin installed	\N		0	1617856722
873	0	tool_recyclebin	\N	2020110900	Starting plugin installation	\N		0	1617856722
874	0	tool_recyclebin	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856722
875	0	tool_recyclebin	2020110900	2020110900	Plugin installed	\N		0	1617856723
876	0	tool_replace	\N	2020110900	Starting plugin installation	\N		0	1617856723
877	0	tool_replace	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856723
878	0	tool_replace	2020110900	2020110900	Plugin installed	\N		0	1617856723
879	0	tool_spamcleaner	\N	2020110900	Starting plugin installation	\N		0	1617856723
880	0	tool_spamcleaner	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856723
881	0	tool_spamcleaner	2020110900	2020110900	Plugin installed	\N		0	1617856723
882	0	tool_task	\N	2020110900	Starting plugin installation	\N		0	1617856723
883	0	tool_task	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856723
884	0	tool_task	2020110900	2020110900	Plugin installed	\N		0	1617856723
885	0	tool_templatelibrary	\N	2020110900	Starting plugin installation	\N		0	1617856723
886	0	tool_templatelibrary	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856723
887	0	tool_templatelibrary	2020110900	2020110900	Plugin installed	\N		0	1617856723
888	0	tool_unsuproles	\N	2020110900	Starting plugin installation	\N		0	1617856723
889	0	tool_unsuproles	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856723
890	0	tool_unsuproles	2020110900	2020110900	Plugin installed	\N		0	1617856723
891	0	tool_uploadcourse	\N	2020110900	Starting plugin installation	\N		0	1617856723
892	0	tool_uploadcourse	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856723
893	0	tool_uploadcourse	2020110900	2020110900	Plugin installed	\N		0	1617856723
894	0	tool_uploaduser	\N	2020110900	Starting plugin installation	\N		0	1617856723
895	0	tool_uploaduser	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856723
896	0	tool_uploaduser	2020110900	2020110900	Plugin installed	\N		0	1617856723
897	0	tool_usertours	\N	2020110900	Starting plugin installation	\N		0	1617856723
898	0	tool_usertours	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856723
899	0	tool_usertours	2020110900	2020110900	Plugin installed	\N		0	1617856723
900	0	tool_xmldb	\N	2020110900	Starting plugin installation	\N		0	1617856723
901	0	tool_xmldb	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856723
902	0	tool_xmldb	2020110900	2020110900	Plugin installed	\N		0	1617856723
903	0	cachestore_apcu	\N	2020110900	Starting plugin installation	\N		0	1617856723
904	0	cachestore_apcu	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856723
905	0	cachestore_apcu	2020110900	2020110900	Plugin installed	\N		0	1617856723
906	0	cachestore_file	\N	2020110900	Starting plugin installation	\N		0	1617856723
907	0	cachestore_file	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856723
908	0	cachestore_file	2020110900	2020110900	Plugin installed	\N		0	1617856723
909	0	cachestore_memcached	\N	2020110900	Starting plugin installation	\N		0	1617856723
910	0	cachestore_memcached	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856723
911	0	cachestore_memcached	2020110900	2020110900	Plugin installed	\N		0	1617856723
912	0	cachestore_mongodb	\N	2020110900	Starting plugin installation	\N		0	1617856723
913	0	cachestore_mongodb	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856723
914	0	cachestore_mongodb	2020110900	2020110900	Plugin installed	\N		0	1617856723
915	0	cachestore_redis	\N	2020110900	Starting plugin installation	\N		0	1617856723
916	0	cachestore_redis	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856723
917	0	cachestore_redis	2020110900	2020110900	Plugin installed	\N		0	1617856723
918	0	cachestore_session	\N	2020110900	Starting plugin installation	\N		0	1617856723
919	0	cachestore_session	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856723
920	0	cachestore_session	2020110900	2020110900	Plugin installed	\N		0	1617856723
921	0	cachestore_static	\N	2020110900	Starting plugin installation	\N		0	1617856723
922	0	cachestore_static	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856724
923	0	cachestore_static	2020110900	2020110900	Plugin installed	\N		0	1617856724
924	0	cachelock_file	\N	2020110900	Starting plugin installation	\N		0	1617856724
925	0	cachelock_file	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856724
926	0	cachelock_file	2020110900	2020110900	Plugin installed	\N		0	1617856724
927	0	fileconverter_googledrive	\N	2020110900	Starting plugin installation	\N		0	1617856724
928	0	fileconverter_googledrive	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856724
929	0	fileconverter_googledrive	2020110900	2020110900	Plugin installed	\N		0	1617856724
930	0	fileconverter_unoconv	\N	2020110900	Starting plugin installation	\N		0	1617856724
931	0	fileconverter_unoconv	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856724
932	0	fileconverter_unoconv	2020110900	2020110900	Plugin installed	\N		0	1617856724
933	0	contenttype_h5p	\N	2020110900	Starting plugin installation	\N		0	1617856724
934	0	contenttype_h5p	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856724
935	0	contenttype_h5p	2020110900	2020110900	Plugin installed	\N		0	1617856724
936	0	theme_boost	\N	2020110900	Starting plugin installation	\N		0	1617856724
937	0	theme_boost	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856724
938	0	theme_boost	2020110900	2020110900	Plugin installed	\N		0	1617856724
939	0	theme_classic	\N	2020110900	Starting plugin installation	\N		0	1617856724
940	0	theme_classic	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856724
941	0	theme_classic	2020110900	2020110900	Plugin installed	\N		0	1617856724
942	0	h5plib_v124	\N	2020110900	Starting plugin installation	\N		0	1617856724
943	0	h5plib_v124	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856724
944	0	h5plib_v124	2020110900	2020110900	Plugin installed	\N		0	1617856724
945	0	paygw_paypal	\N	2020110901	Starting plugin installation	\N		0	1617856724
946	0	paygw_paypal	2020110901	2020110901	Upgrade savepoint reached	\N		0	1617856724
947	0	paygw_paypal	2020110901	2020110901	Plugin installed	\N		0	1617856724
948	0	assignsubmission_comments	\N	2020110900	Starting plugin installation	\N		0	1617856724
949	0	assignsubmission_comments	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856724
950	0	assignsubmission_comments	2020110900	2020110900	Plugin installed	\N		0	1617856724
951	0	assignsubmission_file	\N	2020110900	Starting plugin installation	\N		0	1617856724
952	0	assignsubmission_file	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856724
953	0	assignsubmission_file	2020110900	2020110900	Plugin installed	\N		0	1617856724
954	0	assignsubmission_onlinetext	\N	2020110900	Starting plugin installation	\N		0	1617856724
955	0	assignsubmission_onlinetext	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856724
956	0	assignsubmission_onlinetext	2020110900	2020110900	Plugin installed	\N		0	1617856724
957	0	assignfeedback_comments	\N	2020110900	Starting plugin installation	\N		0	1617856724
958	0	assignfeedback_comments	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856724
959	0	assignfeedback_comments	2020110900	2020110900	Plugin installed	\N		0	1617856724
960	0	assignfeedback_editpdf	\N	2020110900	Starting plugin installation	\N		0	1617856725
961	0	assignfeedback_editpdf	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856725
962	0	assignfeedback_editpdf	2020110900	2020110900	Plugin installed	\N		0	1617856725
963	0	assignfeedback_file	\N	2020110900	Starting plugin installation	\N		0	1617856725
964	0	assignfeedback_file	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856725
965	0	assignfeedback_file	2020110900	2020110900	Plugin installed	\N		0	1617856725
966	0	assignfeedback_offline	\N	2020110900	Starting plugin installation	\N		0	1617856725
967	0	assignfeedback_offline	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856725
968	0	assignfeedback_offline	2020110900	2020110900	Plugin installed	\N		0	1617856725
969	0	assignment_offline	\N	2020110900	Starting plugin installation	\N		0	1617856725
970	0	assignment_offline	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856725
971	0	assignment_offline	2020110900	2020110900	Plugin installed	\N		0	1617856725
972	0	assignment_online	\N	2020110900	Starting plugin installation	\N		0	1617856725
973	0	assignment_online	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856725
974	0	assignment_online	2020110900	2020110900	Plugin installed	\N		0	1617856725
975	0	assignment_upload	\N	2020110900	Starting plugin installation	\N		0	1617856725
976	0	assignment_upload	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856725
977	0	assignment_upload	2020110900	2020110900	Plugin installed	\N		0	1617856725
978	0	assignment_uploadsingle	\N	2020110900	Starting plugin installation	\N		0	1617856725
979	0	assignment_uploadsingle	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856725
980	0	assignment_uploadsingle	2020110900	2020110900	Plugin installed	\N		0	1617856725
981	0	booktool_exportimscp	\N	2020110900	Starting plugin installation	\N		0	1617856725
982	0	booktool_exportimscp	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856725
983	0	booktool_exportimscp	2020110900	2020110900	Plugin installed	\N		0	1617856725
984	0	booktool_importhtml	\N	2020110900	Starting plugin installation	\N		0	1617856725
985	0	booktool_importhtml	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856725
986	0	booktool_importhtml	2020110900	2020110900	Plugin installed	\N		0	1617856725
987	0	booktool_print	\N	2020110900	Starting plugin installation	\N		0	1617856725
988	0	booktool_print	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856725
989	0	booktool_print	2020110900	2020110900	Plugin installed	\N		0	1617856725
990	0	datafield_checkbox	\N	2020110900	Starting plugin installation	\N		0	1617856725
991	0	datafield_checkbox	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856725
992	0	datafield_checkbox	2020110900	2020110900	Plugin installed	\N		0	1617856725
993	0	datafield_date	\N	2020110900	Starting plugin installation	\N		0	1617856725
994	0	datafield_date	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856725
995	0	datafield_date	2020110900	2020110900	Plugin installed	\N		0	1617856725
996	0	datafield_file	\N	2020110900	Starting plugin installation	\N		0	1617856725
997	0	datafield_file	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856725
998	0	datafield_file	2020110900	2020110900	Plugin installed	\N		0	1617856725
999	0	datafield_latlong	\N	2020110900	Starting plugin installation	\N		0	1617856725
1000	0	datafield_latlong	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856725
1001	0	datafield_latlong	2020110900	2020110900	Plugin installed	\N		0	1617856725
1002	0	datafield_menu	\N	2020110900	Starting plugin installation	\N		0	1617856725
1003	0	datafield_menu	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856726
1004	0	datafield_menu	2020110900	2020110900	Plugin installed	\N		0	1617856726
1005	0	datafield_multimenu	\N	2020110900	Starting plugin installation	\N		0	1617856726
1006	0	datafield_multimenu	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856726
1007	0	datafield_multimenu	2020110900	2020110900	Plugin installed	\N		0	1617856726
1008	0	datafield_number	\N	2020110900	Starting plugin installation	\N		0	1617856726
1009	0	datafield_number	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856726
1010	0	datafield_number	2020110900	2020110900	Plugin installed	\N		0	1617856726
1011	0	datafield_picture	\N	2020110900	Starting plugin installation	\N		0	1617856726
1012	0	datafield_picture	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856726
1013	0	datafield_picture	2020110900	2020110900	Plugin installed	\N		0	1617856726
1014	0	datafield_radiobutton	\N	2020110900	Starting plugin installation	\N		0	1617856726
1015	0	datafield_radiobutton	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856726
1016	0	datafield_radiobutton	2020110900	2020110900	Plugin installed	\N		0	1617856726
1017	0	datafield_text	\N	2020110900	Starting plugin installation	\N		0	1617856726
1018	0	datafield_text	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856726
1019	0	datafield_text	2020110900	2020110900	Plugin installed	\N		0	1617856726
1020	0	datafield_textarea	\N	2020110900	Starting plugin installation	\N		0	1617856726
1021	0	datafield_textarea	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856726
1022	0	datafield_textarea	2020110900	2020110900	Plugin installed	\N		0	1617856726
1023	0	datafield_url	\N	2020110900	Starting plugin installation	\N		0	1617856726
1024	0	datafield_url	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856726
1025	0	datafield_url	2020110900	2020110900	Plugin installed	\N		0	1617856726
1026	0	datapreset_imagegallery	\N	2020110900	Starting plugin installation	\N		0	1617856726
1027	0	datapreset_imagegallery	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856726
1028	0	datapreset_imagegallery	2020110900	2020110900	Plugin installed	\N		0	1617856726
1029	0	forumreport_summary	\N	2020110900	Starting plugin installation	\N		0	1617856726
1030	0	forumreport_summary	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856726
1031	0	forumreport_summary	2020110900	2020110900	Plugin installed	\N		0	1617856726
1032	0	ltiservice_basicoutcomes	\N	2020110900	Starting plugin installation	\N		0	1617856726
1033	0	ltiservice_basicoutcomes	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856726
1034	0	ltiservice_basicoutcomes	2020110900	2020110900	Plugin installed	\N		0	1617856726
1035	0	ltiservice_gradebookservices	\N	2020110900	Starting plugin installation	\N		0	1617856726
1036	0	ltiservice_gradebookservices	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856726
1037	0	ltiservice_gradebookservices	2020110900	2020110900	Plugin installed	\N		0	1617856726
1038	0	ltiservice_memberships	\N	2020110900	Starting plugin installation	\N		0	1617856726
1039	0	ltiservice_memberships	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856726
1040	0	ltiservice_memberships	2020110900	2020110900	Plugin installed	\N		0	1617856726
1041	0	ltiservice_profile	\N	2020110900	Starting plugin installation	\N		0	1617856726
1042	0	ltiservice_profile	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856726
1043	0	ltiservice_profile	2020110900	2020110900	Plugin installed	\N		0	1617856726
1044	0	ltiservice_toolproxy	\N	2020110900	Starting plugin installation	\N		0	1617856726
1045	0	ltiservice_toolproxy	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856726
1046	0	ltiservice_toolproxy	2020110900	2020110900	Plugin installed	\N		0	1617856726
1047	0	ltiservice_toolsettings	\N	2020110900	Starting plugin installation	\N		0	1617856726
1048	0	ltiservice_toolsettings	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856726
1049	0	ltiservice_toolsettings	2020110900	2020110900	Plugin installed	\N		0	1617856726
1050	0	quiz_grading	\N	2020110900	Starting plugin installation	\N		0	1617856726
1051	0	quiz_grading	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856726
1052	0	quiz_grading	2020110900	2020110900	Plugin installed	\N		0	1617856727
1053	0	quiz_overview	\N	2020110900	Starting plugin installation	\N		0	1617856727
1054	0	quiz_overview	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856727
1055	0	quiz_overview	2020110900	2020110900	Plugin installed	\N		0	1617856727
1056	0	quiz_responses	\N	2020110900	Starting plugin installation	\N		0	1617856727
1057	0	quiz_responses	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856727
1058	0	quiz_responses	2020110900	2020110900	Plugin installed	\N		0	1617856727
1059	0	quiz_statistics	\N	2020110900	Starting plugin installation	\N		0	1617856727
1060	0	quiz_statistics	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856727
1061	0	quiz_statistics	2020110900	2020110900	Plugin installed	\N		0	1617856727
1062	0	quizaccess_delaybetweenattempts	\N	2020110900	Starting plugin installation	\N		0	1617856727
1063	0	quizaccess_delaybetweenattempts	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856727
1064	0	quizaccess_delaybetweenattempts	2020110900	2020110900	Plugin installed	\N		0	1617856727
1065	0	quizaccess_ipaddress	\N	2020110900	Starting plugin installation	\N		0	1617856727
1066	0	quizaccess_ipaddress	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856727
1067	0	quizaccess_ipaddress	2020110900	2020110900	Plugin installed	\N		0	1617856727
1068	0	quizaccess_numattempts	\N	2020110900	Starting plugin installation	\N		0	1617856727
1069	0	quizaccess_numattempts	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856727
1070	0	quizaccess_numattempts	2020110900	2020110900	Plugin installed	\N		0	1617856727
1071	0	quizaccess_offlineattempts	\N	2020110900	Starting plugin installation	\N		0	1617856727
1072	0	quizaccess_offlineattempts	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856727
1073	0	quizaccess_offlineattempts	2020110900	2020110900	Plugin installed	\N		0	1617856727
1074	0	quizaccess_openclosedate	\N	2020110900	Starting plugin installation	\N		0	1617856727
1075	0	quizaccess_openclosedate	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856727
1076	0	quizaccess_openclosedate	2020110900	2020110900	Plugin installed	\N		0	1617856727
1077	0	quizaccess_password	\N	2020110900	Starting plugin installation	\N		0	1617856727
1078	0	quizaccess_password	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856727
1079	0	quizaccess_password	2020110900	2020110900	Plugin installed	\N		0	1617856727
1080	0	quizaccess_seb	\N	2020110900	Starting plugin installation	\N		0	1617856727
1081	0	quizaccess_seb	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856727
1082	0	quizaccess_seb	2020110900	2020110900	Plugin installed	\N		0	1617856728
1083	0	quizaccess_securewindow	\N	2020110900	Starting plugin installation	\N		0	1617856728
1084	0	quizaccess_securewindow	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856728
1085	0	quizaccess_securewindow	2020110900	2020110900	Plugin installed	\N		0	1617856728
1086	0	quizaccess_timelimit	\N	2020110900	Starting plugin installation	\N		0	1617856728
1087	0	quizaccess_timelimit	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856728
1088	0	quizaccess_timelimit	2020110900	2020110900	Plugin installed	\N		0	1617856728
1089	0	scormreport_basic	\N	2020110900	Starting plugin installation	\N		0	1617856728
1090	0	scormreport_basic	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856728
1091	0	scormreport_basic	2020110900	2020110900	Plugin installed	\N		0	1617856728
1092	0	scormreport_graphs	\N	2020110900	Starting plugin installation	\N		0	1617856728
1093	0	scormreport_graphs	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856728
1094	0	scormreport_graphs	2020110900	2020110900	Plugin installed	\N		0	1617856728
1095	0	scormreport_interactions	\N	2020110900	Starting plugin installation	\N		0	1617856728
1096	0	scormreport_interactions	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856728
1097	0	scormreport_interactions	2020110900	2020110900	Plugin installed	\N		0	1617856728
1098	0	scormreport_objectives	\N	2020110900	Starting plugin installation	\N		0	1617856728
1099	0	scormreport_objectives	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856728
1100	0	scormreport_objectives	2020110900	2020110900	Plugin installed	\N		0	1617856728
1101	0	workshopform_accumulative	\N	2020110900	Starting plugin installation	\N		0	1617856728
1102	0	workshopform_accumulative	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856728
1103	0	workshopform_accumulative	2020110900	2020110900	Plugin installed	\N		0	1617856729
1104	0	workshopform_comments	\N	2020110900	Starting plugin installation	\N		0	1617856729
1105	0	workshopform_comments	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856729
1106	0	workshopform_comments	2020110900	2020110900	Plugin installed	\N		0	1617856729
1107	0	workshopform_numerrors	\N	2020110900	Starting plugin installation	\N		0	1617856729
1108	0	workshopform_numerrors	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856729
1109	0	workshopform_numerrors	2020110900	2020110900	Plugin installed	\N		0	1617856729
1110	0	workshopform_rubric	\N	2020110900	Starting plugin installation	\N		0	1617856729
1111	0	workshopform_rubric	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856729
1112	0	workshopform_rubric	2020110900	2020110900	Plugin installed	\N		0	1617856729
1113	0	workshopallocation_manual	\N	2020110900	Starting plugin installation	\N		0	1617856729
1114	0	workshopallocation_manual	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856729
1115	0	workshopallocation_manual	2020110900	2020110900	Plugin installed	\N		0	1617856729
1116	0	workshopallocation_random	\N	2020110900	Starting plugin installation	\N		0	1617856729
1117	0	workshopallocation_random	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856729
1118	0	workshopallocation_random	2020110900	2020110900	Plugin installed	\N		0	1617856729
1119	0	workshopallocation_scheduled	\N	2020110900	Starting plugin installation	\N		0	1617856729
1120	0	workshopallocation_scheduled	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856729
1121	0	workshopallocation_scheduled	2020110900	2020110900	Plugin installed	\N		0	1617856729
1122	0	workshopeval_best	\N	2020110900	Starting plugin installation	\N		0	1617856729
1123	0	workshopeval_best	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856729
1124	0	workshopeval_best	2020110900	2020110900	Plugin installed	\N		0	1617856729
1125	0	atto_accessibilitychecker	\N	2020110900	Starting plugin installation	\N		0	1617856729
1126	0	atto_accessibilitychecker	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856729
1127	0	atto_accessibilitychecker	2020110900	2020110900	Plugin installed	\N		0	1617856729
1128	0	atto_accessibilityhelper	\N	2020110900	Starting plugin installation	\N		0	1617856729
1129	0	atto_accessibilityhelper	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856729
1130	0	atto_accessibilityhelper	2020110900	2020110900	Plugin installed	\N		0	1617856729
1131	0	atto_align	\N	2020110900	Starting plugin installation	\N		0	1617856729
1132	0	atto_align	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856729
1133	0	atto_align	2020110900	2020110900	Plugin installed	\N		0	1617856729
1134	0	atto_backcolor	\N	2020110900	Starting plugin installation	\N		0	1617856729
1135	0	atto_backcolor	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856729
1136	0	atto_backcolor	2020110900	2020110900	Plugin installed	\N		0	1617856729
1137	0	atto_bold	\N	2020110900	Starting plugin installation	\N		0	1617856729
1138	0	atto_bold	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856729
1139	0	atto_bold	2020110900	2020110900	Plugin installed	\N		0	1617856729
1140	0	atto_charmap	\N	2020110900	Starting plugin installation	\N		0	1617856729
1141	0	atto_charmap	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856729
1142	0	atto_charmap	2020110900	2020110900	Plugin installed	\N		0	1617856729
1143	0	atto_clear	\N	2020110900	Starting plugin installation	\N		0	1617856729
1144	0	atto_clear	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856729
1145	0	atto_clear	2020110900	2020110900	Plugin installed	\N		0	1617856729
1146	0	atto_collapse	\N	2020110900	Starting plugin installation	\N		0	1617856729
1147	0	atto_collapse	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856729
1148	0	atto_collapse	2020110900	2020110900	Plugin installed	\N		0	1617856729
1149	0	atto_emojipicker	\N	2020110900	Starting plugin installation	\N		0	1617856729
1150	0	atto_emojipicker	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856729
1151	0	atto_emojipicker	2020110900	2020110900	Plugin installed	\N		0	1617856730
1152	0	atto_emoticon	\N	2020110900	Starting plugin installation	\N		0	1617856730
1153	0	atto_emoticon	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856730
1154	0	atto_emoticon	2020110900	2020110900	Plugin installed	\N		0	1617856730
1155	0	atto_equation	\N	2020110900	Starting plugin installation	\N		0	1617856730
1156	0	atto_equation	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856730
1157	0	atto_equation	2020110900	2020110900	Plugin installed	\N		0	1617856730
1158	0	atto_fontcolor	\N	2020110900	Starting plugin installation	\N		0	1617856730
1159	0	atto_fontcolor	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856730
1160	0	atto_fontcolor	2020110900	2020110900	Plugin installed	\N		0	1617856730
1161	0	atto_h5p	\N	2020110900	Starting plugin installation	\N		0	1617856730
1162	0	atto_h5p	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856730
1163	0	atto_h5p	2020110900	2020110900	Plugin installed	\N		0	1617856730
1164	0	atto_html	\N	2020110900	Starting plugin installation	\N		0	1617856730
1165	0	atto_html	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856730
1166	0	atto_html	2020110900	2020110900	Plugin installed	\N		0	1617856730
1167	0	atto_image	\N	2020110900	Starting plugin installation	\N		0	1617856730
1168	0	atto_image	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856730
1169	0	atto_image	2020110900	2020110900	Plugin installed	\N		0	1617856730
1170	0	atto_indent	\N	2020110900	Starting plugin installation	\N		0	1617856730
1171	0	atto_indent	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856730
1172	0	atto_indent	2020110900	2020110900	Plugin installed	\N		0	1617856730
1173	0	atto_italic	\N	2020110900	Starting plugin installation	\N		0	1617856730
1174	0	atto_italic	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856730
1175	0	atto_italic	2020110900	2020110900	Plugin installed	\N		0	1617856730
1176	0	atto_link	\N	2020110900	Starting plugin installation	\N		0	1617856730
1177	0	atto_link	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856730
1178	0	atto_link	2020110900	2020110900	Plugin installed	\N		0	1617856730
1179	0	atto_managefiles	\N	2020110900	Starting plugin installation	\N		0	1617856730
1180	0	atto_managefiles	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856730
1181	0	atto_managefiles	2020110900	2020110900	Plugin installed	\N		0	1617856730
1182	0	atto_media	\N	2020110900	Starting plugin installation	\N		0	1617856730
1183	0	atto_media	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856730
1184	0	atto_media	2020110900	2020110900	Plugin installed	\N		0	1617856730
1185	0	atto_noautolink	\N	2020110900	Starting plugin installation	\N		0	1617856730
1186	0	atto_noautolink	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856730
1187	0	atto_noautolink	2020110900	2020110900	Plugin installed	\N		0	1617856730
1188	0	atto_orderedlist	\N	2020110900	Starting plugin installation	\N		0	1617856730
1189	0	atto_orderedlist	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856730
1190	0	atto_orderedlist	2020110900	2020110900	Plugin installed	\N		0	1617856730
1191	0	atto_recordrtc	\N	2020110900	Starting plugin installation	\N		0	1617856730
1192	0	atto_recordrtc	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856730
1193	0	atto_recordrtc	2020110900	2020110900	Plugin installed	\N		0	1617856730
1194	0	atto_rtl	\N	2020110900	Starting plugin installation	\N		0	1617856730
1195	0	atto_rtl	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856730
1196	0	atto_rtl	2020110900	2020110900	Plugin installed	\N		0	1617856730
1197	0	atto_strike	\N	2020110900	Starting plugin installation	\N		0	1617856730
1198	0	atto_strike	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856730
1199	0	atto_strike	2020110900	2020110900	Plugin installed	\N		0	1617856730
1200	0	atto_subscript	\N	2020110900	Starting plugin installation	\N		0	1617856730
1201	0	atto_subscript	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856730
1202	0	atto_subscript	2020110900	2020110900	Plugin installed	\N		0	1617856731
1203	0	atto_superscript	\N	2020110900	Starting plugin installation	\N		0	1617856731
1204	0	atto_superscript	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856731
1205	0	atto_superscript	2020110900	2020110900	Plugin installed	\N		0	1617856731
1206	0	atto_table	\N	2020110900	Starting plugin installation	\N		0	1617856731
1207	0	atto_table	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856731
1208	0	atto_table	2020110900	2020110900	Plugin installed	\N		0	1617856731
1209	0	atto_title	\N	2020110900	Starting plugin installation	\N		0	1617856731
1210	0	atto_title	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856731
1211	0	atto_title	2020110900	2020110900	Plugin installed	\N		0	1617856731
1212	0	atto_underline	\N	2020110900	Starting plugin installation	\N		0	1617856731
1213	0	atto_underline	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856731
1214	0	atto_underline	2020110900	2020110900	Plugin installed	\N		0	1617856731
1215	0	atto_undo	\N	2020110900	Starting plugin installation	\N		0	1617856731
1216	0	atto_undo	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856731
1217	0	atto_undo	2020110900	2020110900	Plugin installed	\N		0	1617856731
1218	0	atto_unorderedlist	\N	2020110900	Starting plugin installation	\N		0	1617856731
1219	0	atto_unorderedlist	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856731
1220	0	atto_unorderedlist	2020110900	2020110900	Plugin installed	\N		0	1617856731
1221	0	tinymce_ctrlhelp	\N	2020110900	Starting plugin installation	\N		0	1617856731
1222	0	tinymce_ctrlhelp	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856731
1223	0	tinymce_ctrlhelp	2020110900	2020110900	Plugin installed	\N		0	1617856731
1224	0	tinymce_managefiles	\N	2020110900	Starting plugin installation	\N		0	1617856731
1225	0	tinymce_managefiles	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856731
1226	0	tinymce_managefiles	2020110900	2020110900	Plugin installed	\N		0	1617856731
1227	0	tinymce_moodleemoticon	\N	2020110900	Starting plugin installation	\N		0	1617856731
1228	0	tinymce_moodleemoticon	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856731
1229	0	tinymce_moodleemoticon	2020110900	2020110900	Plugin installed	\N		0	1617856731
1230	0	tinymce_moodleimage	\N	2020110900	Starting plugin installation	\N		0	1617856731
1231	0	tinymce_moodleimage	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856731
1232	0	tinymce_moodleimage	2020110900	2020110900	Plugin installed	\N		0	1617856731
1233	0	tinymce_moodlemedia	\N	2020110900	Starting plugin installation	\N		0	1617856731
1234	0	tinymce_moodlemedia	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856731
1235	0	tinymce_moodlemedia	2020110900	2020110900	Plugin installed	\N		0	1617856731
1236	0	tinymce_moodlenolink	\N	2020110900	Starting plugin installation	\N		0	1617856731
1237	0	tinymce_moodlenolink	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856731
1238	0	tinymce_moodlenolink	2020110900	2020110900	Plugin installed	\N		0	1617856731
1239	0	tinymce_pdw	\N	2020110900	Starting plugin installation	\N		0	1617856731
1240	0	tinymce_pdw	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856731
1241	0	tinymce_pdw	2020110900	2020110900	Plugin installed	\N		0	1617856731
1242	0	tinymce_spellchecker	\N	2020110900	Starting plugin installation	\N		0	1617856731
1243	0	tinymce_spellchecker	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856731
1244	0	tinymce_spellchecker	2020110900	2020110900	Plugin installed	\N		0	1617856731
1245	0	tinymce_wrap	\N	2020110900	Starting plugin installation	\N		0	1617856731
1246	0	tinymce_wrap	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856731
1247	0	tinymce_wrap	2020110900	2020110900	Plugin installed	\N		0	1617856731
1248	0	logstore_database	\N	2020110900	Starting plugin installation	\N		0	1617856731
1249	0	logstore_database	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856731
1250	0	logstore_database	2020110900	2020110900	Plugin installed	\N		0	1617856731
1251	0	logstore_legacy	\N	2020110900	Starting plugin installation	\N		0	1617856731
1252	0	logstore_legacy	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856731
1253	0	logstore_legacy	2020110900	2020110900	Plugin installed	\N		0	1617856731
1254	0	logstore_standard	\N	2020110900	Starting plugin installation	\N		0	1617856731
1255	0	logstore_standard	2020110900	2020110900	Upgrade savepoint reached	\N		0	1617856731
1256	0	logstore_standard	2020110900	2020110900	Plugin installed	\N		0	1617856732
\.


--
-- Data for Name: mdl_url; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_url (id, course, name, intro, introformat, externalurl, display, displayoptions, parameters, timemodified) FROM stdin;
\.


--
-- Data for Name: mdl_user; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_user (id, auth, confirmed, policyagreed, deleted, suspended, mnethostid, username, password, idnumber, firstname, lastname, email, emailstop, icq, skype, yahoo, aim, msn, phone1, phone2, institution, department, address, city, country, lang, calendartype, theme, timezone, firstaccess, lastaccess, lastlogin, currentlogin, lastip, secret, picture, url, description, descriptionformat, mailformat, maildigest, maildisplay, autosubscribe, trackforums, timecreated, timemodified, trustbitmask, imagealt, lastnamephonetic, firstnamephonetic, middlename, alternatename, moodlenetprofile) FROM stdin;
1	manual	1	0	0	0	1	guest	$2y$10$JiWFnGbEqG4YOk9BSMUI3Od2/ciLv/H.IEe9kBDNDsZIVCLyqsChG		Invitado	 	root@localhost	0													es	gregorian		99	0	0	0	0			0		Este usuario sólo tiene acceso de lectura en ciertos cursos.	1	1	0	2	1	0	0	1617856661	0	\N	\N	\N	\N	\N	\N
2	manual	1	0	0	0	1	admin	$2y$10$/ZV8VpGikCXf08wA4Re2fuyszJqHtCiRx67TjbMLgf5zJcm.ozzOi		Administrador	Usuario	moodle-info@mymailserver.com	0													es	gregorian		99	0	0	0	0	0.0.0.0		0		\N	1	1	0	1	1	0	0	1617856661	0	\N	\N	\N	\N	\N	\N
\.


--
-- Data for Name: mdl_user_devices; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_user_devices (id, userid, appid, name, model, platform, version, pushid, uuid, timecreated, timemodified) FROM stdin;
\.


--
-- Data for Name: mdl_user_enrolments; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_user_enrolments (id, status, enrolid, userid, timestart, timeend, modifierid, timecreated, timemodified) FROM stdin;
\.


--
-- Data for Name: mdl_user_info_category; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_user_info_category (id, name, sortorder) FROM stdin;
\.


--
-- Data for Name: mdl_user_info_data; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_user_info_data (id, userid, fieldid, data, dataformat) FROM stdin;
\.


--
-- Data for Name: mdl_user_info_field; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_user_info_field (id, shortname, name, datatype, description, descriptionformat, categoryid, sortorder, required, locked, visible, forceunique, signup, defaultdata, defaultdataformat, param1, param2, param3, param4, param5) FROM stdin;
\.


--
-- Data for Name: mdl_user_lastaccess; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_user_lastaccess (id, userid, courseid, timeaccess) FROM stdin;
\.


--
-- Data for Name: mdl_user_password_history; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_user_password_history (id, userid, hash, timecreated) FROM stdin;
\.


--
-- Data for Name: mdl_user_password_resets; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_user_password_resets (id, userid, timerequested, timererequested, token) FROM stdin;
\.


--
-- Data for Name: mdl_user_preferences; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_user_preferences (id, userid, name, value) FROM stdin;
\.


--
-- Data for Name: mdl_user_private_key; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_user_private_key (id, script, value, userid, instance, iprestriction, validuntil, timecreated) FROM stdin;
\.


--
-- Data for Name: mdl_wiki; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_wiki (id, course, name, intro, introformat, timecreated, timemodified, firstpagetitle, wikimode, defaultformat, forceformat, editbegin, editend) FROM stdin;
\.


--
-- Data for Name: mdl_wiki_links; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_wiki_links (id, subwikiid, frompageid, topageid, tomissingpage) FROM stdin;
\.


--
-- Data for Name: mdl_wiki_locks; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_wiki_locks (id, pageid, sectionname, userid, lockedat) FROM stdin;
\.


--
-- Data for Name: mdl_wiki_pages; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_wiki_pages (id, subwikiid, title, cachedcontent, timecreated, timemodified, timerendered, userid, pageviews, readonly) FROM stdin;
\.


--
-- Data for Name: mdl_wiki_subwikis; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_wiki_subwikis (id, wikiid, groupid, userid) FROM stdin;
\.


--
-- Data for Name: mdl_wiki_synonyms; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_wiki_synonyms (id, subwikiid, pageid, pagesynonym) FROM stdin;
\.


--
-- Data for Name: mdl_wiki_versions; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_wiki_versions (id, pageid, content, contentformat, version, timecreated, userid) FROM stdin;
\.


--
-- Data for Name: mdl_workshop; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_workshop (id, course, name, intro, introformat, instructauthors, instructauthorsformat, instructreviewers, instructreviewersformat, timemodified, phase, useexamples, usepeerassessment, useselfassessment, grade, gradinggrade, strategy, evaluation, gradedecimals, submissiontypetext, submissiontypefile, nattachments, submissionfiletypes, latesubmissions, maxbytes, examplesmode, submissionstart, submissionend, assessmentstart, assessmentend, phaseswitchassessment, conclusion, conclusionformat, overallfeedbackmode, overallfeedbackfiles, overallfeedbackfiletypes, overallfeedbackmaxbytes) FROM stdin;
\.


--
-- Data for Name: mdl_workshop_aggregations; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_workshop_aggregations (id, workshopid, userid, gradinggrade, timegraded) FROM stdin;
\.


--
-- Data for Name: mdl_workshop_assessments; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_workshop_assessments (id, submissionid, reviewerid, weight, timecreated, timemodified, grade, gradinggrade, gradinggradeover, gradinggradeoverby, feedbackauthor, feedbackauthorformat, feedbackauthorattachment, feedbackreviewer, feedbackreviewerformat) FROM stdin;
\.


--
-- Data for Name: mdl_workshop_grades; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_workshop_grades (id, assessmentid, strategy, dimensionid, grade, peercomment, peercommentformat) FROM stdin;
\.


--
-- Data for Name: mdl_workshop_submissions; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_workshop_submissions (id, workshopid, example, authorid, timecreated, timemodified, title, content, contentformat, contenttrust, attachment, grade, gradeover, gradeoverby, feedbackauthor, feedbackauthorformat, timegraded, published, late) FROM stdin;
\.


--
-- Data for Name: mdl_workshopallocation_scheduled; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_workshopallocation_scheduled (id, workshopid, enabled, submissionend, timeallocated, settings, resultstatus, resultmessage, resultlog) FROM stdin;
\.


--
-- Data for Name: mdl_workshopeval_best_settings; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_workshopeval_best_settings (id, workshopid, comparison) FROM stdin;
\.


--
-- Data for Name: mdl_workshopform_accumulative; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_workshopform_accumulative (id, workshopid, sort, description, descriptionformat, grade, weight) FROM stdin;
\.


--
-- Data for Name: mdl_workshopform_comments; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_workshopform_comments (id, workshopid, sort, description, descriptionformat) FROM stdin;
\.


--
-- Data for Name: mdl_workshopform_numerrors; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_workshopform_numerrors (id, workshopid, sort, description, descriptionformat, descriptiontrust, grade0, grade1, weight) FROM stdin;
\.


--
-- Data for Name: mdl_workshopform_numerrors_map; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_workshopform_numerrors_map (id, workshopid, nonegative, grade) FROM stdin;
\.


--
-- Data for Name: mdl_workshopform_rubric; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_workshopform_rubric (id, workshopid, sort, description, descriptionformat) FROM stdin;
\.


--
-- Data for Name: mdl_workshopform_rubric_config; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_workshopform_rubric_config (id, workshopid, layout) FROM stdin;
\.


--
-- Data for Name: mdl_workshopform_rubric_levels; Type: TABLE DATA; Schema: public; Owner: moodle
--

COPY public.mdl_workshopform_rubric_levels (id, dimensionid, grade, definition, definitionformat) FROM stdin;
\.


--
-- Name: mdl_analytics_indicator_calc_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_analytics_indicator_calc_id_seq', 1, false);


--
-- Name: mdl_analytics_models_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_analytics_models_id_seq', 5, true);


--
-- Name: mdl_analytics_models_log_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_analytics_models_log_id_seq', 1, false);


--
-- Name: mdl_analytics_predict_samples_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_analytics_predict_samples_id_seq', 1, false);


--
-- Name: mdl_analytics_prediction_actions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_analytics_prediction_actions_id_seq', 1, false);


--
-- Name: mdl_analytics_predictions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_analytics_predictions_id_seq', 1, false);


--
-- Name: mdl_analytics_train_samples_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_analytics_train_samples_id_seq', 1, false);


--
-- Name: mdl_analytics_used_analysables_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_analytics_used_analysables_id_seq', 1, false);


--
-- Name: mdl_analytics_used_files_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_analytics_used_files_id_seq', 1, false);


--
-- Name: mdl_assign_grades_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_assign_grades_id_seq', 1, false);


--
-- Name: mdl_assign_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_assign_id_seq', 1, false);


--
-- Name: mdl_assign_overrides_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_assign_overrides_id_seq', 1, false);


--
-- Name: mdl_assign_plugin_config_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_assign_plugin_config_id_seq', 1, false);


--
-- Name: mdl_assign_submission_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_assign_submission_id_seq', 1, false);


--
-- Name: mdl_assign_user_flags_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_assign_user_flags_id_seq', 1, false);


--
-- Name: mdl_assign_user_mapping_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_assign_user_mapping_id_seq', 1, false);


--
-- Name: mdl_assignfeedback_comments_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_assignfeedback_comments_id_seq', 1, false);


--
-- Name: mdl_assignfeedback_editpdf_annot_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_assignfeedback_editpdf_annot_id_seq', 1, false);


--
-- Name: mdl_assignfeedback_editpdf_cmnt_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_assignfeedback_editpdf_cmnt_id_seq', 1, false);


--
-- Name: mdl_assignfeedback_editpdf_queue_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_assignfeedback_editpdf_queue_id_seq', 1, false);


--
-- Name: mdl_assignfeedback_editpdf_quick_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_assignfeedback_editpdf_quick_id_seq', 1, false);


--
-- Name: mdl_assignfeedback_editpdf_rot_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_assignfeedback_editpdf_rot_id_seq', 1, false);


--
-- Name: mdl_assignfeedback_file_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_assignfeedback_file_id_seq', 1, false);


--
-- Name: mdl_assignment_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_assignment_id_seq', 1, false);


--
-- Name: mdl_assignment_submissions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_assignment_submissions_id_seq', 1, false);


--
-- Name: mdl_assignment_upgrade_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_assignment_upgrade_id_seq', 1, false);


--
-- Name: mdl_assignsubmission_file_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_assignsubmission_file_id_seq', 1, false);


--
-- Name: mdl_assignsubmission_onlinetext_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_assignsubmission_onlinetext_id_seq', 1, false);


--
-- Name: mdl_auth_oauth2_linked_login_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_auth_oauth2_linked_login_id_seq', 1, false);


--
-- Name: mdl_auth_oidc_prevlogin_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_auth_oidc_prevlogin_id_seq', 1, false);


--
-- Name: mdl_auth_oidc_state_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_auth_oidc_state_id_seq', 1, false);


--
-- Name: mdl_auth_oidc_token_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_auth_oidc_token_id_seq', 1, false);


--
-- Name: mdl_auth_saml2_idps_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_auth_saml2_idps_id_seq', 1, false);


--
-- Name: mdl_auth_saml2_kvstore_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_auth_saml2_kvstore_id_seq', 1, false);


--
-- Name: mdl_backup_controllers_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_backup_controllers_id_seq', 1, false);


--
-- Name: mdl_backup_courses_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_backup_courses_id_seq', 1, false);


--
-- Name: mdl_backup_logs_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_backup_logs_id_seq', 1, false);


--
-- Name: mdl_badge_alignment_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_badge_alignment_id_seq', 1, false);


--
-- Name: mdl_badge_backpack_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_badge_backpack_id_seq', 1, false);


--
-- Name: mdl_badge_backpack_oauth2_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_badge_backpack_oauth2_id_seq', 1, false);


--
-- Name: mdl_badge_criteria_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_badge_criteria_id_seq', 1, false);


--
-- Name: mdl_badge_criteria_met_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_badge_criteria_met_id_seq', 1, false);


--
-- Name: mdl_badge_criteria_param_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_badge_criteria_param_id_seq', 1, false);


--
-- Name: mdl_badge_endorsement_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_badge_endorsement_id_seq', 1, false);


--
-- Name: mdl_badge_external_backpack_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_badge_external_backpack_id_seq', 1, true);


--
-- Name: mdl_badge_external_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_badge_external_id_seq', 1, false);


--
-- Name: mdl_badge_external_identifier_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_badge_external_identifier_id_seq', 1, false);


--
-- Name: mdl_badge_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_badge_id_seq', 1, false);


--
-- Name: mdl_badge_issued_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_badge_issued_id_seq', 1, false);


--
-- Name: mdl_badge_manual_award_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_badge_manual_award_id_seq', 1, false);


--
-- Name: mdl_badge_related_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_badge_related_id_seq', 1, false);


--
-- Name: mdl_bigbluebuttonbn_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_bigbluebuttonbn_id_seq', 1, false);


--
-- Name: mdl_bigbluebuttonbn_logs_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_bigbluebuttonbn_logs_id_seq', 1, false);


--
-- Name: mdl_block_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_block_id_seq', 43, true);


--
-- Name: mdl_block_instances_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_block_instances_id_seq', 10, true);


--
-- Name: mdl_block_positions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_block_positions_id_seq', 1, false);


--
-- Name: mdl_block_recent_activity_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_block_recent_activity_id_seq', 1, false);


--
-- Name: mdl_block_recentlyaccesseditems_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_block_recentlyaccesseditems_id_seq', 1, false);


--
-- Name: mdl_block_rss_client_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_block_rss_client_id_seq', 1, false);


--
-- Name: mdl_blog_association_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_blog_association_id_seq', 1, false);


--
-- Name: mdl_blog_external_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_blog_external_id_seq', 1, false);


--
-- Name: mdl_book_chapters_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_book_chapters_id_seq', 1, false);


--
-- Name: mdl_book_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_book_id_seq', 1, false);


--
-- Name: mdl_cache_filters_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_cache_filters_id_seq', 1, false);


--
-- Name: mdl_cache_flags_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_cache_flags_id_seq', 1, false);


--
-- Name: mdl_capabilities_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_capabilities_id_seq', 698, true);


--
-- Name: mdl_chat_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_chat_id_seq', 1, false);


--
-- Name: mdl_chat_messages_current_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_chat_messages_current_id_seq', 1, false);


--
-- Name: mdl_chat_messages_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_chat_messages_id_seq', 1, false);


--
-- Name: mdl_chat_users_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_chat_users_id_seq', 1, false);


--
-- Name: mdl_choice_answers_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_choice_answers_id_seq', 1, false);


--
-- Name: mdl_choice_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_choice_id_seq', 1, false);


--
-- Name: mdl_choice_options_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_choice_options_id_seq', 1, false);


--
-- Name: mdl_cohort_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_cohort_id_seq', 1, false);


--
-- Name: mdl_cohort_members_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_cohort_members_id_seq', 1, false);


--
-- Name: mdl_comments_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_comments_id_seq', 1, false);


--
-- Name: mdl_competency_coursecomp_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_competency_coursecomp_id_seq', 1, false);


--
-- Name: mdl_competency_coursecompsetting_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_competency_coursecompsetting_id_seq', 1, false);


--
-- Name: mdl_competency_evidence_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_competency_evidence_id_seq', 1, false);


--
-- Name: mdl_competency_framework_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_competency_framework_id_seq', 1, false);


--
-- Name: mdl_competency_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_competency_id_seq', 1, false);


--
-- Name: mdl_competency_modulecomp_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_competency_modulecomp_id_seq', 1, false);


--
-- Name: mdl_competency_plan_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_competency_plan_id_seq', 1, false);


--
-- Name: mdl_competency_plancomp_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_competency_plancomp_id_seq', 1, false);


--
-- Name: mdl_competency_relatedcomp_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_competency_relatedcomp_id_seq', 1, false);


--
-- Name: mdl_competency_template_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_competency_template_id_seq', 1, false);


--
-- Name: mdl_competency_templatecohort_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_competency_templatecohort_id_seq', 1, false);


--
-- Name: mdl_competency_templatecomp_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_competency_templatecomp_id_seq', 1, false);


--
-- Name: mdl_competency_usercomp_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_competency_usercomp_id_seq', 1, false);


--
-- Name: mdl_competency_usercompcourse_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_competency_usercompcourse_id_seq', 1, false);


--
-- Name: mdl_competency_usercompplan_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_competency_usercompplan_id_seq', 1, false);


--
-- Name: mdl_competency_userevidence_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_competency_userevidence_id_seq', 1, false);


--
-- Name: mdl_competency_userevidencecomp_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_competency_userevidencecomp_id_seq', 1, false);


--
-- Name: mdl_config_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_config_id_seq', 588, true);


--
-- Name: mdl_config_log_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_config_log_id_seq', 1827, true);


--
-- Name: mdl_config_plugins_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_config_plugins_id_seq', 2042, true);


--
-- Name: mdl_contentbank_content_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_contentbank_content_id_seq', 1, false);


--
-- Name: mdl_context_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_context_id_seq', 15, true);


--
-- Name: mdl_course_categories_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_course_categories_id_seq', 1, true);


--
-- Name: mdl_course_completion_aggr_methd_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_course_completion_aggr_methd_id_seq', 1, false);


--
-- Name: mdl_course_completion_crit_compl_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_course_completion_crit_compl_id_seq', 1, false);


--
-- Name: mdl_course_completion_criteria_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_course_completion_criteria_id_seq', 1, false);


--
-- Name: mdl_course_completion_defaults_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_course_completion_defaults_id_seq', 1, false);


--
-- Name: mdl_course_completions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_course_completions_id_seq', 1, false);


--
-- Name: mdl_course_format_options_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_course_format_options_id_seq', 1, true);


--
-- Name: mdl_course_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_course_id_seq', 2, false);


--
-- Name: mdl_course_modules_completion_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_course_modules_completion_id_seq', 1, false);


--
-- Name: mdl_course_modules_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_course_modules_id_seq', 1, false);


--
-- Name: mdl_course_published_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_course_published_id_seq', 1, false);


--
-- Name: mdl_course_request_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_course_request_id_seq', 1, false);


--
-- Name: mdl_course_sections_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_course_sections_id_seq', 1, false);


--
-- Name: mdl_customfield_category_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_customfield_category_id_seq', 1, false);


--
-- Name: mdl_customfield_data_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_customfield_data_id_seq', 1, false);


--
-- Name: mdl_customfield_field_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_customfield_field_id_seq', 1, false);


--
-- Name: mdl_data_content_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_data_content_id_seq', 1, false);


--
-- Name: mdl_data_fields_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_data_fields_id_seq', 1, false);


--
-- Name: mdl_data_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_data_id_seq', 1, false);


--
-- Name: mdl_data_records_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_data_records_id_seq', 1, false);


--
-- Name: mdl_editor_atto_autosave_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_editor_atto_autosave_id_seq', 1, false);


--
-- Name: mdl_enrol_flatfile_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_enrol_flatfile_id_seq', 1, false);


--
-- Name: mdl_enrol_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_enrol_id_seq', 1, false);


--
-- Name: mdl_enrol_lti_lti2_consumer_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_enrol_lti_lti2_consumer_id_seq', 1, false);


--
-- Name: mdl_enrol_lti_lti2_context_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_enrol_lti_lti2_context_id_seq', 1, false);


--
-- Name: mdl_enrol_lti_lti2_nonce_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_enrol_lti_lti2_nonce_id_seq', 1, false);


--
-- Name: mdl_enrol_lti_lti2_resource_link_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_enrol_lti_lti2_resource_link_id_seq', 1, false);


--
-- Name: mdl_enrol_lti_lti2_share_key_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_enrol_lti_lti2_share_key_id_seq', 1, false);


--
-- Name: mdl_enrol_lti_lti2_tool_proxy_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_enrol_lti_lti2_tool_proxy_id_seq', 1, false);


--
-- Name: mdl_enrol_lti_lti2_user_result_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_enrol_lti_lti2_user_result_id_seq', 1, false);


--
-- Name: mdl_enrol_lti_tool_consumer_map_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_enrol_lti_tool_consumer_map_id_seq', 1, false);


--
-- Name: mdl_enrol_lti_tools_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_enrol_lti_tools_id_seq', 1, false);


--
-- Name: mdl_enrol_lti_users_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_enrol_lti_users_id_seq', 1, false);


--
-- Name: mdl_enrol_paypal_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_enrol_paypal_id_seq', 1, false);


--
-- Name: mdl_event_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_event_id_seq', 1, false);


--
-- Name: mdl_event_subscriptions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_event_subscriptions_id_seq', 1, false);


--
-- Name: mdl_events_handlers_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_events_handlers_id_seq', 1, false);


--
-- Name: mdl_events_queue_handlers_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_events_queue_handlers_id_seq', 1, false);


--
-- Name: mdl_events_queue_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_events_queue_id_seq', 1, false);


--
-- Name: mdl_external_functions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_external_functions_id_seq', 610, true);


--
-- Name: mdl_external_services_functions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_external_services_functions_id_seq', 374, true);


--
-- Name: mdl_external_services_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_external_services_id_seq', 1, true);


--
-- Name: mdl_external_services_users_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_external_services_users_id_seq', 1, false);


--
-- Name: mdl_external_tokens_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_external_tokens_id_seq', 1, false);


--
-- Name: mdl_favourite_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_favourite_id_seq', 1, false);


--
-- Name: mdl_feedback_completed_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_feedback_completed_id_seq', 1, false);


--
-- Name: mdl_feedback_completedtmp_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_feedback_completedtmp_id_seq', 1, false);


--
-- Name: mdl_feedback_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_feedback_id_seq', 1, false);


--
-- Name: mdl_feedback_item_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_feedback_item_id_seq', 1, false);


--
-- Name: mdl_feedback_sitecourse_map_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_feedback_sitecourse_map_id_seq', 1, false);


--
-- Name: mdl_feedback_template_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_feedback_template_id_seq', 1, false);


--
-- Name: mdl_feedback_value_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_feedback_value_id_seq', 1, false);


--
-- Name: mdl_feedback_valuetmp_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_feedback_valuetmp_id_seq', 1, false);


--
-- Name: mdl_file_conversion_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_file_conversion_id_seq', 1, false);


--
-- Name: mdl_files_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_files_id_seq', 5, true);


--
-- Name: mdl_files_reference_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_files_reference_id_seq', 1, false);


--
-- Name: mdl_filter_active_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_filter_active_id_seq', 6, true);


--
-- Name: mdl_filter_config_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_filter_config_id_seq', 1, false);


--
-- Name: mdl_folder_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_folder_id_seq', 1, false);


--
-- Name: mdl_forum_digests_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_forum_digests_id_seq', 1, false);


--
-- Name: mdl_forum_discussion_subs_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_forum_discussion_subs_id_seq', 1, false);


--
-- Name: mdl_forum_discussions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_forum_discussions_id_seq', 1, false);


--
-- Name: mdl_forum_grades_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_forum_grades_id_seq', 1, false);


--
-- Name: mdl_forum_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_forum_id_seq', 1, false);


--
-- Name: mdl_forum_posts_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_forum_posts_id_seq', 1, false);


--
-- Name: mdl_forum_queue_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_forum_queue_id_seq', 1, false);


--
-- Name: mdl_forum_read_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_forum_read_id_seq', 1, false);


--
-- Name: mdl_forum_subscriptions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_forum_subscriptions_id_seq', 1, false);


--
-- Name: mdl_forum_track_prefs_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_forum_track_prefs_id_seq', 1, false);


--
-- Name: mdl_glossary_alias_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_glossary_alias_id_seq', 1, false);


--
-- Name: mdl_glossary_categories_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_glossary_categories_id_seq', 1, false);


--
-- Name: mdl_glossary_entries_categories_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_glossary_entries_categories_id_seq', 1, false);


--
-- Name: mdl_glossary_entries_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_glossary_entries_id_seq', 1, false);


--
-- Name: mdl_glossary_formats_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_glossary_formats_id_seq', 7, true);


--
-- Name: mdl_glossary_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_glossary_id_seq', 1, false);


--
-- Name: mdl_grade_categories_history_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_grade_categories_history_id_seq', 1, false);


--
-- Name: mdl_grade_categories_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_grade_categories_id_seq', 1, false);


--
-- Name: mdl_grade_grades_history_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_grade_grades_history_id_seq', 1, false);


--
-- Name: mdl_grade_grades_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_grade_grades_id_seq', 1, false);


--
-- Name: mdl_grade_import_newitem_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_grade_import_newitem_id_seq', 1, false);


--
-- Name: mdl_grade_import_values_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_grade_import_values_id_seq', 1, false);


--
-- Name: mdl_grade_items_history_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_grade_items_history_id_seq', 1, false);


--
-- Name: mdl_grade_items_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_grade_items_id_seq', 1, false);


--
-- Name: mdl_grade_letters_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_grade_letters_id_seq', 1, false);


--
-- Name: mdl_grade_outcomes_courses_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_grade_outcomes_courses_id_seq', 1, false);


--
-- Name: mdl_grade_outcomes_history_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_grade_outcomes_history_id_seq', 1, false);


--
-- Name: mdl_grade_outcomes_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_grade_outcomes_id_seq', 1, false);


--
-- Name: mdl_grade_settings_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_grade_settings_id_seq', 1, false);


--
-- Name: mdl_grading_areas_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_grading_areas_id_seq', 1, false);


--
-- Name: mdl_grading_definitions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_grading_definitions_id_seq', 1, false);


--
-- Name: mdl_grading_instances_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_grading_instances_id_seq', 1, false);


--
-- Name: mdl_gradingform_guide_comments_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_gradingform_guide_comments_id_seq', 1, false);


--
-- Name: mdl_gradingform_guide_criteria_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_gradingform_guide_criteria_id_seq', 1, false);


--
-- Name: mdl_gradingform_guide_fillings_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_gradingform_guide_fillings_id_seq', 1, false);


--
-- Name: mdl_gradingform_rubric_criteria_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_gradingform_rubric_criteria_id_seq', 1, false);


--
-- Name: mdl_gradingform_rubric_fillings_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_gradingform_rubric_fillings_id_seq', 1, false);


--
-- Name: mdl_gradingform_rubric_levels_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_gradingform_rubric_levels_id_seq', 1, false);


--
-- Name: mdl_groupings_groups_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_groupings_groups_id_seq', 1, false);


--
-- Name: mdl_groupings_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_groupings_id_seq', 1, false);


--
-- Name: mdl_groups_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_groups_id_seq', 1, false);


--
-- Name: mdl_groups_members_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_groups_members_id_seq', 1, false);


--
-- Name: mdl_h5p_contents_libraries_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_h5p_contents_libraries_id_seq', 1, false);


--
-- Name: mdl_h5p_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_h5p_id_seq', 1, false);


--
-- Name: mdl_h5p_libraries_cachedassets_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_h5p_libraries_cachedassets_id_seq', 1, false);


--
-- Name: mdl_h5p_libraries_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_h5p_libraries_id_seq', 1, false);


--
-- Name: mdl_h5p_library_dependencies_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_h5p_library_dependencies_id_seq', 1, false);


--
-- Name: mdl_h5pactivity_attempts_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_h5pactivity_attempts_id_seq', 1, false);


--
-- Name: mdl_h5pactivity_attempts_results_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_h5pactivity_attempts_results_id_seq', 1, false);


--
-- Name: mdl_h5pactivity_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_h5pactivity_id_seq', 1, false);


--
-- Name: mdl_imscp_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_imscp_id_seq', 1, false);


--
-- Name: mdl_infected_files_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_infected_files_id_seq', 1, false);


--
-- Name: mdl_jitsi_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_jitsi_id_seq', 1, false);


--
-- Name: mdl_label_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_label_id_seq', 1, false);


--
-- Name: mdl_lesson_answers_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_lesson_answers_id_seq', 1, false);


--
-- Name: mdl_lesson_attempts_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_lesson_attempts_id_seq', 1, false);


--
-- Name: mdl_lesson_branch_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_lesson_branch_id_seq', 1, false);


--
-- Name: mdl_lesson_grades_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_lesson_grades_id_seq', 1, false);


--
-- Name: mdl_lesson_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_lesson_id_seq', 1, false);


--
-- Name: mdl_lesson_overrides_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_lesson_overrides_id_seq', 1, false);


--
-- Name: mdl_lesson_pages_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_lesson_pages_id_seq', 1, false);


--
-- Name: mdl_lesson_timer_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_lesson_timer_id_seq', 1, false);


--
-- Name: mdl_license_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_license_id_seq', 9, true);


--
-- Name: mdl_lock_db_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_lock_db_id_seq', 1, false);


--
-- Name: mdl_log_display_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_log_display_id_seq', 200, true);


--
-- Name: mdl_log_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_log_id_seq', 1, false);


--
-- Name: mdl_log_queries_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_log_queries_id_seq', 1, false);


--
-- Name: mdl_logstore_standard_log_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_logstore_standard_log_id_seq', 9, true);


--
-- Name: mdl_lti_access_tokens_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_lti_access_tokens_id_seq', 1, false);


--
-- Name: mdl_lti_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_lti_id_seq', 1, false);


--
-- Name: mdl_lti_submission_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_lti_submission_id_seq', 1, false);


--
-- Name: mdl_lti_tool_proxies_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_lti_tool_proxies_id_seq', 1, false);


--
-- Name: mdl_lti_tool_settings_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_lti_tool_settings_id_seq', 1, false);


--
-- Name: mdl_lti_types_config_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_lti_types_config_id_seq', 1, false);


--
-- Name: mdl_lti_types_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_lti_types_id_seq', 1, false);


--
-- Name: mdl_ltiservice_gradebookservices_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_ltiservice_gradebookservices_id_seq', 1, false);


--
-- Name: mdl_message_airnotifier_devices_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_message_airnotifier_devices_id_seq', 1, false);


--
-- Name: mdl_message_contact_requests_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_message_contact_requests_id_seq', 1, false);


--
-- Name: mdl_message_contacts_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_message_contacts_id_seq', 1, false);


--
-- Name: mdl_message_conversation_actions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_message_conversation_actions_id_seq', 1, false);


--
-- Name: mdl_message_conversation_members_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_message_conversation_members_id_seq', 1, false);


--
-- Name: mdl_message_conversations_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_message_conversations_id_seq', 1, false);


--
-- Name: mdl_message_email_messages_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_message_email_messages_id_seq', 1, false);


--
-- Name: mdl_message_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_message_id_seq', 1, false);


--
-- Name: mdl_message_popup_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_message_popup_id_seq', 1, false);


--
-- Name: mdl_message_popup_notifications_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_message_popup_notifications_id_seq', 1, false);


--
-- Name: mdl_message_processors_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_message_processors_id_seq', 4, true);


--
-- Name: mdl_message_providers_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_message_providers_id_seq', 40, true);


--
-- Name: mdl_message_read_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_message_read_id_seq', 1, false);


--
-- Name: mdl_message_user_actions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_message_user_actions_id_seq', 1, false);


--
-- Name: mdl_message_users_blocked_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_message_users_blocked_id_seq', 1, false);


--
-- Name: mdl_messageinbound_datakeys_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_messageinbound_datakeys_id_seq', 1, false);


--
-- Name: mdl_messageinbound_handlers_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_messageinbound_handlers_id_seq', 3, true);


--
-- Name: mdl_messageinbound_messagelist_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_messageinbound_messagelist_id_seq', 1, false);


--
-- Name: mdl_messages_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_messages_id_seq', 1, false);


--
-- Name: mdl_mnet_application_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_mnet_application_id_seq', 2, true);


--
-- Name: mdl_mnet_host2service_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_mnet_host2service_id_seq', 1, false);


--
-- Name: mdl_mnet_host_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_mnet_host_id_seq', 2, true);


--
-- Name: mdl_mnet_log_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_mnet_log_id_seq', 1, false);


--
-- Name: mdl_mnet_remote_rpc_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_mnet_remote_rpc_id_seq', 16, true);


--
-- Name: mdl_mnet_remote_service2rpc_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_mnet_remote_service2rpc_id_seq', 16, true);


--
-- Name: mdl_mnet_rpc_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_mnet_rpc_id_seq', 15, true);


--
-- Name: mdl_mnet_service2rpc_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_mnet_service2rpc_id_seq', 15, true);


--
-- Name: mdl_mnet_service_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_mnet_service_id_seq', 4, true);


--
-- Name: mdl_mnet_session_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_mnet_session_id_seq', 1, false);


--
-- Name: mdl_mnet_sso_access_control_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_mnet_sso_access_control_id_seq', 1, false);


--
-- Name: mdl_mnetservice_enrol_courses_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_mnetservice_enrol_courses_id_seq', 1, false);


--
-- Name: mdl_mnetservice_enrol_enrolments_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_mnetservice_enrol_enrolments_id_seq', 1, false);


--
-- Name: mdl_modules_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_modules_id_seq', 25, true);


--
-- Name: mdl_my_pages_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_my_pages_id_seq', 2, true);


--
-- Name: mdl_notifications_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_notifications_id_seq', 1, false);


--
-- Name: mdl_oauth2_access_token_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_oauth2_access_token_id_seq', 1, false);


--
-- Name: mdl_oauth2_endpoint_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_oauth2_endpoint_id_seq', 1, false);


--
-- Name: mdl_oauth2_issuer_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_oauth2_issuer_id_seq', 1, false);


--
-- Name: mdl_oauth2_refresh_token_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_oauth2_refresh_token_id_seq', 1, false);


--
-- Name: mdl_oauth2_system_account_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_oauth2_system_account_id_seq', 1, false);


--
-- Name: mdl_oauth2_user_field_mapping_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_oauth2_user_field_mapping_id_seq', 1, false);


--
-- Name: mdl_page_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_page_id_seq', 1, false);


--
-- Name: mdl_paygw_paypal_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_paygw_paypal_id_seq', 1, false);


--
-- Name: mdl_payment_accounts_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_payment_accounts_id_seq', 1, false);


--
-- Name: mdl_payment_gateways_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_payment_gateways_id_seq', 1, false);


--
-- Name: mdl_payments_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_payments_id_seq', 1, false);


--
-- Name: mdl_portfolio_instance_config_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_portfolio_instance_config_id_seq', 1, false);


--
-- Name: mdl_portfolio_instance_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_portfolio_instance_id_seq', 1, false);


--
-- Name: mdl_portfolio_instance_user_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_portfolio_instance_user_id_seq', 1, false);


--
-- Name: mdl_portfolio_log_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_portfolio_log_id_seq', 1, false);


--
-- Name: mdl_portfolio_mahara_queue_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_portfolio_mahara_queue_id_seq', 1, false);


--
-- Name: mdl_portfolio_tempdata_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_portfolio_tempdata_id_seq', 1, false);


--
-- Name: mdl_post_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_post_id_seq', 1, false);


--
-- Name: mdl_profiling_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_profiling_id_seq', 1, false);


--
-- Name: mdl_qtype_ddimageortext_drags_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_qtype_ddimageortext_drags_id_seq', 1, false);


--
-- Name: mdl_qtype_ddimageortext_drops_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_qtype_ddimageortext_drops_id_seq', 1, false);


--
-- Name: mdl_qtype_ddimageortext_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_qtype_ddimageortext_id_seq', 1, false);


--
-- Name: mdl_qtype_ddmarker_drags_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_qtype_ddmarker_drags_id_seq', 1, false);


--
-- Name: mdl_qtype_ddmarker_drops_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_qtype_ddmarker_drops_id_seq', 1, false);


--
-- Name: mdl_qtype_ddmarker_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_qtype_ddmarker_id_seq', 1, false);


--
-- Name: mdl_qtype_essay_options_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_qtype_essay_options_id_seq', 1, false);


--
-- Name: mdl_qtype_match_options_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_qtype_match_options_id_seq', 1, false);


--
-- Name: mdl_qtype_match_subquestions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_qtype_match_subquestions_id_seq', 1, false);


--
-- Name: mdl_qtype_multichoice_options_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_qtype_multichoice_options_id_seq', 1, false);


--
-- Name: mdl_qtype_randomsamatch_options_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_qtype_randomsamatch_options_id_seq', 1, false);


--
-- Name: mdl_qtype_shortanswer_options_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_qtype_shortanswer_options_id_seq', 1, false);


--
-- Name: mdl_question_answers_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_question_answers_id_seq', 1, false);


--
-- Name: mdl_question_attempt_step_data_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_question_attempt_step_data_id_seq', 1, false);


--
-- Name: mdl_question_attempt_steps_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_question_attempt_steps_id_seq', 1, false);


--
-- Name: mdl_question_attempts_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_question_attempts_id_seq', 1, false);


--
-- Name: mdl_question_calculated_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_question_calculated_id_seq', 1, false);


--
-- Name: mdl_question_calculated_options_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_question_calculated_options_id_seq', 1, false);


--
-- Name: mdl_question_categories_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_question_categories_id_seq', 1, false);


--
-- Name: mdl_question_dataset_definitions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_question_dataset_definitions_id_seq', 1, false);


--
-- Name: mdl_question_dataset_items_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_question_dataset_items_id_seq', 1, false);


--
-- Name: mdl_question_datasets_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_question_datasets_id_seq', 1, false);


--
-- Name: mdl_question_ddwtos_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_question_ddwtos_id_seq', 1, false);


--
-- Name: mdl_question_gapselect_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_question_gapselect_id_seq', 1, false);


--
-- Name: mdl_question_hints_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_question_hints_id_seq', 1, false);


--
-- Name: mdl_question_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_question_id_seq', 1, false);


--
-- Name: mdl_question_multianswer_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_question_multianswer_id_seq', 1, false);


--
-- Name: mdl_question_numerical_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_question_numerical_id_seq', 1, false);


--
-- Name: mdl_question_numerical_options_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_question_numerical_options_id_seq', 1, false);


--
-- Name: mdl_question_numerical_units_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_question_numerical_units_id_seq', 1, false);


--
-- Name: mdl_question_response_analysis_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_question_response_analysis_id_seq', 1, false);


--
-- Name: mdl_question_response_count_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_question_response_count_id_seq', 1, false);


--
-- Name: mdl_question_statistics_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_question_statistics_id_seq', 1, false);


--
-- Name: mdl_question_truefalse_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_question_truefalse_id_seq', 1, false);


--
-- Name: mdl_question_usages_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_question_usages_id_seq', 1, false);


--
-- Name: mdl_quiz_attempts_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_quiz_attempts_id_seq', 1, false);


--
-- Name: mdl_quiz_feedback_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_quiz_feedback_id_seq', 1, false);


--
-- Name: mdl_quiz_grades_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_quiz_grades_id_seq', 1, false);


--
-- Name: mdl_quiz_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_quiz_id_seq', 1, false);


--
-- Name: mdl_quiz_overrides_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_quiz_overrides_id_seq', 1, false);


--
-- Name: mdl_quiz_overview_regrades_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_quiz_overview_regrades_id_seq', 1, false);


--
-- Name: mdl_quiz_reports_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_quiz_reports_id_seq', 4, true);


--
-- Name: mdl_quiz_sections_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_quiz_sections_id_seq', 1, false);


--
-- Name: mdl_quiz_slot_tags_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_quiz_slot_tags_id_seq', 1, false);


--
-- Name: mdl_quiz_slots_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_quiz_slots_id_seq', 1, false);


--
-- Name: mdl_quiz_statistics_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_quiz_statistics_id_seq', 1, false);


--
-- Name: mdl_quizaccess_seb_quizsettings_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_quizaccess_seb_quizsettings_id_seq', 1, false);


--
-- Name: mdl_quizaccess_seb_template_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_quizaccess_seb_template_id_seq', 1, false);


--
-- Name: mdl_rating_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_rating_id_seq', 1, false);


--
-- Name: mdl_registration_hubs_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_registration_hubs_id_seq', 1, false);


--
-- Name: mdl_repository_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_repository_id_seq', 8, true);


--
-- Name: mdl_repository_instance_config_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_repository_instance_config_id_seq', 1, false);


--
-- Name: mdl_repository_instances_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_repository_instances_id_seq', 8, true);


--
-- Name: mdl_repository_onedrive_access_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_repository_onedrive_access_id_seq', 1, false);


--
-- Name: mdl_resource_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_resource_id_seq', 1, false);


--
-- Name: mdl_resource_old_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_resource_old_id_seq', 1, false);


--
-- Name: mdl_role_allow_assign_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_role_allow_assign_id_seq', 7, true);


--
-- Name: mdl_role_allow_override_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_role_allow_override_id_seq', 11, true);


--
-- Name: mdl_role_allow_switch_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_role_allow_switch_id_seq', 9, true);


--
-- Name: mdl_role_allow_view_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_role_allow_view_id_seq', 24, true);


--
-- Name: mdl_role_assignments_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_role_assignments_id_seq', 1, false);


--
-- Name: mdl_role_capabilities_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_role_capabilities_id_seq', 1461, true);


--
-- Name: mdl_role_context_levels_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_role_context_levels_id_seq', 11, true);


--
-- Name: mdl_role_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_role_id_seq', 8, true);


--
-- Name: mdl_role_names_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_role_names_id_seq', 1, false);


--
-- Name: mdl_scale_history_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_scale_history_id_seq', 1, false);


--
-- Name: mdl_scale_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_scale_id_seq', 2, true);


--
-- Name: mdl_scorm_aicc_session_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_scorm_aicc_session_id_seq', 1, false);


--
-- Name: mdl_scorm_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_scorm_id_seq', 1, false);


--
-- Name: mdl_scorm_scoes_data_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_scorm_scoes_data_id_seq', 1, false);


--
-- Name: mdl_scorm_scoes_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_scorm_scoes_id_seq', 1, false);


--
-- Name: mdl_scorm_scoes_track_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_scorm_scoes_track_id_seq', 1, false);


--
-- Name: mdl_scorm_seq_mapinfo_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_scorm_seq_mapinfo_id_seq', 1, false);


--
-- Name: mdl_scorm_seq_objective_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_scorm_seq_objective_id_seq', 1, false);


--
-- Name: mdl_scorm_seq_rolluprule_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_scorm_seq_rolluprule_id_seq', 1, false);


--
-- Name: mdl_scorm_seq_rolluprulecond_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_scorm_seq_rolluprulecond_id_seq', 1, false);


--
-- Name: mdl_scorm_seq_rulecond_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_scorm_seq_rulecond_id_seq', 1, false);


--
-- Name: mdl_scorm_seq_ruleconds_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_scorm_seq_ruleconds_id_seq', 1, false);


--
-- Name: mdl_search_index_requests_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_search_index_requests_id_seq', 1, false);


--
-- Name: mdl_search_simpledb_index_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_search_simpledb_index_id_seq', 1, false);


--
-- Name: mdl_sessions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_sessions_id_seq', 1, false);


--
-- Name: mdl_stats_daily_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_stats_daily_id_seq', 1, false);


--
-- Name: mdl_stats_monthly_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_stats_monthly_id_seq', 1, false);


--
-- Name: mdl_stats_user_daily_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_stats_user_daily_id_seq', 1, false);


--
-- Name: mdl_stats_user_monthly_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_stats_user_monthly_id_seq', 1, false);


--
-- Name: mdl_stats_user_weekly_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_stats_user_weekly_id_seq', 1, false);


--
-- Name: mdl_stats_weekly_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_stats_weekly_id_seq', 1, false);


--
-- Name: mdl_survey_analysis_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_survey_analysis_id_seq', 1, false);


--
-- Name: mdl_survey_answers_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_survey_answers_id_seq', 1, false);


--
-- Name: mdl_survey_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_survey_id_seq', 5, true);


--
-- Name: mdl_survey_questions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_survey_questions_id_seq', 73, true);


--
-- Name: mdl_tag_area_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_tag_area_id_seq', 11, true);


--
-- Name: mdl_tag_coll_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_tag_coll_id_seq', 1, true);


--
-- Name: mdl_tag_correlation_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_tag_correlation_id_seq', 1, false);


--
-- Name: mdl_tag_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_tag_id_seq', 1, false);


--
-- Name: mdl_tag_instance_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_tag_instance_id_seq', 1, false);


--
-- Name: mdl_task_adhoc_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_task_adhoc_id_seq', 1, true);


--
-- Name: mdl_task_log_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_task_log_id_seq', 336, true);


--
-- Name: mdl_task_scheduled_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_task_scheduled_id_seq', 100, true);


--
-- Name: mdl_tool_cohortroles_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_tool_cohortroles_id_seq', 1, false);


--
-- Name: mdl_tool_customlang_components_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_tool_customlang_components_id_seq', 1, false);


--
-- Name: mdl_tool_customlang_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_tool_customlang_id_seq', 1, false);


--
-- Name: mdl_tool_dataprivacy_category_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_tool_dataprivacy_category_id_seq', 1, false);


--
-- Name: mdl_tool_dataprivacy_ctxexpired_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_tool_dataprivacy_ctxexpired_id_seq', 1, false);


--
-- Name: mdl_tool_dataprivacy_ctxinstance_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_tool_dataprivacy_ctxinstance_id_seq', 1, false);


--
-- Name: mdl_tool_dataprivacy_ctxlevel_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_tool_dataprivacy_ctxlevel_id_seq', 1, false);


--
-- Name: mdl_tool_dataprivacy_purpose_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_tool_dataprivacy_purpose_id_seq', 1, false);


--
-- Name: mdl_tool_dataprivacy_purposerole_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_tool_dataprivacy_purposerole_id_seq', 1, false);


--
-- Name: mdl_tool_dataprivacy_request_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_tool_dataprivacy_request_id_seq', 1, false);


--
-- Name: mdl_tool_monitor_events_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_tool_monitor_events_id_seq', 1, false);


--
-- Name: mdl_tool_monitor_history_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_tool_monitor_history_id_seq', 1, false);


--
-- Name: mdl_tool_monitor_rules_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_tool_monitor_rules_id_seq', 1, false);


--
-- Name: mdl_tool_monitor_subscriptions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_tool_monitor_subscriptions_id_seq', 1, false);


--
-- Name: mdl_tool_policy_acceptances_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_tool_policy_acceptances_id_seq', 1, false);


--
-- Name: mdl_tool_policy_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_tool_policy_id_seq', 1, false);


--
-- Name: mdl_tool_policy_versions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_tool_policy_versions_id_seq', 1, false);


--
-- Name: mdl_tool_recyclebin_category_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_tool_recyclebin_category_id_seq', 1, false);


--
-- Name: mdl_tool_recyclebin_course_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_tool_recyclebin_course_id_seq', 1, false);


--
-- Name: mdl_tool_usertours_steps_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_tool_usertours_steps_id_seq', 1, false);


--
-- Name: mdl_tool_usertours_tours_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_tool_usertours_tours_id_seq', 1, false);


--
-- Name: mdl_upgrade_log_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_upgrade_log_id_seq', 1256, true);


--
-- Name: mdl_url_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_url_id_seq', 1, false);


--
-- Name: mdl_user_devices_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_user_devices_id_seq', 1, false);


--
-- Name: mdl_user_enrolments_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_user_enrolments_id_seq', 1, false);


--
-- Name: mdl_user_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_user_id_seq', 2, true);


--
-- Name: mdl_user_info_category_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_user_info_category_id_seq', 1, false);


--
-- Name: mdl_user_info_data_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_user_info_data_id_seq', 1, false);


--
-- Name: mdl_user_info_field_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_user_info_field_id_seq', 1, false);


--
-- Name: mdl_user_lastaccess_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_user_lastaccess_id_seq', 1, false);


--
-- Name: mdl_user_password_history_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_user_password_history_id_seq', 1, false);


--
-- Name: mdl_user_password_resets_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_user_password_resets_id_seq', 1, false);


--
-- Name: mdl_user_preferences_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_user_preferences_id_seq', 1, false);


--
-- Name: mdl_user_private_key_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_user_private_key_id_seq', 1, false);


--
-- Name: mdl_wiki_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_wiki_id_seq', 1, false);


--
-- Name: mdl_wiki_links_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_wiki_links_id_seq', 1, false);


--
-- Name: mdl_wiki_locks_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_wiki_locks_id_seq', 1, false);


--
-- Name: mdl_wiki_pages_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_wiki_pages_id_seq', 1, false);


--
-- Name: mdl_wiki_subwikis_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_wiki_subwikis_id_seq', 1, false);


--
-- Name: mdl_wiki_synonyms_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_wiki_synonyms_id_seq', 1, false);


--
-- Name: mdl_wiki_versions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_wiki_versions_id_seq', 1, false);


--
-- Name: mdl_workshop_aggregations_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_workshop_aggregations_id_seq', 1, false);


--
-- Name: mdl_workshop_assessments_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_workshop_assessments_id_seq', 1, false);


--
-- Name: mdl_workshop_grades_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_workshop_grades_id_seq', 1, false);


--
-- Name: mdl_workshop_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_workshop_id_seq', 1, false);


--
-- Name: mdl_workshop_submissions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_workshop_submissions_id_seq', 1, false);


--
-- Name: mdl_workshopallocation_scheduled_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_workshopallocation_scheduled_id_seq', 1, false);


--
-- Name: mdl_workshopeval_best_settings_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_workshopeval_best_settings_id_seq', 1, false);


--
-- Name: mdl_workshopform_accumulative_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_workshopform_accumulative_id_seq', 1, false);


--
-- Name: mdl_workshopform_comments_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_workshopform_comments_id_seq', 1, false);


--
-- Name: mdl_workshopform_numerrors_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_workshopform_numerrors_id_seq', 1, false);


--
-- Name: mdl_workshopform_numerrors_map_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_workshopform_numerrors_map_id_seq', 1, false);


--
-- Name: mdl_workshopform_rubric_config_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_workshopform_rubric_config_id_seq', 1, false);


--
-- Name: mdl_workshopform_rubric_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_workshopform_rubric_id_seq', 1, false);


--
-- Name: mdl_workshopform_rubric_levels_id_seq; Type: SEQUENCE SET; Schema: public; Owner: moodle
--

SELECT pg_catalog.setval('public.mdl_workshopform_rubric_levels_id_seq', 1, false);


--
-- Name: mdl_analytics_indicator_calc mdl_analindicalc_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_analytics_indicator_calc
    ADD CONSTRAINT mdl_analindicalc_id_pk PRIMARY KEY (id);


--
-- Name: mdl_analytics_models mdl_analmode_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_analytics_models
    ADD CONSTRAINT mdl_analmode_id_pk PRIMARY KEY (id);


--
-- Name: mdl_analytics_models_log mdl_analmodelog_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_analytics_models_log
    ADD CONSTRAINT mdl_analmodelog_id_pk PRIMARY KEY (id);


--
-- Name: mdl_analytics_predictions mdl_analpred_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_analytics_predictions
    ADD CONSTRAINT mdl_analpred_id_pk PRIMARY KEY (id);


--
-- Name: mdl_analytics_prediction_actions mdl_analpredacti_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_analytics_prediction_actions
    ADD CONSTRAINT mdl_analpredacti_id_pk PRIMARY KEY (id);


--
-- Name: mdl_analytics_predict_samples mdl_analpredsamp_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_analytics_predict_samples
    ADD CONSTRAINT mdl_analpredsamp_id_pk PRIMARY KEY (id);


--
-- Name: mdl_analytics_train_samples mdl_analtraisamp_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_analytics_train_samples
    ADD CONSTRAINT mdl_analtraisamp_id_pk PRIMARY KEY (id);


--
-- Name: mdl_analytics_used_analysables mdl_analusedanal_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_analytics_used_analysables
    ADD CONSTRAINT mdl_analusedanal_id_pk PRIMARY KEY (id);


--
-- Name: mdl_analytics_used_files mdl_analusedfile_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_analytics_used_files
    ADD CONSTRAINT mdl_analusedfile_id_pk PRIMARY KEY (id);


--
-- Name: mdl_assignment mdl_assi_id3_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_assignment
    ADD CONSTRAINT mdl_assi_id3_pk PRIMARY KEY (id);


--
-- Name: mdl_assign mdl_assi_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_assign
    ADD CONSTRAINT mdl_assi_id_pk PRIMARY KEY (id);


--
-- Name: mdl_assignfeedback_comments mdl_assicomm_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_assignfeedback_comments
    ADD CONSTRAINT mdl_assicomm_id_pk PRIMARY KEY (id);


--
-- Name: mdl_assignfeedback_editpdf_annot mdl_assieditanno_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_assignfeedback_editpdf_annot
    ADD CONSTRAINT mdl_assieditanno_id_pk PRIMARY KEY (id);


--
-- Name: mdl_assignfeedback_editpdf_cmnt mdl_assieditcmnt_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_assignfeedback_editpdf_cmnt
    ADD CONSTRAINT mdl_assieditcmnt_id_pk PRIMARY KEY (id);


--
-- Name: mdl_assignfeedback_editpdf_queue mdl_assieditqueu_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_assignfeedback_editpdf_queue
    ADD CONSTRAINT mdl_assieditqueu_id_pk PRIMARY KEY (id);


--
-- Name: mdl_assignfeedback_editpdf_quick mdl_assieditquic_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_assignfeedback_editpdf_quick
    ADD CONSTRAINT mdl_assieditquic_id_pk PRIMARY KEY (id);


--
-- Name: mdl_assignfeedback_editpdf_rot mdl_assieditrot_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_assignfeedback_editpdf_rot
    ADD CONSTRAINT mdl_assieditrot_id_pk PRIMARY KEY (id);


--
-- Name: mdl_assignfeedback_file mdl_assifile_id3_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_assignfeedback_file
    ADD CONSTRAINT mdl_assifile_id3_pk PRIMARY KEY (id);


--
-- Name: mdl_assignsubmission_file mdl_assifile_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_assignsubmission_file
    ADD CONSTRAINT mdl_assifile_id_pk PRIMARY KEY (id);


--
-- Name: mdl_assign_grades mdl_assigrad_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_assign_grades
    ADD CONSTRAINT mdl_assigrad_id_pk PRIMARY KEY (id);


--
-- Name: mdl_assignsubmission_onlinetext mdl_assionli_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_assignsubmission_onlinetext
    ADD CONSTRAINT mdl_assionli_id_pk PRIMARY KEY (id);


--
-- Name: mdl_assign_overrides mdl_assiover_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_assign_overrides
    ADD CONSTRAINT mdl_assiover_id_pk PRIMARY KEY (id);


--
-- Name: mdl_assign_plugin_config mdl_assiplugconf_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_assign_plugin_config
    ADD CONSTRAINT mdl_assiplugconf_id_pk PRIMARY KEY (id);


--
-- Name: mdl_assignment_submissions mdl_assisubm_id3_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_assignment_submissions
    ADD CONSTRAINT mdl_assisubm_id3_pk PRIMARY KEY (id);


--
-- Name: mdl_assign_submission mdl_assisubm_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_assign_submission
    ADD CONSTRAINT mdl_assisubm_id_pk PRIMARY KEY (id);


--
-- Name: mdl_assignment_upgrade mdl_assiupgr_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_assignment_upgrade
    ADD CONSTRAINT mdl_assiupgr_id_pk PRIMARY KEY (id);


--
-- Name: mdl_assign_user_flags mdl_assiuserflag_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_assign_user_flags
    ADD CONSTRAINT mdl_assiuserflag_id_pk PRIMARY KEY (id);


--
-- Name: mdl_assign_user_mapping mdl_assiusermapp_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_assign_user_mapping
    ADD CONSTRAINT mdl_assiusermapp_id_pk PRIMARY KEY (id);


--
-- Name: mdl_auth_oauth2_linked_login mdl_authoautlinklogi_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_auth_oauth2_linked_login
    ADD CONSTRAINT mdl_authoautlinklogi_id_pk PRIMARY KEY (id);


--
-- Name: mdl_auth_oidc_prevlogin mdl_authoidcprev_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_auth_oidc_prevlogin
    ADD CONSTRAINT mdl_authoidcprev_id_pk PRIMARY KEY (id);


--
-- Name: mdl_auth_oidc_state mdl_authoidcstat_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_auth_oidc_state
    ADD CONSTRAINT mdl_authoidcstat_id_pk PRIMARY KEY (id);


--
-- Name: mdl_auth_oidc_token mdl_authoidctoke_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_auth_oidc_token
    ADD CONSTRAINT mdl_authoidctoke_id_pk PRIMARY KEY (id);


--
-- Name: mdl_auth_saml2_idps mdl_authsamlidps_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_auth_saml2_idps
    ADD CONSTRAINT mdl_authsamlidps_id_pk PRIMARY KEY (id);


--
-- Name: mdl_auth_saml2_kvstore mdl_authsamlkvst_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_auth_saml2_kvstore
    ADD CONSTRAINT mdl_authsamlkvst_id_pk PRIMARY KEY (id);


--
-- Name: mdl_backup_controllers mdl_backcont_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_backup_controllers
    ADD CONSTRAINT mdl_backcont_id_pk PRIMARY KEY (id);


--
-- Name: mdl_backup_courses mdl_backcour_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_backup_courses
    ADD CONSTRAINT mdl_backcour_id_pk PRIMARY KEY (id);


--
-- Name: mdl_backup_logs mdl_backlogs_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_backup_logs
    ADD CONSTRAINT mdl_backlogs_id_pk PRIMARY KEY (id);


--
-- Name: mdl_badge mdl_badg_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_badge
    ADD CONSTRAINT mdl_badg_id_pk PRIMARY KEY (id);


--
-- Name: mdl_badge_alignment mdl_badgalig_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_badge_alignment
    ADD CONSTRAINT mdl_badgalig_id_pk PRIMARY KEY (id);


--
-- Name: mdl_badge_backpack mdl_badgback_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_badge_backpack
    ADD CONSTRAINT mdl_badgback_id_pk PRIMARY KEY (id);


--
-- Name: mdl_badge_backpack_oauth2 mdl_badgbackoaut_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_badge_backpack_oauth2
    ADD CONSTRAINT mdl_badgbackoaut_id_pk PRIMARY KEY (id);


--
-- Name: mdl_badge_criteria mdl_badgcrit_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_badge_criteria
    ADD CONSTRAINT mdl_badgcrit_id_pk PRIMARY KEY (id);


--
-- Name: mdl_badge_criteria_met mdl_badgcritmet_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_badge_criteria_met
    ADD CONSTRAINT mdl_badgcritmet_id_pk PRIMARY KEY (id);


--
-- Name: mdl_badge_criteria_param mdl_badgcritpara_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_badge_criteria_param
    ADD CONSTRAINT mdl_badgcritpara_id_pk PRIMARY KEY (id);


--
-- Name: mdl_badge_endorsement mdl_badgendo_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_badge_endorsement
    ADD CONSTRAINT mdl_badgendo_id_pk PRIMARY KEY (id);


--
-- Name: mdl_badge_external mdl_badgexte_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_badge_external
    ADD CONSTRAINT mdl_badgexte_id_pk PRIMARY KEY (id);


--
-- Name: mdl_badge_external_backpack mdl_badgexteback_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_badge_external_backpack
    ADD CONSTRAINT mdl_badgexteback_id_pk PRIMARY KEY (id);


--
-- Name: mdl_badge_external_identifier mdl_badgexteiden_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_badge_external_identifier
    ADD CONSTRAINT mdl_badgexteiden_id_pk PRIMARY KEY (id);


--
-- Name: mdl_badge_issued mdl_badgissu_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_badge_issued
    ADD CONSTRAINT mdl_badgissu_id_pk PRIMARY KEY (id);


--
-- Name: mdl_badge_manual_award mdl_badgmanuawar_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_badge_manual_award
    ADD CONSTRAINT mdl_badgmanuawar_id_pk PRIMARY KEY (id);


--
-- Name: mdl_badge_related mdl_badgrela_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_badge_related
    ADD CONSTRAINT mdl_badgrela_id_pk PRIMARY KEY (id);


--
-- Name: mdl_bigbluebuttonbn mdl_bigb_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_bigbluebuttonbn
    ADD CONSTRAINT mdl_bigb_id_pk PRIMARY KEY (id);


--
-- Name: mdl_bigbluebuttonbn_logs mdl_bigblogs_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_bigbluebuttonbn_logs
    ADD CONSTRAINT mdl_bigblogs_id_pk PRIMARY KEY (id);


--
-- Name: mdl_block mdl_bloc_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_block
    ADD CONSTRAINT mdl_bloc_id_pk PRIMARY KEY (id);


--
-- Name: mdl_block_instances mdl_blocinst_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_block_instances
    ADD CONSTRAINT mdl_blocinst_id_pk PRIMARY KEY (id);


--
-- Name: mdl_block_positions mdl_blocposi_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_block_positions
    ADD CONSTRAINT mdl_blocposi_id_pk PRIMARY KEY (id);


--
-- Name: mdl_block_recentlyaccesseditems mdl_blocrece_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_block_recentlyaccesseditems
    ADD CONSTRAINT mdl_blocrece_id_pk PRIMARY KEY (id);


--
-- Name: mdl_block_recent_activity mdl_blocreceacti_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_block_recent_activity
    ADD CONSTRAINT mdl_blocreceacti_id_pk PRIMARY KEY (id);


--
-- Name: mdl_block_rss_client mdl_blocrssclie_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_block_rss_client
    ADD CONSTRAINT mdl_blocrssclie_id_pk PRIMARY KEY (id);


--
-- Name: mdl_blog_association mdl_blogasso_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_blog_association
    ADD CONSTRAINT mdl_blogasso_id_pk PRIMARY KEY (id);


--
-- Name: mdl_blog_external mdl_blogexte_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_blog_external
    ADD CONSTRAINT mdl_blogexte_id_pk PRIMARY KEY (id);


--
-- Name: mdl_book mdl_book_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_book
    ADD CONSTRAINT mdl_book_id_pk PRIMARY KEY (id);


--
-- Name: mdl_book_chapters mdl_bookchap_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_book_chapters
    ADD CONSTRAINT mdl_bookchap_id_pk PRIMARY KEY (id);


--
-- Name: mdl_cache_filters mdl_cachfilt_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_cache_filters
    ADD CONSTRAINT mdl_cachfilt_id_pk PRIMARY KEY (id);


--
-- Name: mdl_cache_flags mdl_cachflag_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_cache_flags
    ADD CONSTRAINT mdl_cachflag_id_pk PRIMARY KEY (id);


--
-- Name: mdl_capabilities mdl_capa_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_capabilities
    ADD CONSTRAINT mdl_capa_id_pk PRIMARY KEY (id);


--
-- Name: mdl_chat mdl_chat_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_chat
    ADD CONSTRAINT mdl_chat_id_pk PRIMARY KEY (id);


--
-- Name: mdl_chat_messages mdl_chatmess_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_chat_messages
    ADD CONSTRAINT mdl_chatmess_id_pk PRIMARY KEY (id);


--
-- Name: mdl_chat_messages_current mdl_chatmesscurr_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_chat_messages_current
    ADD CONSTRAINT mdl_chatmesscurr_id_pk PRIMARY KEY (id);


--
-- Name: mdl_chat_users mdl_chatuser_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_chat_users
    ADD CONSTRAINT mdl_chatuser_id_pk PRIMARY KEY (id);


--
-- Name: mdl_choice mdl_choi_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_choice
    ADD CONSTRAINT mdl_choi_id_pk PRIMARY KEY (id);


--
-- Name: mdl_choice_answers mdl_choiansw_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_choice_answers
    ADD CONSTRAINT mdl_choiansw_id_pk PRIMARY KEY (id);


--
-- Name: mdl_choice_options mdl_choiopti_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_choice_options
    ADD CONSTRAINT mdl_choiopti_id_pk PRIMARY KEY (id);


--
-- Name: mdl_cohort mdl_coho_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_cohort
    ADD CONSTRAINT mdl_coho_id_pk PRIMARY KEY (id);


--
-- Name: mdl_cohort_members mdl_cohomemb_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_cohort_members
    ADD CONSTRAINT mdl_cohomemb_id_pk PRIMARY KEY (id);


--
-- Name: mdl_comments mdl_comm_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_comments
    ADD CONSTRAINT mdl_comm_id_pk PRIMARY KEY (id);


--
-- Name: mdl_competency mdl_comp_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_competency
    ADD CONSTRAINT mdl_comp_id_pk PRIMARY KEY (id);


--
-- Name: mdl_competency_coursecomp mdl_compcour_id3_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_competency_coursecomp
    ADD CONSTRAINT mdl_compcour_id3_pk PRIMARY KEY (id);


--
-- Name: mdl_competency_coursecompsetting mdl_compcour_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_competency_coursecompsetting
    ADD CONSTRAINT mdl_compcour_id_pk PRIMARY KEY (id);


--
-- Name: mdl_competency_evidence mdl_compevid_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_competency_evidence
    ADD CONSTRAINT mdl_compevid_id_pk PRIMARY KEY (id);


--
-- Name: mdl_competency_framework mdl_compfram_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_competency_framework
    ADD CONSTRAINT mdl_compfram_id_pk PRIMARY KEY (id);


--
-- Name: mdl_competency_modulecomp mdl_compmodu_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_competency_modulecomp
    ADD CONSTRAINT mdl_compmodu_id_pk PRIMARY KEY (id);


--
-- Name: mdl_competency_plancomp mdl_compplan_id3_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_competency_plancomp
    ADD CONSTRAINT mdl_compplan_id3_pk PRIMARY KEY (id);


--
-- Name: mdl_competency_plan mdl_compplan_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_competency_plan
    ADD CONSTRAINT mdl_compplan_id_pk PRIMARY KEY (id);


--
-- Name: mdl_competency_relatedcomp mdl_comprela_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_competency_relatedcomp
    ADD CONSTRAINT mdl_comprela_id_pk PRIMARY KEY (id);


--
-- Name: mdl_competency_templatecomp mdl_comptemp_id3_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_competency_templatecomp
    ADD CONSTRAINT mdl_comptemp_id3_pk PRIMARY KEY (id);


--
-- Name: mdl_competency_templatecohort mdl_comptemp_id5_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_competency_templatecohort
    ADD CONSTRAINT mdl_comptemp_id5_pk PRIMARY KEY (id);


--
-- Name: mdl_competency_template mdl_comptemp_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_competency_template
    ADD CONSTRAINT mdl_comptemp_id_pk PRIMARY KEY (id);


--
-- Name: mdl_competency_usercompcourse mdl_compuser_id3_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_competency_usercompcourse
    ADD CONSTRAINT mdl_compuser_id3_pk PRIMARY KEY (id);


--
-- Name: mdl_competency_usercompplan mdl_compuser_id5_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_competency_usercompplan
    ADD CONSTRAINT mdl_compuser_id5_pk PRIMARY KEY (id);


--
-- Name: mdl_competency_userevidence mdl_compuser_id7_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_competency_userevidence
    ADD CONSTRAINT mdl_compuser_id7_pk PRIMARY KEY (id);


--
-- Name: mdl_competency_userevidencecomp mdl_compuser_id9_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_competency_userevidencecomp
    ADD CONSTRAINT mdl_compuser_id9_pk PRIMARY KEY (id);


--
-- Name: mdl_competency_usercomp mdl_compuser_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_competency_usercomp
    ADD CONSTRAINT mdl_compuser_id_pk PRIMARY KEY (id);


--
-- Name: mdl_config mdl_conf_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_config
    ADD CONSTRAINT mdl_conf_id_pk PRIMARY KEY (id);


--
-- Name: mdl_config_log mdl_conflog_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_config_log
    ADD CONSTRAINT mdl_conflog_id_pk PRIMARY KEY (id);


--
-- Name: mdl_config_plugins mdl_confplug_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_config_plugins
    ADD CONSTRAINT mdl_confplug_id_pk PRIMARY KEY (id);


--
-- Name: mdl_context mdl_cont_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_context
    ADD CONSTRAINT mdl_cont_id_pk PRIMARY KEY (id);


--
-- Name: mdl_contentbank_content mdl_contcont_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_contentbank_content
    ADD CONSTRAINT mdl_contcont_id_pk PRIMARY KEY (id);


--
-- Name: mdl_context_temp mdl_conttemp_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_context_temp
    ADD CONSTRAINT mdl_conttemp_id_pk PRIMARY KEY (id);


--
-- Name: mdl_course mdl_cour_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_course
    ADD CONSTRAINT mdl_cour_id_pk PRIMARY KEY (id);


--
-- Name: mdl_course_categories mdl_courcate_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_course_categories
    ADD CONSTRAINT mdl_courcate_id_pk PRIMARY KEY (id);


--
-- Name: mdl_course_completions mdl_courcomp_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_course_completions
    ADD CONSTRAINT mdl_courcomp_id_pk PRIMARY KEY (id);


--
-- Name: mdl_course_completion_aggr_methd mdl_courcompaggrmeth_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_course_completion_aggr_methd
    ADD CONSTRAINT mdl_courcompaggrmeth_id_pk PRIMARY KEY (id);


--
-- Name: mdl_course_completion_criteria mdl_courcompcrit_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_course_completion_criteria
    ADD CONSTRAINT mdl_courcompcrit_id_pk PRIMARY KEY (id);


--
-- Name: mdl_course_completion_crit_compl mdl_courcompcritcomp_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_course_completion_crit_compl
    ADD CONSTRAINT mdl_courcompcritcomp_id_pk PRIMARY KEY (id);


--
-- Name: mdl_course_completion_defaults mdl_courcompdefa_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_course_completion_defaults
    ADD CONSTRAINT mdl_courcompdefa_id_pk PRIMARY KEY (id);


--
-- Name: mdl_course_format_options mdl_courformopti_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_course_format_options
    ADD CONSTRAINT mdl_courformopti_id_pk PRIMARY KEY (id);


--
-- Name: mdl_course_modules mdl_courmodu_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_course_modules
    ADD CONSTRAINT mdl_courmodu_id_pk PRIMARY KEY (id);


--
-- Name: mdl_course_modules_completion mdl_courmoducomp_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_course_modules_completion
    ADD CONSTRAINT mdl_courmoducomp_id_pk PRIMARY KEY (id);


--
-- Name: mdl_course_published mdl_courpubl_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_course_published
    ADD CONSTRAINT mdl_courpubl_id_pk PRIMARY KEY (id);


--
-- Name: mdl_course_request mdl_courrequ_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_course_request
    ADD CONSTRAINT mdl_courrequ_id_pk PRIMARY KEY (id);


--
-- Name: mdl_course_sections mdl_coursect_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_course_sections
    ADD CONSTRAINT mdl_coursect_id_pk PRIMARY KEY (id);


--
-- Name: mdl_customfield_category mdl_custcate_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_customfield_category
    ADD CONSTRAINT mdl_custcate_id_pk PRIMARY KEY (id);


--
-- Name: mdl_customfield_data mdl_custdata_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_customfield_data
    ADD CONSTRAINT mdl_custdata_id_pk PRIMARY KEY (id);


--
-- Name: mdl_customfield_field mdl_custfiel_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_customfield_field
    ADD CONSTRAINT mdl_custfiel_id_pk PRIMARY KEY (id);


--
-- Name: mdl_data mdl_data_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_data
    ADD CONSTRAINT mdl_data_id_pk PRIMARY KEY (id);


--
-- Name: mdl_data_content mdl_datacont_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_data_content
    ADD CONSTRAINT mdl_datacont_id_pk PRIMARY KEY (id);


--
-- Name: mdl_data_fields mdl_datafiel_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_data_fields
    ADD CONSTRAINT mdl_datafiel_id_pk PRIMARY KEY (id);


--
-- Name: mdl_data_records mdl_datareco_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_data_records
    ADD CONSTRAINT mdl_datareco_id_pk PRIMARY KEY (id);


--
-- Name: mdl_editor_atto_autosave mdl_editattoauto_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_editor_atto_autosave
    ADD CONSTRAINT mdl_editattoauto_id_pk PRIMARY KEY (id);


--
-- Name: mdl_enrol mdl_enro_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_enrol
    ADD CONSTRAINT mdl_enro_id_pk PRIMARY KEY (id);


--
-- Name: mdl_enrol_flatfile mdl_enroflat_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_enrol_flatfile
    ADD CONSTRAINT mdl_enroflat_id_pk PRIMARY KEY (id);


--
-- Name: mdl_enrol_lti_lti2_consumer mdl_enroltilti2cons_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_enrol_lti_lti2_consumer
    ADD CONSTRAINT mdl_enroltilti2cons_id_pk PRIMARY KEY (id);


--
-- Name: mdl_enrol_lti_lti2_context mdl_enroltilti2cont_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_enrol_lti_lti2_context
    ADD CONSTRAINT mdl_enroltilti2cont_id_pk PRIMARY KEY (id);


--
-- Name: mdl_enrol_lti_lti2_nonce mdl_enroltilti2nonc_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_enrol_lti_lti2_nonce
    ADD CONSTRAINT mdl_enroltilti2nonc_id_pk PRIMARY KEY (id);


--
-- Name: mdl_enrol_lti_lti2_resource_link mdl_enroltilti2resolink_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_enrol_lti_lti2_resource_link
    ADD CONSTRAINT mdl_enroltilti2resolink_id_pk PRIMARY KEY (id);


--
-- Name: mdl_enrol_lti_lti2_share_key mdl_enroltilti2sharkey_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_enrol_lti_lti2_share_key
    ADD CONSTRAINT mdl_enroltilti2sharkey_id_pk PRIMARY KEY (id);


--
-- Name: mdl_enrol_lti_lti2_tool_proxy mdl_enroltilti2toolprox_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_enrol_lti_lti2_tool_proxy
    ADD CONSTRAINT mdl_enroltilti2toolprox_id_pk PRIMARY KEY (id);


--
-- Name: mdl_enrol_lti_lti2_user_result mdl_enroltilti2userresu_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_enrol_lti_lti2_user_result
    ADD CONSTRAINT mdl_enroltilti2userresu_id_pk PRIMARY KEY (id);


--
-- Name: mdl_enrol_lti_tools mdl_enroltitool_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_enrol_lti_tools
    ADD CONSTRAINT mdl_enroltitool_id_pk PRIMARY KEY (id);


--
-- Name: mdl_enrol_lti_tool_consumer_map mdl_enroltitoolconsmap_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_enrol_lti_tool_consumer_map
    ADD CONSTRAINT mdl_enroltitoolconsmap_id_pk PRIMARY KEY (id);


--
-- Name: mdl_enrol_lti_users mdl_enroltiuser_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_enrol_lti_users
    ADD CONSTRAINT mdl_enroltiuser_id_pk PRIMARY KEY (id);


--
-- Name: mdl_enrol_paypal mdl_enropayp_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_enrol_paypal
    ADD CONSTRAINT mdl_enropayp_id_pk PRIMARY KEY (id);


--
-- Name: mdl_event mdl_even_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_event
    ADD CONSTRAINT mdl_even_id_pk PRIMARY KEY (id);


--
-- Name: mdl_events_handlers mdl_evenhand_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_events_handlers
    ADD CONSTRAINT mdl_evenhand_id_pk PRIMARY KEY (id);


--
-- Name: mdl_events_queue mdl_evenqueu_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_events_queue
    ADD CONSTRAINT mdl_evenqueu_id_pk PRIMARY KEY (id);


--
-- Name: mdl_events_queue_handlers mdl_evenqueuhand_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_events_queue_handlers
    ADD CONSTRAINT mdl_evenqueuhand_id_pk PRIMARY KEY (id);


--
-- Name: mdl_event_subscriptions mdl_evensubs_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_event_subscriptions
    ADD CONSTRAINT mdl_evensubs_id_pk PRIMARY KEY (id);


--
-- Name: mdl_external_functions mdl_extefunc_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_external_functions
    ADD CONSTRAINT mdl_extefunc_id_pk PRIMARY KEY (id);


--
-- Name: mdl_external_services mdl_exteserv_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_external_services
    ADD CONSTRAINT mdl_exteserv_id_pk PRIMARY KEY (id);


--
-- Name: mdl_external_services_functions mdl_exteservfunc_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_external_services_functions
    ADD CONSTRAINT mdl_exteservfunc_id_pk PRIMARY KEY (id);


--
-- Name: mdl_external_services_users mdl_exteservuser_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_external_services_users
    ADD CONSTRAINT mdl_exteservuser_id_pk PRIMARY KEY (id);


--
-- Name: mdl_external_tokens mdl_extetoke_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_external_tokens
    ADD CONSTRAINT mdl_extetoke_id_pk PRIMARY KEY (id);


--
-- Name: mdl_favourite mdl_favo_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_favourite
    ADD CONSTRAINT mdl_favo_id_pk PRIMARY KEY (id);


--
-- Name: mdl_feedback mdl_feed_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_feedback
    ADD CONSTRAINT mdl_feed_id_pk PRIMARY KEY (id);


--
-- Name: mdl_feedback_completedtmp mdl_feedcomp_id3_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_feedback_completedtmp
    ADD CONSTRAINT mdl_feedcomp_id3_pk PRIMARY KEY (id);


--
-- Name: mdl_feedback_completed mdl_feedcomp_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_feedback_completed
    ADD CONSTRAINT mdl_feedcomp_id_pk PRIMARY KEY (id);


--
-- Name: mdl_feedback_item mdl_feeditem_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_feedback_item
    ADD CONSTRAINT mdl_feeditem_id_pk PRIMARY KEY (id);


--
-- Name: mdl_feedback_sitecourse_map mdl_feedsitemap_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_feedback_sitecourse_map
    ADD CONSTRAINT mdl_feedsitemap_id_pk PRIMARY KEY (id);


--
-- Name: mdl_feedback_template mdl_feedtemp_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_feedback_template
    ADD CONSTRAINT mdl_feedtemp_id_pk PRIMARY KEY (id);


--
-- Name: mdl_feedback_valuetmp mdl_feedvalu_id3_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_feedback_valuetmp
    ADD CONSTRAINT mdl_feedvalu_id3_pk PRIMARY KEY (id);


--
-- Name: mdl_feedback_value mdl_feedvalu_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_feedback_value
    ADD CONSTRAINT mdl_feedvalu_id_pk PRIMARY KEY (id);


--
-- Name: mdl_files mdl_file_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_files
    ADD CONSTRAINT mdl_file_id_pk PRIMARY KEY (id);


--
-- Name: mdl_file_conversion mdl_fileconv_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_file_conversion
    ADD CONSTRAINT mdl_fileconv_id_pk PRIMARY KEY (id);


--
-- Name: mdl_files_reference mdl_filerefe_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_files_reference
    ADD CONSTRAINT mdl_filerefe_id_pk PRIMARY KEY (id);


--
-- Name: mdl_filter_active mdl_filtacti_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_filter_active
    ADD CONSTRAINT mdl_filtacti_id_pk PRIMARY KEY (id);


--
-- Name: mdl_filter_config mdl_filtconf_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_filter_config
    ADD CONSTRAINT mdl_filtconf_id_pk PRIMARY KEY (id);


--
-- Name: mdl_folder mdl_fold_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_folder
    ADD CONSTRAINT mdl_fold_id_pk PRIMARY KEY (id);


--
-- Name: mdl_forum mdl_foru_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_forum
    ADD CONSTRAINT mdl_foru_id_pk PRIMARY KEY (id);


--
-- Name: mdl_forum_digests mdl_forudige_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_forum_digests
    ADD CONSTRAINT mdl_forudige_id_pk PRIMARY KEY (id);


--
-- Name: mdl_forum_discussions mdl_forudisc_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_forum_discussions
    ADD CONSTRAINT mdl_forudisc_id_pk PRIMARY KEY (id);


--
-- Name: mdl_forum_discussion_subs mdl_forudiscsubs_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_forum_discussion_subs
    ADD CONSTRAINT mdl_forudiscsubs_id_pk PRIMARY KEY (id);


--
-- Name: mdl_forum_grades mdl_forugrad_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_forum_grades
    ADD CONSTRAINT mdl_forugrad_id_pk PRIMARY KEY (id);


--
-- Name: mdl_forum_posts mdl_forupost_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_forum_posts
    ADD CONSTRAINT mdl_forupost_id_pk PRIMARY KEY (id);


--
-- Name: mdl_forum_queue mdl_foruqueu_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_forum_queue
    ADD CONSTRAINT mdl_foruqueu_id_pk PRIMARY KEY (id);


--
-- Name: mdl_forum_read mdl_foruread_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_forum_read
    ADD CONSTRAINT mdl_foruread_id_pk PRIMARY KEY (id);


--
-- Name: mdl_forum_subscriptions mdl_forusubs_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_forum_subscriptions
    ADD CONSTRAINT mdl_forusubs_id_pk PRIMARY KEY (id);


--
-- Name: mdl_forum_track_prefs mdl_forutracpref_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_forum_track_prefs
    ADD CONSTRAINT mdl_forutracpref_id_pk PRIMARY KEY (id);


--
-- Name: mdl_glossary mdl_glos_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_glossary
    ADD CONSTRAINT mdl_glos_id_pk PRIMARY KEY (id);


--
-- Name: mdl_glossary_alias mdl_glosalia_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_glossary_alias
    ADD CONSTRAINT mdl_glosalia_id_pk PRIMARY KEY (id);


--
-- Name: mdl_glossary_categories mdl_gloscate_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_glossary_categories
    ADD CONSTRAINT mdl_gloscate_id_pk PRIMARY KEY (id);


--
-- Name: mdl_glossary_entries mdl_glosentr_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_glossary_entries
    ADD CONSTRAINT mdl_glosentr_id_pk PRIMARY KEY (id);


--
-- Name: mdl_glossary_entries_categories mdl_glosentrcate_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_glossary_entries_categories
    ADD CONSTRAINT mdl_glosentrcate_id_pk PRIMARY KEY (id);


--
-- Name: mdl_glossary_formats mdl_glosform_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_glossary_formats
    ADD CONSTRAINT mdl_glosform_id_pk PRIMARY KEY (id);


--
-- Name: mdl_grading_areas mdl_gradarea_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_grading_areas
    ADD CONSTRAINT mdl_gradarea_id_pk PRIMARY KEY (id);


--
-- Name: mdl_grade_categories mdl_gradcate_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_grade_categories
    ADD CONSTRAINT mdl_gradcate_id_pk PRIMARY KEY (id);


--
-- Name: mdl_grade_categories_history mdl_gradcatehist_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_grade_categories_history
    ADD CONSTRAINT mdl_gradcatehist_id_pk PRIMARY KEY (id);


--
-- Name: mdl_grading_definitions mdl_graddefi_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_grading_definitions
    ADD CONSTRAINT mdl_graddefi_id_pk PRIMARY KEY (id);


--
-- Name: mdl_grade_grades mdl_gradgrad_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_grade_grades
    ADD CONSTRAINT mdl_gradgrad_id_pk PRIMARY KEY (id);


--
-- Name: mdl_grade_grades_history mdl_gradgradhist_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_grade_grades_history
    ADD CONSTRAINT mdl_gradgradhist_id_pk PRIMARY KEY (id);


--
-- Name: mdl_gradingform_guide_comments mdl_gradguidcomm_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_gradingform_guide_comments
    ADD CONSTRAINT mdl_gradguidcomm_id_pk PRIMARY KEY (id);


--
-- Name: mdl_gradingform_guide_criteria mdl_gradguidcrit_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_gradingform_guide_criteria
    ADD CONSTRAINT mdl_gradguidcrit_id_pk PRIMARY KEY (id);


--
-- Name: mdl_gradingform_guide_fillings mdl_gradguidfill_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_gradingform_guide_fillings
    ADD CONSTRAINT mdl_gradguidfill_id_pk PRIMARY KEY (id);


--
-- Name: mdl_grade_import_newitem mdl_gradimponewi_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_grade_import_newitem
    ADD CONSTRAINT mdl_gradimponewi_id_pk PRIMARY KEY (id);


--
-- Name: mdl_grade_import_values mdl_gradimpovalu_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_grade_import_values
    ADD CONSTRAINT mdl_gradimpovalu_id_pk PRIMARY KEY (id);


--
-- Name: mdl_grading_instances mdl_gradinst_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_grading_instances
    ADD CONSTRAINT mdl_gradinst_id_pk PRIMARY KEY (id);


--
-- Name: mdl_grade_items mdl_graditem_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_grade_items
    ADD CONSTRAINT mdl_graditem_id_pk PRIMARY KEY (id);


--
-- Name: mdl_grade_items_history mdl_graditemhist_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_grade_items_history
    ADD CONSTRAINT mdl_graditemhist_id_pk PRIMARY KEY (id);


--
-- Name: mdl_grade_letters mdl_gradlett_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_grade_letters
    ADD CONSTRAINT mdl_gradlett_id_pk PRIMARY KEY (id);


--
-- Name: mdl_grade_outcomes mdl_gradoutc_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_grade_outcomes
    ADD CONSTRAINT mdl_gradoutc_id_pk PRIMARY KEY (id);


--
-- Name: mdl_grade_outcomes_courses mdl_gradoutccour_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_grade_outcomes_courses
    ADD CONSTRAINT mdl_gradoutccour_id_pk PRIMARY KEY (id);


--
-- Name: mdl_grade_outcomes_history mdl_gradoutchist_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_grade_outcomes_history
    ADD CONSTRAINT mdl_gradoutchist_id_pk PRIMARY KEY (id);


--
-- Name: mdl_gradingform_rubric_criteria mdl_gradrubrcrit_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_gradingform_rubric_criteria
    ADD CONSTRAINT mdl_gradrubrcrit_id_pk PRIMARY KEY (id);


--
-- Name: mdl_gradingform_rubric_fillings mdl_gradrubrfill_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_gradingform_rubric_fillings
    ADD CONSTRAINT mdl_gradrubrfill_id_pk PRIMARY KEY (id);


--
-- Name: mdl_gradingform_rubric_levels mdl_gradrubrleve_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_gradingform_rubric_levels
    ADD CONSTRAINT mdl_gradrubrleve_id_pk PRIMARY KEY (id);


--
-- Name: mdl_grade_settings mdl_gradsett_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_grade_settings
    ADD CONSTRAINT mdl_gradsett_id_pk PRIMARY KEY (id);


--
-- Name: mdl_groupings mdl_grou_id3_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_groupings
    ADD CONSTRAINT mdl_grou_id3_pk PRIMARY KEY (id);


--
-- Name: mdl_groups mdl_grou_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_groups
    ADD CONSTRAINT mdl_grou_id_pk PRIMARY KEY (id);


--
-- Name: mdl_groupings_groups mdl_grougrou_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_groupings_groups
    ADD CONSTRAINT mdl_grougrou_id_pk PRIMARY KEY (id);


--
-- Name: mdl_groups_members mdl_groumemb_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_groups_members
    ADD CONSTRAINT mdl_groumemb_id_pk PRIMARY KEY (id);


--
-- Name: mdl_h5p mdl_h5p_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_h5p
    ADD CONSTRAINT mdl_h5p_id_pk PRIMARY KEY (id);


--
-- Name: mdl_h5pactivity mdl_h5pa_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_h5pactivity
    ADD CONSTRAINT mdl_h5pa_id_pk PRIMARY KEY (id);


--
-- Name: mdl_h5pactivity_attempts mdl_h5paatte_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_h5pactivity_attempts
    ADD CONSTRAINT mdl_h5paatte_id_pk PRIMARY KEY (id);


--
-- Name: mdl_h5pactivity_attempts_results mdl_h5paatteresu_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_h5pactivity_attempts_results
    ADD CONSTRAINT mdl_h5paatteresu_id_pk PRIMARY KEY (id);


--
-- Name: mdl_h5p_contents_libraries mdl_h5pcontlibr_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_h5p_contents_libraries
    ADD CONSTRAINT mdl_h5pcontlibr_id_pk PRIMARY KEY (id);


--
-- Name: mdl_h5p_libraries mdl_h5plibr_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_h5p_libraries
    ADD CONSTRAINT mdl_h5plibr_id_pk PRIMARY KEY (id);


--
-- Name: mdl_h5p_libraries_cachedassets mdl_h5plibrcach_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_h5p_libraries_cachedassets
    ADD CONSTRAINT mdl_h5plibrcach_id_pk PRIMARY KEY (id);


--
-- Name: mdl_h5p_library_dependencies mdl_h5plibrdepe_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_h5p_library_dependencies
    ADD CONSTRAINT mdl_h5plibrdepe_id_pk PRIMARY KEY (id);


--
-- Name: mdl_imscp mdl_imsc_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_imscp
    ADD CONSTRAINT mdl_imsc_id_pk PRIMARY KEY (id);


--
-- Name: mdl_infected_files mdl_infefile_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_infected_files
    ADD CONSTRAINT mdl_infefile_id_pk PRIMARY KEY (id);


--
-- Name: mdl_jitsi mdl_jits_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_jitsi
    ADD CONSTRAINT mdl_jits_id_pk PRIMARY KEY (id);


--
-- Name: mdl_label mdl_labe_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_label
    ADD CONSTRAINT mdl_labe_id_pk PRIMARY KEY (id);


--
-- Name: mdl_lesson mdl_less_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_lesson
    ADD CONSTRAINT mdl_less_id_pk PRIMARY KEY (id);


--
-- Name: mdl_lesson_answers mdl_lessansw_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_lesson_answers
    ADD CONSTRAINT mdl_lessansw_id_pk PRIMARY KEY (id);


--
-- Name: mdl_lesson_attempts mdl_lessatte_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_lesson_attempts
    ADD CONSTRAINT mdl_lessatte_id_pk PRIMARY KEY (id);


--
-- Name: mdl_lesson_branch mdl_lessbran_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_lesson_branch
    ADD CONSTRAINT mdl_lessbran_id_pk PRIMARY KEY (id);


--
-- Name: mdl_lesson_grades mdl_lessgrad_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_lesson_grades
    ADD CONSTRAINT mdl_lessgrad_id_pk PRIMARY KEY (id);


--
-- Name: mdl_lesson_overrides mdl_lessover_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_lesson_overrides
    ADD CONSTRAINT mdl_lessover_id_pk PRIMARY KEY (id);


--
-- Name: mdl_lesson_pages mdl_lesspage_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_lesson_pages
    ADD CONSTRAINT mdl_lesspage_id_pk PRIMARY KEY (id);


--
-- Name: mdl_lesson_timer mdl_lesstime_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_lesson_timer
    ADD CONSTRAINT mdl_lesstime_id_pk PRIMARY KEY (id);


--
-- Name: mdl_license mdl_lice_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_license
    ADD CONSTRAINT mdl_lice_id_pk PRIMARY KEY (id);


--
-- Name: mdl_lock_db mdl_lockdb_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_lock_db
    ADD CONSTRAINT mdl_lockdb_id_pk PRIMARY KEY (id);


--
-- Name: mdl_log mdl_log_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_log
    ADD CONSTRAINT mdl_log_id_pk PRIMARY KEY (id);


--
-- Name: mdl_log_display mdl_logdisp_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_log_display
    ADD CONSTRAINT mdl_logdisp_id_pk PRIMARY KEY (id);


--
-- Name: mdl_log_queries mdl_logquer_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_log_queries
    ADD CONSTRAINT mdl_logquer_id_pk PRIMARY KEY (id);


--
-- Name: mdl_logstore_standard_log mdl_logsstanlog_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_logstore_standard_log
    ADD CONSTRAINT mdl_logsstanlog_id_pk PRIMARY KEY (id);


--
-- Name: mdl_lti mdl_lti_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_lti
    ADD CONSTRAINT mdl_lti_id_pk PRIMARY KEY (id);


--
-- Name: mdl_lti_access_tokens mdl_ltiaccetoke_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_lti_access_tokens
    ADD CONSTRAINT mdl_ltiaccetoke_id_pk PRIMARY KEY (id);


--
-- Name: mdl_ltiservice_gradebookservices mdl_ltisgrad_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_ltiservice_gradebookservices
    ADD CONSTRAINT mdl_ltisgrad_id_pk PRIMARY KEY (id);


--
-- Name: mdl_lti_submission mdl_ltisubm_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_lti_submission
    ADD CONSTRAINT mdl_ltisubm_id_pk PRIMARY KEY (id);


--
-- Name: mdl_lti_tool_proxies mdl_ltitoolprox_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_lti_tool_proxies
    ADD CONSTRAINT mdl_ltitoolprox_id_pk PRIMARY KEY (id);


--
-- Name: mdl_lti_tool_settings mdl_ltitoolsett_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_lti_tool_settings
    ADD CONSTRAINT mdl_ltitoolsett_id_pk PRIMARY KEY (id);


--
-- Name: mdl_lti_types mdl_ltitype_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_lti_types
    ADD CONSTRAINT mdl_ltitype_id_pk PRIMARY KEY (id);


--
-- Name: mdl_lti_types_config mdl_ltitypeconf_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_lti_types_config
    ADD CONSTRAINT mdl_ltitypeconf_id_pk PRIMARY KEY (id);


--
-- Name: mdl_messages mdl_mess_id3_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_messages
    ADD CONSTRAINT mdl_mess_id3_pk PRIMARY KEY (id);


--
-- Name: mdl_message mdl_mess_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_message
    ADD CONSTRAINT mdl_mess_id_pk PRIMARY KEY (id);


--
-- Name: mdl_message_airnotifier_devices mdl_messairndevi_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_message_airnotifier_devices
    ADD CONSTRAINT mdl_messairndevi_id_pk PRIMARY KEY (id);


--
-- Name: mdl_message_contacts mdl_messcont_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_message_contacts
    ADD CONSTRAINT mdl_messcont_id_pk PRIMARY KEY (id);


--
-- Name: mdl_message_contact_requests mdl_messcontrequ_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_message_contact_requests
    ADD CONSTRAINT mdl_messcontrequ_id_pk PRIMARY KEY (id);


--
-- Name: mdl_message_conversations mdl_messconv_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_message_conversations
    ADD CONSTRAINT mdl_messconv_id_pk PRIMARY KEY (id);


--
-- Name: mdl_message_conversation_actions mdl_messconvacti_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_message_conversation_actions
    ADD CONSTRAINT mdl_messconvacti_id_pk PRIMARY KEY (id);


--
-- Name: mdl_message_conversation_members mdl_messconvmemb_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_message_conversation_members
    ADD CONSTRAINT mdl_messconvmemb_id_pk PRIMARY KEY (id);


--
-- Name: mdl_messageinbound_datakeys mdl_messdata_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_messageinbound_datakeys
    ADD CONSTRAINT mdl_messdata_id_pk PRIMARY KEY (id);


--
-- Name: mdl_message_email_messages mdl_messemaimess_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_message_email_messages
    ADD CONSTRAINT mdl_messemaimess_id_pk PRIMARY KEY (id);


--
-- Name: mdl_messageinbound_handlers mdl_messhand_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_messageinbound_handlers
    ADD CONSTRAINT mdl_messhand_id_pk PRIMARY KEY (id);


--
-- Name: mdl_messageinbound_messagelist mdl_messmess_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_messageinbound_messagelist
    ADD CONSTRAINT mdl_messmess_id_pk PRIMARY KEY (id);


--
-- Name: mdl_message_popup mdl_messpopu_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_message_popup
    ADD CONSTRAINT mdl_messpopu_id_pk PRIMARY KEY (id);


--
-- Name: mdl_message_popup_notifications mdl_messpopunoti_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_message_popup_notifications
    ADD CONSTRAINT mdl_messpopunoti_id_pk PRIMARY KEY (id);


--
-- Name: mdl_message_processors mdl_messproc_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_message_processors
    ADD CONSTRAINT mdl_messproc_id_pk PRIMARY KEY (id);


--
-- Name: mdl_message_providers mdl_messprov_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_message_providers
    ADD CONSTRAINT mdl_messprov_id_pk PRIMARY KEY (id);


--
-- Name: mdl_message_read mdl_messread_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_message_read
    ADD CONSTRAINT mdl_messread_id_pk PRIMARY KEY (id);


--
-- Name: mdl_message_user_actions mdl_messuseracti_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_message_user_actions
    ADD CONSTRAINT mdl_messuseracti_id_pk PRIMARY KEY (id);


--
-- Name: mdl_message_users_blocked mdl_messuserbloc_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_message_users_blocked
    ADD CONSTRAINT mdl_messuserbloc_id_pk PRIMARY KEY (id);


--
-- Name: mdl_mnet_application mdl_mnetappl_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_mnet_application
    ADD CONSTRAINT mdl_mnetappl_id_pk PRIMARY KEY (id);


--
-- Name: mdl_mnetservice_enrol_courses mdl_mnetenrocour_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_mnetservice_enrol_courses
    ADD CONSTRAINT mdl_mnetenrocour_id_pk PRIMARY KEY (id);


--
-- Name: mdl_mnetservice_enrol_enrolments mdl_mnetenroenro_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_mnetservice_enrol_enrolments
    ADD CONSTRAINT mdl_mnetenroenro_id_pk PRIMARY KEY (id);


--
-- Name: mdl_mnet_host2service mdl_mnethost_id3_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_mnet_host2service
    ADD CONSTRAINT mdl_mnethost_id3_pk PRIMARY KEY (id);


--
-- Name: mdl_mnet_host mdl_mnethost_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_mnet_host
    ADD CONSTRAINT mdl_mnethost_id_pk PRIMARY KEY (id);


--
-- Name: mdl_mnet_log mdl_mnetlog_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_mnet_log
    ADD CONSTRAINT mdl_mnetlog_id_pk PRIMARY KEY (id);


--
-- Name: mdl_mnet_remote_rpc mdl_mnetremorpc_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_mnet_remote_rpc
    ADD CONSTRAINT mdl_mnetremorpc_id_pk PRIMARY KEY (id);


--
-- Name: mdl_mnet_remote_service2rpc mdl_mnetremoserv_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_mnet_remote_service2rpc
    ADD CONSTRAINT mdl_mnetremoserv_id_pk PRIMARY KEY (id);


--
-- Name: mdl_mnet_rpc mdl_mnetrpc_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_mnet_rpc
    ADD CONSTRAINT mdl_mnetrpc_id_pk PRIMARY KEY (id);


--
-- Name: mdl_mnet_service2rpc mdl_mnetserv_id3_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_mnet_service2rpc
    ADD CONSTRAINT mdl_mnetserv_id3_pk PRIMARY KEY (id);


--
-- Name: mdl_mnet_service mdl_mnetserv_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_mnet_service
    ADD CONSTRAINT mdl_mnetserv_id_pk PRIMARY KEY (id);


--
-- Name: mdl_mnet_session mdl_mnetsess_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_mnet_session
    ADD CONSTRAINT mdl_mnetsess_id_pk PRIMARY KEY (id);


--
-- Name: mdl_mnet_sso_access_control mdl_mnetssoaccecont_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_mnet_sso_access_control
    ADD CONSTRAINT mdl_mnetssoaccecont_id_pk PRIMARY KEY (id);


--
-- Name: mdl_modules mdl_modu_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_modules
    ADD CONSTRAINT mdl_modu_id_pk PRIMARY KEY (id);


--
-- Name: mdl_my_pages mdl_mypage_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_my_pages
    ADD CONSTRAINT mdl_mypage_id_pk PRIMARY KEY (id);


--
-- Name: mdl_notifications mdl_noti_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_notifications
    ADD CONSTRAINT mdl_noti_id_pk PRIMARY KEY (id);


--
-- Name: mdl_oauth2_access_token mdl_oautaccetoke_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_oauth2_access_token
    ADD CONSTRAINT mdl_oautaccetoke_id_pk PRIMARY KEY (id);


--
-- Name: mdl_oauth2_endpoint mdl_oautendp_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_oauth2_endpoint
    ADD CONSTRAINT mdl_oautendp_id_pk PRIMARY KEY (id);


--
-- Name: mdl_oauth2_issuer mdl_oautissu_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_oauth2_issuer
    ADD CONSTRAINT mdl_oautissu_id_pk PRIMARY KEY (id);


--
-- Name: mdl_oauth2_refresh_token mdl_oautrefrtoke_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_oauth2_refresh_token
    ADD CONSTRAINT mdl_oautrefrtoke_id_pk PRIMARY KEY (id);


--
-- Name: mdl_oauth2_system_account mdl_oautsystacco_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_oauth2_system_account
    ADD CONSTRAINT mdl_oautsystacco_id_pk PRIMARY KEY (id);


--
-- Name: mdl_oauth2_user_field_mapping mdl_oautuserfielmapp_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_oauth2_user_field_mapping
    ADD CONSTRAINT mdl_oautuserfielmapp_id_pk PRIMARY KEY (id);


--
-- Name: mdl_page mdl_page_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_page
    ADD CONSTRAINT mdl_page_id_pk PRIMARY KEY (id);


--
-- Name: mdl_paygw_paypal mdl_paygpayp_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_paygw_paypal
    ADD CONSTRAINT mdl_paygpayp_id_pk PRIMARY KEY (id);


--
-- Name: mdl_payments mdl_paym_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_payments
    ADD CONSTRAINT mdl_paym_id_pk PRIMARY KEY (id);


--
-- Name: mdl_payment_accounts mdl_paymacco_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_payment_accounts
    ADD CONSTRAINT mdl_paymacco_id_pk PRIMARY KEY (id);


--
-- Name: mdl_payment_gateways mdl_paymgate_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_payment_gateways
    ADD CONSTRAINT mdl_paymgate_id_pk PRIMARY KEY (id);


--
-- Name: mdl_portfolio_instance mdl_portinst_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_portfolio_instance
    ADD CONSTRAINT mdl_portinst_id_pk PRIMARY KEY (id);


--
-- Name: mdl_portfolio_instance_config mdl_portinstconf_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_portfolio_instance_config
    ADD CONSTRAINT mdl_portinstconf_id_pk PRIMARY KEY (id);


--
-- Name: mdl_portfolio_instance_user mdl_portinstuser_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_portfolio_instance_user
    ADD CONSTRAINT mdl_portinstuser_id_pk PRIMARY KEY (id);


--
-- Name: mdl_portfolio_log mdl_portlog_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_portfolio_log
    ADD CONSTRAINT mdl_portlog_id_pk PRIMARY KEY (id);


--
-- Name: mdl_portfolio_mahara_queue mdl_portmahaqueu_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_portfolio_mahara_queue
    ADD CONSTRAINT mdl_portmahaqueu_id_pk PRIMARY KEY (id);


--
-- Name: mdl_portfolio_tempdata mdl_porttemp_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_portfolio_tempdata
    ADD CONSTRAINT mdl_porttemp_id_pk PRIMARY KEY (id);


--
-- Name: mdl_post mdl_post_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_post
    ADD CONSTRAINT mdl_post_id_pk PRIMARY KEY (id);


--
-- Name: mdl_profiling mdl_prof_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_profiling
    ADD CONSTRAINT mdl_prof_id_pk PRIMARY KEY (id);


--
-- Name: mdl_qtype_ddimageortext mdl_qtypddim_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_qtype_ddimageortext
    ADD CONSTRAINT mdl_qtypddim_id_pk PRIMARY KEY (id);


--
-- Name: mdl_qtype_ddimageortext_drags mdl_qtypddimdrag_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_qtype_ddimageortext_drags
    ADD CONSTRAINT mdl_qtypddimdrag_id_pk PRIMARY KEY (id);


--
-- Name: mdl_qtype_ddimageortext_drops mdl_qtypddimdrop_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_qtype_ddimageortext_drops
    ADD CONSTRAINT mdl_qtypddimdrop_id_pk PRIMARY KEY (id);


--
-- Name: mdl_qtype_ddmarker mdl_qtypddma_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_qtype_ddmarker
    ADD CONSTRAINT mdl_qtypddma_id_pk PRIMARY KEY (id);


--
-- Name: mdl_qtype_ddmarker_drags mdl_qtypddmadrag_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_qtype_ddmarker_drags
    ADD CONSTRAINT mdl_qtypddmadrag_id_pk PRIMARY KEY (id);


--
-- Name: mdl_qtype_ddmarker_drops mdl_qtypddmadrop_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_qtype_ddmarker_drops
    ADD CONSTRAINT mdl_qtypddmadrop_id_pk PRIMARY KEY (id);


--
-- Name: mdl_qtype_essay_options mdl_qtypessaopti_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_qtype_essay_options
    ADD CONSTRAINT mdl_qtypessaopti_id_pk PRIMARY KEY (id);


--
-- Name: mdl_qtype_match_options mdl_qtypmatcopti_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_qtype_match_options
    ADD CONSTRAINT mdl_qtypmatcopti_id_pk PRIMARY KEY (id);


--
-- Name: mdl_qtype_match_subquestions mdl_qtypmatcsubq_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_qtype_match_subquestions
    ADD CONSTRAINT mdl_qtypmatcsubq_id_pk PRIMARY KEY (id);


--
-- Name: mdl_qtype_multichoice_options mdl_qtypmultopti_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_qtype_multichoice_options
    ADD CONSTRAINT mdl_qtypmultopti_id_pk PRIMARY KEY (id);


--
-- Name: mdl_qtype_randomsamatch_options mdl_qtyprandopti_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_qtype_randomsamatch_options
    ADD CONSTRAINT mdl_qtyprandopti_id_pk PRIMARY KEY (id);


--
-- Name: mdl_qtype_shortanswer_options mdl_qtypshoropti_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_qtype_shortanswer_options
    ADD CONSTRAINT mdl_qtypshoropti_id_pk PRIMARY KEY (id);


--
-- Name: mdl_question mdl_ques_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_question
    ADD CONSTRAINT mdl_ques_id_pk PRIMARY KEY (id);


--
-- Name: mdl_question_answers mdl_quesansw_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_question_answers
    ADD CONSTRAINT mdl_quesansw_id_pk PRIMARY KEY (id);


--
-- Name: mdl_question_attempts mdl_quesatte_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_question_attempts
    ADD CONSTRAINT mdl_quesatte_id_pk PRIMARY KEY (id);


--
-- Name: mdl_question_attempt_steps mdl_quesattestep_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_question_attempt_steps
    ADD CONSTRAINT mdl_quesattestep_id_pk PRIMARY KEY (id);


--
-- Name: mdl_question_attempt_step_data mdl_quesattestepdata_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_question_attempt_step_data
    ADD CONSTRAINT mdl_quesattestepdata_id_pk PRIMARY KEY (id);


--
-- Name: mdl_question_calculated mdl_quescalc_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_question_calculated
    ADD CONSTRAINT mdl_quescalc_id_pk PRIMARY KEY (id);


--
-- Name: mdl_question_calculated_options mdl_quescalcopti_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_question_calculated_options
    ADD CONSTRAINT mdl_quescalcopti_id_pk PRIMARY KEY (id);


--
-- Name: mdl_question_categories mdl_quescate_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_question_categories
    ADD CONSTRAINT mdl_quescate_id_pk PRIMARY KEY (id);


--
-- Name: mdl_question_datasets mdl_quesdata_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_question_datasets
    ADD CONSTRAINT mdl_quesdata_id_pk PRIMARY KEY (id);


--
-- Name: mdl_question_dataset_definitions mdl_quesdatadefi_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_question_dataset_definitions
    ADD CONSTRAINT mdl_quesdatadefi_id_pk PRIMARY KEY (id);


--
-- Name: mdl_question_dataset_items mdl_quesdataitem_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_question_dataset_items
    ADD CONSTRAINT mdl_quesdataitem_id_pk PRIMARY KEY (id);


--
-- Name: mdl_question_ddwtos mdl_quesddwt_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_question_ddwtos
    ADD CONSTRAINT mdl_quesddwt_id_pk PRIMARY KEY (id);


--
-- Name: mdl_question_gapselect mdl_quesgaps_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_question_gapselect
    ADD CONSTRAINT mdl_quesgaps_id_pk PRIMARY KEY (id);


--
-- Name: mdl_question_hints mdl_queshint_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_question_hints
    ADD CONSTRAINT mdl_queshint_id_pk PRIMARY KEY (id);


--
-- Name: mdl_question_multianswer mdl_quesmult_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_question_multianswer
    ADD CONSTRAINT mdl_quesmult_id_pk PRIMARY KEY (id);


--
-- Name: mdl_question_numerical mdl_quesnume_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_question_numerical
    ADD CONSTRAINT mdl_quesnume_id_pk PRIMARY KEY (id);


--
-- Name: mdl_question_numerical_options mdl_quesnumeopti_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_question_numerical_options
    ADD CONSTRAINT mdl_quesnumeopti_id_pk PRIMARY KEY (id);


--
-- Name: mdl_question_numerical_units mdl_quesnumeunit_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_question_numerical_units
    ADD CONSTRAINT mdl_quesnumeunit_id_pk PRIMARY KEY (id);


--
-- Name: mdl_question_response_analysis mdl_quesrespanal_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_question_response_analysis
    ADD CONSTRAINT mdl_quesrespanal_id_pk PRIMARY KEY (id);


--
-- Name: mdl_question_response_count mdl_quesrespcoun_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_question_response_count
    ADD CONSTRAINT mdl_quesrespcoun_id_pk PRIMARY KEY (id);


--
-- Name: mdl_question_statistics mdl_quesstat_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_question_statistics
    ADD CONSTRAINT mdl_quesstat_id_pk PRIMARY KEY (id);


--
-- Name: mdl_question_truefalse mdl_questrue_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_question_truefalse
    ADD CONSTRAINT mdl_questrue_id_pk PRIMARY KEY (id);


--
-- Name: mdl_question_usages mdl_quesusag_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_question_usages
    ADD CONSTRAINT mdl_quesusag_id_pk PRIMARY KEY (id);


--
-- Name: mdl_quiz mdl_quiz_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_quiz
    ADD CONSTRAINT mdl_quiz_id_pk PRIMARY KEY (id);


--
-- Name: mdl_quiz_attempts mdl_quizatte_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_quiz_attempts
    ADD CONSTRAINT mdl_quizatte_id_pk PRIMARY KEY (id);


--
-- Name: mdl_quiz_feedback mdl_quizfeed_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_quiz_feedback
    ADD CONSTRAINT mdl_quizfeed_id_pk PRIMARY KEY (id);


--
-- Name: mdl_quiz_grades mdl_quizgrad_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_quiz_grades
    ADD CONSTRAINT mdl_quizgrad_id_pk PRIMARY KEY (id);


--
-- Name: mdl_quiz_overrides mdl_quizover_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_quiz_overrides
    ADD CONSTRAINT mdl_quizover_id_pk PRIMARY KEY (id);


--
-- Name: mdl_quiz_overview_regrades mdl_quizoverregr_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_quiz_overview_regrades
    ADD CONSTRAINT mdl_quizoverregr_id_pk PRIMARY KEY (id);


--
-- Name: mdl_quiz_reports mdl_quizrepo_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_quiz_reports
    ADD CONSTRAINT mdl_quizrepo_id_pk PRIMARY KEY (id);


--
-- Name: mdl_quizaccess_seb_quizsettings mdl_quizsebquiz_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_quizaccess_seb_quizsettings
    ADD CONSTRAINT mdl_quizsebquiz_id_pk PRIMARY KEY (id);


--
-- Name: mdl_quizaccess_seb_template mdl_quizsebtemp_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_quizaccess_seb_template
    ADD CONSTRAINT mdl_quizsebtemp_id_pk PRIMARY KEY (id);


--
-- Name: mdl_quiz_sections mdl_quizsect_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_quiz_sections
    ADD CONSTRAINT mdl_quizsect_id_pk PRIMARY KEY (id);


--
-- Name: mdl_quiz_slots mdl_quizslot_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_quiz_slots
    ADD CONSTRAINT mdl_quizslot_id_pk PRIMARY KEY (id);


--
-- Name: mdl_quiz_slot_tags mdl_quizslottags_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_quiz_slot_tags
    ADD CONSTRAINT mdl_quizslottags_id_pk PRIMARY KEY (id);


--
-- Name: mdl_quiz_statistics mdl_quizstat_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_quiz_statistics
    ADD CONSTRAINT mdl_quizstat_id_pk PRIMARY KEY (id);


--
-- Name: mdl_rating mdl_rati_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_rating
    ADD CONSTRAINT mdl_rati_id_pk PRIMARY KEY (id);


--
-- Name: mdl_registration_hubs mdl_regihubs_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_registration_hubs
    ADD CONSTRAINT mdl_regihubs_id_pk PRIMARY KEY (id);


--
-- Name: mdl_repository mdl_repo_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_repository
    ADD CONSTRAINT mdl_repo_id_pk PRIMARY KEY (id);


--
-- Name: mdl_repository_instances mdl_repoinst_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_repository_instances
    ADD CONSTRAINT mdl_repoinst_id_pk PRIMARY KEY (id);


--
-- Name: mdl_repository_instance_config mdl_repoinstconf_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_repository_instance_config
    ADD CONSTRAINT mdl_repoinstconf_id_pk PRIMARY KEY (id);


--
-- Name: mdl_repository_onedrive_access mdl_repoonedacce_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_repository_onedrive_access
    ADD CONSTRAINT mdl_repoonedacce_id_pk PRIMARY KEY (id);


--
-- Name: mdl_resource mdl_reso_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_resource
    ADD CONSTRAINT mdl_reso_id_pk PRIMARY KEY (id);


--
-- Name: mdl_resource_old mdl_resoold_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_resource_old
    ADD CONSTRAINT mdl_resoold_id_pk PRIMARY KEY (id);


--
-- Name: mdl_role mdl_role_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_role
    ADD CONSTRAINT mdl_role_id_pk PRIMARY KEY (id);


--
-- Name: mdl_role_allow_assign mdl_rolealloassi_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_role_allow_assign
    ADD CONSTRAINT mdl_rolealloassi_id_pk PRIMARY KEY (id);


--
-- Name: mdl_role_allow_override mdl_rolealloover_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_role_allow_override
    ADD CONSTRAINT mdl_rolealloover_id_pk PRIMARY KEY (id);


--
-- Name: mdl_role_allow_switch mdl_rolealloswit_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_role_allow_switch
    ADD CONSTRAINT mdl_rolealloswit_id_pk PRIMARY KEY (id);


--
-- Name: mdl_role_allow_view mdl_rolealloview_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_role_allow_view
    ADD CONSTRAINT mdl_rolealloview_id_pk PRIMARY KEY (id);


--
-- Name: mdl_role_assignments mdl_roleassi_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_role_assignments
    ADD CONSTRAINT mdl_roleassi_id_pk PRIMARY KEY (id);


--
-- Name: mdl_role_capabilities mdl_rolecapa_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_role_capabilities
    ADD CONSTRAINT mdl_rolecapa_id_pk PRIMARY KEY (id);


--
-- Name: mdl_role_context_levels mdl_rolecontleve_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_role_context_levels
    ADD CONSTRAINT mdl_rolecontleve_id_pk PRIMARY KEY (id);


--
-- Name: mdl_role_names mdl_rolename_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_role_names
    ADD CONSTRAINT mdl_rolename_id_pk PRIMARY KEY (id);


--
-- Name: mdl_scale mdl_scal_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_scale
    ADD CONSTRAINT mdl_scal_id_pk PRIMARY KEY (id);


--
-- Name: mdl_scale_history mdl_scalhist_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_scale_history
    ADD CONSTRAINT mdl_scalhist_id_pk PRIMARY KEY (id);


--
-- Name: mdl_scorm mdl_scor_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_scorm
    ADD CONSTRAINT mdl_scor_id_pk PRIMARY KEY (id);


--
-- Name: mdl_scorm_aicc_session mdl_scoraiccsess_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_scorm_aicc_session
    ADD CONSTRAINT mdl_scoraiccsess_id_pk PRIMARY KEY (id);


--
-- Name: mdl_scorm_scoes mdl_scorscoe_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_scorm_scoes
    ADD CONSTRAINT mdl_scorscoe_id_pk PRIMARY KEY (id);


--
-- Name: mdl_scorm_scoes_data mdl_scorscoedata_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_scorm_scoes_data
    ADD CONSTRAINT mdl_scorscoedata_id_pk PRIMARY KEY (id);


--
-- Name: mdl_scorm_scoes_track mdl_scorscoetrac_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_scorm_scoes_track
    ADD CONSTRAINT mdl_scorscoetrac_id_pk PRIMARY KEY (id);


--
-- Name: mdl_scorm_seq_mapinfo mdl_scorseqmapi_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_scorm_seq_mapinfo
    ADD CONSTRAINT mdl_scorseqmapi_id_pk PRIMARY KEY (id);


--
-- Name: mdl_scorm_seq_objective mdl_scorseqobje_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_scorm_seq_objective
    ADD CONSTRAINT mdl_scorseqobje_id_pk PRIMARY KEY (id);


--
-- Name: mdl_scorm_seq_rolluprulecond mdl_scorseqroll_id3_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_scorm_seq_rolluprulecond
    ADD CONSTRAINT mdl_scorseqroll_id3_pk PRIMARY KEY (id);


--
-- Name: mdl_scorm_seq_rolluprule mdl_scorseqroll_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_scorm_seq_rolluprule
    ADD CONSTRAINT mdl_scorseqroll_id_pk PRIMARY KEY (id);


--
-- Name: mdl_scorm_seq_rulecond mdl_scorseqrule_id3_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_scorm_seq_rulecond
    ADD CONSTRAINT mdl_scorseqrule_id3_pk PRIMARY KEY (id);


--
-- Name: mdl_scorm_seq_ruleconds mdl_scorseqrule_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_scorm_seq_ruleconds
    ADD CONSTRAINT mdl_scorseqrule_id_pk PRIMARY KEY (id);


--
-- Name: mdl_search_index_requests mdl_searinderequ_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_search_index_requests
    ADD CONSTRAINT mdl_searinderequ_id_pk PRIMARY KEY (id);


--
-- Name: mdl_search_simpledb_index mdl_searsimpinde_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_search_simpledb_index
    ADD CONSTRAINT mdl_searsimpinde_id_pk PRIMARY KEY (id);


--
-- Name: mdl_sessions mdl_sess_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_sessions
    ADD CONSTRAINT mdl_sess_id_pk PRIMARY KEY (id);


--
-- Name: mdl_stats_daily mdl_statdail_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_stats_daily
    ADD CONSTRAINT mdl_statdail_id_pk PRIMARY KEY (id);


--
-- Name: mdl_stats_monthly mdl_statmont_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_stats_monthly
    ADD CONSTRAINT mdl_statmont_id_pk PRIMARY KEY (id);


--
-- Name: mdl_stats_user_daily mdl_statuserdail_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_stats_user_daily
    ADD CONSTRAINT mdl_statuserdail_id_pk PRIMARY KEY (id);


--
-- Name: mdl_stats_user_monthly mdl_statusermont_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_stats_user_monthly
    ADD CONSTRAINT mdl_statusermont_id_pk PRIMARY KEY (id);


--
-- Name: mdl_stats_user_weekly mdl_statuserweek_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_stats_user_weekly
    ADD CONSTRAINT mdl_statuserweek_id_pk PRIMARY KEY (id);


--
-- Name: mdl_stats_weekly mdl_statweek_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_stats_weekly
    ADD CONSTRAINT mdl_statweek_id_pk PRIMARY KEY (id);


--
-- Name: mdl_survey mdl_surv_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_survey
    ADD CONSTRAINT mdl_surv_id_pk PRIMARY KEY (id);


--
-- Name: mdl_survey_analysis mdl_survanal_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_survey_analysis
    ADD CONSTRAINT mdl_survanal_id_pk PRIMARY KEY (id);


--
-- Name: mdl_survey_answers mdl_survansw_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_survey_answers
    ADD CONSTRAINT mdl_survansw_id_pk PRIMARY KEY (id);


--
-- Name: mdl_survey_questions mdl_survques_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_survey_questions
    ADD CONSTRAINT mdl_survques_id_pk PRIMARY KEY (id);


--
-- Name: mdl_tag mdl_tag_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_tag
    ADD CONSTRAINT mdl_tag_id_pk PRIMARY KEY (id);


--
-- Name: mdl_tag_area mdl_tagarea_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_tag_area
    ADD CONSTRAINT mdl_tagarea_id_pk PRIMARY KEY (id);


--
-- Name: mdl_tag_coll mdl_tagcoll_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_tag_coll
    ADD CONSTRAINT mdl_tagcoll_id_pk PRIMARY KEY (id);


--
-- Name: mdl_tag_correlation mdl_tagcorr_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_tag_correlation
    ADD CONSTRAINT mdl_tagcorr_id_pk PRIMARY KEY (id);


--
-- Name: mdl_tag_instance mdl_taginst_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_tag_instance
    ADD CONSTRAINT mdl_taginst_id_pk PRIMARY KEY (id);


--
-- Name: mdl_task_adhoc mdl_taskadho_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_task_adhoc
    ADD CONSTRAINT mdl_taskadho_id_pk PRIMARY KEY (id);


--
-- Name: mdl_task_log mdl_tasklog_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_task_log
    ADD CONSTRAINT mdl_tasklog_id_pk PRIMARY KEY (id);


--
-- Name: mdl_task_scheduled mdl_tasksche_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_task_scheduled
    ADD CONSTRAINT mdl_tasksche_id_pk PRIMARY KEY (id);


--
-- Name: mdl_tool_cohortroles mdl_toolcoho_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_tool_cohortroles
    ADD CONSTRAINT mdl_toolcoho_id_pk PRIMARY KEY (id);


--
-- Name: mdl_tool_customlang mdl_toolcust_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_tool_customlang
    ADD CONSTRAINT mdl_toolcust_id_pk PRIMARY KEY (id);


--
-- Name: mdl_tool_customlang_components mdl_toolcustcomp_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_tool_customlang_components
    ADD CONSTRAINT mdl_toolcustcomp_id_pk PRIMARY KEY (id);


--
-- Name: mdl_tool_dataprivacy_category mdl_tooldatacate_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_tool_dataprivacy_category
    ADD CONSTRAINT mdl_tooldatacate_id_pk PRIMARY KEY (id);


--
-- Name: mdl_tool_dataprivacy_ctxexpired mdl_tooldatactxe_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_tool_dataprivacy_ctxexpired
    ADD CONSTRAINT mdl_tooldatactxe_id_pk PRIMARY KEY (id);


--
-- Name: mdl_tool_dataprivacy_ctxinstance mdl_tooldatactxi_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_tool_dataprivacy_ctxinstance
    ADD CONSTRAINT mdl_tooldatactxi_id_pk PRIMARY KEY (id);


--
-- Name: mdl_tool_dataprivacy_ctxlevel mdl_tooldatactxl_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_tool_dataprivacy_ctxlevel
    ADD CONSTRAINT mdl_tooldatactxl_id_pk PRIMARY KEY (id);


--
-- Name: mdl_tool_dataprivacy_purposerole mdl_tooldatapurp_id3_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_tool_dataprivacy_purposerole
    ADD CONSTRAINT mdl_tooldatapurp_id3_pk PRIMARY KEY (id);


--
-- Name: mdl_tool_dataprivacy_purpose mdl_tooldatapurp_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_tool_dataprivacy_purpose
    ADD CONSTRAINT mdl_tooldatapurp_id_pk PRIMARY KEY (id);


--
-- Name: mdl_tool_dataprivacy_request mdl_tooldatarequ_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_tool_dataprivacy_request
    ADD CONSTRAINT mdl_tooldatarequ_id_pk PRIMARY KEY (id);


--
-- Name: mdl_tool_monitor_events mdl_toolmonieven_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_tool_monitor_events
    ADD CONSTRAINT mdl_toolmonieven_id_pk PRIMARY KEY (id);


--
-- Name: mdl_tool_monitor_history mdl_toolmonihist_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_tool_monitor_history
    ADD CONSTRAINT mdl_toolmonihist_id_pk PRIMARY KEY (id);


--
-- Name: mdl_tool_monitor_rules mdl_toolmonirule_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_tool_monitor_rules
    ADD CONSTRAINT mdl_toolmonirule_id_pk PRIMARY KEY (id);


--
-- Name: mdl_tool_monitor_subscriptions mdl_toolmonisubs_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_tool_monitor_subscriptions
    ADD CONSTRAINT mdl_toolmonisubs_id_pk PRIMARY KEY (id);


--
-- Name: mdl_tool_policy mdl_toolpoli_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_tool_policy
    ADD CONSTRAINT mdl_toolpoli_id_pk PRIMARY KEY (id);


--
-- Name: mdl_tool_policy_acceptances mdl_toolpoliacce_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_tool_policy_acceptances
    ADD CONSTRAINT mdl_toolpoliacce_id_pk PRIMARY KEY (id);


--
-- Name: mdl_tool_policy_versions mdl_toolpolivers_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_tool_policy_versions
    ADD CONSTRAINT mdl_toolpolivers_id_pk PRIMARY KEY (id);


--
-- Name: mdl_tool_recyclebin_category mdl_toolrecycate_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_tool_recyclebin_category
    ADD CONSTRAINT mdl_toolrecycate_id_pk PRIMARY KEY (id);


--
-- Name: mdl_tool_recyclebin_course mdl_toolrecycour_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_tool_recyclebin_course
    ADD CONSTRAINT mdl_toolrecycour_id_pk PRIMARY KEY (id);


--
-- Name: mdl_tool_usertours_steps mdl_tooluserstep_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_tool_usertours_steps
    ADD CONSTRAINT mdl_tooluserstep_id_pk PRIMARY KEY (id);


--
-- Name: mdl_tool_usertours_tours mdl_toolusertour_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_tool_usertours_tours
    ADD CONSTRAINT mdl_toolusertour_id_pk PRIMARY KEY (id);


--
-- Name: mdl_upgrade_log mdl_upgrlog_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_upgrade_log
    ADD CONSTRAINT mdl_upgrlog_id_pk PRIMARY KEY (id);


--
-- Name: mdl_url mdl_url_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_url
    ADD CONSTRAINT mdl_url_id_pk PRIMARY KEY (id);


--
-- Name: mdl_user mdl_user_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_user
    ADD CONSTRAINT mdl_user_id_pk PRIMARY KEY (id);


--
-- Name: mdl_user_devices mdl_userdevi_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_user_devices
    ADD CONSTRAINT mdl_userdevi_id_pk PRIMARY KEY (id);


--
-- Name: mdl_user_enrolments mdl_userenro_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_user_enrolments
    ADD CONSTRAINT mdl_userenro_id_pk PRIMARY KEY (id);


--
-- Name: mdl_user_info_category mdl_userinfocate_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_user_info_category
    ADD CONSTRAINT mdl_userinfocate_id_pk PRIMARY KEY (id);


--
-- Name: mdl_user_info_data mdl_userinfodata_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_user_info_data
    ADD CONSTRAINT mdl_userinfodata_id_pk PRIMARY KEY (id);


--
-- Name: mdl_user_info_field mdl_userinfofiel_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_user_info_field
    ADD CONSTRAINT mdl_userinfofiel_id_pk PRIMARY KEY (id);


--
-- Name: mdl_user_lastaccess mdl_userlast_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_user_lastaccess
    ADD CONSTRAINT mdl_userlast_id_pk PRIMARY KEY (id);


--
-- Name: mdl_user_password_history mdl_userpasshist_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_user_password_history
    ADD CONSTRAINT mdl_userpasshist_id_pk PRIMARY KEY (id);


--
-- Name: mdl_user_password_resets mdl_userpassrese_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_user_password_resets
    ADD CONSTRAINT mdl_userpassrese_id_pk PRIMARY KEY (id);


--
-- Name: mdl_user_preferences mdl_userpref_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_user_preferences
    ADD CONSTRAINT mdl_userpref_id_pk PRIMARY KEY (id);


--
-- Name: mdl_user_private_key mdl_userprivkey_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_user_private_key
    ADD CONSTRAINT mdl_userprivkey_id_pk PRIMARY KEY (id);


--
-- Name: mdl_wiki mdl_wiki_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_wiki
    ADD CONSTRAINT mdl_wiki_id_pk PRIMARY KEY (id);


--
-- Name: mdl_wiki_links mdl_wikilink_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_wiki_links
    ADD CONSTRAINT mdl_wikilink_id_pk PRIMARY KEY (id);


--
-- Name: mdl_wiki_locks mdl_wikilock_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_wiki_locks
    ADD CONSTRAINT mdl_wikilock_id_pk PRIMARY KEY (id);


--
-- Name: mdl_wiki_pages mdl_wikipage_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_wiki_pages
    ADD CONSTRAINT mdl_wikipage_id_pk PRIMARY KEY (id);


--
-- Name: mdl_wiki_subwikis mdl_wikisubw_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_wiki_subwikis
    ADD CONSTRAINT mdl_wikisubw_id_pk PRIMARY KEY (id);


--
-- Name: mdl_wiki_synonyms mdl_wikisyno_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_wiki_synonyms
    ADD CONSTRAINT mdl_wikisyno_id_pk PRIMARY KEY (id);


--
-- Name: mdl_wiki_versions mdl_wikivers_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_wiki_versions
    ADD CONSTRAINT mdl_wikivers_id_pk PRIMARY KEY (id);


--
-- Name: mdl_workshop mdl_work_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_workshop
    ADD CONSTRAINT mdl_work_id_pk PRIMARY KEY (id);


--
-- Name: mdl_workshopform_accumulative mdl_workaccu_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_workshopform_accumulative
    ADD CONSTRAINT mdl_workaccu_id_pk PRIMARY KEY (id);


--
-- Name: mdl_workshop_aggregations mdl_workaggr_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_workshop_aggregations
    ADD CONSTRAINT mdl_workaggr_id_pk PRIMARY KEY (id);


--
-- Name: mdl_workshop_assessments mdl_workasse_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_workshop_assessments
    ADD CONSTRAINT mdl_workasse_id_pk PRIMARY KEY (id);


--
-- Name: mdl_workshopeval_best_settings mdl_workbestsett_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_workshopeval_best_settings
    ADD CONSTRAINT mdl_workbestsett_id_pk PRIMARY KEY (id);


--
-- Name: mdl_workshopform_comments mdl_workcomm_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_workshopform_comments
    ADD CONSTRAINT mdl_workcomm_id_pk PRIMARY KEY (id);


--
-- Name: mdl_workshop_grades mdl_workgrad_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_workshop_grades
    ADD CONSTRAINT mdl_workgrad_id_pk PRIMARY KEY (id);


--
-- Name: mdl_workshopform_numerrors mdl_worknume_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_workshopform_numerrors
    ADD CONSTRAINT mdl_worknume_id_pk PRIMARY KEY (id);


--
-- Name: mdl_workshopform_numerrors_map mdl_worknumemap_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_workshopform_numerrors_map
    ADD CONSTRAINT mdl_worknumemap_id_pk PRIMARY KEY (id);


--
-- Name: mdl_workshopform_rubric mdl_workrubr_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_workshopform_rubric
    ADD CONSTRAINT mdl_workrubr_id_pk PRIMARY KEY (id);


--
-- Name: mdl_workshopform_rubric_config mdl_workrubrconf_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_workshopform_rubric_config
    ADD CONSTRAINT mdl_workrubrconf_id_pk PRIMARY KEY (id);


--
-- Name: mdl_workshopform_rubric_levels mdl_workrubrleve_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_workshopform_rubric_levels
    ADD CONSTRAINT mdl_workrubrleve_id_pk PRIMARY KEY (id);


--
-- Name: mdl_workshopallocation_scheduled mdl_worksche_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_workshopallocation_scheduled
    ADD CONSTRAINT mdl_worksche_id_pk PRIMARY KEY (id);


--
-- Name: mdl_workshop_submissions mdl_worksubm_id_pk; Type: CONSTRAINT; Schema: public; Owner: moodle
--

ALTER TABLE ONLY public.mdl_workshop_submissions
    ADD CONSTRAINT mdl_worksubm_id_pk PRIMARY KEY (id);


--
-- Name: mdl_analindicalc_con_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_analindicalc_con_ix ON public.mdl_analytics_indicator_calc USING btree (contextid);


--
-- Name: mdl_analindicalc_staendcon_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_analindicalc_staendcon_ix ON public.mdl_analytics_indicator_calc USING btree (starttime, endtime, contextid);


--
-- Name: mdl_analmode_enatra_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_analmode_enatra_ix ON public.mdl_analytics_models USING btree (enabled, trained);


--
-- Name: mdl_analmodelog_mod_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_analmodelog_mod_ix ON public.mdl_analytics_models_log USING btree (modelid);


--
-- Name: mdl_analpred_con_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_analpred_con_ix ON public.mdl_analytics_predictions USING btree (contextid);


--
-- Name: mdl_analpred_mod_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_analpred_mod_ix ON public.mdl_analytics_predictions USING btree (modelid);


--
-- Name: mdl_analpred_modcon_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_analpred_modcon_ix ON public.mdl_analytics_predictions USING btree (modelid, contextid);


--
-- Name: mdl_analpredacti_pre_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_analpredacti_pre_ix ON public.mdl_analytics_prediction_actions USING btree (predictionid);


--
-- Name: mdl_analpredacti_preuseact_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_analpredacti_preuseact_ix ON public.mdl_analytics_prediction_actions USING btree (predictionid, userid, actionname);


--
-- Name: mdl_analpredacti_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_analpredacti_use_ix ON public.mdl_analytics_prediction_actions USING btree (userid);


--
-- Name: mdl_analpredsamp_mod_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_analpredsamp_mod_ix ON public.mdl_analytics_predict_samples USING btree (modelid);


--
-- Name: mdl_analpredsamp_modanatimr_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_analpredsamp_modanatimr_ix ON public.mdl_analytics_predict_samples USING btree (modelid, analysableid, timesplitting, rangeindex);


--
-- Name: mdl_analtraisamp_mod_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_analtraisamp_mod_ix ON public.mdl_analytics_train_samples USING btree (modelid);


--
-- Name: mdl_analtraisamp_modanatim_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_analtraisamp_modanatim_ix ON public.mdl_analytics_train_samples USING btree (modelid, analysableid, timesplitting);


--
-- Name: mdl_analusedanal_ana_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_analusedanal_ana_ix ON public.mdl_analytics_used_analysables USING btree (analysableid);


--
-- Name: mdl_analusedanal_mod_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_analusedanal_mod_ix ON public.mdl_analytics_used_analysables USING btree (modelid);


--
-- Name: mdl_analusedanal_modact_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_analusedanal_modact_ix ON public.mdl_analytics_used_analysables USING btree (modelid, action);


--
-- Name: mdl_analusedfile_fil_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_analusedfile_fil_ix ON public.mdl_analytics_used_files USING btree (fileid);


--
-- Name: mdl_analusedfile_mod_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_analusedfile_mod_ix ON public.mdl_analytics_used_files USING btree (modelid);


--
-- Name: mdl_analusedfile_modactfil_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_analusedfile_modactfil_ix ON public.mdl_analytics_used_files USING btree (modelid, action, fileid);


--
-- Name: mdl_assi_cou2_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_assi_cou2_ix ON public.mdl_assignment USING btree (course);


--
-- Name: mdl_assi_cou_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_assi_cou_ix ON public.mdl_assign USING btree (course);


--
-- Name: mdl_assi_tea_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_assi_tea_ix ON public.mdl_assign USING btree (teamsubmissiongroupingid);


--
-- Name: mdl_assicomm_ass_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_assicomm_ass_ix ON public.mdl_assignfeedback_comments USING btree (assignment);


--
-- Name: mdl_assicomm_gra_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_assicomm_gra_ix ON public.mdl_assignfeedback_comments USING btree (grade);


--
-- Name: mdl_assieditanno_gra_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_assieditanno_gra_ix ON public.mdl_assignfeedback_editpdf_annot USING btree (gradeid);


--
-- Name: mdl_assieditanno_grapag_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_assieditanno_grapag_ix ON public.mdl_assignfeedback_editpdf_annot USING btree (gradeid, pageno);


--
-- Name: mdl_assieditcmnt_gra_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_assieditcmnt_gra_ix ON public.mdl_assignfeedback_editpdf_cmnt USING btree (gradeid);


--
-- Name: mdl_assieditcmnt_grapag_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_assieditcmnt_grapag_ix ON public.mdl_assignfeedback_editpdf_cmnt USING btree (gradeid, pageno);


--
-- Name: mdl_assieditqueu_subsub_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_assieditqueu_subsub_uix ON public.mdl_assignfeedback_editpdf_queue USING btree (submissionid, submissionattempt);


--
-- Name: mdl_assieditquic_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_assieditquic_use_ix ON public.mdl_assignfeedback_editpdf_quick USING btree (userid);


--
-- Name: mdl_assieditrot_gra_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_assieditrot_gra_ix ON public.mdl_assignfeedback_editpdf_rot USING btree (gradeid);


--
-- Name: mdl_assieditrot_grapag_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_assieditrot_grapag_uix ON public.mdl_assignfeedback_editpdf_rot USING btree (gradeid, pageno);


--
-- Name: mdl_assifile_ass2_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_assifile_ass2_ix ON public.mdl_assignfeedback_file USING btree (assignment);


--
-- Name: mdl_assifile_ass_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_assifile_ass_ix ON public.mdl_assignsubmission_file USING btree (assignment);


--
-- Name: mdl_assifile_gra_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_assifile_gra_ix ON public.mdl_assignfeedback_file USING btree (grade);


--
-- Name: mdl_assifile_sub_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_assifile_sub_ix ON public.mdl_assignsubmission_file USING btree (submission);


--
-- Name: mdl_assigrad_ass_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_assigrad_ass_ix ON public.mdl_assign_grades USING btree (assignment);


--
-- Name: mdl_assigrad_assuseatt_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_assigrad_assuseatt_uix ON public.mdl_assign_grades USING btree (assignment, userid, attemptnumber);


--
-- Name: mdl_assigrad_att_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_assigrad_att_ix ON public.mdl_assign_grades USING btree (attemptnumber);


--
-- Name: mdl_assigrad_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_assigrad_use_ix ON public.mdl_assign_grades USING btree (userid);


--
-- Name: mdl_assionli_ass_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_assionli_ass_ix ON public.mdl_assignsubmission_onlinetext USING btree (assignment);


--
-- Name: mdl_assionli_sub_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_assionli_sub_ix ON public.mdl_assignsubmission_onlinetext USING btree (submission);


--
-- Name: mdl_assiover_ass_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_assiover_ass_ix ON public.mdl_assign_overrides USING btree (assignid);


--
-- Name: mdl_assiover_gro_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_assiover_gro_ix ON public.mdl_assign_overrides USING btree (groupid);


--
-- Name: mdl_assiover_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_assiover_use_ix ON public.mdl_assign_overrides USING btree (userid);


--
-- Name: mdl_assiplugconf_ass_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_assiplugconf_ass_ix ON public.mdl_assign_plugin_config USING btree (assignment);


--
-- Name: mdl_assiplugconf_nam_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_assiplugconf_nam_ix ON public.mdl_assign_plugin_config USING btree (name);


--
-- Name: mdl_assiplugconf_plu_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_assiplugconf_plu_ix ON public.mdl_assign_plugin_config USING btree (plugin);


--
-- Name: mdl_assiplugconf_sub_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_assiplugconf_sub_ix ON public.mdl_assign_plugin_config USING btree (subtype);


--
-- Name: mdl_assisubm_ass2_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_assisubm_ass2_ix ON public.mdl_assignment_submissions USING btree (assignment);


--
-- Name: mdl_assisubm_ass_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_assisubm_ass_ix ON public.mdl_assign_submission USING btree (assignment);


--
-- Name: mdl_assisubm_assusegroatt_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_assisubm_assusegroatt_uix ON public.mdl_assign_submission USING btree (assignment, userid, groupid, attemptnumber);


--
-- Name: mdl_assisubm_assusegrolat_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_assisubm_assusegrolat_ix ON public.mdl_assign_submission USING btree (assignment, userid, groupid, latest);


--
-- Name: mdl_assisubm_att_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_assisubm_att_ix ON public.mdl_assign_submission USING btree (attemptnumber);


--
-- Name: mdl_assisubm_mai_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_assisubm_mai_ix ON public.mdl_assignment_submissions USING btree (mailed);


--
-- Name: mdl_assisubm_tim_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_assisubm_tim_ix ON public.mdl_assignment_submissions USING btree (timemarked);


--
-- Name: mdl_assisubm_use2_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_assisubm_use2_ix ON public.mdl_assignment_submissions USING btree (userid);


--
-- Name: mdl_assisubm_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_assisubm_use_ix ON public.mdl_assign_submission USING btree (userid);


--
-- Name: mdl_assiupgr_old2_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_assiupgr_old2_ix ON public.mdl_assignment_upgrade USING btree (oldinstance);


--
-- Name: mdl_assiupgr_old_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_assiupgr_old_ix ON public.mdl_assignment_upgrade USING btree (oldcmid);


--
-- Name: mdl_assiuserflag_ass_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_assiuserflag_ass_ix ON public.mdl_assign_user_flags USING btree (assignment);


--
-- Name: mdl_assiuserflag_mai_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_assiuserflag_mai_ix ON public.mdl_assign_user_flags USING btree (mailed);


--
-- Name: mdl_assiuserflag_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_assiuserflag_use_ix ON public.mdl_assign_user_flags USING btree (userid);


--
-- Name: mdl_assiusermapp_ass_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_assiusermapp_ass_ix ON public.mdl_assign_user_mapping USING btree (assignment);


--
-- Name: mdl_assiusermapp_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_assiusermapp_use_ix ON public.mdl_assign_user_mapping USING btree (userid);


--
-- Name: mdl_authoautlinklogi_iss_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_authoautlinklogi_iss_ix ON public.mdl_auth_oauth2_linked_login USING btree (issuerid);


--
-- Name: mdl_authoautlinklogi_issuse_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_authoautlinklogi_issuse_ix ON public.mdl_auth_oauth2_linked_login USING btree (issuerid, username);


--
-- Name: mdl_authoautlinklogi_use2_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_authoautlinklogi_use2_ix ON public.mdl_auth_oauth2_linked_login USING btree (userid);


--
-- Name: mdl_authoautlinklogi_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_authoautlinklogi_use_ix ON public.mdl_auth_oauth2_linked_login USING btree (usermodified);


--
-- Name: mdl_authoautlinklogi_useis_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_authoautlinklogi_useis_uix ON public.mdl_auth_oauth2_linked_login USING btree (userid, issuerid, username);


--
-- Name: mdl_authoidcprev_use_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_authoidcprev_use_uix ON public.mdl_auth_oidc_prevlogin USING btree (userid);


--
-- Name: mdl_authoidcstat_sta_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_authoidcstat_sta_ix ON public.mdl_auth_oidc_state USING btree (state);


--
-- Name: mdl_authoidcstat_tim_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_authoidcstat_tim_ix ON public.mdl_auth_oidc_state USING btree (timecreated);


--
-- Name: mdl_authoidctoke_oid_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_authoidctoke_oid_ix ON public.mdl_auth_oidc_token USING btree (oidcuniqid);


--
-- Name: mdl_authsamlkvst_ktyp_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_authsamlkvst_ktyp_uix ON public.mdl_auth_saml2_kvstore USING btree (k, type);


--
-- Name: mdl_backcont_bac_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_backcont_bac_uix ON public.mdl_backup_controllers USING btree (backupid);


--
-- Name: mdl_backcont_typite_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_backcont_typite_ix ON public.mdl_backup_controllers USING btree (type, itemid);


--
-- Name: mdl_backcont_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_backcont_use_ix ON public.mdl_backup_controllers USING btree (userid);


--
-- Name: mdl_backcont_useite_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_backcont_useite_ix ON public.mdl_backup_controllers USING btree (userid, itemid);


--
-- Name: mdl_backcour_cou_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_backcour_cou_uix ON public.mdl_backup_courses USING btree (courseid);


--
-- Name: mdl_backlogs_bac_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_backlogs_bac_ix ON public.mdl_backup_logs USING btree (backupid);


--
-- Name: mdl_backlogs_bacid_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_backlogs_bacid_uix ON public.mdl_backup_logs USING btree (backupid, id);


--
-- Name: mdl_badg_cou_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_badg_cou_ix ON public.mdl_badge USING btree (courseid);


--
-- Name: mdl_badg_typ_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_badg_typ_ix ON public.mdl_badge USING btree (type);


--
-- Name: mdl_badg_use2_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_badg_use2_ix ON public.mdl_badge USING btree (usercreated);


--
-- Name: mdl_badg_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_badg_use_ix ON public.mdl_badge USING btree (usermodified);


--
-- Name: mdl_badgalig_bad_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_badgalig_bad_ix ON public.mdl_badge_alignment USING btree (badgeid);


--
-- Name: mdl_badgback_ext_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_badgback_ext_ix ON public.mdl_badge_backpack USING btree (externalbackpackid);


--
-- Name: mdl_badgback_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_badgback_use_ix ON public.mdl_badge_backpack USING btree (userid);


--
-- Name: mdl_badgback_useext_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_badgback_useext_uix ON public.mdl_badge_backpack USING btree (userid, externalbackpackid);


--
-- Name: mdl_badgbackoaut_ext_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_badgbackoaut_ext_ix ON public.mdl_badge_backpack_oauth2 USING btree (externalbackpackid);


--
-- Name: mdl_badgbackoaut_iss_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_badgbackoaut_iss_ix ON public.mdl_badge_backpack_oauth2 USING btree (issuerid);


--
-- Name: mdl_badgbackoaut_use2_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_badgbackoaut_use2_ix ON public.mdl_badge_backpack_oauth2 USING btree (userid);


--
-- Name: mdl_badgbackoaut_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_badgbackoaut_use_ix ON public.mdl_badge_backpack_oauth2 USING btree (usermodified);


--
-- Name: mdl_badgcrit_bad_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_badgcrit_bad_ix ON public.mdl_badge_criteria USING btree (badgeid);


--
-- Name: mdl_badgcrit_badcri_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_badgcrit_badcri_uix ON public.mdl_badge_criteria USING btree (badgeid, criteriatype);


--
-- Name: mdl_badgcrit_cri_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_badgcrit_cri_ix ON public.mdl_badge_criteria USING btree (criteriatype);


--
-- Name: mdl_badgcritmet_cri_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_badgcritmet_cri_ix ON public.mdl_badge_criteria_met USING btree (critid);


--
-- Name: mdl_badgcritmet_iss_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_badgcritmet_iss_ix ON public.mdl_badge_criteria_met USING btree (issuedid);


--
-- Name: mdl_badgcritmet_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_badgcritmet_use_ix ON public.mdl_badge_criteria_met USING btree (userid);


--
-- Name: mdl_badgcritpara_cri_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_badgcritpara_cri_ix ON public.mdl_badge_criteria_param USING btree (critid);


--
-- Name: mdl_badgendo_bad_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_badgendo_bad_ix ON public.mdl_badge_endorsement USING btree (badgeid);


--
-- Name: mdl_badgexte_bac_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_badgexte_bac_ix ON public.mdl_badge_external USING btree (backpackid);


--
-- Name: mdl_badgexteback_bac2_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_badgexteback_bac2_uix ON public.mdl_badge_external_backpack USING btree (backpackweburl);


--
-- Name: mdl_badgexteback_bac_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_badgexteback_bac_uix ON public.mdl_badge_external_backpack USING btree (backpackapiurl);


--
-- Name: mdl_badgexteback_oau_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_badgexteback_oau_ix ON public.mdl_badge_external_backpack USING btree (oauth2_issuerid);


--
-- Name: mdl_badgexteiden_sit_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_badgexteiden_sit_ix ON public.mdl_badge_external_identifier USING btree (sitebackpackid);


--
-- Name: mdl_badgexteiden_sitintext_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_badgexteiden_sitintext_uix ON public.mdl_badge_external_identifier USING btree (sitebackpackid, internalid, externalid, type);


--
-- Name: mdl_badgissu_bad_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_badgissu_bad_ix ON public.mdl_badge_issued USING btree (badgeid);


--
-- Name: mdl_badgissu_baduse_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_badgissu_baduse_uix ON public.mdl_badge_issued USING btree (badgeid, userid);


--
-- Name: mdl_badgissu_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_badgissu_use_ix ON public.mdl_badge_issued USING btree (userid);


--
-- Name: mdl_badgmanuawar_bad_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_badgmanuawar_bad_ix ON public.mdl_badge_manual_award USING btree (badgeid);


--
-- Name: mdl_badgmanuawar_iss2_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_badgmanuawar_iss2_ix ON public.mdl_badge_manual_award USING btree (issuerrole);


--
-- Name: mdl_badgmanuawar_iss_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_badgmanuawar_iss_ix ON public.mdl_badge_manual_award USING btree (issuerid);


--
-- Name: mdl_badgmanuawar_rec_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_badgmanuawar_rec_ix ON public.mdl_badge_manual_award USING btree (recipientid);


--
-- Name: mdl_badgrela_bad_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_badgrela_bad_ix ON public.mdl_badge_related USING btree (badgeid);


--
-- Name: mdl_badgrela_badrel_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_badgrela_badrel_uix ON public.mdl_badge_related USING btree (badgeid, relatedbadgeid);


--
-- Name: mdl_badgrela_rel_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_badgrela_rel_ix ON public.mdl_badge_related USING btree (relatedbadgeid);


--
-- Name: mdl_bigblogs_cou_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_bigblogs_cou_ix ON public.mdl_bigbluebuttonbn_logs USING btree (courseid);


--
-- Name: mdl_bigblogs_coubiguselog_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_bigblogs_coubiguselog_ix ON public.mdl_bigbluebuttonbn_logs USING btree (courseid, bigbluebuttonbnid, userid, log);


--
-- Name: mdl_bigblogs_log_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_bigblogs_log_ix ON public.mdl_bigbluebuttonbn_logs USING btree (log);


--
-- Name: mdl_bigblogs_uselog_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_bigblogs_uselog_ix ON public.mdl_bigbluebuttonbn_logs USING btree (userid, log);


--
-- Name: mdl_bloc_nam_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_bloc_nam_uix ON public.mdl_block USING btree (name);


--
-- Name: mdl_blocinst_par_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_blocinst_par_ix ON public.mdl_block_instances USING btree (parentcontextid);


--
-- Name: mdl_blocinst_parshopagsub_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_blocinst_parshopagsub_ix ON public.mdl_block_instances USING btree (parentcontextid, showinsubcontexts, pagetypepattern, subpagepattern);


--
-- Name: mdl_blocinst_tim_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_blocinst_tim_ix ON public.mdl_block_instances USING btree (timemodified);


--
-- Name: mdl_blocposi_blo_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_blocposi_blo_ix ON public.mdl_block_positions USING btree (blockinstanceid);


--
-- Name: mdl_blocposi_bloconpagsub_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_blocposi_bloconpagsub_uix ON public.mdl_block_positions USING btree (blockinstanceid, contextid, pagetype, subpage);


--
-- Name: mdl_blocposi_con_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_blocposi_con_ix ON public.mdl_block_positions USING btree (contextid);


--
-- Name: mdl_blocrece_cmi_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_blocrece_cmi_ix ON public.mdl_block_recentlyaccesseditems USING btree (cmid);


--
-- Name: mdl_blocrece_cou_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_blocrece_cou_ix ON public.mdl_block_recentlyaccesseditems USING btree (courseid);


--
-- Name: mdl_blocrece_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_blocrece_use_ix ON public.mdl_block_recentlyaccesseditems USING btree (userid);


--
-- Name: mdl_blocrece_usecoucmi_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_blocrece_usecoucmi_uix ON public.mdl_block_recentlyaccesseditems USING btree (userid, courseid, cmid);


--
-- Name: mdl_blocreceacti_coutim_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_blocreceacti_coutim_ix ON public.mdl_block_recent_activity USING btree (courseid, timecreated);


--
-- Name: mdl_blogasso_blo_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_blogasso_blo_ix ON public.mdl_blog_association USING btree (blogid);


--
-- Name: mdl_blogasso_con_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_blogasso_con_ix ON public.mdl_blog_association USING btree (contextid);


--
-- Name: mdl_blogexte_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_blogexte_use_ix ON public.mdl_blog_external USING btree (userid);


--
-- Name: mdl_bookchap_boo_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_bookchap_boo_ix ON public.mdl_book_chapters USING btree (bookid);


--
-- Name: mdl_cachfilt_filmd5_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_cachfilt_filmd5_ix ON public.mdl_cache_filters USING btree (filter, md5key);


--
-- Name: mdl_cachflag_fla_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_cachflag_fla_ix ON public.mdl_cache_flags USING btree (flagtype);


--
-- Name: mdl_cachflag_nam_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_cachflag_nam_ix ON public.mdl_cache_flags USING btree (name);


--
-- Name: mdl_capa_nam_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_capa_nam_uix ON public.mdl_capabilities USING btree (name);


--
-- Name: mdl_chat_cou_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_chat_cou_ix ON public.mdl_chat USING btree (course);


--
-- Name: mdl_chatmess_cha_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_chatmess_cha_ix ON public.mdl_chat_messages USING btree (chatid);


--
-- Name: mdl_chatmess_gro_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_chatmess_gro_ix ON public.mdl_chat_messages USING btree (groupid);


--
-- Name: mdl_chatmess_timcha_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_chatmess_timcha_ix ON public.mdl_chat_messages USING btree ("timestamp", chatid);


--
-- Name: mdl_chatmess_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_chatmess_use_ix ON public.mdl_chat_messages USING btree (userid);


--
-- Name: mdl_chatmesscurr_cha_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_chatmesscurr_cha_ix ON public.mdl_chat_messages_current USING btree (chatid);


--
-- Name: mdl_chatmesscurr_gro_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_chatmesscurr_gro_ix ON public.mdl_chat_messages_current USING btree (groupid);


--
-- Name: mdl_chatmesscurr_timcha_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_chatmesscurr_timcha_ix ON public.mdl_chat_messages_current USING btree ("timestamp", chatid);


--
-- Name: mdl_chatmesscurr_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_chatmesscurr_use_ix ON public.mdl_chat_messages_current USING btree (userid);


--
-- Name: mdl_chatuser_cha_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_chatuser_cha_ix ON public.mdl_chat_users USING btree (chatid);


--
-- Name: mdl_chatuser_gro_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_chatuser_gro_ix ON public.mdl_chat_users USING btree (groupid);


--
-- Name: mdl_chatuser_las_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_chatuser_las_ix ON public.mdl_chat_users USING btree (lastping);


--
-- Name: mdl_chatuser_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_chatuser_use_ix ON public.mdl_chat_users USING btree (userid);


--
-- Name: mdl_choi_cou_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_choi_cou_ix ON public.mdl_choice USING btree (course);


--
-- Name: mdl_choiansw_cho_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_choiansw_cho_ix ON public.mdl_choice_answers USING btree (choiceid);


--
-- Name: mdl_choiansw_opt_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_choiansw_opt_ix ON public.mdl_choice_answers USING btree (optionid);


--
-- Name: mdl_choiansw_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_choiansw_use_ix ON public.mdl_choice_answers USING btree (userid);


--
-- Name: mdl_choiopti_cho_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_choiopti_cho_ix ON public.mdl_choice_options USING btree (choiceid);


--
-- Name: mdl_coho_con_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_coho_con_ix ON public.mdl_cohort USING btree (contextid);


--
-- Name: mdl_cohomemb_coh_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_cohomemb_coh_ix ON public.mdl_cohort_members USING btree (cohortid);


--
-- Name: mdl_cohomemb_cohuse_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_cohomemb_cohuse_uix ON public.mdl_cohort_members USING btree (cohortid, userid);


--
-- Name: mdl_cohomemb_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_cohomemb_use_ix ON public.mdl_cohort_members USING btree (userid);


--
-- Name: mdl_comm_concomite_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_comm_concomite_ix ON public.mdl_comments USING btree (contextid, commentarea, itemid);


--
-- Name: mdl_comm_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_comm_use_ix ON public.mdl_comments USING btree (userid);


--
-- Name: mdl_comp_comidn_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_comp_comidn_uix ON public.mdl_competency USING btree (competencyframeworkid, idnumber);


--
-- Name: mdl_comp_rul_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_comp_rul_ix ON public.mdl_competency USING btree (ruleoutcome);


--
-- Name: mdl_compcour_com_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_compcour_com_ix ON public.mdl_competency_coursecomp USING btree (competencyid);


--
-- Name: mdl_compcour_cou2_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_compcour_cou2_ix ON public.mdl_competency_coursecomp USING btree (courseid);


--
-- Name: mdl_compcour_cou_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_compcour_cou_uix ON public.mdl_competency_coursecompsetting USING btree (courseid);


--
-- Name: mdl_compcour_coucom_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_compcour_coucom_uix ON public.mdl_competency_coursecomp USING btree (courseid, competencyid);


--
-- Name: mdl_compcour_courul_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_compcour_courul_ix ON public.mdl_competency_coursecomp USING btree (courseid, ruleoutcome);


--
-- Name: mdl_compevid_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_compevid_use_ix ON public.mdl_competency_evidence USING btree (usercompetencyid);


--
-- Name: mdl_compfram_idn_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_compfram_idn_uix ON public.mdl_competency_framework USING btree (idnumber);


--
-- Name: mdl_compmodu_cmi_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_compmodu_cmi_ix ON public.mdl_competency_modulecomp USING btree (cmid);


--
-- Name: mdl_compmodu_cmicom_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_compmodu_cmicom_uix ON public.mdl_competency_modulecomp USING btree (cmid, competencyid);


--
-- Name: mdl_compmodu_cmirul_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_compmodu_cmirul_ix ON public.mdl_competency_modulecomp USING btree (cmid, ruleoutcome);


--
-- Name: mdl_compmodu_com_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_compmodu_com_ix ON public.mdl_competency_modulecomp USING btree (competencyid);


--
-- Name: mdl_compplan_placom_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_compplan_placom_uix ON public.mdl_competency_plancomp USING btree (planid, competencyid);


--
-- Name: mdl_compplan_stadue_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_compplan_stadue_ix ON public.mdl_competency_plan USING btree (status, duedate);


--
-- Name: mdl_compplan_tem_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_compplan_tem_ix ON public.mdl_competency_plan USING btree (templateid);


--
-- Name: mdl_compplan_usesta_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_compplan_usesta_ix ON public.mdl_competency_plan USING btree (userid, status);


--
-- Name: mdl_comptemp_com_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_comptemp_com_ix ON public.mdl_competency_templatecomp USING btree (competencyid);


--
-- Name: mdl_comptemp_tem2_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_comptemp_tem2_ix ON public.mdl_competency_templatecohort USING btree (templateid);


--
-- Name: mdl_comptemp_tem_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_comptemp_tem_ix ON public.mdl_competency_templatecomp USING btree (templateid);


--
-- Name: mdl_comptemp_temcoh_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_comptemp_temcoh_uix ON public.mdl_competency_templatecohort USING btree (templateid, cohortid);


--
-- Name: mdl_compuser_use2_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_compuser_use2_ix ON public.mdl_competency_userevidencecomp USING btree (userevidenceid);


--
-- Name: mdl_compuser_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_compuser_use_ix ON public.mdl_competency_userevidence USING btree (userid);


--
-- Name: mdl_compuser_usecom2_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_compuser_usecom2_uix ON public.mdl_competency_userevidencecomp USING btree (userevidenceid, competencyid);


--
-- Name: mdl_compuser_usecom_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_compuser_usecom_uix ON public.mdl_competency_usercomp USING btree (userid, competencyid);


--
-- Name: mdl_compuser_usecompla_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_compuser_usecompla_uix ON public.mdl_competency_usercompplan USING btree (userid, competencyid, planid);


--
-- Name: mdl_compuser_usecoucom_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_compuser_usecoucom_uix ON public.mdl_competency_usercompcourse USING btree (userid, courseid, competencyid);


--
-- Name: mdl_conf_nam_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_conf_nam_uix ON public.mdl_config USING btree (name);


--
-- Name: mdl_conflog_tim_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_conflog_tim_ix ON public.mdl_config_log USING btree (timemodified);


--
-- Name: mdl_conflog_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_conflog_use_ix ON public.mdl_config_log USING btree (userid);


--
-- Name: mdl_confplug_plunam_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_confplug_plunam_uix ON public.mdl_config_plugins USING btree (plugin, name);


--
-- Name: mdl_cont_conins_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_cont_conins_uix ON public.mdl_context USING btree (contextlevel, instanceid);


--
-- Name: mdl_cont_ins_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_cont_ins_ix ON public.mdl_context USING btree (instanceid);


--
-- Name: mdl_cont_pat_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_cont_pat_ix ON public.mdl_context USING btree (path);


--
-- Name: mdl_cont_pat_ix_pattern; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_cont_pat_ix_pattern ON public.mdl_context USING btree (path varchar_pattern_ops);


--
-- Name: mdl_contcont_con_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_contcont_con_ix ON public.mdl_contentbank_content USING btree (contextid);


--
-- Name: mdl_contcont_conconins_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_contcont_conconins_ix ON public.mdl_contentbank_content USING btree (contextid, contenttype, instanceid);


--
-- Name: mdl_contcont_nam_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_contcont_nam_ix ON public.mdl_contentbank_content USING btree (name);


--
-- Name: mdl_contcont_use2_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_contcont_use2_ix ON public.mdl_contentbank_content USING btree (usercreated);


--
-- Name: mdl_contcont_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_contcont_use_ix ON public.mdl_contentbank_content USING btree (usermodified);


--
-- Name: mdl_cour_cat_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_cour_cat_ix ON public.mdl_course USING btree (category);


--
-- Name: mdl_cour_idn_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_cour_idn_ix ON public.mdl_course USING btree (idnumber);


--
-- Name: mdl_cour_sho_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_cour_sho_ix ON public.mdl_course USING btree (shortname);


--
-- Name: mdl_cour_sor_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_cour_sor_ix ON public.mdl_course USING btree (sortorder);


--
-- Name: mdl_courcate_par_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_courcate_par_ix ON public.mdl_course_categories USING btree (parent);


--
-- Name: mdl_courcomp_cou_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_courcomp_cou_ix ON public.mdl_course_completions USING btree (course);


--
-- Name: mdl_courcomp_tim_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_courcomp_tim_ix ON public.mdl_course_completions USING btree (timecompleted);


--
-- Name: mdl_courcomp_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_courcomp_use_ix ON public.mdl_course_completions USING btree (userid);


--
-- Name: mdl_courcomp_usecou_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_courcomp_usecou_uix ON public.mdl_course_completions USING btree (userid, course);


--
-- Name: mdl_courcompaggrmeth_cou_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_courcompaggrmeth_cou_ix ON public.mdl_course_completion_aggr_methd USING btree (course);


--
-- Name: mdl_courcompaggrmeth_coucr_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_courcompaggrmeth_coucr_uix ON public.mdl_course_completion_aggr_methd USING btree (course, criteriatype);


--
-- Name: mdl_courcompaggrmeth_cri_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_courcompaggrmeth_cri_ix ON public.mdl_course_completion_aggr_methd USING btree (criteriatype);


--
-- Name: mdl_courcompcrit_cou_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_courcompcrit_cou_ix ON public.mdl_course_completion_criteria USING btree (course);


--
-- Name: mdl_courcompcritcomp_cou_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_courcompcritcomp_cou_ix ON public.mdl_course_completion_crit_compl USING btree (course);


--
-- Name: mdl_courcompcritcomp_cri_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_courcompcritcomp_cri_ix ON public.mdl_course_completion_crit_compl USING btree (criteriaid);


--
-- Name: mdl_courcompcritcomp_tim_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_courcompcritcomp_tim_ix ON public.mdl_course_completion_crit_compl USING btree (timecompleted);


--
-- Name: mdl_courcompcritcomp_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_courcompcritcomp_use_ix ON public.mdl_course_completion_crit_compl USING btree (userid);


--
-- Name: mdl_courcompcritcomp_useco_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_courcompcritcomp_useco_uix ON public.mdl_course_completion_crit_compl USING btree (userid, course, criteriaid);


--
-- Name: mdl_courcompdefa_cou_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_courcompdefa_cou_ix ON public.mdl_course_completion_defaults USING btree (course);


--
-- Name: mdl_courcompdefa_coumod_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_courcompdefa_coumod_uix ON public.mdl_course_completion_defaults USING btree (course, module);


--
-- Name: mdl_courcompdefa_mod_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_courcompdefa_mod_ix ON public.mdl_course_completion_defaults USING btree (module);


--
-- Name: mdl_courformopti_cou_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_courformopti_cou_ix ON public.mdl_course_format_options USING btree (courseid);


--
-- Name: mdl_courformopti_couforsec_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_courformopti_couforsec_uix ON public.mdl_course_format_options USING btree (courseid, format, sectionid, name);


--
-- Name: mdl_courmodu_cou_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_courmodu_cou_ix ON public.mdl_course_modules USING btree (course);


--
-- Name: mdl_courmodu_gro_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_courmodu_gro_ix ON public.mdl_course_modules USING btree (groupingid);


--
-- Name: mdl_courmodu_idncou_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_courmodu_idncou_ix ON public.mdl_course_modules USING btree (idnumber, course);


--
-- Name: mdl_courmodu_ins_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_courmodu_ins_ix ON public.mdl_course_modules USING btree (instance);


--
-- Name: mdl_courmodu_mod_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_courmodu_mod_ix ON public.mdl_course_modules USING btree (module);


--
-- Name: mdl_courmodu_vis_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_courmodu_vis_ix ON public.mdl_course_modules USING btree (visible);


--
-- Name: mdl_courmoducomp_cou_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_courmoducomp_cou_ix ON public.mdl_course_modules_completion USING btree (coursemoduleid);


--
-- Name: mdl_courmoducomp_usecou_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_courmoducomp_usecou_uix ON public.mdl_course_modules_completion USING btree (userid, coursemoduleid);


--
-- Name: mdl_courrequ_sho_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_courrequ_sho_ix ON public.mdl_course_request USING btree (shortname);


--
-- Name: mdl_coursect_cousec_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_coursect_cousec_uix ON public.mdl_course_sections USING btree (course, section);


--
-- Name: mdl_custcate_comareitesor_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_custcate_comareitesor_ix ON public.mdl_customfield_category USING btree (component, area, itemid, sortorder);


--
-- Name: mdl_custcate_con_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_custcate_con_ix ON public.mdl_customfield_category USING btree (contextid);


--
-- Name: mdl_custdata_con_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_custdata_con_ix ON public.mdl_customfield_data USING btree (contextid);


--
-- Name: mdl_custdata_fie_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_custdata_fie_ix ON public.mdl_customfield_data USING btree (fieldid);


--
-- Name: mdl_custdata_fiedec_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_custdata_fiedec_ix ON public.mdl_customfield_data USING btree (fieldid, decvalue);


--
-- Name: mdl_custdata_fieint_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_custdata_fieint_ix ON public.mdl_customfield_data USING btree (fieldid, intvalue);


--
-- Name: mdl_custdata_fiesho_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_custdata_fiesho_ix ON public.mdl_customfield_data USING btree (fieldid, shortcharvalue);


--
-- Name: mdl_custdata_insfie_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_custdata_insfie_uix ON public.mdl_customfield_data USING btree (instanceid, fieldid);


--
-- Name: mdl_custfiel_cat_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_custfiel_cat_ix ON public.mdl_customfield_field USING btree (categoryid);


--
-- Name: mdl_custfiel_catsor_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_custfiel_catsor_ix ON public.mdl_customfield_field USING btree (categoryid, sortorder);


--
-- Name: mdl_data_cou_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_data_cou_ix ON public.mdl_data USING btree (course);


--
-- Name: mdl_datacont_fie_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_datacont_fie_ix ON public.mdl_data_content USING btree (fieldid);


--
-- Name: mdl_datacont_rec_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_datacont_rec_ix ON public.mdl_data_content USING btree (recordid);


--
-- Name: mdl_datafiel_dat_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_datafiel_dat_ix ON public.mdl_data_fields USING btree (dataid);


--
-- Name: mdl_datafiel_typdat_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_datafiel_typdat_ix ON public.mdl_data_fields USING btree (type, dataid);


--
-- Name: mdl_datareco_dat_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_datareco_dat_ix ON public.mdl_data_records USING btree (dataid);


--
-- Name: mdl_editattoauto_eleconuse_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_editattoauto_eleconuse_uix ON public.mdl_editor_atto_autosave USING btree (elementid, contextid, userid, pagehash);


--
-- Name: mdl_enro_cou_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_enro_cou_ix ON public.mdl_enrol USING btree (courseid);


--
-- Name: mdl_enro_enr_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_enro_enr_ix ON public.mdl_enrol USING btree (enrol);


--
-- Name: mdl_enroflat_cou_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_enroflat_cou_ix ON public.mdl_enrol_flatfile USING btree (courseid);


--
-- Name: mdl_enroflat_rol_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_enroflat_rol_ix ON public.mdl_enrol_flatfile USING btree (roleid);


--
-- Name: mdl_enroflat_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_enroflat_use_ix ON public.mdl_enrol_flatfile USING btree (userid);


--
-- Name: mdl_enroltilti2cons_con_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_enroltilti2cons_con_uix ON public.mdl_enrol_lti_lti2_consumer USING btree (consumerkey256);


--
-- Name: mdl_enroltilti2cont_con_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_enroltilti2cont_con_ix ON public.mdl_enrol_lti_lti2_context USING btree (consumerid);


--
-- Name: mdl_enroltilti2nonc_con_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_enroltilti2nonc_con_ix ON public.mdl_enrol_lti_lti2_nonce USING btree (consumerid);


--
-- Name: mdl_enroltilti2resolink_co2_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_enroltilti2resolink_co2_ix ON public.mdl_enrol_lti_lti2_resource_link USING btree (consumerid);


--
-- Name: mdl_enroltilti2resolink_con_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_enroltilti2resolink_con_ix ON public.mdl_enrol_lti_lti2_resource_link USING btree (contextid);


--
-- Name: mdl_enroltilti2resolink_pri_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_enroltilti2resolink_pri_ix ON public.mdl_enrol_lti_lti2_resource_link USING btree (primaryresourcelinkid);


--
-- Name: mdl_enroltilti2sharkey_res_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_enroltilti2sharkey_res_uix ON public.mdl_enrol_lti_lti2_share_key USING btree (resourcelinkid);


--
-- Name: mdl_enroltilti2sharkey_sha_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_enroltilti2sharkey_sha_uix ON public.mdl_enrol_lti_lti2_share_key USING btree (sharekey);


--
-- Name: mdl_enroltilti2toolprox_con_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_enroltilti2toolprox_con_ix ON public.mdl_enrol_lti_lti2_tool_proxy USING btree (consumerid);


--
-- Name: mdl_enroltilti2toolprox_to_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_enroltilti2toolprox_to_uix ON public.mdl_enrol_lti_lti2_tool_proxy USING btree (toolproxykey);


--
-- Name: mdl_enroltilti2userresu_res_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_enroltilti2userresu_res_ix ON public.mdl_enrol_lti_lti2_user_result USING btree (resourcelinkid);


--
-- Name: mdl_enroltitool_con_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_enroltitool_con_ix ON public.mdl_enrol_lti_tools USING btree (contextid);


--
-- Name: mdl_enroltitool_enr_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_enroltitool_enr_ix ON public.mdl_enrol_lti_tools USING btree (enrolid);


--
-- Name: mdl_enroltitoolconsmap_con_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_enroltitoolconsmap_con_ix ON public.mdl_enrol_lti_tool_consumer_map USING btree (consumerid);


--
-- Name: mdl_enroltitoolconsmap_too_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_enroltitoolconsmap_too_ix ON public.mdl_enrol_lti_tool_consumer_map USING btree (toolid);


--
-- Name: mdl_enroltiuser_too_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_enroltiuser_too_ix ON public.mdl_enrol_lti_users USING btree (toolid);


--
-- Name: mdl_enroltiuser_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_enroltiuser_use_ix ON public.mdl_enrol_lti_users USING btree (userid);


--
-- Name: mdl_enropayp_bus_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_enropayp_bus_ix ON public.mdl_enrol_paypal USING btree (business);


--
-- Name: mdl_enropayp_cou_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_enropayp_cou_ix ON public.mdl_enrol_paypal USING btree (courseid);


--
-- Name: mdl_enropayp_ins_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_enropayp_ins_ix ON public.mdl_enrol_paypal USING btree (instanceid);


--
-- Name: mdl_enropayp_rec_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_enropayp_rec_ix ON public.mdl_enrol_paypal USING btree (receiver_email);


--
-- Name: mdl_enropayp_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_enropayp_use_ix ON public.mdl_enrol_paypal USING btree (userid);


--
-- Name: mdl_even_cat_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_even_cat_ix ON public.mdl_event USING btree (categoryid);


--
-- Name: mdl_even_comeveins_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_even_comeveins_ix ON public.mdl_event USING btree (component, eventtype, instance);


--
-- Name: mdl_even_cou_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_even_cou_ix ON public.mdl_event USING btree (courseid);


--
-- Name: mdl_even_eve_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_even_eve_ix ON public.mdl_event USING btree (eventtype);


--
-- Name: mdl_even_grocoucatvisuse_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_even_grocoucatvisuse_ix ON public.mdl_event USING btree (groupid, courseid, categoryid, visible, userid);


--
-- Name: mdl_even_modinseve_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_even_modinseve_ix ON public.mdl_event USING btree (modulename, instance, eventtype);


--
-- Name: mdl_even_sub_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_even_sub_ix ON public.mdl_event USING btree (subscriptionid);


--
-- Name: mdl_even_tim2_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_even_tim2_ix ON public.mdl_event USING btree (timeduration);


--
-- Name: mdl_even_tim_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_even_tim_ix ON public.mdl_event USING btree (timestart);


--
-- Name: mdl_even_typtim_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_even_typtim_ix ON public.mdl_event USING btree (type, timesort);


--
-- Name: mdl_even_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_even_use_ix ON public.mdl_event USING btree (userid);


--
-- Name: mdl_even_uui_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_even_uui_ix ON public.mdl_event USING btree (uuid);


--
-- Name: mdl_evenhand_evecom_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_evenhand_evecom_uix ON public.mdl_events_handlers USING btree (eventname, component);


--
-- Name: mdl_evenqueu_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_evenqueu_use_ix ON public.mdl_events_queue USING btree (userid);


--
-- Name: mdl_evenqueuhand_han_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_evenqueuhand_han_ix ON public.mdl_events_queue_handlers USING btree (handlerid);


--
-- Name: mdl_evenqueuhand_que_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_evenqueuhand_que_ix ON public.mdl_events_queue_handlers USING btree (queuedeventid);


--
-- Name: mdl_extefunc_nam_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_extefunc_nam_uix ON public.mdl_external_functions USING btree (name);


--
-- Name: mdl_exteserv_nam_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_exteserv_nam_uix ON public.mdl_external_services USING btree (name);


--
-- Name: mdl_exteservfunc_ext_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_exteservfunc_ext_ix ON public.mdl_external_services_functions USING btree (externalserviceid);


--
-- Name: mdl_exteservuser_ext_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_exteservuser_ext_ix ON public.mdl_external_services_users USING btree (externalserviceid);


--
-- Name: mdl_exteservuser_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_exteservuser_use_ix ON public.mdl_external_services_users USING btree (userid);


--
-- Name: mdl_extetoke_con_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_extetoke_con_ix ON public.mdl_external_tokens USING btree (contextid);


--
-- Name: mdl_extetoke_cre_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_extetoke_cre_ix ON public.mdl_external_tokens USING btree (creatorid);


--
-- Name: mdl_extetoke_ext_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_extetoke_ext_ix ON public.mdl_external_tokens USING btree (externalserviceid);


--
-- Name: mdl_extetoke_tok_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_extetoke_tok_ix ON public.mdl_external_tokens USING btree (token);


--
-- Name: mdl_extetoke_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_extetoke_use_ix ON public.mdl_external_tokens USING btree (userid);


--
-- Name: mdl_favo_comiteiteconuse_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_favo_comiteiteconuse_uix ON public.mdl_favourite USING btree (component, itemtype, itemid, contextid, userid);


--
-- Name: mdl_favo_con_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_favo_con_ix ON public.mdl_favourite USING btree (contextid);


--
-- Name: mdl_favo_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_favo_use_ix ON public.mdl_favourite USING btree (userid);


--
-- Name: mdl_feed_cou_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_feed_cou_ix ON public.mdl_feedback USING btree (course);


--
-- Name: mdl_feedcomp_fee2_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_feedcomp_fee2_ix ON public.mdl_feedback_completedtmp USING btree (feedback);


--
-- Name: mdl_feedcomp_fee_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_feedcomp_fee_ix ON public.mdl_feedback_completed USING btree (feedback);


--
-- Name: mdl_feedcomp_use2_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_feedcomp_use2_ix ON public.mdl_feedback_completedtmp USING btree (userid);


--
-- Name: mdl_feedcomp_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_feedcomp_use_ix ON public.mdl_feedback_completed USING btree (userid);


--
-- Name: mdl_feeditem_fee_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_feeditem_fee_ix ON public.mdl_feedback_item USING btree (feedback);


--
-- Name: mdl_feeditem_tem_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_feeditem_tem_ix ON public.mdl_feedback_item USING btree (template);


--
-- Name: mdl_feedsitemap_cou_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_feedsitemap_cou_ix ON public.mdl_feedback_sitecourse_map USING btree (courseid);


--
-- Name: mdl_feedsitemap_fee_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_feedsitemap_fee_ix ON public.mdl_feedback_sitecourse_map USING btree (feedbackid);


--
-- Name: mdl_feedtemp_cou_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_feedtemp_cou_ix ON public.mdl_feedback_template USING btree (course);


--
-- Name: mdl_feedvalu_comitecou2_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_feedvalu_comitecou2_uix ON public.mdl_feedback_valuetmp USING btree (completed, item, course_id);


--
-- Name: mdl_feedvalu_comitecou_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_feedvalu_comitecou_uix ON public.mdl_feedback_value USING btree (completed, item, course_id);


--
-- Name: mdl_feedvalu_cou2_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_feedvalu_cou2_ix ON public.mdl_feedback_valuetmp USING btree (course_id);


--
-- Name: mdl_feedvalu_cou_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_feedvalu_cou_ix ON public.mdl_feedback_value USING btree (course_id);


--
-- Name: mdl_feedvalu_ite2_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_feedvalu_ite2_ix ON public.mdl_feedback_valuetmp USING btree (item);


--
-- Name: mdl_feedvalu_ite_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_feedvalu_ite_ix ON public.mdl_feedback_value USING btree (item);


--
-- Name: mdl_file_comfilconite_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_file_comfilconite_ix ON public.mdl_files USING btree (component, filearea, contextid, itemid);


--
-- Name: mdl_file_con2_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_file_con2_ix ON public.mdl_files USING btree (contextid);


--
-- Name: mdl_file_con_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_file_con_ix ON public.mdl_files USING btree (contenthash);


--
-- Name: mdl_file_lic_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_file_lic_ix ON public.mdl_files USING btree (license);


--
-- Name: mdl_file_pat_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_file_pat_uix ON public.mdl_files USING btree (pathnamehash);


--
-- Name: mdl_file_ref_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_file_ref_ix ON public.mdl_files USING btree (referencefileid);


--
-- Name: mdl_file_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_file_use_ix ON public.mdl_files USING btree (userid);


--
-- Name: mdl_fileconv_des_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_fileconv_des_ix ON public.mdl_file_conversion USING btree (destfileid);


--
-- Name: mdl_fileconv_sou_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_fileconv_sou_ix ON public.mdl_file_conversion USING btree (sourcefileid);


--
-- Name: mdl_filerefe_refrep_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_filerefe_refrep_uix ON public.mdl_files_reference USING btree (referencehash, repositoryid);


--
-- Name: mdl_filerefe_rep_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_filerefe_rep_ix ON public.mdl_files_reference USING btree (repositoryid);


--
-- Name: mdl_filtacti_con_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_filtacti_con_ix ON public.mdl_filter_active USING btree (contextid);


--
-- Name: mdl_filtacti_confil_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_filtacti_confil_uix ON public.mdl_filter_active USING btree (contextid, filter);


--
-- Name: mdl_filtconf_con_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_filtconf_con_ix ON public.mdl_filter_config USING btree (contextid);


--
-- Name: mdl_filtconf_confilnam_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_filtconf_confilnam_uix ON public.mdl_filter_config USING btree (contextid, filter, name);


--
-- Name: mdl_fold_cou_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_fold_cou_ix ON public.mdl_folder USING btree (course);


--
-- Name: mdl_foru_cou_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_foru_cou_ix ON public.mdl_forum USING btree (course);


--
-- Name: mdl_forudige_for_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_forudige_for_ix ON public.mdl_forum_digests USING btree (forum);


--
-- Name: mdl_forudige_forusemai_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_forudige_forusemai_uix ON public.mdl_forum_digests USING btree (forum, userid, maildigest);


--
-- Name: mdl_forudige_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_forudige_use_ix ON public.mdl_forum_digests USING btree (userid);


--
-- Name: mdl_forudisc_cou_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_forudisc_cou_ix ON public.mdl_forum_discussions USING btree (course);


--
-- Name: mdl_forudisc_for_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_forudisc_for_ix ON public.mdl_forum_discussions USING btree (forum);


--
-- Name: mdl_forudisc_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_forudisc_use_ix ON public.mdl_forum_discussions USING btree (userid);


--
-- Name: mdl_forudiscsubs_dis_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_forudiscsubs_dis_ix ON public.mdl_forum_discussion_subs USING btree (discussion);


--
-- Name: mdl_forudiscsubs_for_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_forudiscsubs_for_ix ON public.mdl_forum_discussion_subs USING btree (forum);


--
-- Name: mdl_forudiscsubs_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_forudiscsubs_use_ix ON public.mdl_forum_discussion_subs USING btree (userid);


--
-- Name: mdl_forudiscsubs_usedis_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_forudiscsubs_usedis_uix ON public.mdl_forum_discussion_subs USING btree (userid, discussion);


--
-- Name: mdl_forugrad_for_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_forugrad_for_ix ON public.mdl_forum_grades USING btree (forum);


--
-- Name: mdl_forugrad_foriteuse_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_forugrad_foriteuse_uix ON public.mdl_forum_grades USING btree (forum, itemnumber, userid);


--
-- Name: mdl_forugrad_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_forugrad_use_ix ON public.mdl_forum_grades USING btree (userid);


--
-- Name: mdl_forupost_cre_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_forupost_cre_ix ON public.mdl_forum_posts USING btree (created);


--
-- Name: mdl_forupost_dis_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_forupost_dis_ix ON public.mdl_forum_posts USING btree (discussion);


--
-- Name: mdl_forupost_mai_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_forupost_mai_ix ON public.mdl_forum_posts USING btree (mailed);


--
-- Name: mdl_forupost_par_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_forupost_par_ix ON public.mdl_forum_posts USING btree (parent);


--
-- Name: mdl_forupost_pri_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_forupost_pri_ix ON public.mdl_forum_posts USING btree (privatereplyto);


--
-- Name: mdl_forupost_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_forupost_use_ix ON public.mdl_forum_posts USING btree (userid);


--
-- Name: mdl_foruqueu_dis_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_foruqueu_dis_ix ON public.mdl_forum_queue USING btree (discussionid);


--
-- Name: mdl_foruqueu_pos_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_foruqueu_pos_ix ON public.mdl_forum_queue USING btree (postid);


--
-- Name: mdl_foruqueu_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_foruqueu_use_ix ON public.mdl_forum_queue USING btree (userid);


--
-- Name: mdl_foruread_posuse_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_foruread_posuse_ix ON public.mdl_forum_read USING btree (postid, userid);


--
-- Name: mdl_foruread_usedis_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_foruread_usedis_ix ON public.mdl_forum_read USING btree (userid, discussionid);


--
-- Name: mdl_foruread_usefor_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_foruread_usefor_ix ON public.mdl_forum_read USING btree (userid, forumid);


--
-- Name: mdl_forusubs_for_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_forusubs_for_ix ON public.mdl_forum_subscriptions USING btree (forum);


--
-- Name: mdl_forusubs_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_forusubs_use_ix ON public.mdl_forum_subscriptions USING btree (userid);


--
-- Name: mdl_forusubs_usefor_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_forusubs_usefor_uix ON public.mdl_forum_subscriptions USING btree (userid, forum);


--
-- Name: mdl_forutracpref_usefor_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_forutracpref_usefor_ix ON public.mdl_forum_track_prefs USING btree (userid, forumid);


--
-- Name: mdl_glos_cou_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_glos_cou_ix ON public.mdl_glossary USING btree (course);


--
-- Name: mdl_glosalia_ent_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_glosalia_ent_ix ON public.mdl_glossary_alias USING btree (entryid);


--
-- Name: mdl_gloscate_glo_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_gloscate_glo_ix ON public.mdl_glossary_categories USING btree (glossaryid);


--
-- Name: mdl_glosentr_con_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_glosentr_con_ix ON public.mdl_glossary_entries USING btree (concept);


--
-- Name: mdl_glosentr_glo_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_glosentr_glo_ix ON public.mdl_glossary_entries USING btree (glossaryid);


--
-- Name: mdl_glosentr_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_glosentr_use_ix ON public.mdl_glossary_entries USING btree (userid);


--
-- Name: mdl_glosentrcate_cat_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_glosentrcate_cat_ix ON public.mdl_glossary_entries_categories USING btree (categoryid);


--
-- Name: mdl_glosentrcate_ent_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_glosentrcate_ent_ix ON public.mdl_glossary_entries_categories USING btree (entryid);


--
-- Name: mdl_gradarea_con_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_gradarea_con_ix ON public.mdl_grading_areas USING btree (contextid);


--
-- Name: mdl_gradarea_concomare_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_gradarea_concomare_uix ON public.mdl_grading_areas USING btree (contextid, component, areaname);


--
-- Name: mdl_gradcate_cou_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_gradcate_cou_ix ON public.mdl_grade_categories USING btree (courseid);


--
-- Name: mdl_gradcate_par_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_gradcate_par_ix ON public.mdl_grade_categories USING btree (parent);


--
-- Name: mdl_gradcatehist_act_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_gradcatehist_act_ix ON public.mdl_grade_categories_history USING btree (action);


--
-- Name: mdl_gradcatehist_cou_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_gradcatehist_cou_ix ON public.mdl_grade_categories_history USING btree (courseid);


--
-- Name: mdl_gradcatehist_log_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_gradcatehist_log_ix ON public.mdl_grade_categories_history USING btree (loggeduser);


--
-- Name: mdl_gradcatehist_old_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_gradcatehist_old_ix ON public.mdl_grade_categories_history USING btree (oldid);


--
-- Name: mdl_gradcatehist_par_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_gradcatehist_par_ix ON public.mdl_grade_categories_history USING btree (parent);


--
-- Name: mdl_gradcatehist_tim_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_gradcatehist_tim_ix ON public.mdl_grade_categories_history USING btree (timemodified);


--
-- Name: mdl_graddefi_are_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_graddefi_are_ix ON public.mdl_grading_definitions USING btree (areaid);


--
-- Name: mdl_graddefi_aremet_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_graddefi_aremet_uix ON public.mdl_grading_definitions USING btree (areaid, method);


--
-- Name: mdl_graddefi_use2_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_graddefi_use2_ix ON public.mdl_grading_definitions USING btree (usercreated);


--
-- Name: mdl_graddefi_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_graddefi_use_ix ON public.mdl_grading_definitions USING btree (usermodified);


--
-- Name: mdl_gradgrad_ite_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_gradgrad_ite_ix ON public.mdl_grade_grades USING btree (itemid);


--
-- Name: mdl_gradgrad_locloc_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_gradgrad_locloc_ix ON public.mdl_grade_grades USING btree (locked, locktime);


--
-- Name: mdl_gradgrad_raw_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_gradgrad_raw_ix ON public.mdl_grade_grades USING btree (rawscaleid);


--
-- Name: mdl_gradgrad_use2_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_gradgrad_use2_ix ON public.mdl_grade_grades USING btree (usermodified);


--
-- Name: mdl_gradgrad_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_gradgrad_use_ix ON public.mdl_grade_grades USING btree (userid);


--
-- Name: mdl_gradgrad_useite_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_gradgrad_useite_uix ON public.mdl_grade_grades USING btree (userid, itemid);


--
-- Name: mdl_gradgradhist_act_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_gradgradhist_act_ix ON public.mdl_grade_grades_history USING btree (action);


--
-- Name: mdl_gradgradhist_ite_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_gradgradhist_ite_ix ON public.mdl_grade_grades_history USING btree (itemid);


--
-- Name: mdl_gradgradhist_log_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_gradgradhist_log_ix ON public.mdl_grade_grades_history USING btree (loggeduser);


--
-- Name: mdl_gradgradhist_old_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_gradgradhist_old_ix ON public.mdl_grade_grades_history USING btree (oldid);


--
-- Name: mdl_gradgradhist_raw_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_gradgradhist_raw_ix ON public.mdl_grade_grades_history USING btree (rawscaleid);


--
-- Name: mdl_gradgradhist_tim_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_gradgradhist_tim_ix ON public.mdl_grade_grades_history USING btree (timemodified);


--
-- Name: mdl_gradgradhist_use2_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_gradgradhist_use2_ix ON public.mdl_grade_grades_history USING btree (usermodified);


--
-- Name: mdl_gradgradhist_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_gradgradhist_use_ix ON public.mdl_grade_grades_history USING btree (userid);


--
-- Name: mdl_gradgradhist_useitetim_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_gradgradhist_useitetim_ix ON public.mdl_grade_grades_history USING btree (userid, itemid, timemodified);


--
-- Name: mdl_gradguidcomm_def_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_gradguidcomm_def_ix ON public.mdl_gradingform_guide_comments USING btree (definitionid);


--
-- Name: mdl_gradguidcrit_def_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_gradguidcrit_def_ix ON public.mdl_gradingform_guide_criteria USING btree (definitionid);


--
-- Name: mdl_gradguidfill_cri_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_gradguidfill_cri_ix ON public.mdl_gradingform_guide_fillings USING btree (criterionid);


--
-- Name: mdl_gradguidfill_ins_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_gradguidfill_ins_ix ON public.mdl_gradingform_guide_fillings USING btree (instanceid);


--
-- Name: mdl_gradguidfill_inscri_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_gradguidfill_inscri_uix ON public.mdl_gradingform_guide_fillings USING btree (instanceid, criterionid);


--
-- Name: mdl_gradimponewi_imp_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_gradimponewi_imp_ix ON public.mdl_grade_import_newitem USING btree (importer);


--
-- Name: mdl_gradimpovalu_imp_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_gradimpovalu_imp_ix ON public.mdl_grade_import_values USING btree (importer);


--
-- Name: mdl_gradimpovalu_ite_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_gradimpovalu_ite_ix ON public.mdl_grade_import_values USING btree (itemid);


--
-- Name: mdl_gradimpovalu_new_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_gradimpovalu_new_ix ON public.mdl_grade_import_values USING btree (newgradeitem);


--
-- Name: mdl_gradinst_def_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_gradinst_def_ix ON public.mdl_grading_instances USING btree (definitionid);


--
-- Name: mdl_gradinst_rat_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_gradinst_rat_ix ON public.mdl_grading_instances USING btree (raterid);


--
-- Name: mdl_graditem_cat_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_graditem_cat_ix ON public.mdl_grade_items USING btree (categoryid);


--
-- Name: mdl_graditem_cou_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_graditem_cou_ix ON public.mdl_grade_items USING btree (courseid);


--
-- Name: mdl_graditem_gra_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_graditem_gra_ix ON public.mdl_grade_items USING btree (gradetype);


--
-- Name: mdl_graditem_idncou_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_graditem_idncou_ix ON public.mdl_grade_items USING btree (idnumber, courseid);


--
-- Name: mdl_graditem_itenee_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_graditem_itenee_ix ON public.mdl_grade_items USING btree (itemtype, needsupdate);


--
-- Name: mdl_graditem_locloc_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_graditem_locloc_ix ON public.mdl_grade_items USING btree (locked, locktime);


--
-- Name: mdl_graditem_out_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_graditem_out_ix ON public.mdl_grade_items USING btree (outcomeid);


--
-- Name: mdl_graditem_sca_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_graditem_sca_ix ON public.mdl_grade_items USING btree (scaleid);


--
-- Name: mdl_graditemhist_act_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_graditemhist_act_ix ON public.mdl_grade_items_history USING btree (action);


--
-- Name: mdl_graditemhist_cat_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_graditemhist_cat_ix ON public.mdl_grade_items_history USING btree (categoryid);


--
-- Name: mdl_graditemhist_cou_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_graditemhist_cou_ix ON public.mdl_grade_items_history USING btree (courseid);


--
-- Name: mdl_graditemhist_log_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_graditemhist_log_ix ON public.mdl_grade_items_history USING btree (loggeduser);


--
-- Name: mdl_graditemhist_old_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_graditemhist_old_ix ON public.mdl_grade_items_history USING btree (oldid);


--
-- Name: mdl_graditemhist_out_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_graditemhist_out_ix ON public.mdl_grade_items_history USING btree (outcomeid);


--
-- Name: mdl_graditemhist_sca_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_graditemhist_sca_ix ON public.mdl_grade_items_history USING btree (scaleid);


--
-- Name: mdl_graditemhist_tim_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_graditemhist_tim_ix ON public.mdl_grade_items_history USING btree (timemodified);


--
-- Name: mdl_gradlett_conlowlet_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_gradlett_conlowlet_uix ON public.mdl_grade_letters USING btree (contextid, lowerboundary, letter);


--
-- Name: mdl_gradoutc_cou_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_gradoutc_cou_ix ON public.mdl_grade_outcomes USING btree (courseid);


--
-- Name: mdl_gradoutc_cousho_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_gradoutc_cousho_uix ON public.mdl_grade_outcomes USING btree (courseid, shortname);


--
-- Name: mdl_gradoutc_sca_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_gradoutc_sca_ix ON public.mdl_grade_outcomes USING btree (scaleid);


--
-- Name: mdl_gradoutc_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_gradoutc_use_ix ON public.mdl_grade_outcomes USING btree (usermodified);


--
-- Name: mdl_gradoutccour_cou_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_gradoutccour_cou_ix ON public.mdl_grade_outcomes_courses USING btree (courseid);


--
-- Name: mdl_gradoutccour_couout_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_gradoutccour_couout_uix ON public.mdl_grade_outcomes_courses USING btree (courseid, outcomeid);


--
-- Name: mdl_gradoutccour_out_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_gradoutccour_out_ix ON public.mdl_grade_outcomes_courses USING btree (outcomeid);


--
-- Name: mdl_gradoutchist_act_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_gradoutchist_act_ix ON public.mdl_grade_outcomes_history USING btree (action);


--
-- Name: mdl_gradoutchist_cou_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_gradoutchist_cou_ix ON public.mdl_grade_outcomes_history USING btree (courseid);


--
-- Name: mdl_gradoutchist_log_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_gradoutchist_log_ix ON public.mdl_grade_outcomes_history USING btree (loggeduser);


--
-- Name: mdl_gradoutchist_old_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_gradoutchist_old_ix ON public.mdl_grade_outcomes_history USING btree (oldid);


--
-- Name: mdl_gradoutchist_sca_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_gradoutchist_sca_ix ON public.mdl_grade_outcomes_history USING btree (scaleid);


--
-- Name: mdl_gradoutchist_tim_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_gradoutchist_tim_ix ON public.mdl_grade_outcomes_history USING btree (timemodified);


--
-- Name: mdl_gradrubrcrit_def_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_gradrubrcrit_def_ix ON public.mdl_gradingform_rubric_criteria USING btree (definitionid);


--
-- Name: mdl_gradrubrfill_cri_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_gradrubrfill_cri_ix ON public.mdl_gradingform_rubric_fillings USING btree (criterionid);


--
-- Name: mdl_gradrubrfill_ins_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_gradrubrfill_ins_ix ON public.mdl_gradingform_rubric_fillings USING btree (instanceid);


--
-- Name: mdl_gradrubrfill_inscri_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_gradrubrfill_inscri_uix ON public.mdl_gradingform_rubric_fillings USING btree (instanceid, criterionid);


--
-- Name: mdl_gradrubrfill_lev_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_gradrubrfill_lev_ix ON public.mdl_gradingform_rubric_fillings USING btree (levelid);


--
-- Name: mdl_gradrubrleve_cri_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_gradrubrleve_cri_ix ON public.mdl_gradingform_rubric_levels USING btree (criterionid);


--
-- Name: mdl_gradsett_cou_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_gradsett_cou_ix ON public.mdl_grade_settings USING btree (courseid);


--
-- Name: mdl_gradsett_counam_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_gradsett_counam_uix ON public.mdl_grade_settings USING btree (courseid, name);


--
-- Name: mdl_grou_cou2_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_grou_cou2_ix ON public.mdl_groupings USING btree (courseid);


--
-- Name: mdl_grou_cou_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_grou_cou_ix ON public.mdl_groups USING btree (courseid);


--
-- Name: mdl_grou_idn2_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_grou_idn2_ix ON public.mdl_groupings USING btree (idnumber);


--
-- Name: mdl_grou_idn_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_grou_idn_ix ON public.mdl_groups USING btree (idnumber);


--
-- Name: mdl_grougrou_gro2_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_grougrou_gro2_ix ON public.mdl_groupings_groups USING btree (groupid);


--
-- Name: mdl_grougrou_gro_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_grougrou_gro_ix ON public.mdl_groupings_groups USING btree (groupingid);


--
-- Name: mdl_groumemb_gro_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_groumemb_gro_ix ON public.mdl_groups_members USING btree (groupid);


--
-- Name: mdl_groumemb_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_groumemb_use_ix ON public.mdl_groups_members USING btree (userid);


--
-- Name: mdl_groumemb_usegro_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_groumemb_usegro_uix ON public.mdl_groups_members USING btree (userid, groupid);


--
-- Name: mdl_h5p_mai_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_h5p_mai_ix ON public.mdl_h5p USING btree (mainlibraryid);


--
-- Name: mdl_h5pa_cou_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_h5pa_cou_ix ON public.mdl_h5pactivity USING btree (course);


--
-- Name: mdl_h5paatte_h5p_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_h5paatte_h5p_ix ON public.mdl_h5pactivity_attempts USING btree (h5pactivityid);


--
-- Name: mdl_h5paatte_h5ptim_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_h5paatte_h5ptim_ix ON public.mdl_h5pactivity_attempts USING btree (h5pactivityid, timecreated);


--
-- Name: mdl_h5paatte_h5puse_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_h5paatte_h5puse_ix ON public.mdl_h5pactivity_attempts USING btree (h5pactivityid, userid);


--
-- Name: mdl_h5paatte_h5puseatt_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_h5paatte_h5puseatt_uix ON public.mdl_h5pactivity_attempts USING btree (h5pactivityid, userid, attempt);


--
-- Name: mdl_h5paatte_tim_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_h5paatte_tim_ix ON public.mdl_h5pactivity_attempts USING btree (timecreated);


--
-- Name: mdl_h5paatteresu_att_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_h5paatteresu_att_ix ON public.mdl_h5pactivity_attempts_results USING btree (attemptid);


--
-- Name: mdl_h5paatteresu_atttim_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_h5paatteresu_atttim_ix ON public.mdl_h5pactivity_attempts_results USING btree (attemptid, timecreated);


--
-- Name: mdl_h5pcontlibr_h5p_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_h5pcontlibr_h5p_ix ON public.mdl_h5p_contents_libraries USING btree (h5pid);


--
-- Name: mdl_h5pcontlibr_lib_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_h5pcontlibr_lib_ix ON public.mdl_h5p_contents_libraries USING btree (libraryid);


--
-- Name: mdl_h5plibr_macmajminpatrun_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_h5plibr_macmajminpatrun_ix ON public.mdl_h5p_libraries USING btree (machinename, majorversion, minorversion, patchversion, runnable);


--
-- Name: mdl_h5plibrcach_lib_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_h5plibrcach_lib_ix ON public.mdl_h5p_libraries_cachedassets USING btree (libraryid);


--
-- Name: mdl_h5plibrdepe_lib_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_h5plibrdepe_lib_ix ON public.mdl_h5p_library_dependencies USING btree (libraryid);


--
-- Name: mdl_h5plibrdepe_req_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_h5plibrdepe_req_ix ON public.mdl_h5p_library_dependencies USING btree (requiredlibraryid);


--
-- Name: mdl_imsc_cou_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_imsc_cou_ix ON public.mdl_imscp USING btree (course);


--
-- Name: mdl_infefile_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_infefile_use_ix ON public.mdl_infected_files USING btree (userid);


--
-- Name: mdl_jits_cou_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_jits_cou_ix ON public.mdl_jitsi USING btree (course);


--
-- Name: mdl_labe_cou_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_labe_cou_ix ON public.mdl_label USING btree (course);


--
-- Name: mdl_less_cou_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_less_cou_ix ON public.mdl_lesson USING btree (course);


--
-- Name: mdl_lessansw_les_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_lessansw_les_ix ON public.mdl_lesson_answers USING btree (lessonid);


--
-- Name: mdl_lessansw_pag_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_lessansw_pag_ix ON public.mdl_lesson_answers USING btree (pageid);


--
-- Name: mdl_lessatte_ans_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_lessatte_ans_ix ON public.mdl_lesson_attempts USING btree (answerid);


--
-- Name: mdl_lessatte_les_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_lessatte_les_ix ON public.mdl_lesson_attempts USING btree (lessonid);


--
-- Name: mdl_lessatte_pag_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_lessatte_pag_ix ON public.mdl_lesson_attempts USING btree (pageid);


--
-- Name: mdl_lessatte_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_lessatte_use_ix ON public.mdl_lesson_attempts USING btree (userid);


--
-- Name: mdl_lessbran_les_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_lessbran_les_ix ON public.mdl_lesson_branch USING btree (lessonid);


--
-- Name: mdl_lessbran_pag_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_lessbran_pag_ix ON public.mdl_lesson_branch USING btree (pageid);


--
-- Name: mdl_lessbran_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_lessbran_use_ix ON public.mdl_lesson_branch USING btree (userid);


--
-- Name: mdl_lessgrad_les_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_lessgrad_les_ix ON public.mdl_lesson_grades USING btree (lessonid);


--
-- Name: mdl_lessgrad_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_lessgrad_use_ix ON public.mdl_lesson_grades USING btree (userid);


--
-- Name: mdl_lessover_gro_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_lessover_gro_ix ON public.mdl_lesson_overrides USING btree (groupid);


--
-- Name: mdl_lessover_les_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_lessover_les_ix ON public.mdl_lesson_overrides USING btree (lessonid);


--
-- Name: mdl_lessover_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_lessover_use_ix ON public.mdl_lesson_overrides USING btree (userid);


--
-- Name: mdl_lesspage_les_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_lesspage_les_ix ON public.mdl_lesson_pages USING btree (lessonid);


--
-- Name: mdl_lesstime_les_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_lesstime_les_ix ON public.mdl_lesson_timer USING btree (lessonid);


--
-- Name: mdl_lesstime_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_lesstime_use_ix ON public.mdl_lesson_timer USING btree (userid);


--
-- Name: mdl_lockdb_exp_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_lockdb_exp_ix ON public.mdl_lock_db USING btree (expires);


--
-- Name: mdl_lockdb_own_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_lockdb_own_ix ON public.mdl_lock_db USING btree (owner);


--
-- Name: mdl_lockdb_res_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_lockdb_res_uix ON public.mdl_lock_db USING btree (resourcekey);


--
-- Name: mdl_log_act_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_log_act_ix ON public.mdl_log USING btree (action);


--
-- Name: mdl_log_cmi_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_log_cmi_ix ON public.mdl_log USING btree (cmid);


--
-- Name: mdl_log_coumodact_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_log_coumodact_ix ON public.mdl_log USING btree (course, module, action);


--
-- Name: mdl_log_tim_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_log_tim_ix ON public.mdl_log USING btree ("time");


--
-- Name: mdl_log_usecou_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_log_usecou_ix ON public.mdl_log USING btree (userid, course);


--
-- Name: mdl_logdisp_modact_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_logdisp_modact_uix ON public.mdl_log_display USING btree (module, action);


--
-- Name: mdl_logsstanlog_con_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_logsstanlog_con_ix ON public.mdl_logstore_standard_log USING btree (contextid);


--
-- Name: mdl_logsstanlog_couanotim_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_logsstanlog_couanotim_ix ON public.mdl_logstore_standard_log USING btree (courseid, anonymous, timecreated);


--
-- Name: mdl_logsstanlog_tim_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_logsstanlog_tim_ix ON public.mdl_logstore_standard_log USING btree (timecreated);


--
-- Name: mdl_logsstanlog_useconconcr_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_logsstanlog_useconconcr_ix ON public.mdl_logstore_standard_log USING btree (userid, contextlevel, contextinstanceid, crud, edulevel, timecreated);


--
-- Name: mdl_lti_cou_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_lti_cou_ix ON public.mdl_lti USING btree (course);


--
-- Name: mdl_ltiaccetoke_tok_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_ltiaccetoke_tok_uix ON public.mdl_lti_access_tokens USING btree (token);


--
-- Name: mdl_ltiaccetoke_typ_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_ltiaccetoke_typ_ix ON public.mdl_lti_access_tokens USING btree (typeid);


--
-- Name: mdl_ltisgrad_gracou_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_ltisgrad_gracou_ix ON public.mdl_ltiservice_gradebookservices USING btree (gradeitemid, courseid);


--
-- Name: mdl_ltisgrad_lti_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_ltisgrad_lti_ix ON public.mdl_ltiservice_gradebookservices USING btree (ltilinkid);


--
-- Name: mdl_ltisubm_lti_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_ltisubm_lti_ix ON public.mdl_lti_submission USING btree (ltiid);


--
-- Name: mdl_ltitoolprox_gui_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_ltitoolprox_gui_uix ON public.mdl_lti_tool_proxies USING btree (guid);


--
-- Name: mdl_ltitoolsett_cou2_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_ltitoolsett_cou2_ix ON public.mdl_lti_tool_settings USING btree (coursemoduleid);


--
-- Name: mdl_ltitoolsett_cou_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_ltitoolsett_cou_ix ON public.mdl_lti_tool_settings USING btree (course);


--
-- Name: mdl_ltitoolsett_too_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_ltitoolsett_too_ix ON public.mdl_lti_tool_settings USING btree (toolproxyid);


--
-- Name: mdl_ltitoolsett_typ_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_ltitoolsett_typ_ix ON public.mdl_lti_tool_settings USING btree (typeid);


--
-- Name: mdl_ltitype_cli_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_ltitype_cli_uix ON public.mdl_lti_types USING btree (clientid);


--
-- Name: mdl_ltitype_cou_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_ltitype_cou_ix ON public.mdl_lti_types USING btree (course);


--
-- Name: mdl_ltitype_too_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_ltitype_too_ix ON public.mdl_lti_types USING btree (tooldomain);


--
-- Name: mdl_ltitypeconf_typ_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_ltitypeconf_typ_ix ON public.mdl_lti_types_config USING btree (typeid);


--
-- Name: mdl_mess_con_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_mess_con_ix ON public.mdl_messages USING btree (conversationid);


--
-- Name: mdl_mess_contim_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_mess_contim_ix ON public.mdl_messages USING btree (conversationid, timecreated);


--
-- Name: mdl_mess_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_mess_use_ix ON public.mdl_messages USING btree (useridfrom);


--
-- Name: mdl_mess_usetimnot2_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_mess_usetimnot2_ix ON public.mdl_message USING btree (useridto, timeusertodeleted, notification);


--
-- Name: mdl_mess_usetimnot_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_mess_usetimnot_ix ON public.mdl_message USING btree (useridfrom, timeuserfromdeleted, notification);


--
-- Name: mdl_mess_useusetimtim_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_mess_useusetimtim_ix ON public.mdl_message USING btree (useridfrom, useridto, timeuserfromdeleted, timeusertodeleted);


--
-- Name: mdl_messairndevi_use_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_messairndevi_use_uix ON public.mdl_message_airnotifier_devices USING btree (userdeviceid);


--
-- Name: mdl_messcont_con_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_messcont_con_ix ON public.mdl_message_contacts USING btree (contactid);


--
-- Name: mdl_messcont_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_messcont_use_ix ON public.mdl_message_contacts USING btree (userid);


--
-- Name: mdl_messcont_usecon_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_messcont_usecon_uix ON public.mdl_message_contacts USING btree (userid, contactid);


--
-- Name: mdl_messcontrequ_req_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_messcontrequ_req_ix ON public.mdl_message_contact_requests USING btree (requesteduserid);


--
-- Name: mdl_messcontrequ_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_messcontrequ_use_ix ON public.mdl_message_contact_requests USING btree (userid);


--
-- Name: mdl_messcontrequ_usereq_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_messcontrequ_usereq_uix ON public.mdl_message_contact_requests USING btree (userid, requesteduserid);


--
-- Name: mdl_messconv_comiteitecon_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_messconv_comiteitecon_ix ON public.mdl_message_conversations USING btree (component, itemtype, itemid, contextid);


--
-- Name: mdl_messconv_con2_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_messconv_con2_ix ON public.mdl_message_conversations USING btree (contextid);


--
-- Name: mdl_messconv_con_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_messconv_con_ix ON public.mdl_message_conversations USING btree (convhash);


--
-- Name: mdl_messconv_typ_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_messconv_typ_ix ON public.mdl_message_conversations USING btree (type);


--
-- Name: mdl_messconvacti_con_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_messconvacti_con_ix ON public.mdl_message_conversation_actions USING btree (conversationid);


--
-- Name: mdl_messconvacti_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_messconvacti_use_ix ON public.mdl_message_conversation_actions USING btree (userid);


--
-- Name: mdl_messconvmemb_con_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_messconvmemb_con_ix ON public.mdl_message_conversation_members USING btree (conversationid);


--
-- Name: mdl_messconvmemb_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_messconvmemb_use_ix ON public.mdl_message_conversation_members USING btree (userid);


--
-- Name: mdl_messdata_han_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_messdata_han_ix ON public.mdl_messageinbound_datakeys USING btree (handler);


--
-- Name: mdl_messdata_handat_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_messdata_handat_uix ON public.mdl_messageinbound_datakeys USING btree (handler, datavalue);


--
-- Name: mdl_messemaimess_con_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_messemaimess_con_ix ON public.mdl_message_email_messages USING btree (conversationid);


--
-- Name: mdl_messemaimess_mes_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_messemaimess_mes_ix ON public.mdl_message_email_messages USING btree (messageid);


--
-- Name: mdl_messemaimess_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_messemaimess_use_ix ON public.mdl_message_email_messages USING btree (useridto);


--
-- Name: mdl_messhand_cla_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_messhand_cla_uix ON public.mdl_messageinbound_handlers USING btree (classname);


--
-- Name: mdl_messmess_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_messmess_use_ix ON public.mdl_messageinbound_messagelist USING btree (userid);


--
-- Name: mdl_messpopu_isr_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_messpopu_isr_ix ON public.mdl_message_popup USING btree (isread);


--
-- Name: mdl_messpopu_mesisr_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_messpopu_mesisr_uix ON public.mdl_message_popup USING btree (messageid, isread);


--
-- Name: mdl_messpopunoti_not_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_messpopunoti_not_ix ON public.mdl_message_popup_notifications USING btree (notificationid);


--
-- Name: mdl_messprov_comnam_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_messprov_comnam_uix ON public.mdl_message_providers USING btree (component, name);


--
-- Name: mdl_messread_nottim_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_messread_nottim_ix ON public.mdl_message_read USING btree (notification, timeread);


--
-- Name: mdl_messread_usetimnot2_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_messread_usetimnot2_ix ON public.mdl_message_read USING btree (useridto, timeusertodeleted, notification);


--
-- Name: mdl_messread_usetimnot_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_messread_usetimnot_ix ON public.mdl_message_read USING btree (useridfrom, timeuserfromdeleted, notification);


--
-- Name: mdl_messread_useusetimtim_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_messread_useusetimtim_ix ON public.mdl_message_read USING btree (useridfrom, useridto, timeuserfromdeleted, timeusertodeleted);


--
-- Name: mdl_messuseracti_mes_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_messuseracti_mes_ix ON public.mdl_message_user_actions USING btree (messageid);


--
-- Name: mdl_messuseracti_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_messuseracti_use_ix ON public.mdl_message_user_actions USING btree (userid);


--
-- Name: mdl_messuseracti_usemesact_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_messuseracti_usemesact_uix ON public.mdl_message_user_actions USING btree (userid, messageid, action);


--
-- Name: mdl_messuserbloc_blo_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_messuserbloc_blo_ix ON public.mdl_message_users_blocked USING btree (blockeduserid);


--
-- Name: mdl_messuserbloc_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_messuserbloc_use_ix ON public.mdl_message_users_blocked USING btree (userid);


--
-- Name: mdl_messuserbloc_useblo_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_messuserbloc_useblo_uix ON public.mdl_message_users_blocked USING btree (userid, blockeduserid);


--
-- Name: mdl_mnetenrocour_hosrem_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_mnetenrocour_hosrem_uix ON public.mdl_mnetservice_enrol_courses USING btree (hostid, remoteid);


--
-- Name: mdl_mnetenroenro_hos_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_mnetenroenro_hos_ix ON public.mdl_mnetservice_enrol_enrolments USING btree (hostid);


--
-- Name: mdl_mnetenroenro_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_mnetenroenro_use_ix ON public.mdl_mnetservice_enrol_enrolments USING btree (userid);


--
-- Name: mdl_mnethost_app_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_mnethost_app_ix ON public.mdl_mnet_host USING btree (applicationid);


--
-- Name: mdl_mnethost_hosser_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_mnethost_hosser_uix ON public.mdl_mnet_host2service USING btree (hostid, serviceid);


--
-- Name: mdl_mnetlog_hosusecou_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_mnetlog_hosusecou_ix ON public.mdl_mnet_log USING btree (hostid, userid, course);


--
-- Name: mdl_mnetremoserv_rpcser_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_mnetremoserv_rpcser_uix ON public.mdl_mnet_remote_service2rpc USING btree (rpcid, serviceid);


--
-- Name: mdl_mnetrpc_enaxml_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_mnetrpc_enaxml_ix ON public.mdl_mnet_rpc USING btree (enabled, xmlrpcpath);


--
-- Name: mdl_mnetserv_rpcser_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_mnetserv_rpcser_uix ON public.mdl_mnet_service2rpc USING btree (rpcid, serviceid);


--
-- Name: mdl_mnetsess_tok_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_mnetsess_tok_uix ON public.mdl_mnet_session USING btree (token);


--
-- Name: mdl_mnetssoaccecont_mneuse_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_mnetssoaccecont_mneuse_uix ON public.mdl_mnet_sso_access_control USING btree (mnet_host_id, username);


--
-- Name: mdl_modu_nam_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_modu_nam_ix ON public.mdl_modules USING btree (name);


--
-- Name: mdl_mypage_usepri_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_mypage_usepri_ix ON public.mdl_my_pages USING btree (userid, private);


--
-- Name: mdl_noti_use2_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_noti_use2_ix ON public.mdl_notifications USING btree (useridto);


--
-- Name: mdl_noti_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_noti_use_ix ON public.mdl_notifications USING btree (useridfrom);


--
-- Name: mdl_oautaccetoke_iss_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_oautaccetoke_iss_uix ON public.mdl_oauth2_access_token USING btree (issuerid);


--
-- Name: mdl_oautendp_iss_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_oautendp_iss_ix ON public.mdl_oauth2_endpoint USING btree (issuerid);


--
-- Name: mdl_oautrefrtoke_iss_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_oautrefrtoke_iss_ix ON public.mdl_oauth2_refresh_token USING btree (issuerid);


--
-- Name: mdl_oautrefrtoke_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_oautrefrtoke_use_ix ON public.mdl_oauth2_refresh_token USING btree (userid);


--
-- Name: mdl_oautrefrtoke_useisssco_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_oautrefrtoke_useisssco_uix ON public.mdl_oauth2_refresh_token USING btree (userid, issuerid, scopehash);


--
-- Name: mdl_oautsystacco_iss_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_oautsystacco_iss_uix ON public.mdl_oauth2_system_account USING btree (issuerid);


--
-- Name: mdl_oautuserfielmapp_iss_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_oautuserfielmapp_iss_ix ON public.mdl_oauth2_user_field_mapping USING btree (issuerid);


--
-- Name: mdl_oautuserfielmapp_issin_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_oautuserfielmapp_issin_uix ON public.mdl_oauth2_user_field_mapping USING btree (issuerid, internalfield);


--
-- Name: mdl_page_cou_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_page_cou_ix ON public.mdl_page USING btree (course);


--
-- Name: mdl_paygpayp_pay_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_paygpayp_pay_uix ON public.mdl_paygw_paypal USING btree (paymentid);


--
-- Name: mdl_paym_acc_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_paym_acc_ix ON public.mdl_payments USING btree (accountid);


--
-- Name: mdl_paym_compayite_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_paym_compayite_ix ON public.mdl_payments USING btree (component, paymentarea, itemid);


--
-- Name: mdl_paym_gat_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_paym_gat_ix ON public.mdl_payments USING btree (gateway);


--
-- Name: mdl_paym_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_paym_use_ix ON public.mdl_payments USING btree (userid);


--
-- Name: mdl_paymgate_acc_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_paymgate_acc_ix ON public.mdl_payment_gateways USING btree (accountid);


--
-- Name: mdl_portinstconf_ins_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_portinstconf_ins_ix ON public.mdl_portfolio_instance_config USING btree (instance);


--
-- Name: mdl_portinstconf_nam_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_portinstconf_nam_ix ON public.mdl_portfolio_instance_config USING btree (name);


--
-- Name: mdl_portinstuser_ins_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_portinstuser_ins_ix ON public.mdl_portfolio_instance_user USING btree (instance);


--
-- Name: mdl_portinstuser_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_portinstuser_use_ix ON public.mdl_portfolio_instance_user USING btree (userid);


--
-- Name: mdl_portlog_por_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_portlog_por_ix ON public.mdl_portfolio_log USING btree (portfolio);


--
-- Name: mdl_portlog_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_portlog_use_ix ON public.mdl_portfolio_log USING btree (userid);


--
-- Name: mdl_portmahaqueu_tok_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_portmahaqueu_tok_ix ON public.mdl_portfolio_mahara_queue USING btree (token);


--
-- Name: mdl_portmahaqueu_tra_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_portmahaqueu_tra_ix ON public.mdl_portfolio_mahara_queue USING btree (transferid);


--
-- Name: mdl_porttemp_ins_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_porttemp_ins_ix ON public.mdl_portfolio_tempdata USING btree (instance);


--
-- Name: mdl_porttemp_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_porttemp_use_ix ON public.mdl_portfolio_tempdata USING btree (userid);


--
-- Name: mdl_post_iduse_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_post_iduse_uix ON public.mdl_post USING btree (id, userid);


--
-- Name: mdl_post_las_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_post_las_ix ON public.mdl_post USING btree (lastmodified);


--
-- Name: mdl_post_mod_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_post_mod_ix ON public.mdl_post USING btree (module);


--
-- Name: mdl_post_sub_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_post_sub_ix ON public.mdl_post USING btree (subject);


--
-- Name: mdl_post_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_post_use_ix ON public.mdl_post USING btree (usermodified);


--
-- Name: mdl_prof_run_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_prof_run_uix ON public.mdl_profiling USING btree (runid);


--
-- Name: mdl_prof_timrun_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_prof_timrun_ix ON public.mdl_profiling USING btree (timecreated, runreference);


--
-- Name: mdl_prof_urlrun_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_prof_urlrun_ix ON public.mdl_profiling USING btree (url, runreference);


--
-- Name: mdl_qtypddim_que_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_qtypddim_que_ix ON public.mdl_qtype_ddimageortext USING btree (questionid);


--
-- Name: mdl_qtypddimdrag_que_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_qtypddimdrag_que_ix ON public.mdl_qtype_ddimageortext_drags USING btree (questionid);


--
-- Name: mdl_qtypddimdrop_que_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_qtypddimdrop_que_ix ON public.mdl_qtype_ddimageortext_drops USING btree (questionid);


--
-- Name: mdl_qtypddma_que_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_qtypddma_que_ix ON public.mdl_qtype_ddmarker USING btree (questionid);


--
-- Name: mdl_qtypddmadrag_que_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_qtypddmadrag_que_ix ON public.mdl_qtype_ddmarker_drags USING btree (questionid);


--
-- Name: mdl_qtypddmadrop_que_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_qtypddmadrop_que_ix ON public.mdl_qtype_ddmarker_drops USING btree (questionid);


--
-- Name: mdl_qtypessaopti_que_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_qtypessaopti_que_uix ON public.mdl_qtype_essay_options USING btree (questionid);


--
-- Name: mdl_qtypmatcopti_que_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_qtypmatcopti_que_uix ON public.mdl_qtype_match_options USING btree (questionid);


--
-- Name: mdl_qtypmatcsubq_que_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_qtypmatcsubq_que_ix ON public.mdl_qtype_match_subquestions USING btree (questionid);


--
-- Name: mdl_qtypmultopti_que_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_qtypmultopti_que_uix ON public.mdl_qtype_multichoice_options USING btree (questionid);


--
-- Name: mdl_qtyprandopti_que_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_qtyprandopti_que_uix ON public.mdl_qtype_randomsamatch_options USING btree (questionid);


--
-- Name: mdl_qtypshoropti_que_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_qtypshoropti_que_uix ON public.mdl_qtype_shortanswer_options USING btree (questionid);


--
-- Name: mdl_ques_cat_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_ques_cat_ix ON public.mdl_question USING btree (category);


--
-- Name: mdl_ques_catidn_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_ques_catidn_uix ON public.mdl_question USING btree (category, idnumber);


--
-- Name: mdl_ques_cre_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_ques_cre_ix ON public.mdl_question USING btree (createdby);


--
-- Name: mdl_ques_mod_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_ques_mod_ix ON public.mdl_question USING btree (modifiedby);


--
-- Name: mdl_ques_par_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_ques_par_ix ON public.mdl_question USING btree (parent);


--
-- Name: mdl_ques_qty_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_ques_qty_ix ON public.mdl_question USING btree (qtype);


--
-- Name: mdl_quesansw_que_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_quesansw_que_ix ON public.mdl_question_answers USING btree (question);


--
-- Name: mdl_quesatte_beh_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_quesatte_beh_ix ON public.mdl_question_attempts USING btree (behaviour);


--
-- Name: mdl_quesatte_que2_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_quesatte_que2_ix ON public.mdl_question_attempts USING btree (questionusageid);


--
-- Name: mdl_quesatte_que_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_quesatte_que_ix ON public.mdl_question_attempts USING btree (questionid);


--
-- Name: mdl_quesatte_queslo_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_quesatte_queslo_uix ON public.mdl_question_attempts USING btree (questionusageid, slot);


--
-- Name: mdl_quesattestep_que_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_quesattestep_que_ix ON public.mdl_question_attempt_steps USING btree (questionattemptid);


--
-- Name: mdl_quesattestep_queseq_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_quesattestep_queseq_uix ON public.mdl_question_attempt_steps USING btree (questionattemptid, sequencenumber);


--
-- Name: mdl_quesattestep_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_quesattestep_use_ix ON public.mdl_question_attempt_steps USING btree (userid);


--
-- Name: mdl_quesattestepdata_att_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_quesattestepdata_att_ix ON public.mdl_question_attempt_step_data USING btree (attemptstepid);


--
-- Name: mdl_quescalc_ans_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_quescalc_ans_ix ON public.mdl_question_calculated USING btree (answer);


--
-- Name: mdl_quescalc_que_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_quescalc_que_ix ON public.mdl_question_calculated USING btree (question);


--
-- Name: mdl_quescalcopti_que_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_quescalcopti_que_ix ON public.mdl_question_calculated_options USING btree (question);


--
-- Name: mdl_quescate_con_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_quescate_con_ix ON public.mdl_question_categories USING btree (contextid);


--
-- Name: mdl_quescate_conidn_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_quescate_conidn_uix ON public.mdl_question_categories USING btree (contextid, idnumber);


--
-- Name: mdl_quescate_consta_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_quescate_consta_uix ON public.mdl_question_categories USING btree (contextid, stamp);


--
-- Name: mdl_quescate_par_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_quescate_par_ix ON public.mdl_question_categories USING btree (parent);


--
-- Name: mdl_quesdata_dat_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_quesdata_dat_ix ON public.mdl_question_datasets USING btree (datasetdefinition);


--
-- Name: mdl_quesdata_que_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_quesdata_que_ix ON public.mdl_question_datasets USING btree (question);


--
-- Name: mdl_quesdata_quedat_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_quesdata_quedat_ix ON public.mdl_question_datasets USING btree (question, datasetdefinition);


--
-- Name: mdl_quesdatadefi_cat_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_quesdatadefi_cat_ix ON public.mdl_question_dataset_definitions USING btree (category);


--
-- Name: mdl_quesdataitem_def_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_quesdataitem_def_ix ON public.mdl_question_dataset_items USING btree (definition);


--
-- Name: mdl_quesddwt_que_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_quesddwt_que_ix ON public.mdl_question_ddwtos USING btree (questionid);


--
-- Name: mdl_quesgaps_que_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_quesgaps_que_ix ON public.mdl_question_gapselect USING btree (questionid);


--
-- Name: mdl_queshint_que_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_queshint_que_ix ON public.mdl_question_hints USING btree (questionid);


--
-- Name: mdl_quesmult_que_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_quesmult_que_ix ON public.mdl_question_multianswer USING btree (question);


--
-- Name: mdl_quesnume_ans_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_quesnume_ans_ix ON public.mdl_question_numerical USING btree (answer);


--
-- Name: mdl_quesnume_que_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_quesnume_que_ix ON public.mdl_question_numerical USING btree (question);


--
-- Name: mdl_quesnumeopti_que_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_quesnumeopti_que_ix ON public.mdl_question_numerical_options USING btree (question);


--
-- Name: mdl_quesnumeunit_que_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_quesnumeunit_que_ix ON public.mdl_question_numerical_units USING btree (question);


--
-- Name: mdl_quesnumeunit_queuni_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_quesnumeunit_queuni_uix ON public.mdl_question_numerical_units USING btree (question, unit);


--
-- Name: mdl_quesrespcoun_ana_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_quesrespcoun_ana_ix ON public.mdl_question_response_count USING btree (analysisid);


--
-- Name: mdl_questrue_que_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_questrue_que_ix ON public.mdl_question_truefalse USING btree (question);


--
-- Name: mdl_quesusag_con_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_quesusag_con_ix ON public.mdl_question_usages USING btree (contextid);


--
-- Name: mdl_quiz_cou_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_quiz_cou_ix ON public.mdl_quiz USING btree (course);


--
-- Name: mdl_quizatte_qui_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_quizatte_qui_ix ON public.mdl_quiz_attempts USING btree (quiz);


--
-- Name: mdl_quizatte_quiuseatt_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_quizatte_quiuseatt_uix ON public.mdl_quiz_attempts USING btree (quiz, userid, attempt);


--
-- Name: mdl_quizatte_statim_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_quizatte_statim_ix ON public.mdl_quiz_attempts USING btree (state, timecheckstate);


--
-- Name: mdl_quizatte_uni_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_quizatte_uni_uix ON public.mdl_quiz_attempts USING btree (uniqueid);


--
-- Name: mdl_quizatte_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_quizatte_use_ix ON public.mdl_quiz_attempts USING btree (userid);


--
-- Name: mdl_quizfeed_qui_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_quizfeed_qui_ix ON public.mdl_quiz_feedback USING btree (quizid);


--
-- Name: mdl_quizgrad_qui_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_quizgrad_qui_ix ON public.mdl_quiz_grades USING btree (quiz);


--
-- Name: mdl_quizgrad_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_quizgrad_use_ix ON public.mdl_quiz_grades USING btree (userid);


--
-- Name: mdl_quizover_gro_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_quizover_gro_ix ON public.mdl_quiz_overrides USING btree (groupid);


--
-- Name: mdl_quizover_qui_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_quizover_qui_ix ON public.mdl_quiz_overrides USING btree (quiz);


--
-- Name: mdl_quizover_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_quizover_use_ix ON public.mdl_quiz_overrides USING btree (userid);


--
-- Name: mdl_quizoverregr_queslo_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_quizoverregr_queslo_ix ON public.mdl_quiz_overview_regrades USING btree (questionusageid, slot);


--
-- Name: mdl_quizrepo_nam_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_quizrepo_nam_uix ON public.mdl_quiz_reports USING btree (name);


--
-- Name: mdl_quizsebquiz_cmi_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_quizsebquiz_cmi_uix ON public.mdl_quizaccess_seb_quizsettings USING btree (cmid);


--
-- Name: mdl_quizsebquiz_qui_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_quizsebquiz_qui_uix ON public.mdl_quizaccess_seb_quizsettings USING btree (quizid);


--
-- Name: mdl_quizsebquiz_tem_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_quizsebquiz_tem_ix ON public.mdl_quizaccess_seb_quizsettings USING btree (templateid);


--
-- Name: mdl_quizsebquiz_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_quizsebquiz_use_ix ON public.mdl_quizaccess_seb_quizsettings USING btree (usermodified);


--
-- Name: mdl_quizsebtemp_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_quizsebtemp_use_ix ON public.mdl_quizaccess_seb_template USING btree (usermodified);


--
-- Name: mdl_quizsect_qui_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_quizsect_qui_ix ON public.mdl_quiz_sections USING btree (quizid);


--
-- Name: mdl_quizsect_quifir_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_quizsect_quifir_uix ON public.mdl_quiz_sections USING btree (quizid, firstslot);


--
-- Name: mdl_quizslot_que2_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_quizslot_que2_ix ON public.mdl_quiz_slots USING btree (questioncategoryid);


--
-- Name: mdl_quizslot_que_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_quizslot_que_ix ON public.mdl_quiz_slots USING btree (questionid);


--
-- Name: mdl_quizslot_qui_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_quizslot_qui_ix ON public.mdl_quiz_slots USING btree (quizid);


--
-- Name: mdl_quizslot_quislo_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_quizslot_quislo_uix ON public.mdl_quiz_slots USING btree (quizid, slot);


--
-- Name: mdl_quizslottags_slo_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_quizslottags_slo_ix ON public.mdl_quiz_slot_tags USING btree (slotid);


--
-- Name: mdl_quizslottags_tag_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_quizslottags_tag_ix ON public.mdl_quiz_slot_tags USING btree (tagid);


--
-- Name: mdl_rati_comratconite_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_rati_comratconite_ix ON public.mdl_rating USING btree (component, ratingarea, contextid, itemid);


--
-- Name: mdl_rati_con_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_rati_con_ix ON public.mdl_rating USING btree (contextid);


--
-- Name: mdl_rati_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_rati_use_ix ON public.mdl_rating USING btree (userid);


--
-- Name: mdl_repoonedacce_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_repoonedacce_use_ix ON public.mdl_repository_onedrive_access USING btree (usermodified);


--
-- Name: mdl_reso_cou_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_reso_cou_ix ON public.mdl_resource USING btree (course);


--
-- Name: mdl_resoold_cmi_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_resoold_cmi_ix ON public.mdl_resource_old USING btree (cmid);


--
-- Name: mdl_resoold_old_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_resoold_old_uix ON public.mdl_resource_old USING btree (oldid);


--
-- Name: mdl_role_sho_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_role_sho_uix ON public.mdl_role USING btree (shortname);


--
-- Name: mdl_role_sor_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_role_sor_uix ON public.mdl_role USING btree (sortorder);


--
-- Name: mdl_rolealloassi_all_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_rolealloassi_all_ix ON public.mdl_role_allow_assign USING btree (allowassign);


--
-- Name: mdl_rolealloassi_rol_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_rolealloassi_rol_ix ON public.mdl_role_allow_assign USING btree (roleid);


--
-- Name: mdl_rolealloassi_rolall_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_rolealloassi_rolall_uix ON public.mdl_role_allow_assign USING btree (roleid, allowassign);


--
-- Name: mdl_rolealloover_all_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_rolealloover_all_ix ON public.mdl_role_allow_override USING btree (allowoverride);


--
-- Name: mdl_rolealloover_rol_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_rolealloover_rol_ix ON public.mdl_role_allow_override USING btree (roleid);


--
-- Name: mdl_rolealloover_rolall_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_rolealloover_rolall_uix ON public.mdl_role_allow_override USING btree (roleid, allowoverride);


--
-- Name: mdl_rolealloswit_all_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_rolealloswit_all_ix ON public.mdl_role_allow_switch USING btree (allowswitch);


--
-- Name: mdl_rolealloswit_rol_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_rolealloswit_rol_ix ON public.mdl_role_allow_switch USING btree (roleid);


--
-- Name: mdl_rolealloswit_rolall_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_rolealloswit_rolall_uix ON public.mdl_role_allow_switch USING btree (roleid, allowswitch);


--
-- Name: mdl_rolealloview_all_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_rolealloview_all_ix ON public.mdl_role_allow_view USING btree (allowview);


--
-- Name: mdl_rolealloview_rol_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_rolealloview_rol_ix ON public.mdl_role_allow_view USING btree (roleid);


--
-- Name: mdl_rolealloview_rolall_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_rolealloview_rolall_uix ON public.mdl_role_allow_view USING btree (roleid, allowview);


--
-- Name: mdl_roleassi_comiteuse_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_roleassi_comiteuse_ix ON public.mdl_role_assignments USING btree (component, itemid, userid);


--
-- Name: mdl_roleassi_con_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_roleassi_con_ix ON public.mdl_role_assignments USING btree (contextid);


--
-- Name: mdl_roleassi_rol_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_roleassi_rol_ix ON public.mdl_role_assignments USING btree (roleid);


--
-- Name: mdl_roleassi_rolcon_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_roleassi_rolcon_ix ON public.mdl_role_assignments USING btree (roleid, contextid);


--
-- Name: mdl_roleassi_sor_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_roleassi_sor_ix ON public.mdl_role_assignments USING btree (sortorder);


--
-- Name: mdl_roleassi_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_roleassi_use_ix ON public.mdl_role_assignments USING btree (userid);


--
-- Name: mdl_roleassi_useconrol_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_roleassi_useconrol_ix ON public.mdl_role_assignments USING btree (userid, contextid, roleid);


--
-- Name: mdl_rolecapa_cap_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_rolecapa_cap_ix ON public.mdl_role_capabilities USING btree (capability);


--
-- Name: mdl_rolecapa_con_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_rolecapa_con_ix ON public.mdl_role_capabilities USING btree (contextid);


--
-- Name: mdl_rolecapa_mod_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_rolecapa_mod_ix ON public.mdl_role_capabilities USING btree (modifierid);


--
-- Name: mdl_rolecapa_rol_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_rolecapa_rol_ix ON public.mdl_role_capabilities USING btree (roleid);


--
-- Name: mdl_rolecapa_rolconcap_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_rolecapa_rolconcap_uix ON public.mdl_role_capabilities USING btree (roleid, contextid, capability);


--
-- Name: mdl_rolecontleve_conrol_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_rolecontleve_conrol_uix ON public.mdl_role_context_levels USING btree (contextlevel, roleid);


--
-- Name: mdl_rolecontleve_rol_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_rolecontleve_rol_ix ON public.mdl_role_context_levels USING btree (roleid);


--
-- Name: mdl_rolename_con_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_rolename_con_ix ON public.mdl_role_names USING btree (contextid);


--
-- Name: mdl_rolename_rol_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_rolename_rol_ix ON public.mdl_role_names USING btree (roleid);


--
-- Name: mdl_rolename_rolcon_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_rolename_rolcon_uix ON public.mdl_role_names USING btree (roleid, contextid);


--
-- Name: mdl_scal_cou_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_scal_cou_ix ON public.mdl_scale USING btree (courseid);


--
-- Name: mdl_scalhist_act_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_scalhist_act_ix ON public.mdl_scale_history USING btree (action);


--
-- Name: mdl_scalhist_cou_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_scalhist_cou_ix ON public.mdl_scale_history USING btree (courseid);


--
-- Name: mdl_scalhist_log_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_scalhist_log_ix ON public.mdl_scale_history USING btree (loggeduser);


--
-- Name: mdl_scalhist_old_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_scalhist_old_ix ON public.mdl_scale_history USING btree (oldid);


--
-- Name: mdl_scalhist_tim_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_scalhist_tim_ix ON public.mdl_scale_history USING btree (timemodified);


--
-- Name: mdl_scor_cou_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_scor_cou_ix ON public.mdl_scorm USING btree (course);


--
-- Name: mdl_scoraiccsess_sco_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_scoraiccsess_sco_ix ON public.mdl_scorm_aicc_session USING btree (scormid);


--
-- Name: mdl_scoraiccsess_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_scoraiccsess_use_ix ON public.mdl_scorm_aicc_session USING btree (userid);


--
-- Name: mdl_scorscoe_sco_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_scorscoe_sco_ix ON public.mdl_scorm_scoes USING btree (scorm);


--
-- Name: mdl_scorscoedata_sco_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_scorscoedata_sco_ix ON public.mdl_scorm_scoes_data USING btree (scoid);


--
-- Name: mdl_scorscoetrac_sco2_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_scorscoetrac_sco2_ix ON public.mdl_scorm_scoes_track USING btree (scoid);


--
-- Name: mdl_scorscoetrac_sco_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_scorscoetrac_sco_ix ON public.mdl_scorm_scoes_track USING btree (scormid);


--
-- Name: mdl_scorscoetrac_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_scorscoetrac_use_ix ON public.mdl_scorm_scoes_track USING btree (userid);


--
-- Name: mdl_scorscoetrac_usescosco_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_scorscoetrac_usescosco_uix ON public.mdl_scorm_scoes_track USING btree (userid, scormid, scoid, attempt, element);


--
-- Name: mdl_scorseqmapi_obj_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_scorseqmapi_obj_ix ON public.mdl_scorm_seq_mapinfo USING btree (objectiveid);


--
-- Name: mdl_scorseqmapi_sco_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_scorseqmapi_sco_ix ON public.mdl_scorm_seq_mapinfo USING btree (scoid);


--
-- Name: mdl_scorseqmapi_scoidobj_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_scorseqmapi_scoidobj_uix ON public.mdl_scorm_seq_mapinfo USING btree (scoid, id, objectiveid);


--
-- Name: mdl_scorseqobje_sco_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_scorseqobje_sco_ix ON public.mdl_scorm_seq_objective USING btree (scoid);


--
-- Name: mdl_scorseqobje_scoid_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_scorseqobje_scoid_uix ON public.mdl_scorm_seq_objective USING btree (scoid, id);


--
-- Name: mdl_scorseqroll_rol_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_scorseqroll_rol_ix ON public.mdl_scorm_seq_rolluprulecond USING btree (rollupruleid);


--
-- Name: mdl_scorseqroll_sco2_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_scorseqroll_sco2_ix ON public.mdl_scorm_seq_rolluprulecond USING btree (scoid);


--
-- Name: mdl_scorseqroll_sco_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_scorseqroll_sco_ix ON public.mdl_scorm_seq_rolluprule USING btree (scoid);


--
-- Name: mdl_scorseqroll_scoid_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_scorseqroll_scoid_uix ON public.mdl_scorm_seq_rolluprule USING btree (scoid, id);


--
-- Name: mdl_scorseqroll_scorolid_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_scorseqroll_scorolid_uix ON public.mdl_scorm_seq_rolluprulecond USING btree (scoid, rollupruleid, id);


--
-- Name: mdl_scorseqrule_idscorul_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_scorseqrule_idscorul_uix ON public.mdl_scorm_seq_rulecond USING btree (id, scoid, ruleconditionsid);


--
-- Name: mdl_scorseqrule_rul_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_scorseqrule_rul_ix ON public.mdl_scorm_seq_rulecond USING btree (ruleconditionsid);


--
-- Name: mdl_scorseqrule_sco2_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_scorseqrule_sco2_ix ON public.mdl_scorm_seq_rulecond USING btree (scoid);


--
-- Name: mdl_scorseqrule_sco_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_scorseqrule_sco_ix ON public.mdl_scorm_seq_ruleconds USING btree (scoid);


--
-- Name: mdl_scorseqrule_scoid_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_scorseqrule_scoid_uix ON public.mdl_scorm_seq_ruleconds USING btree (scoid, id);


--
-- Name: mdl_search_simpledb_content; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_search_simpledb_content ON public.mdl_search_simpledb_index USING gin (to_tsvector('simple'::regconfig, content));


--
-- Name: mdl_search_simpledb_description1; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_search_simpledb_description1 ON public.mdl_search_simpledb_index USING gin (to_tsvector('simple'::regconfig, description1));


--
-- Name: mdl_search_simpledb_description2; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_search_simpledb_description2 ON public.mdl_search_simpledb_index USING gin (to_tsvector('simple'::regconfig, description2));


--
-- Name: mdl_search_simpledb_title; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_search_simpledb_title ON public.mdl_search_simpledb_index USING gin (to_tsvector('simple'::regconfig, title));


--
-- Name: mdl_searinderequ_con_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_searinderequ_con_ix ON public.mdl_search_index_requests USING btree (contextid);


--
-- Name: mdl_searinderequ_indtim_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_searinderequ_indtim_ix ON public.mdl_search_index_requests USING btree (indexpriority, timerequested);


--
-- Name: mdl_searsimpinde_doc_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_searsimpinde_doc_uix ON public.mdl_search_simpledb_index USING btree (docid);


--
-- Name: mdl_searsimpinde_owncon_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_searsimpinde_owncon_ix ON public.mdl_search_simpledb_index USING btree (owneruserid, contextid);


--
-- Name: mdl_sess_sid_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_sess_sid_uix ON public.mdl_sessions USING btree (sid);


--
-- Name: mdl_sess_sta_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_sess_sta_ix ON public.mdl_sessions USING btree (state);


--
-- Name: mdl_sess_tim2_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_sess_tim2_ix ON public.mdl_sessions USING btree (timemodified);


--
-- Name: mdl_sess_tim_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_sess_tim_ix ON public.mdl_sessions USING btree (timecreated);


--
-- Name: mdl_sess_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_sess_use_ix ON public.mdl_sessions USING btree (userid);


--
-- Name: mdl_statdail_cou_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_statdail_cou_ix ON public.mdl_stats_daily USING btree (courseid);


--
-- Name: mdl_statdail_rol_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_statdail_rol_ix ON public.mdl_stats_daily USING btree (roleid);


--
-- Name: mdl_statdail_tim_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_statdail_tim_ix ON public.mdl_stats_daily USING btree (timeend);


--
-- Name: mdl_statmont_cou_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_statmont_cou_ix ON public.mdl_stats_monthly USING btree (courseid);


--
-- Name: mdl_statmont_rol_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_statmont_rol_ix ON public.mdl_stats_monthly USING btree (roleid);


--
-- Name: mdl_statmont_tim_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_statmont_tim_ix ON public.mdl_stats_monthly USING btree (timeend);


--
-- Name: mdl_statuserdail_cou_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_statuserdail_cou_ix ON public.mdl_stats_user_daily USING btree (courseid);


--
-- Name: mdl_statuserdail_rol_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_statuserdail_rol_ix ON public.mdl_stats_user_daily USING btree (roleid);


--
-- Name: mdl_statuserdail_tim_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_statuserdail_tim_ix ON public.mdl_stats_user_daily USING btree (timeend);


--
-- Name: mdl_statuserdail_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_statuserdail_use_ix ON public.mdl_stats_user_daily USING btree (userid);


--
-- Name: mdl_statusermont_cou_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_statusermont_cou_ix ON public.mdl_stats_user_monthly USING btree (courseid);


--
-- Name: mdl_statusermont_rol_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_statusermont_rol_ix ON public.mdl_stats_user_monthly USING btree (roleid);


--
-- Name: mdl_statusermont_tim_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_statusermont_tim_ix ON public.mdl_stats_user_monthly USING btree (timeend);


--
-- Name: mdl_statusermont_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_statusermont_use_ix ON public.mdl_stats_user_monthly USING btree (userid);


--
-- Name: mdl_statuserweek_cou_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_statuserweek_cou_ix ON public.mdl_stats_user_weekly USING btree (courseid);


--
-- Name: mdl_statuserweek_rol_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_statuserweek_rol_ix ON public.mdl_stats_user_weekly USING btree (roleid);


--
-- Name: mdl_statuserweek_tim_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_statuserweek_tim_ix ON public.mdl_stats_user_weekly USING btree (timeend);


--
-- Name: mdl_statuserweek_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_statuserweek_use_ix ON public.mdl_stats_user_weekly USING btree (userid);


--
-- Name: mdl_statweek_cou_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_statweek_cou_ix ON public.mdl_stats_weekly USING btree (courseid);


--
-- Name: mdl_statweek_rol_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_statweek_rol_ix ON public.mdl_stats_weekly USING btree (roleid);


--
-- Name: mdl_statweek_tim_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_statweek_tim_ix ON public.mdl_stats_weekly USING btree (timeend);


--
-- Name: mdl_surv_cou_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_surv_cou_ix ON public.mdl_survey USING btree (course);


--
-- Name: mdl_survanal_sur_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_survanal_sur_ix ON public.mdl_survey_analysis USING btree (survey);


--
-- Name: mdl_survanal_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_survanal_use_ix ON public.mdl_survey_analysis USING btree (userid);


--
-- Name: mdl_survansw_que_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_survansw_que_ix ON public.mdl_survey_answers USING btree (question);


--
-- Name: mdl_survansw_sur_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_survansw_sur_ix ON public.mdl_survey_answers USING btree (survey);


--
-- Name: mdl_survansw_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_survansw_use_ix ON public.mdl_survey_answers USING btree (userid);


--
-- Name: mdl_tag_tag_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_tag_tag_ix ON public.mdl_tag USING btree (tagcollid);


--
-- Name: mdl_tag_tagiss_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_tag_tagiss_ix ON public.mdl_tag USING btree (tagcollid, isstandard);


--
-- Name: mdl_tag_tagnam_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_tag_tagnam_uix ON public.mdl_tag USING btree (tagcollid, name);


--
-- Name: mdl_tag_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_tag_use_ix ON public.mdl_tag USING btree (userid);


--
-- Name: mdl_tagarea_comite_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_tagarea_comite_uix ON public.mdl_tag_area USING btree (component, itemtype);


--
-- Name: mdl_tagarea_tag_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_tagarea_tag_ix ON public.mdl_tag_area USING btree (tagcollid);


--
-- Name: mdl_tagcorr_tag_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_tagcorr_tag_ix ON public.mdl_tag_correlation USING btree (tagid);


--
-- Name: mdl_taginst_comiteiteconti_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_taginst_comiteiteconti_uix ON public.mdl_tag_instance USING btree (component, itemtype, itemid, contextid, tiuserid, tagid);


--
-- Name: mdl_taginst_con_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_taginst_con_ix ON public.mdl_tag_instance USING btree (contextid);


--
-- Name: mdl_taginst_itecomtagcon_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_taginst_itecomtagcon_ix ON public.mdl_tag_instance USING btree (itemtype, component, tagid, contextid);


--
-- Name: mdl_taginst_tag_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_taginst_tag_ix ON public.mdl_tag_instance USING btree (tagid);


--
-- Name: mdl_taskadho_nex_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_taskadho_nex_ix ON public.mdl_task_adhoc USING btree (nextruntime);


--
-- Name: mdl_taskadho_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_taskadho_use_ix ON public.mdl_task_adhoc USING btree (userid);


--
-- Name: mdl_tasklog_cla_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_tasklog_cla_ix ON public.mdl_task_log USING btree (classname);


--
-- Name: mdl_tasklog_tim_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_tasklog_tim_ix ON public.mdl_task_log USING btree (timestart);


--
-- Name: mdl_tasksche_cla_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_tasksche_cla_uix ON public.mdl_task_scheduled USING btree (classname);


--
-- Name: mdl_toolcoho_cohroluse_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_toolcoho_cohroluse_uix ON public.mdl_tool_cohortroles USING btree (cohortid, roleid, userid);


--
-- Name: mdl_toolcust_com_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_toolcust_com_ix ON public.mdl_tool_customlang USING btree (componentid);


--
-- Name: mdl_toolcust_lancomstr_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_toolcust_lancomstr_uix ON public.mdl_tool_customlang USING btree (lang, componentid, stringid);


--
-- Name: mdl_tooldatactxe_con_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_tooldatactxe_con_uix ON public.mdl_tool_dataprivacy_ctxexpired USING btree (contextid);


--
-- Name: mdl_tooldatactxi_cat_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_tooldatactxi_cat_ix ON public.mdl_tool_dataprivacy_ctxinstance USING btree (categoryid);


--
-- Name: mdl_tooldatactxi_con_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_tooldatactxi_con_uix ON public.mdl_tool_dataprivacy_ctxinstance USING btree (contextid);


--
-- Name: mdl_tooldatactxi_pur_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_tooldatactxi_pur_ix ON public.mdl_tool_dataprivacy_ctxinstance USING btree (purposeid);


--
-- Name: mdl_tooldatactxl_cat_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_tooldatactxl_cat_ix ON public.mdl_tool_dataprivacy_ctxlevel USING btree (categoryid);


--
-- Name: mdl_tooldatactxl_con_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_tooldatactxl_con_uix ON public.mdl_tool_dataprivacy_ctxlevel USING btree (contextlevel);


--
-- Name: mdl_tooldatactxl_pur_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_tooldatactxl_pur_ix ON public.mdl_tool_dataprivacy_ctxlevel USING btree (purposeid);


--
-- Name: mdl_tooldatapurp_pur_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_tooldatapurp_pur_ix ON public.mdl_tool_dataprivacy_purposerole USING btree (purposeid);


--
-- Name: mdl_tooldatapurp_purrol_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_tooldatapurp_purrol_uix ON public.mdl_tool_dataprivacy_purposerole USING btree (purposeid, roleid);


--
-- Name: mdl_tooldatapurp_rol_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_tooldatapurp_rol_ix ON public.mdl_tool_dataprivacy_purposerole USING btree (roleid);


--
-- Name: mdl_tooldatarequ_dpo_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_tooldatarequ_dpo_ix ON public.mdl_tool_dataprivacy_request USING btree (dpo);


--
-- Name: mdl_tooldatarequ_req_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_tooldatarequ_req_ix ON public.mdl_tool_dataprivacy_request USING btree (requestedby);


--
-- Name: mdl_tooldatarequ_use2_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_tooldatarequ_use2_ix ON public.mdl_tool_dataprivacy_request USING btree (usermodified);


--
-- Name: mdl_tooldatarequ_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_tooldatarequ_use_ix ON public.mdl_tool_dataprivacy_request USING btree (userid);


--
-- Name: mdl_toolmonihist_sid_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_toolmonihist_sid_ix ON public.mdl_tool_monitor_history USING btree (sid);


--
-- Name: mdl_toolmonihist_sidusetim_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_toolmonihist_sidusetim_uix ON public.mdl_tool_monitor_history USING btree (sid, userid, timesent);


--
-- Name: mdl_toolmonirule_couuse_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_toolmonirule_couuse_ix ON public.mdl_tool_monitor_rules USING btree (courseid, userid);


--
-- Name: mdl_toolmonirule_eve_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_toolmonirule_eve_ix ON public.mdl_tool_monitor_rules USING btree (eventname);


--
-- Name: mdl_toolmonisubs_couuse_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_toolmonisubs_couuse_ix ON public.mdl_tool_monitor_subscriptions USING btree (courseid, userid);


--
-- Name: mdl_toolmonisubs_rul_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_toolmonisubs_rul_ix ON public.mdl_tool_monitor_subscriptions USING btree (ruleid);


--
-- Name: mdl_toolpoli_cur_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_toolpoli_cur_ix ON public.mdl_tool_policy USING btree (currentversionid);


--
-- Name: mdl_toolpoliacce_pol_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_toolpoliacce_pol_ix ON public.mdl_tool_policy_acceptances USING btree (policyversionid);


--
-- Name: mdl_toolpoliacce_poluse_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_toolpoliacce_poluse_uix ON public.mdl_tool_policy_acceptances USING btree (policyversionid, userid);


--
-- Name: mdl_toolpoliacce_use2_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_toolpoliacce_use2_ix ON public.mdl_tool_policy_acceptances USING btree (usermodified);


--
-- Name: mdl_toolpoliacce_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_toolpoliacce_use_ix ON public.mdl_tool_policy_acceptances USING btree (userid);


--
-- Name: mdl_toolpolivers_pol_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_toolpolivers_pol_ix ON public.mdl_tool_policy_versions USING btree (policyid);


--
-- Name: mdl_toolpolivers_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_toolpolivers_use_ix ON public.mdl_tool_policy_versions USING btree (usermodified);


--
-- Name: mdl_toolrecycate_cat_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_toolrecycate_cat_ix ON public.mdl_tool_recyclebin_category USING btree (categoryid);


--
-- Name: mdl_toolrecycate_tim_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_toolrecycate_tim_ix ON public.mdl_tool_recyclebin_category USING btree (timecreated);


--
-- Name: mdl_toolrecycour_cou_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_toolrecycour_cou_ix ON public.mdl_tool_recyclebin_course USING btree (courseid);


--
-- Name: mdl_toolrecycour_tim_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_toolrecycour_tim_ix ON public.mdl_tool_recyclebin_course USING btree (timecreated);


--
-- Name: mdl_tooluserstep_tou_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_tooluserstep_tou_ix ON public.mdl_tool_usertours_steps USING btree (tourid);


--
-- Name: mdl_tooluserstep_tousor_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_tooluserstep_tousor_ix ON public.mdl_tool_usertours_steps USING btree (tourid, sortorder);


--
-- Name: mdl_upgrlog_tim_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_upgrlog_tim_ix ON public.mdl_upgrade_log USING btree (timemodified);


--
-- Name: mdl_upgrlog_typtim_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_upgrlog_typtim_ix ON public.mdl_upgrade_log USING btree (type, timemodified);


--
-- Name: mdl_upgrlog_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_upgrlog_use_ix ON public.mdl_upgrade_log USING btree (userid);


--
-- Name: mdl_url_cou_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_url_cou_ix ON public.mdl_url USING btree (course);


--
-- Name: mdl_user_alt_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_user_alt_ix ON public.mdl_user USING btree (alternatename);


--
-- Name: mdl_user_aut_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_user_aut_ix ON public.mdl_user USING btree (auth);


--
-- Name: mdl_user_cit_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_user_cit_ix ON public.mdl_user USING btree (city);


--
-- Name: mdl_user_con_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_user_con_ix ON public.mdl_user USING btree (confirmed);


--
-- Name: mdl_user_cou_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_user_cou_ix ON public.mdl_user USING btree (country);


--
-- Name: mdl_user_del_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_user_del_ix ON public.mdl_user USING btree (deleted);


--
-- Name: mdl_user_ema_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_user_ema_ix ON public.mdl_user USING btree (email);


--
-- Name: mdl_user_fir2_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_user_fir2_ix ON public.mdl_user USING btree (firstnamephonetic);


--
-- Name: mdl_user_fir_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_user_fir_ix ON public.mdl_user USING btree (firstname);


--
-- Name: mdl_user_idn_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_user_idn_ix ON public.mdl_user USING btree (idnumber);


--
-- Name: mdl_user_las2_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_user_las2_ix ON public.mdl_user USING btree (lastaccess);


--
-- Name: mdl_user_las3_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_user_las3_ix ON public.mdl_user USING btree (lastnamephonetic);


--
-- Name: mdl_user_las_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_user_las_ix ON public.mdl_user USING btree (lastname);


--
-- Name: mdl_user_mid_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_user_mid_ix ON public.mdl_user USING btree (middlename);


--
-- Name: mdl_user_mneuse_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_user_mneuse_uix ON public.mdl_user USING btree (mnethostid, username);


--
-- Name: mdl_userdevi_pususe_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_userdevi_pususe_uix ON public.mdl_user_devices USING btree (pushid, userid);


--
-- Name: mdl_userdevi_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_userdevi_use_ix ON public.mdl_user_devices USING btree (userid);


--
-- Name: mdl_userdevi_uuiuse_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_userdevi_uuiuse_ix ON public.mdl_user_devices USING btree (uuid, userid);


--
-- Name: mdl_userenro_enr_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_userenro_enr_ix ON public.mdl_user_enrolments USING btree (enrolid);


--
-- Name: mdl_userenro_enruse_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_userenro_enruse_uix ON public.mdl_user_enrolments USING btree (enrolid, userid);


--
-- Name: mdl_userenro_mod_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_userenro_mod_ix ON public.mdl_user_enrolments USING btree (modifierid);


--
-- Name: mdl_userenro_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_userenro_use_ix ON public.mdl_user_enrolments USING btree (userid);


--
-- Name: mdl_userinfodata_usefie_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_userinfodata_usefie_uix ON public.mdl_user_info_data USING btree (userid, fieldid);


--
-- Name: mdl_userlast_cou_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_userlast_cou_ix ON public.mdl_user_lastaccess USING btree (courseid);


--
-- Name: mdl_userlast_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_userlast_use_ix ON public.mdl_user_lastaccess USING btree (userid);


--
-- Name: mdl_userlast_usecou_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_userlast_usecou_uix ON public.mdl_user_lastaccess USING btree (userid, courseid);


--
-- Name: mdl_userpasshist_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_userpasshist_use_ix ON public.mdl_user_password_history USING btree (userid);


--
-- Name: mdl_userpassrese_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_userpassrese_use_ix ON public.mdl_user_password_resets USING btree (userid);


--
-- Name: mdl_userpref_usenam_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_userpref_usenam_uix ON public.mdl_user_preferences USING btree (userid, name);


--
-- Name: mdl_userprivkey_scrval_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_userprivkey_scrval_ix ON public.mdl_user_private_key USING btree (script, value);


--
-- Name: mdl_userprivkey_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_userprivkey_use_ix ON public.mdl_user_private_key USING btree (userid);


--
-- Name: mdl_wiki_cou_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_wiki_cou_ix ON public.mdl_wiki USING btree (course);


--
-- Name: mdl_wikilink_fro_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_wikilink_fro_ix ON public.mdl_wiki_links USING btree (frompageid);


--
-- Name: mdl_wikilink_sub_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_wikilink_sub_ix ON public.mdl_wiki_links USING btree (subwikiid);


--
-- Name: mdl_wikipage_sub_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_wikipage_sub_ix ON public.mdl_wiki_pages USING btree (subwikiid);


--
-- Name: mdl_wikipage_subtituse_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_wikipage_subtituse_uix ON public.mdl_wiki_pages USING btree (subwikiid, title, userid);


--
-- Name: mdl_wikisubw_wik_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_wikisubw_wik_ix ON public.mdl_wiki_subwikis USING btree (wikiid);


--
-- Name: mdl_wikisubw_wikgrouse_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_wikisubw_wikgrouse_uix ON public.mdl_wiki_subwikis USING btree (wikiid, groupid, userid);


--
-- Name: mdl_wikisyno_pagpag_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_wikisyno_pagpag_uix ON public.mdl_wiki_synonyms USING btree (pageid, pagesynonym);


--
-- Name: mdl_wikivers_pag_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_wikivers_pag_ix ON public.mdl_wiki_versions USING btree (pageid);


--
-- Name: mdl_work_cou_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_work_cou_ix ON public.mdl_workshop USING btree (course);


--
-- Name: mdl_workaccu_wor_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_workaccu_wor_ix ON public.mdl_workshopform_accumulative USING btree (workshopid);


--
-- Name: mdl_workaggr_use_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_workaggr_use_ix ON public.mdl_workshop_aggregations USING btree (userid);


--
-- Name: mdl_workaggr_wor_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_workaggr_wor_ix ON public.mdl_workshop_aggregations USING btree (workshopid);


--
-- Name: mdl_workaggr_woruse_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_workaggr_woruse_uix ON public.mdl_workshop_aggregations USING btree (workshopid, userid);


--
-- Name: mdl_workasse_gra_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_workasse_gra_ix ON public.mdl_workshop_assessments USING btree (gradinggradeoverby);


--
-- Name: mdl_workasse_rev_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_workasse_rev_ix ON public.mdl_workshop_assessments USING btree (reviewerid);


--
-- Name: mdl_workasse_sub_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_workasse_sub_ix ON public.mdl_workshop_assessments USING btree (submissionid);


--
-- Name: mdl_workbestsett_wor_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_workbestsett_wor_uix ON public.mdl_workshopeval_best_settings USING btree (workshopid);


--
-- Name: mdl_workcomm_wor_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_workcomm_wor_ix ON public.mdl_workshopform_comments USING btree (workshopid);


--
-- Name: mdl_workgrad_ass_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_workgrad_ass_ix ON public.mdl_workshop_grades USING btree (assessmentid);


--
-- Name: mdl_workgrad_assstrdim_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_workgrad_assstrdim_uix ON public.mdl_workshop_grades USING btree (assessmentid, strategy, dimensionid);


--
-- Name: mdl_worknume_wor_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_worknume_wor_ix ON public.mdl_workshopform_numerrors USING btree (workshopid);


--
-- Name: mdl_worknumemap_wor_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_worknumemap_wor_ix ON public.mdl_workshopform_numerrors_map USING btree (workshopid);


--
-- Name: mdl_worknumemap_wornon_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_worknumemap_wornon_uix ON public.mdl_workshopform_numerrors_map USING btree (workshopid, nonegative);


--
-- Name: mdl_workrubr_wor_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_workrubr_wor_ix ON public.mdl_workshopform_rubric USING btree (workshopid);


--
-- Name: mdl_workrubrconf_wor_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_workrubrconf_wor_uix ON public.mdl_workshopform_rubric_config USING btree (workshopid);


--
-- Name: mdl_workrubrleve_dim_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_workrubrleve_dim_ix ON public.mdl_workshopform_rubric_levels USING btree (dimensionid);


--
-- Name: mdl_worksche_wor_uix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE UNIQUE INDEX mdl_worksche_wor_uix ON public.mdl_workshopallocation_scheduled USING btree (workshopid);


--
-- Name: mdl_worksubm_aut_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_worksubm_aut_ix ON public.mdl_workshop_submissions USING btree (authorid);


--
-- Name: mdl_worksubm_gra_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_worksubm_gra_ix ON public.mdl_workshop_submissions USING btree (gradeoverby);


--
-- Name: mdl_worksubm_wor_ix; Type: INDEX; Schema: public; Owner: moodle
--

CREATE INDEX mdl_worksubm_wor_ix ON public.mdl_workshop_submissions USING btree (workshopid);


--
-- Name: DATABASE moodle; Type: ACL; Schema: -; Owner: admin
--

GRANT ALL ON DATABASE moodle TO moodle;


--
-- PostgreSQL database dump complete
--

--
-- Database "nextcloud" dump
--

--
-- PostgreSQL database dump
--

-- Dumped from database version 13.2
-- Dumped by pg_dump version 13.2

SET statement_timeout = 0;
SET lock_timeout = 0;
SET idle_in_transaction_session_timeout = 0;
SET client_encoding = 'UTF8';
SET standard_conforming_strings = on;
SELECT pg_catalog.set_config('search_path', '', false);
SET check_function_bodies = false;
SET xmloption = content;
SET client_min_messages = warning;
SET row_security = off;

--
-- Name: nextcloud; Type: DATABASE; Schema: -; Owner: admin
--

CREATE DATABASE nextcloud WITH TEMPLATE = template0 ENCODING = 'UTF8' LOCALE = 'es_ES.UTF-8';


ALTER DATABASE nextcloud OWNER TO admin;

\connect nextcloud

SET statement_timeout = 0;
SET lock_timeout = 0;
SET idle_in_transaction_session_timeout = 0;
SET client_encoding = 'UTF8';
SET standard_conforming_strings = on;
SELECT pg_catalog.set_config('search_path', '', false);
SET check_function_bodies = false;
SET xmloption = content;
SET client_min_messages = warning;
SET row_security = off;

SET default_tablespace = '';

SET default_table_access_method = heap;

--
-- Name: oc_accounts; Type: TABLE; Schema: public; Owner: nextcloud
--

CREATE TABLE public.oc_accounts (
    uid character varying(64) DEFAULT ''::character varying NOT NULL,
    data text DEFAULT ''::text NOT NULL
);


ALTER TABLE public.oc_accounts OWNER TO nextcloud;

--
-- Name: oc_accounts_data; Type: TABLE; Schema: public; Owner: nextcloud
--

CREATE TABLE public.oc_accounts_data (
    id bigint NOT NULL,
    uid character varying(64) NOT NULL,
    name character varying(64) NOT NULL,
    value character varying(255) DEFAULT ''::character varying
);


ALTER TABLE public.oc_accounts_data OWNER TO nextcloud;

--
-- Name: oc_accounts_data_id_seq; Type: SEQUENCE; Schema: public; Owner: nextcloud
--

CREATE SEQUENCE public.oc_accounts_data_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.oc_accounts_data_id_seq OWNER TO nextcloud;

--
-- Name: oc_accounts_data_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: nextcloud
--

ALTER SEQUENCE public.oc_accounts_data_id_seq OWNED BY public.oc_accounts_data.id;


--
-- Name: oc_activity; Type: TABLE; Schema: public; Owner: nextcloud
--

CREATE TABLE public.oc_activity (
    activity_id bigint NOT NULL,
    "timestamp" integer DEFAULT 0 NOT NULL,
    priority integer DEFAULT 0 NOT NULL,
    type character varying(255) DEFAULT NULL::character varying,
    "user" character varying(64) DEFAULT NULL::character varying,
    affecteduser character varying(64) NOT NULL,
    app character varying(32) NOT NULL,
    subject character varying(255) NOT NULL,
    subjectparams text NOT NULL,
    message character varying(255) DEFAULT NULL::character varying,
    messageparams text,
    file character varying(4000) DEFAULT NULL::character varying,
    link character varying(4000) DEFAULT NULL::character varying,
    object_type character varying(255) DEFAULT NULL::character varying,
    object_id bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.oc_activity OWNER TO nextcloud;

--
-- Name: oc_activity_activity_id_seq; Type: SEQUENCE; Schema: public; Owner: nextcloud
--

CREATE SEQUENCE public.oc_activity_activity_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.oc_activity_activity_id_seq OWNER TO nextcloud;

--
-- Name: oc_activity_activity_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: nextcloud
--

ALTER SEQUENCE public.oc_activity_activity_id_seq OWNED BY public.oc_activity.activity_id;


--
-- Name: oc_activity_mq; Type: TABLE; Schema: public; Owner: nextcloud
--

CREATE TABLE public.oc_activity_mq (
    mail_id bigint NOT NULL,
    amq_timestamp integer DEFAULT 0 NOT NULL,
    amq_latest_send integer DEFAULT 0 NOT NULL,
    amq_type character varying(255) NOT NULL,
    amq_affecteduser character varying(64) NOT NULL,
    amq_appid character varying(32) NOT NULL,
    amq_subject character varying(255) NOT NULL,
    amq_subjectparams text,
    object_type character varying(255) DEFAULT NULL::character varying,
    object_id bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.oc_activity_mq OWNER TO nextcloud;

--
-- Name: oc_activity_mq_mail_id_seq; Type: SEQUENCE; Schema: public; Owner: nextcloud
--

CREATE SEQUENCE public.oc_activity_mq_mail_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.oc_activity_mq_mail_id_seq OWNER TO nextcloud;

--
-- Name: oc_activity_mq_mail_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: nextcloud
--

ALTER SEQUENCE public.oc_activity_mq_mail_id_seq OWNED BY public.oc_activity_mq.mail_id;


--
-- Name: oc_addressbookchanges; Type: TABLE; Schema: public; Owner: nextcloud
--

CREATE TABLE public.oc_addressbookchanges (
    id bigint NOT NULL,
    uri character varying(255) DEFAULT NULL::character varying,
    synctoken integer DEFAULT 1 NOT NULL,
    addressbookid bigint NOT NULL,
    operation smallint NOT NULL
);


ALTER TABLE public.oc_addressbookchanges OWNER TO nextcloud;

--
-- Name: oc_addressbookchanges_id_seq; Type: SEQUENCE; Schema: public; Owner: nextcloud
--

CREATE SEQUENCE public.oc_addressbookchanges_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.oc_addressbookchanges_id_seq OWNER TO nextcloud;

--
-- Name: oc_addressbookchanges_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: nextcloud
--

ALTER SEQUENCE public.oc_addressbookchanges_id_seq OWNED BY public.oc_addressbookchanges.id;


--
-- Name: oc_addressbooks; Type: TABLE; Schema: public; Owner: nextcloud
--

CREATE TABLE public.oc_addressbooks (
    id bigint NOT NULL,
    principaluri character varying(255) DEFAULT NULL::character varying,
    displayname character varying(255) DEFAULT NULL::character varying,
    uri character varying(255) DEFAULT NULL::character varying,
    description character varying(255) DEFAULT NULL::character varying,
    synctoken integer DEFAULT 1 NOT NULL
);


ALTER TABLE public.oc_addressbooks OWNER TO nextcloud;

--
-- Name: oc_addressbooks_id_seq; Type: SEQUENCE; Schema: public; Owner: nextcloud
--

CREATE SEQUENCE public.oc_addressbooks_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.oc_addressbooks_id_seq OWNER TO nextcloud;

--
-- Name: oc_addressbooks_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: nextcloud
--

ALTER SEQUENCE public.oc_addressbooks_id_seq OWNED BY public.oc_addressbooks.id;


--
-- Name: oc_appconfig; Type: TABLE; Schema: public; Owner: nextcloud
--

CREATE TABLE public.oc_appconfig (
    appid character varying(32) DEFAULT ''::character varying NOT NULL,
    configkey character varying(64) DEFAULT ''::character varying NOT NULL,
    configvalue text
);


ALTER TABLE public.oc_appconfig OWNER TO nextcloud;

--
-- Name: oc_authtoken; Type: TABLE; Schema: public; Owner: nextcloud
--

CREATE TABLE public.oc_authtoken (
    id bigint NOT NULL,
    uid character varying(64) DEFAULT ''::character varying NOT NULL,
    login_name character varying(255) DEFAULT ''::character varying NOT NULL,
    password text,
    name text DEFAULT ''::text NOT NULL,
    token character varying(200) DEFAULT ''::character varying NOT NULL,
    type smallint DEFAULT 0,
    remember smallint DEFAULT 0,
    last_activity integer DEFAULT 0,
    last_check integer DEFAULT 0,
    scope text,
    expires integer,
    private_key text,
    public_key text,
    version smallint DEFAULT 1 NOT NULL,
    password_invalid boolean DEFAULT false
);


ALTER TABLE public.oc_authtoken OWNER TO nextcloud;

--
-- Name: oc_authtoken_id_seq; Type: SEQUENCE; Schema: public; Owner: nextcloud
--

CREATE SEQUENCE public.oc_authtoken_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.oc_authtoken_id_seq OWNER TO nextcloud;

--
-- Name: oc_authtoken_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: nextcloud
--

ALTER SEQUENCE public.oc_authtoken_id_seq OWNED BY public.oc_authtoken.id;


--
-- Name: oc_bruteforce_attempts; Type: TABLE; Schema: public; Owner: nextcloud
--

CREATE TABLE public.oc_bruteforce_attempts (
    id bigint NOT NULL,
    action character varying(64) DEFAULT ''::character varying NOT NULL,
    occurred integer DEFAULT 0 NOT NULL,
    ip character varying(255) DEFAULT ''::character varying NOT NULL,
    subnet character varying(255) DEFAULT ''::character varying NOT NULL,
    metadata character varying(255) DEFAULT ''::character varying NOT NULL
);


ALTER TABLE public.oc_bruteforce_attempts OWNER TO nextcloud;

--
-- Name: oc_bruteforce_attempts_id_seq; Type: SEQUENCE; Schema: public; Owner: nextcloud
--

CREATE SEQUENCE public.oc_bruteforce_attempts_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.oc_bruteforce_attempts_id_seq OWNER TO nextcloud;

--
-- Name: oc_bruteforce_attempts_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: nextcloud
--

ALTER SEQUENCE public.oc_bruteforce_attempts_id_seq OWNED BY public.oc_bruteforce_attempts.id;


--
-- Name: oc_calendar_invitations; Type: TABLE; Schema: public; Owner: nextcloud
--

CREATE TABLE public.oc_calendar_invitations (
    id bigint NOT NULL,
    uid character varying(255) NOT NULL,
    recurrenceid character varying(255) DEFAULT NULL::character varying,
    attendee character varying(255) NOT NULL,
    organizer character varying(255) NOT NULL,
    sequence bigint,
    token character varying(60) NOT NULL,
    expiration bigint NOT NULL
);


ALTER TABLE public.oc_calendar_invitations OWNER TO nextcloud;

--
-- Name: oc_calendar_invitations_id_seq; Type: SEQUENCE; Schema: public; Owner: nextcloud
--

CREATE SEQUENCE public.oc_calendar_invitations_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.oc_calendar_invitations_id_seq OWNER TO nextcloud;

--
-- Name: oc_calendar_invitations_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: nextcloud
--

ALTER SEQUENCE public.oc_calendar_invitations_id_seq OWNED BY public.oc_calendar_invitations.id;


--
-- Name: oc_calendar_reminders; Type: TABLE; Schema: public; Owner: nextcloud
--

CREATE TABLE public.oc_calendar_reminders (
    id bigint NOT NULL,
    calendar_id bigint NOT NULL,
    object_id bigint NOT NULL,
    is_recurring smallint,
    uid character varying(255) NOT NULL,
    recurrence_id bigint,
    is_recurrence_exception smallint NOT NULL,
    event_hash character varying(255) NOT NULL,
    alarm_hash character varying(255) NOT NULL,
    type character varying(255) NOT NULL,
    is_relative smallint NOT NULL,
    notification_date bigint NOT NULL,
    is_repeat_based smallint NOT NULL
);


ALTER TABLE public.oc_calendar_reminders OWNER TO nextcloud;

--
-- Name: oc_calendar_reminders_id_seq; Type: SEQUENCE; Schema: public; Owner: nextcloud
--

CREATE SEQUENCE public.oc_calendar_reminders_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.oc_calendar_reminders_id_seq OWNER TO nextcloud;

--
-- Name: oc_calendar_reminders_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: nextcloud
--

ALTER SEQUENCE public.oc_calendar_reminders_id_seq OWNED BY public.oc_calendar_reminders.id;


--
-- Name: oc_calendar_resources; Type: TABLE; Schema: public; Owner: nextcloud
--

CREATE TABLE public.oc_calendar_resources (
    id bigint NOT NULL,
    backend_id character varying(64) DEFAULT NULL::character varying,
    resource_id character varying(64) DEFAULT NULL::character varying,
    email character varying(255) DEFAULT NULL::character varying,
    displayname character varying(255) DEFAULT NULL::character varying,
    group_restrictions character varying(4000) DEFAULT NULL::character varying
);


ALTER TABLE public.oc_calendar_resources OWNER TO nextcloud;

--
-- Name: oc_calendar_resources_id_seq; Type: SEQUENCE; Schema: public; Owner: nextcloud
--

CREATE SEQUENCE public.oc_calendar_resources_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.oc_calendar_resources_id_seq OWNER TO nextcloud;

--
-- Name: oc_calendar_resources_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: nextcloud
--

ALTER SEQUENCE public.oc_calendar_resources_id_seq OWNED BY public.oc_calendar_resources.id;


--
-- Name: oc_calendar_resources_md; Type: TABLE; Schema: public; Owner: nextcloud
--

CREATE TABLE public.oc_calendar_resources_md (
    id bigint NOT NULL,
    resource_id bigint NOT NULL,
    key character varying(255) NOT NULL,
    value character varying(4000) DEFAULT NULL::character varying
);


ALTER TABLE public.oc_calendar_resources_md OWNER TO nextcloud;

--
-- Name: oc_calendar_resources_md_id_seq; Type: SEQUENCE; Schema: public; Owner: nextcloud
--

CREATE SEQUENCE public.oc_calendar_resources_md_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.oc_calendar_resources_md_id_seq OWNER TO nextcloud;

--
-- Name: oc_calendar_resources_md_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: nextcloud
--

ALTER SEQUENCE public.oc_calendar_resources_md_id_seq OWNED BY public.oc_calendar_resources_md.id;


--
-- Name: oc_calendar_rooms; Type: TABLE; Schema: public; Owner: nextcloud
--

CREATE TABLE public.oc_calendar_rooms (
    id bigint NOT NULL,
    backend_id character varying(64) DEFAULT NULL::character varying,
    resource_id character varying(64) DEFAULT NULL::character varying,
    email character varying(255) DEFAULT NULL::character varying,
    displayname character varying(255) DEFAULT NULL::character varying,
    group_restrictions character varying(4000) DEFAULT NULL::character varying
);


ALTER TABLE public.oc_calendar_rooms OWNER TO nextcloud;

--
-- Name: oc_calendar_rooms_id_seq; Type: SEQUENCE; Schema: public; Owner: nextcloud
--

CREATE SEQUENCE public.oc_calendar_rooms_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.oc_calendar_rooms_id_seq OWNER TO nextcloud;

--
-- Name: oc_calendar_rooms_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: nextcloud
--

ALTER SEQUENCE public.oc_calendar_rooms_id_seq OWNED BY public.oc_calendar_rooms.id;


--
-- Name: oc_calendar_rooms_md; Type: TABLE; Schema: public; Owner: nextcloud
--

CREATE TABLE public.oc_calendar_rooms_md (
    id bigint NOT NULL,
    room_id bigint NOT NULL,
    key character varying(255) NOT NULL,
    value character varying(4000) DEFAULT NULL::character varying
);


ALTER TABLE public.oc_calendar_rooms_md OWNER TO nextcloud;

--
-- Name: oc_calendar_rooms_md_id_seq; Type: SEQUENCE; Schema: public; Owner: nextcloud
--

CREATE SEQUENCE public.oc_calendar_rooms_md_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.oc_calendar_rooms_md_id_seq OWNER TO nextcloud;

--
-- Name: oc_calendar_rooms_md_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: nextcloud
--

ALTER SEQUENCE public.oc_calendar_rooms_md_id_seq OWNED BY public.oc_calendar_rooms_md.id;


--
-- Name: oc_calendarchanges; Type: TABLE; Schema: public; Owner: nextcloud
--

CREATE TABLE public.oc_calendarchanges (
    id bigint NOT NULL,
    uri character varying(255) DEFAULT NULL::character varying,
    synctoken integer DEFAULT 1 NOT NULL,
    calendarid bigint NOT NULL,
    operation smallint NOT NULL,
    calendartype integer DEFAULT 0 NOT NULL
);


ALTER TABLE public.oc_calendarchanges OWNER TO nextcloud;

--
-- Name: oc_calendarchanges_id_seq; Type: SEQUENCE; Schema: public; Owner: nextcloud
--

CREATE SEQUENCE public.oc_calendarchanges_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.oc_calendarchanges_id_seq OWNER TO nextcloud;

--
-- Name: oc_calendarchanges_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: nextcloud
--

ALTER SEQUENCE public.oc_calendarchanges_id_seq OWNED BY public.oc_calendarchanges.id;


--
-- Name: oc_calendarobjects; Type: TABLE; Schema: public; Owner: nextcloud
--

CREATE TABLE public.oc_calendarobjects (
    id bigint NOT NULL,
    calendardata bytea,
    uri character varying(255) DEFAULT NULL::character varying,
    calendarid bigint NOT NULL,
    lastmodified integer,
    etag character varying(32) DEFAULT NULL::character varying,
    size bigint NOT NULL,
    componenttype character varying(8) DEFAULT NULL::character varying,
    firstoccurence bigint,
    lastoccurence bigint,
    uid character varying(255) DEFAULT NULL::character varying,
    classification integer DEFAULT 0,
    calendartype integer DEFAULT 0 NOT NULL
);


ALTER TABLE public.oc_calendarobjects OWNER TO nextcloud;

--
-- Name: oc_calendarobjects_id_seq; Type: SEQUENCE; Schema: public; Owner: nextcloud
--

CREATE SEQUENCE public.oc_calendarobjects_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.oc_calendarobjects_id_seq OWNER TO nextcloud;

--
-- Name: oc_calendarobjects_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: nextcloud
--

ALTER SEQUENCE public.oc_calendarobjects_id_seq OWNED BY public.oc_calendarobjects.id;


--
-- Name: oc_calendarobjects_props; Type: TABLE; Schema: public; Owner: nextcloud
--

CREATE TABLE public.oc_calendarobjects_props (
    id bigint NOT NULL,
    calendarid bigint DEFAULT 0 NOT NULL,
    objectid bigint DEFAULT 0 NOT NULL,
    name character varying(64) DEFAULT NULL::character varying,
    parameter character varying(64) DEFAULT NULL::character varying,
    value character varying(255) DEFAULT NULL::character varying,
    calendartype integer DEFAULT 0 NOT NULL
);


ALTER TABLE public.oc_calendarobjects_props OWNER TO nextcloud;

--
-- Name: oc_calendarobjects_props_id_seq; Type: SEQUENCE; Schema: public; Owner: nextcloud
--

CREATE SEQUENCE public.oc_calendarobjects_props_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.oc_calendarobjects_props_id_seq OWNER TO nextcloud;

--
-- Name: oc_calendarobjects_props_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: nextcloud
--

ALTER SEQUENCE public.oc_calendarobjects_props_id_seq OWNED BY public.oc_calendarobjects_props.id;


--
-- Name: oc_calendars; Type: TABLE; Schema: public; Owner: nextcloud
--

CREATE TABLE public.oc_calendars (
    id bigint NOT NULL,
    principaluri character varying(255) DEFAULT NULL::character varying,
    displayname character varying(255) DEFAULT NULL::character varying,
    uri character varying(255) DEFAULT NULL::character varying,
    synctoken integer DEFAULT 1 NOT NULL,
    description character varying(255) DEFAULT NULL::character varying,
    calendarorder integer DEFAULT 0 NOT NULL,
    calendarcolor character varying(255) DEFAULT NULL::character varying,
    timezone text,
    components character varying(64) DEFAULT NULL::character varying,
    transparent smallint DEFAULT 0 NOT NULL
);


ALTER TABLE public.oc_calendars OWNER TO nextcloud;

--
-- Name: oc_calendars_id_seq; Type: SEQUENCE; Schema: public; Owner: nextcloud
--

CREATE SEQUENCE public.oc_calendars_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.oc_calendars_id_seq OWNER TO nextcloud;

--
-- Name: oc_calendars_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: nextcloud
--

ALTER SEQUENCE public.oc_calendars_id_seq OWNED BY public.oc_calendars.id;


--
-- Name: oc_calendarsubscriptions; Type: TABLE; Schema: public; Owner: nextcloud
--

CREATE TABLE public.oc_calendarsubscriptions (
    id bigint NOT NULL,
    uri character varying(255) DEFAULT NULL::character varying,
    principaluri character varying(255) DEFAULT NULL::character varying,
    displayname character varying(100) DEFAULT NULL::character varying,
    refreshrate character varying(10) DEFAULT NULL::character varying,
    calendarorder integer DEFAULT 0 NOT NULL,
    calendarcolor character varying(255) DEFAULT NULL::character varying,
    striptodos smallint,
    stripalarms smallint,
    stripattachments smallint,
    lastmodified integer,
    synctoken integer DEFAULT 1 NOT NULL,
    source text
);


ALTER TABLE public.oc_calendarsubscriptions OWNER TO nextcloud;

--
-- Name: oc_calendarsubscriptions_id_seq; Type: SEQUENCE; Schema: public; Owner: nextcloud
--

CREATE SEQUENCE public.oc_calendarsubscriptions_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.oc_calendarsubscriptions_id_seq OWNER TO nextcloud;

--
-- Name: oc_calendarsubscriptions_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: nextcloud
--

ALTER SEQUENCE public.oc_calendarsubscriptions_id_seq OWNED BY public.oc_calendarsubscriptions.id;


--
-- Name: oc_cards; Type: TABLE; Schema: public; Owner: nextcloud
--

CREATE TABLE public.oc_cards (
    id bigint NOT NULL,
    addressbookid bigint DEFAULT 0 NOT NULL,
    carddata bytea,
    uri character varying(255) DEFAULT NULL::character varying,
    lastmodified bigint,
    etag character varying(32) DEFAULT NULL::character varying,
    size bigint NOT NULL,
    uid character varying(255) DEFAULT NULL::character varying
);


ALTER TABLE public.oc_cards OWNER TO nextcloud;

--
-- Name: oc_cards_id_seq; Type: SEQUENCE; Schema: public; Owner: nextcloud
--

CREATE SEQUENCE public.oc_cards_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.oc_cards_id_seq OWNER TO nextcloud;

--
-- Name: oc_cards_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: nextcloud
--

ALTER SEQUENCE public.oc_cards_id_seq OWNED BY public.oc_cards.id;


--
-- Name: oc_cards_properties; Type: TABLE; Schema: public; Owner: nextcloud
--

CREATE TABLE public.oc_cards_properties (
    id bigint NOT NULL,
    addressbookid bigint DEFAULT 0 NOT NULL,
    cardid bigint DEFAULT 0 NOT NULL,
    name character varying(64) DEFAULT NULL::character varying,
    value character varying(255) DEFAULT NULL::character varying,
    preferred integer DEFAULT 1 NOT NULL
);


ALTER TABLE public.oc_cards_properties OWNER TO nextcloud;

--
-- Name: oc_cards_properties_id_seq; Type: SEQUENCE; Schema: public; Owner: nextcloud
--

CREATE SEQUENCE public.oc_cards_properties_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.oc_cards_properties_id_seq OWNER TO nextcloud;

--
-- Name: oc_cards_properties_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: nextcloud
--

ALTER SEQUENCE public.oc_cards_properties_id_seq OWNED BY public.oc_cards_properties.id;


--
-- Name: oc_collres_accesscache; Type: TABLE; Schema: public; Owner: nextcloud
--

CREATE TABLE public.oc_collres_accesscache (
    user_id character varying(64) NOT NULL,
    collection_id bigint DEFAULT 0 NOT NULL,
    resource_type character varying(64) DEFAULT ''::character varying NOT NULL,
    resource_id character varying(64) DEFAULT ''::character varying NOT NULL,
    access boolean DEFAULT false
);


ALTER TABLE public.oc_collres_accesscache OWNER TO nextcloud;

--
-- Name: oc_collres_collections; Type: TABLE; Schema: public; Owner: nextcloud
--

CREATE TABLE public.oc_collres_collections (
    id bigint NOT NULL,
    name character varying(64) NOT NULL
);


ALTER TABLE public.oc_collres_collections OWNER TO nextcloud;

--
-- Name: oc_collres_collections_id_seq; Type: SEQUENCE; Schema: public; Owner: nextcloud
--

CREATE SEQUENCE public.oc_collres_collections_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.oc_collres_collections_id_seq OWNER TO nextcloud;

--
-- Name: oc_collres_collections_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: nextcloud
--

ALTER SEQUENCE public.oc_collres_collections_id_seq OWNED BY public.oc_collres_collections.id;


--
-- Name: oc_collres_resources; Type: TABLE; Schema: public; Owner: nextcloud
--

CREATE TABLE public.oc_collres_resources (
    collection_id bigint NOT NULL,
    resource_type character varying(64) NOT NULL,
    resource_id character varying(64) NOT NULL
);


ALTER TABLE public.oc_collres_resources OWNER TO nextcloud;

--
-- Name: oc_comments; Type: TABLE; Schema: public; Owner: nextcloud
--

CREATE TABLE public.oc_comments (
    id bigint NOT NULL,
    parent_id bigint DEFAULT 0 NOT NULL,
    topmost_parent_id bigint DEFAULT 0 NOT NULL,
    children_count integer DEFAULT 0 NOT NULL,
    actor_type character varying(64) DEFAULT ''::character varying NOT NULL,
    actor_id character varying(64) DEFAULT ''::character varying NOT NULL,
    message text,
    verb character varying(64) DEFAULT NULL::character varying,
    creation_timestamp timestamp(0) without time zone DEFAULT NULL::timestamp without time zone,
    latest_child_timestamp timestamp(0) without time zone DEFAULT NULL::timestamp without time zone,
    object_type character varying(64) DEFAULT ''::character varying NOT NULL,
    object_id character varying(64) DEFAULT ''::character varying NOT NULL,
    reference_id character varying(64) DEFAULT NULL::character varying
);


ALTER TABLE public.oc_comments OWNER TO nextcloud;

--
-- Name: oc_comments_id_seq; Type: SEQUENCE; Schema: public; Owner: nextcloud
--

CREATE SEQUENCE public.oc_comments_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.oc_comments_id_seq OWNER TO nextcloud;

--
-- Name: oc_comments_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: nextcloud
--

ALTER SEQUENCE public.oc_comments_id_seq OWNED BY public.oc_comments.id;


--
-- Name: oc_comments_read_markers; Type: TABLE; Schema: public; Owner: nextcloud
--

CREATE TABLE public.oc_comments_read_markers (
    user_id character varying(64) DEFAULT ''::character varying NOT NULL,
    object_type character varying(64) DEFAULT ''::character varying NOT NULL,
    object_id character varying(64) DEFAULT ''::character varying NOT NULL,
    marker_datetime timestamp(0) without time zone DEFAULT NULL::timestamp without time zone
);


ALTER TABLE public.oc_comments_read_markers OWNER TO nextcloud;

--
-- Name: oc_dav_cal_proxy; Type: TABLE; Schema: public; Owner: nextcloud
--

CREATE TABLE public.oc_dav_cal_proxy (
    id bigint NOT NULL,
    owner_id character varying(64) NOT NULL,
    proxy_id character varying(64) NOT NULL,
    permissions integer
);


ALTER TABLE public.oc_dav_cal_proxy OWNER TO nextcloud;

--
-- Name: oc_dav_cal_proxy_id_seq; Type: SEQUENCE; Schema: public; Owner: nextcloud
--

CREATE SEQUENCE public.oc_dav_cal_proxy_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.oc_dav_cal_proxy_id_seq OWNER TO nextcloud;

--
-- Name: oc_dav_cal_proxy_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: nextcloud
--

ALTER SEQUENCE public.oc_dav_cal_proxy_id_seq OWNED BY public.oc_dav_cal_proxy.id;


--
-- Name: oc_dav_shares; Type: TABLE; Schema: public; Owner: nextcloud
--

CREATE TABLE public.oc_dav_shares (
    id bigint NOT NULL,
    principaluri character varying(255) DEFAULT NULL::character varying,
    type character varying(255) DEFAULT NULL::character varying,
    access smallint,
    resourceid bigint NOT NULL,
    publicuri character varying(255) DEFAULT NULL::character varying
);


ALTER TABLE public.oc_dav_shares OWNER TO nextcloud;

--
-- Name: oc_dav_shares_id_seq; Type: SEQUENCE; Schema: public; Owner: nextcloud
--

CREATE SEQUENCE public.oc_dav_shares_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.oc_dav_shares_id_seq OWNER TO nextcloud;

--
-- Name: oc_dav_shares_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: nextcloud
--

ALTER SEQUENCE public.oc_dav_shares_id_seq OWNED BY public.oc_dav_shares.id;


--
-- Name: oc_direct_edit; Type: TABLE; Schema: public; Owner: nextcloud
--

CREATE TABLE public.oc_direct_edit (
    id bigint NOT NULL,
    editor_id character varying(64) NOT NULL,
    token character varying(64) NOT NULL,
    file_id bigint NOT NULL,
    user_id character varying(64) DEFAULT NULL::character varying,
    share_id bigint,
    "timestamp" bigint NOT NULL,
    accessed boolean DEFAULT false,
    file_path character varying(4000) DEFAULT NULL::character varying
);


ALTER TABLE public.oc_direct_edit OWNER TO nextcloud;

--
-- Name: oc_direct_edit_id_seq; Type: SEQUENCE; Schema: public; Owner: nextcloud
--

CREATE SEQUENCE public.oc_direct_edit_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.oc_direct_edit_id_seq OWNER TO nextcloud;

--
-- Name: oc_direct_edit_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: nextcloud
--

ALTER SEQUENCE public.oc_direct_edit_id_seq OWNED BY public.oc_direct_edit.id;


--
-- Name: oc_directlink; Type: TABLE; Schema: public; Owner: nextcloud
--

CREATE TABLE public.oc_directlink (
    id bigint NOT NULL,
    user_id character varying(64) DEFAULT NULL::character varying,
    file_id bigint NOT NULL,
    token character varying(60) DEFAULT NULL::character varying,
    expiration bigint NOT NULL
);


ALTER TABLE public.oc_directlink OWNER TO nextcloud;

--
-- Name: oc_directlink_id_seq; Type: SEQUENCE; Schema: public; Owner: nextcloud
--

CREATE SEQUENCE public.oc_directlink_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.oc_directlink_id_seq OWNER TO nextcloud;

--
-- Name: oc_directlink_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: nextcloud
--

ALTER SEQUENCE public.oc_directlink_id_seq OWNED BY public.oc_directlink.id;


--
-- Name: oc_federated_reshares; Type: TABLE; Schema: public; Owner: nextcloud
--

CREATE TABLE public.oc_federated_reshares (
    share_id bigint NOT NULL,
    remote_id character varying(255) DEFAULT ''::character varying
);


ALTER TABLE public.oc_federated_reshares OWNER TO nextcloud;

--
-- Name: oc_file_locks; Type: TABLE; Schema: public; Owner: nextcloud
--

CREATE TABLE public.oc_file_locks (
    id bigint NOT NULL,
    lock integer DEFAULT 0 NOT NULL,
    key character varying(64) NOT NULL,
    ttl integer DEFAULT '-1'::integer NOT NULL
);


ALTER TABLE public.oc_file_locks OWNER TO nextcloud;

--
-- Name: oc_file_locks_id_seq; Type: SEQUENCE; Schema: public; Owner: nextcloud
--

CREATE SEQUENCE public.oc_file_locks_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.oc_file_locks_id_seq OWNER TO nextcloud;

--
-- Name: oc_file_locks_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: nextcloud
--

ALTER SEQUENCE public.oc_file_locks_id_seq OWNED BY public.oc_file_locks.id;


--
-- Name: oc_filecache; Type: TABLE; Schema: public; Owner: nextcloud
--

CREATE TABLE public.oc_filecache (
    fileid bigint NOT NULL,
    storage bigint DEFAULT 0 NOT NULL,
    path character varying(4000) DEFAULT NULL::character varying,
    path_hash character varying(32) DEFAULT ''::character varying NOT NULL,
    parent bigint DEFAULT 0 NOT NULL,
    name character varying(250) DEFAULT NULL::character varying,
    mimetype bigint DEFAULT 0 NOT NULL,
    mimepart bigint DEFAULT 0 NOT NULL,
    size bigint DEFAULT 0 NOT NULL,
    mtime bigint DEFAULT 0 NOT NULL,
    storage_mtime bigint DEFAULT 0 NOT NULL,
    encrypted integer DEFAULT 0 NOT NULL,
    unencrypted_size bigint DEFAULT 0 NOT NULL,
    etag character varying(40) DEFAULT NULL::character varying,
    permissions integer DEFAULT 0,
    checksum character varying(255) DEFAULT NULL::character varying
);


ALTER TABLE public.oc_filecache OWNER TO nextcloud;

--
-- Name: oc_filecache_extended; Type: TABLE; Schema: public; Owner: nextcloud
--

CREATE TABLE public.oc_filecache_extended (
    fileid bigint NOT NULL,
    metadata_etag character varying(40) DEFAULT NULL::character varying,
    creation_time bigint DEFAULT 0 NOT NULL,
    upload_time bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.oc_filecache_extended OWNER TO nextcloud;

--
-- Name: oc_filecache_fileid_seq; Type: SEQUENCE; Schema: public; Owner: nextcloud
--

CREATE SEQUENCE public.oc_filecache_fileid_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.oc_filecache_fileid_seq OWNER TO nextcloud;

--
-- Name: oc_filecache_fileid_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: nextcloud
--

ALTER SEQUENCE public.oc_filecache_fileid_seq OWNED BY public.oc_filecache.fileid;


--
-- Name: oc_files_trash; Type: TABLE; Schema: public; Owner: nextcloud
--

CREATE TABLE public.oc_files_trash (
    auto_id bigint NOT NULL,
    id character varying(250) DEFAULT ''::character varying NOT NULL,
    "user" character varying(64) DEFAULT ''::character varying NOT NULL,
    "timestamp" character varying(12) DEFAULT ''::character varying NOT NULL,
    location character varying(512) DEFAULT ''::character varying NOT NULL,
    type character varying(4) DEFAULT NULL::character varying,
    mime character varying(255) DEFAULT NULL::character varying
);


ALTER TABLE public.oc_files_trash OWNER TO nextcloud;

--
-- Name: oc_files_trash_auto_id_seq; Type: SEQUENCE; Schema: public; Owner: nextcloud
--

CREATE SEQUENCE public.oc_files_trash_auto_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.oc_files_trash_auto_id_seq OWNER TO nextcloud;

--
-- Name: oc_files_trash_auto_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: nextcloud
--

ALTER SEQUENCE public.oc_files_trash_auto_id_seq OWNED BY public.oc_files_trash.auto_id;


--
-- Name: oc_flow_checks; Type: TABLE; Schema: public; Owner: nextcloud
--

CREATE TABLE public.oc_flow_checks (
    id integer NOT NULL,
    class character varying(256) DEFAULT ''::character varying NOT NULL,
    operator character varying(16) DEFAULT ''::character varying NOT NULL,
    value text,
    hash character varying(32) DEFAULT ''::character varying NOT NULL
);


ALTER TABLE public.oc_flow_checks OWNER TO nextcloud;

--
-- Name: oc_flow_checks_id_seq; Type: SEQUENCE; Schema: public; Owner: nextcloud
--

CREATE SEQUENCE public.oc_flow_checks_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.oc_flow_checks_id_seq OWNER TO nextcloud;

--
-- Name: oc_flow_checks_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: nextcloud
--

ALTER SEQUENCE public.oc_flow_checks_id_seq OWNED BY public.oc_flow_checks.id;


--
-- Name: oc_flow_operations; Type: TABLE; Schema: public; Owner: nextcloud
--

CREATE TABLE public.oc_flow_operations (
    id integer NOT NULL,
    class character varying(256) DEFAULT ''::character varying NOT NULL,
    name character varying(256) DEFAULT ''::character varying NOT NULL,
    checks text,
    operation text,
    entity character varying(256) DEFAULT 'OCA\WorkflowEngine\Entity\File'::character varying NOT NULL,
    events text DEFAULT '[]'::text NOT NULL
);


ALTER TABLE public.oc_flow_operations OWNER TO nextcloud;

--
-- Name: oc_flow_operations_id_seq; Type: SEQUENCE; Schema: public; Owner: nextcloud
--

CREATE SEQUENCE public.oc_flow_operations_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.oc_flow_operations_id_seq OWNER TO nextcloud;

--
-- Name: oc_flow_operations_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: nextcloud
--

ALTER SEQUENCE public.oc_flow_operations_id_seq OWNED BY public.oc_flow_operations.id;


--
-- Name: oc_flow_operations_scope; Type: TABLE; Schema: public; Owner: nextcloud
--

CREATE TABLE public.oc_flow_operations_scope (
    id bigint NOT NULL,
    operation_id integer DEFAULT 0 NOT NULL,
    type integer DEFAULT 0 NOT NULL,
    value character varying(64) DEFAULT ''::character varying
);


ALTER TABLE public.oc_flow_operations_scope OWNER TO nextcloud;

--
-- Name: oc_flow_operations_scope_id_seq; Type: SEQUENCE; Schema: public; Owner: nextcloud
--

CREATE SEQUENCE public.oc_flow_operations_scope_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.oc_flow_operations_scope_id_seq OWNER TO nextcloud;

--
-- Name: oc_flow_operations_scope_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: nextcloud
--

ALTER SEQUENCE public.oc_flow_operations_scope_id_seq OWNED BY public.oc_flow_operations_scope.id;


--
-- Name: oc_group_admin; Type: TABLE; Schema: public; Owner: nextcloud
--

CREATE TABLE public.oc_group_admin (
    gid character varying(64) DEFAULT ''::character varying NOT NULL,
    uid character varying(64) DEFAULT ''::character varying NOT NULL
);


ALTER TABLE public.oc_group_admin OWNER TO nextcloud;

--
-- Name: oc_group_user; Type: TABLE; Schema: public; Owner: nextcloud
--

CREATE TABLE public.oc_group_user (
    gid character varying(64) DEFAULT ''::character varying NOT NULL,
    uid character varying(64) DEFAULT ''::character varying NOT NULL
);


ALTER TABLE public.oc_group_user OWNER TO nextcloud;

--
-- Name: oc_groups; Type: TABLE; Schema: public; Owner: nextcloud
--

CREATE TABLE public.oc_groups (
    gid character varying(64) DEFAULT ''::character varying NOT NULL,
    displayname character varying(255) DEFAULT 'name'::character varying NOT NULL
);


ALTER TABLE public.oc_groups OWNER TO nextcloud;

--
-- Name: oc_jobs; Type: TABLE; Schema: public; Owner: nextcloud
--

CREATE TABLE public.oc_jobs (
    id bigint NOT NULL,
    class character varying(255) DEFAULT ''::character varying NOT NULL,
    argument character varying(4000) DEFAULT ''::character varying NOT NULL,
    last_run integer DEFAULT 0,
    last_checked integer DEFAULT 0,
    reserved_at integer DEFAULT 0,
    execution_duration integer DEFAULT 0
);


ALTER TABLE public.oc_jobs OWNER TO nextcloud;

--
-- Name: oc_jobs_id_seq; Type: SEQUENCE; Schema: public; Owner: nextcloud
--

CREATE SEQUENCE public.oc_jobs_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.oc_jobs_id_seq OWNER TO nextcloud;

--
-- Name: oc_jobs_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: nextcloud
--

ALTER SEQUENCE public.oc_jobs_id_seq OWNED BY public.oc_jobs.id;


--
-- Name: oc_login_flow_v2; Type: TABLE; Schema: public; Owner: nextcloud
--

CREATE TABLE public.oc_login_flow_v2 (
    id bigint NOT NULL,
    "timestamp" bigint NOT NULL,
    started smallint DEFAULT 0 NOT NULL,
    poll_token character varying(255) NOT NULL,
    login_token character varying(255) NOT NULL,
    public_key text NOT NULL,
    private_key text NOT NULL,
    client_name character varying(255) NOT NULL,
    login_name character varying(255) DEFAULT NULL::character varying,
    server character varying(255) DEFAULT NULL::character varying,
    app_password character varying(1024) DEFAULT NULL::character varying
);


ALTER TABLE public.oc_login_flow_v2 OWNER TO nextcloud;

--
-- Name: oc_login_flow_v2_id_seq; Type: SEQUENCE; Schema: public; Owner: nextcloud
--

CREATE SEQUENCE public.oc_login_flow_v2_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.oc_login_flow_v2_id_seq OWNER TO nextcloud;

--
-- Name: oc_login_flow_v2_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: nextcloud
--

ALTER SEQUENCE public.oc_login_flow_v2_id_seq OWNED BY public.oc_login_flow_v2.id;


--
-- Name: oc_migrations; Type: TABLE; Schema: public; Owner: nextcloud
--

CREATE TABLE public.oc_migrations (
    app character varying(255) NOT NULL,
    version character varying(255) NOT NULL
);


ALTER TABLE public.oc_migrations OWNER TO nextcloud;

--
-- Name: oc_mimetypes; Type: TABLE; Schema: public; Owner: nextcloud
--

CREATE TABLE public.oc_mimetypes (
    id bigint NOT NULL,
    mimetype character varying(255) DEFAULT ''::character varying NOT NULL
);


ALTER TABLE public.oc_mimetypes OWNER TO nextcloud;

--
-- Name: oc_mimetypes_id_seq; Type: SEQUENCE; Schema: public; Owner: nextcloud
--

CREATE SEQUENCE public.oc_mimetypes_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.oc_mimetypes_id_seq OWNER TO nextcloud;

--
-- Name: oc_mimetypes_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: nextcloud
--

ALTER SEQUENCE public.oc_mimetypes_id_seq OWNED BY public.oc_mimetypes.id;


--
-- Name: oc_mounts; Type: TABLE; Schema: public; Owner: nextcloud
--

CREATE TABLE public.oc_mounts (
    id bigint NOT NULL,
    storage_id bigint NOT NULL,
    root_id bigint NOT NULL,
    user_id character varying(64) NOT NULL,
    mount_point character varying(4000) NOT NULL,
    mount_id bigint
);


ALTER TABLE public.oc_mounts OWNER TO nextcloud;

--
-- Name: oc_mounts_id_seq; Type: SEQUENCE; Schema: public; Owner: nextcloud
--

CREATE SEQUENCE public.oc_mounts_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.oc_mounts_id_seq OWNER TO nextcloud;

--
-- Name: oc_mounts_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: nextcloud
--

ALTER SEQUENCE public.oc_mounts_id_seq OWNED BY public.oc_mounts.id;


--
-- Name: oc_notifications; Type: TABLE; Schema: public; Owner: nextcloud
--

CREATE TABLE public.oc_notifications (
    notification_id integer NOT NULL,
    app character varying(32) NOT NULL,
    "user" character varying(64) NOT NULL,
    "timestamp" integer DEFAULT 0 NOT NULL,
    object_type character varying(64) NOT NULL,
    object_id character varying(64) NOT NULL,
    subject character varying(64) NOT NULL,
    subject_parameters text,
    message character varying(64) DEFAULT NULL::character varying,
    message_parameters text,
    link character varying(4000) DEFAULT NULL::character varying,
    icon character varying(4000) DEFAULT NULL::character varying,
    actions text
);


ALTER TABLE public.oc_notifications OWNER TO nextcloud;

--
-- Name: oc_notifications_notification_id_seq; Type: SEQUENCE; Schema: public; Owner: nextcloud
--

CREATE SEQUENCE public.oc_notifications_notification_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.oc_notifications_notification_id_seq OWNER TO nextcloud;

--
-- Name: oc_notifications_notification_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: nextcloud
--

ALTER SEQUENCE public.oc_notifications_notification_id_seq OWNED BY public.oc_notifications.notification_id;


--
-- Name: oc_notifications_pushtokens; Type: TABLE; Schema: public; Owner: nextcloud
--

CREATE TABLE public.oc_notifications_pushtokens (
    uid character varying(64) NOT NULL,
    token integer DEFAULT 0 NOT NULL,
    deviceidentifier character varying(128) NOT NULL,
    devicepublickey character varying(512) NOT NULL,
    devicepublickeyhash character varying(128) NOT NULL,
    pushtokenhash character varying(128) NOT NULL,
    proxyserver character varying(256) NOT NULL,
    apptype character varying(32) DEFAULT 'unknown'::character varying NOT NULL
);


ALTER TABLE public.oc_notifications_pushtokens OWNER TO nextcloud;

--
-- Name: oc_oauth2_access_tokens; Type: TABLE; Schema: public; Owner: nextcloud
--

CREATE TABLE public.oc_oauth2_access_tokens (
    id integer NOT NULL,
    token_id integer NOT NULL,
    client_id integer NOT NULL,
    hashed_code character varying(128) NOT NULL,
    encrypted_token character varying(786) NOT NULL
);


ALTER TABLE public.oc_oauth2_access_tokens OWNER TO nextcloud;

--
-- Name: oc_oauth2_access_tokens_id_seq; Type: SEQUENCE; Schema: public; Owner: nextcloud
--

CREATE SEQUENCE public.oc_oauth2_access_tokens_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.oc_oauth2_access_tokens_id_seq OWNER TO nextcloud;

--
-- Name: oc_oauth2_access_tokens_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: nextcloud
--

ALTER SEQUENCE public.oc_oauth2_access_tokens_id_seq OWNED BY public.oc_oauth2_access_tokens.id;


--
-- Name: oc_oauth2_clients; Type: TABLE; Schema: public; Owner: nextcloud
--

CREATE TABLE public.oc_oauth2_clients (
    id integer NOT NULL,
    name character varying(64) NOT NULL,
    redirect_uri character varying(2000) NOT NULL,
    client_identifier character varying(64) NOT NULL,
    secret character varying(64) NOT NULL
);


ALTER TABLE public.oc_oauth2_clients OWNER TO nextcloud;

--
-- Name: oc_oauth2_clients_id_seq; Type: SEQUENCE; Schema: public; Owner: nextcloud
--

CREATE SEQUENCE public.oc_oauth2_clients_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.oc_oauth2_clients_id_seq OWNER TO nextcloud;

--
-- Name: oc_oauth2_clients_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: nextcloud
--

ALTER SEQUENCE public.oc_oauth2_clients_id_seq OWNED BY public.oc_oauth2_clients.id;


--
-- Name: oc_preferences; Type: TABLE; Schema: public; Owner: nextcloud
--

CREATE TABLE public.oc_preferences (
    userid character varying(64) DEFAULT ''::character varying NOT NULL,
    appid character varying(32) DEFAULT ''::character varying NOT NULL,
    configkey character varying(64) DEFAULT ''::character varying NOT NULL,
    configvalue text
);


ALTER TABLE public.oc_preferences OWNER TO nextcloud;

--
-- Name: oc_privacy_admins; Type: TABLE; Schema: public; Owner: nextcloud
--

CREATE TABLE public.oc_privacy_admins (
    id integer NOT NULL,
    displayname character varying(64) DEFAULT ''::character varying NOT NULL
);


ALTER TABLE public.oc_privacy_admins OWNER TO nextcloud;

--
-- Name: oc_privacy_admins_id_seq; Type: SEQUENCE; Schema: public; Owner: nextcloud
--

CREATE SEQUENCE public.oc_privacy_admins_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.oc_privacy_admins_id_seq OWNER TO nextcloud;

--
-- Name: oc_privacy_admins_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: nextcloud
--

ALTER SEQUENCE public.oc_privacy_admins_id_seq OWNED BY public.oc_privacy_admins.id;


--
-- Name: oc_properties; Type: TABLE; Schema: public; Owner: nextcloud
--

CREATE TABLE public.oc_properties (
    id bigint NOT NULL,
    userid character varying(64) DEFAULT ''::character varying NOT NULL,
    propertypath character varying(255) DEFAULT ''::character varying NOT NULL,
    propertyname character varying(255) DEFAULT ''::character varying NOT NULL,
    propertyvalue text NOT NULL
);


ALTER TABLE public.oc_properties OWNER TO nextcloud;

--
-- Name: oc_properties_id_seq; Type: SEQUENCE; Schema: public; Owner: nextcloud
--

CREATE SEQUENCE public.oc_properties_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.oc_properties_id_seq OWNER TO nextcloud;

--
-- Name: oc_properties_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: nextcloud
--

ALTER SEQUENCE public.oc_properties_id_seq OWNED BY public.oc_properties.id;


--
-- Name: oc_recent_contact; Type: TABLE; Schema: public; Owner: nextcloud
--

CREATE TABLE public.oc_recent_contact (
    id integer NOT NULL,
    actor_uid character varying(64) NOT NULL,
    uid character varying(64) DEFAULT NULL::character varying,
    email character varying(255) DEFAULT NULL::character varying,
    federated_cloud_id character varying(255) DEFAULT NULL::character varying,
    card bytea NOT NULL,
    last_contact integer NOT NULL
);


ALTER TABLE public.oc_recent_contact OWNER TO nextcloud;

--
-- Name: oc_recent_contact_id_seq; Type: SEQUENCE; Schema: public; Owner: nextcloud
--

CREATE SEQUENCE public.oc_recent_contact_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.oc_recent_contact_id_seq OWNER TO nextcloud;

--
-- Name: oc_recent_contact_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: nextcloud
--

ALTER SEQUENCE public.oc_recent_contact_id_seq OWNED BY public.oc_recent_contact.id;


--
-- Name: oc_schedulingobjects; Type: TABLE; Schema: public; Owner: nextcloud
--

CREATE TABLE public.oc_schedulingobjects (
    id bigint NOT NULL,
    principaluri character varying(255) DEFAULT NULL::character varying,
    calendardata bytea,
    uri character varying(255) DEFAULT NULL::character varying,
    lastmodified integer,
    etag character varying(32) DEFAULT NULL::character varying,
    size bigint NOT NULL
);


ALTER TABLE public.oc_schedulingobjects OWNER TO nextcloud;

--
-- Name: oc_schedulingobjects_id_seq; Type: SEQUENCE; Schema: public; Owner: nextcloud
--

CREATE SEQUENCE public.oc_schedulingobjects_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.oc_schedulingobjects_id_seq OWNER TO nextcloud;

--
-- Name: oc_schedulingobjects_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: nextcloud
--

ALTER SEQUENCE public.oc_schedulingobjects_id_seq OWNED BY public.oc_schedulingobjects.id;


--
-- Name: oc_share; Type: TABLE; Schema: public; Owner: nextcloud
--

CREATE TABLE public.oc_share (
    id bigint NOT NULL,
    share_type smallint DEFAULT 0 NOT NULL,
    share_with character varying(255) DEFAULT NULL::character varying,
    password character varying(255) DEFAULT NULL::character varying,
    uid_owner character varying(64) DEFAULT ''::character varying NOT NULL,
    uid_initiator character varying(64) DEFAULT NULL::character varying,
    parent bigint,
    item_type character varying(64) DEFAULT ''::character varying NOT NULL,
    item_source character varying(255) DEFAULT NULL::character varying,
    item_target character varying(255) DEFAULT NULL::character varying,
    file_source bigint,
    file_target character varying(512) DEFAULT NULL::character varying,
    permissions smallint DEFAULT 0 NOT NULL,
    stime bigint DEFAULT 0 NOT NULL,
    accepted smallint DEFAULT 0 NOT NULL,
    expiration timestamp(0) without time zone DEFAULT NULL::timestamp without time zone,
    token character varying(32) DEFAULT NULL::character varying,
    mail_send smallint DEFAULT 0 NOT NULL,
    share_name character varying(64) DEFAULT NULL::character varying,
    password_by_talk boolean DEFAULT false,
    note text,
    hide_download smallint DEFAULT 0,
    label character varying(255) DEFAULT NULL::character varying
);


ALTER TABLE public.oc_share OWNER TO nextcloud;

--
-- Name: oc_share_external; Type: TABLE; Schema: public; Owner: nextcloud
--

CREATE TABLE public.oc_share_external (
    id bigint NOT NULL,
    parent bigint DEFAULT '-1'::integer,
    share_type integer,
    remote character varying(512) NOT NULL,
    remote_id character varying(255) DEFAULT ''::character varying,
    share_token character varying(64) NOT NULL,
    password character varying(64) DEFAULT NULL::character varying,
    name character varying(64) NOT NULL,
    owner character varying(64) NOT NULL,
    "user" character varying(64) NOT NULL,
    mountpoint character varying(4000) NOT NULL,
    mountpoint_hash character varying(32) NOT NULL,
    accepted integer DEFAULT 0 NOT NULL
);


ALTER TABLE public.oc_share_external OWNER TO nextcloud;

--
-- Name: oc_share_external_id_seq; Type: SEQUENCE; Schema: public; Owner: nextcloud
--

CREATE SEQUENCE public.oc_share_external_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.oc_share_external_id_seq OWNER TO nextcloud;

--
-- Name: oc_share_external_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: nextcloud
--

ALTER SEQUENCE public.oc_share_external_id_seq OWNED BY public.oc_share_external.id;


--
-- Name: oc_share_id_seq; Type: SEQUENCE; Schema: public; Owner: nextcloud
--

CREATE SEQUENCE public.oc_share_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.oc_share_id_seq OWNER TO nextcloud;

--
-- Name: oc_share_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: nextcloud
--

ALTER SEQUENCE public.oc_share_id_seq OWNED BY public.oc_share.id;


--
-- Name: oc_storages; Type: TABLE; Schema: public; Owner: nextcloud
--

CREATE TABLE public.oc_storages (
    numeric_id bigint NOT NULL,
    id character varying(64) DEFAULT NULL::character varying,
    available integer DEFAULT 1 NOT NULL,
    last_checked integer
);


ALTER TABLE public.oc_storages OWNER TO nextcloud;

--
-- Name: oc_storages_credentials; Type: TABLE; Schema: public; Owner: nextcloud
--

CREATE TABLE public.oc_storages_credentials (
    id bigint NOT NULL,
    "user" character varying(64) DEFAULT NULL::character varying,
    identifier character varying(64) NOT NULL,
    credentials text
);


ALTER TABLE public.oc_storages_credentials OWNER TO nextcloud;

--
-- Name: oc_storages_credentials_id_seq; Type: SEQUENCE; Schema: public; Owner: nextcloud
--

CREATE SEQUENCE public.oc_storages_credentials_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.oc_storages_credentials_id_seq OWNER TO nextcloud;

--
-- Name: oc_storages_credentials_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: nextcloud
--

ALTER SEQUENCE public.oc_storages_credentials_id_seq OWNED BY public.oc_storages_credentials.id;


--
-- Name: oc_storages_numeric_id_seq; Type: SEQUENCE; Schema: public; Owner: nextcloud
--

CREATE SEQUENCE public.oc_storages_numeric_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.oc_storages_numeric_id_seq OWNER TO nextcloud;

--
-- Name: oc_storages_numeric_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: nextcloud
--

ALTER SEQUENCE public.oc_storages_numeric_id_seq OWNED BY public.oc_storages.numeric_id;


--
-- Name: oc_systemtag; Type: TABLE; Schema: public; Owner: nextcloud
--

CREATE TABLE public.oc_systemtag (
    id bigint NOT NULL,
    name character varying(64) DEFAULT ''::character varying NOT NULL,
    visibility smallint DEFAULT 1 NOT NULL,
    editable smallint DEFAULT 1 NOT NULL
);


ALTER TABLE public.oc_systemtag OWNER TO nextcloud;

--
-- Name: oc_systemtag_group; Type: TABLE; Schema: public; Owner: nextcloud
--

CREATE TABLE public.oc_systemtag_group (
    systemtagid bigint DEFAULT 0 NOT NULL,
    gid character varying(255) NOT NULL
);


ALTER TABLE public.oc_systemtag_group OWNER TO nextcloud;

--
-- Name: oc_systemtag_id_seq; Type: SEQUENCE; Schema: public; Owner: nextcloud
--

CREATE SEQUENCE public.oc_systemtag_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.oc_systemtag_id_seq OWNER TO nextcloud;

--
-- Name: oc_systemtag_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: nextcloud
--

ALTER SEQUENCE public.oc_systemtag_id_seq OWNED BY public.oc_systemtag.id;


--
-- Name: oc_systemtag_object_mapping; Type: TABLE; Schema: public; Owner: nextcloud
--

CREATE TABLE public.oc_systemtag_object_mapping (
    objectid character varying(64) DEFAULT ''::character varying NOT NULL,
    objecttype character varying(64) DEFAULT ''::character varying NOT NULL,
    systemtagid bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.oc_systemtag_object_mapping OWNER TO nextcloud;

--
-- Name: oc_text_documents; Type: TABLE; Schema: public; Owner: nextcloud
--

CREATE TABLE public.oc_text_documents (
    id bigint NOT NULL,
    current_version bigint DEFAULT 0,
    last_saved_version bigint DEFAULT 0,
    last_saved_version_time bigint NOT NULL,
    last_saved_version_etag character varying(64) DEFAULT ''::character varying,
    base_version_etag character varying(64) DEFAULT ''::character varying
);


ALTER TABLE public.oc_text_documents OWNER TO nextcloud;

--
-- Name: oc_text_sessions; Type: TABLE; Schema: public; Owner: nextcloud
--

CREATE TABLE public.oc_text_sessions (
    id bigint NOT NULL,
    user_id character varying(64) DEFAULT NULL::character varying,
    guest_name character varying(64) DEFAULT NULL::character varying,
    color character varying(7) DEFAULT NULL::character varying,
    token character varying(64) NOT NULL,
    document_id bigint NOT NULL,
    last_contact bigint NOT NULL
);


ALTER TABLE public.oc_text_sessions OWNER TO nextcloud;

--
-- Name: oc_text_sessions_id_seq; Type: SEQUENCE; Schema: public; Owner: nextcloud
--

CREATE SEQUENCE public.oc_text_sessions_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.oc_text_sessions_id_seq OWNER TO nextcloud;

--
-- Name: oc_text_sessions_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: nextcloud
--

ALTER SEQUENCE public.oc_text_sessions_id_seq OWNED BY public.oc_text_sessions.id;


--
-- Name: oc_text_steps; Type: TABLE; Schema: public; Owner: nextcloud
--

CREATE TABLE public.oc_text_steps (
    id bigint NOT NULL,
    document_id bigint NOT NULL,
    session_id bigint NOT NULL,
    data text NOT NULL,
    version bigint DEFAULT 0
);


ALTER TABLE public.oc_text_steps OWNER TO nextcloud;

--
-- Name: oc_text_steps_id_seq; Type: SEQUENCE; Schema: public; Owner: nextcloud
--

CREATE SEQUENCE public.oc_text_steps_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.oc_text_steps_id_seq OWNER TO nextcloud;

--
-- Name: oc_text_steps_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: nextcloud
--

ALTER SEQUENCE public.oc_text_steps_id_seq OWNED BY public.oc_text_steps.id;


--
-- Name: oc_trusted_servers; Type: TABLE; Schema: public; Owner: nextcloud
--

CREATE TABLE public.oc_trusted_servers (
    id integer NOT NULL,
    url character varying(512) NOT NULL,
    url_hash character varying(255) DEFAULT ''::character varying NOT NULL,
    token character varying(128) DEFAULT NULL::character varying,
    shared_secret character varying(256) DEFAULT NULL::character varying,
    status integer DEFAULT 2 NOT NULL,
    sync_token character varying(512) DEFAULT NULL::character varying
);


ALTER TABLE public.oc_trusted_servers OWNER TO nextcloud;

--
-- Name: oc_trusted_servers_id_seq; Type: SEQUENCE; Schema: public; Owner: nextcloud
--

CREATE SEQUENCE public.oc_trusted_servers_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.oc_trusted_servers_id_seq OWNER TO nextcloud;

--
-- Name: oc_trusted_servers_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: nextcloud
--

ALTER SEQUENCE public.oc_trusted_servers_id_seq OWNED BY public.oc_trusted_servers.id;


--
-- Name: oc_twofactor_backupcodes; Type: TABLE; Schema: public; Owner: nextcloud
--

CREATE TABLE public.oc_twofactor_backupcodes (
    id bigint NOT NULL,
    user_id character varying(64) DEFAULT ''::character varying NOT NULL,
    code character varying(128) NOT NULL,
    used smallint DEFAULT 0 NOT NULL
);


ALTER TABLE public.oc_twofactor_backupcodes OWNER TO nextcloud;

--
-- Name: oc_twofactor_backupcodes_id_seq; Type: SEQUENCE; Schema: public; Owner: nextcloud
--

CREATE SEQUENCE public.oc_twofactor_backupcodes_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.oc_twofactor_backupcodes_id_seq OWNER TO nextcloud;

--
-- Name: oc_twofactor_backupcodes_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: nextcloud
--

ALTER SEQUENCE public.oc_twofactor_backupcodes_id_seq OWNED BY public.oc_twofactor_backupcodes.id;


--
-- Name: oc_twofactor_providers; Type: TABLE; Schema: public; Owner: nextcloud
--

CREATE TABLE public.oc_twofactor_providers (
    provider_id character varying(32) NOT NULL,
    uid character varying(64) NOT NULL,
    enabled smallint NOT NULL
);


ALTER TABLE public.oc_twofactor_providers OWNER TO nextcloud;

--
-- Name: oc_user_saml_auth_token; Type: TABLE; Schema: public; Owner: nextcloud
--

CREATE TABLE public.oc_user_saml_auth_token (
    id integer NOT NULL,
    uid character varying(64) DEFAULT ''::character varying NOT NULL,
    name text DEFAULT ''::text NOT NULL,
    token character varying(200) DEFAULT ''::character varying NOT NULL
);


ALTER TABLE public.oc_user_saml_auth_token OWNER TO nextcloud;

--
-- Name: oc_user_saml_auth_token_id_seq; Type: SEQUENCE; Schema: public; Owner: nextcloud
--

CREATE SEQUENCE public.oc_user_saml_auth_token_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.oc_user_saml_auth_token_id_seq OWNER TO nextcloud;

--
-- Name: oc_user_saml_auth_token_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: nextcloud
--

ALTER SEQUENCE public.oc_user_saml_auth_token_id_seq OWNED BY public.oc_user_saml_auth_token.id;


--
-- Name: oc_user_saml_users; Type: TABLE; Schema: public; Owner: nextcloud
--

CREATE TABLE public.oc_user_saml_users (
    uid character varying(64) DEFAULT ''::character varying NOT NULL,
    displayname character varying(255) DEFAULT ''::character varying NOT NULL,
    home character varying(255) DEFAULT ''::character varying NOT NULL
);


ALTER TABLE public.oc_user_saml_users OWNER TO nextcloud;

--
-- Name: oc_user_status; Type: TABLE; Schema: public; Owner: nextcloud
--

CREATE TABLE public.oc_user_status (
    id bigint NOT NULL,
    user_id character varying(255) NOT NULL,
    status character varying(255) NOT NULL,
    status_timestamp integer NOT NULL,
    is_user_defined boolean,
    message_id character varying(255) DEFAULT NULL::character varying,
    custom_icon character varying(255) DEFAULT NULL::character varying,
    custom_message text,
    clear_at integer
);


ALTER TABLE public.oc_user_status OWNER TO nextcloud;

--
-- Name: oc_user_status_id_seq; Type: SEQUENCE; Schema: public; Owner: nextcloud
--

CREATE SEQUENCE public.oc_user_status_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.oc_user_status_id_seq OWNER TO nextcloud;

--
-- Name: oc_user_status_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: nextcloud
--

ALTER SEQUENCE public.oc_user_status_id_seq OWNED BY public.oc_user_status.id;


--
-- Name: oc_user_transfer_owner; Type: TABLE; Schema: public; Owner: nextcloud
--

CREATE TABLE public.oc_user_transfer_owner (
    id bigint NOT NULL,
    source_user character varying(64) NOT NULL,
    target_user character varying(64) NOT NULL,
    file_id bigint NOT NULL,
    node_name character varying(255) NOT NULL
);


ALTER TABLE public.oc_user_transfer_owner OWNER TO nextcloud;

--
-- Name: oc_user_transfer_owner_id_seq; Type: SEQUENCE; Schema: public; Owner: nextcloud
--

CREATE SEQUENCE public.oc_user_transfer_owner_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.oc_user_transfer_owner_id_seq OWNER TO nextcloud;

--
-- Name: oc_user_transfer_owner_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: nextcloud
--

ALTER SEQUENCE public.oc_user_transfer_owner_id_seq OWNED BY public.oc_user_transfer_owner.id;


--
-- Name: oc_users; Type: TABLE; Schema: public; Owner: nextcloud
--

CREATE TABLE public.oc_users (
    uid character varying(64) DEFAULT ''::character varying NOT NULL,
    displayname character varying(64) DEFAULT NULL::character varying,
    password character varying(255) DEFAULT ''::character varying NOT NULL,
    uid_lower character varying(64) DEFAULT ''::character varying
);


ALTER TABLE public.oc_users OWNER TO nextcloud;

--
-- Name: oc_vcategory; Type: TABLE; Schema: public; Owner: nextcloud
--

CREATE TABLE public.oc_vcategory (
    id bigint NOT NULL,
    uid character varying(64) DEFAULT ''::character varying NOT NULL,
    type character varying(64) DEFAULT ''::character varying NOT NULL,
    category character varying(255) DEFAULT ''::character varying NOT NULL
);


ALTER TABLE public.oc_vcategory OWNER TO nextcloud;

--
-- Name: oc_vcategory_id_seq; Type: SEQUENCE; Schema: public; Owner: nextcloud
--

CREATE SEQUENCE public.oc_vcategory_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.oc_vcategory_id_seq OWNER TO nextcloud;

--
-- Name: oc_vcategory_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: nextcloud
--

ALTER SEQUENCE public.oc_vcategory_id_seq OWNED BY public.oc_vcategory.id;


--
-- Name: oc_vcategory_to_object; Type: TABLE; Schema: public; Owner: nextcloud
--

CREATE TABLE public.oc_vcategory_to_object (
    objid bigint DEFAULT 0 NOT NULL,
    categoryid bigint DEFAULT 0 NOT NULL,
    type character varying(64) DEFAULT ''::character varying NOT NULL
);


ALTER TABLE public.oc_vcategory_to_object OWNER TO nextcloud;

--
-- Name: oc_webauthn; Type: TABLE; Schema: public; Owner: nextcloud
--

CREATE TABLE public.oc_webauthn (
    id integer NOT NULL,
    uid character varying(64) NOT NULL,
    name character varying(64) NOT NULL,
    public_key_credential_id character varying(255) NOT NULL,
    data text NOT NULL
);


ALTER TABLE public.oc_webauthn OWNER TO nextcloud;

--
-- Name: oc_webauthn_id_seq; Type: SEQUENCE; Schema: public; Owner: nextcloud
--

CREATE SEQUENCE public.oc_webauthn_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.oc_webauthn_id_seq OWNER TO nextcloud;

--
-- Name: oc_webauthn_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: nextcloud
--

ALTER SEQUENCE public.oc_webauthn_id_seq OWNED BY public.oc_webauthn.id;


--
-- Name: oc_whats_new; Type: TABLE; Schema: public; Owner: nextcloud
--

CREATE TABLE public.oc_whats_new (
    id integer NOT NULL,
    version character varying(64) DEFAULT '11'::character varying NOT NULL,
    etag character varying(64) DEFAULT ''::character varying NOT NULL,
    last_check integer DEFAULT 0 NOT NULL,
    data text DEFAULT ''::text NOT NULL
);


ALTER TABLE public.oc_whats_new OWNER TO nextcloud;

--
-- Name: oc_whats_new_id_seq; Type: SEQUENCE; Schema: public; Owner: nextcloud
--

CREATE SEQUENCE public.oc_whats_new_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.oc_whats_new_id_seq OWNER TO nextcloud;

--
-- Name: oc_whats_new_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: nextcloud
--

ALTER SEQUENCE public.oc_whats_new_id_seq OWNED BY public.oc_whats_new.id;


--
-- Name: oc_accounts_data id; Type: DEFAULT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_accounts_data ALTER COLUMN id SET DEFAULT nextval('public.oc_accounts_data_id_seq'::regclass);


--
-- Name: oc_activity activity_id; Type: DEFAULT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_activity ALTER COLUMN activity_id SET DEFAULT nextval('public.oc_activity_activity_id_seq'::regclass);


--
-- Name: oc_activity_mq mail_id; Type: DEFAULT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_activity_mq ALTER COLUMN mail_id SET DEFAULT nextval('public.oc_activity_mq_mail_id_seq'::regclass);


--
-- Name: oc_addressbookchanges id; Type: DEFAULT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_addressbookchanges ALTER COLUMN id SET DEFAULT nextval('public.oc_addressbookchanges_id_seq'::regclass);


--
-- Name: oc_addressbooks id; Type: DEFAULT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_addressbooks ALTER COLUMN id SET DEFAULT nextval('public.oc_addressbooks_id_seq'::regclass);


--
-- Name: oc_authtoken id; Type: DEFAULT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_authtoken ALTER COLUMN id SET DEFAULT nextval('public.oc_authtoken_id_seq'::regclass);


--
-- Name: oc_bruteforce_attempts id; Type: DEFAULT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_bruteforce_attempts ALTER COLUMN id SET DEFAULT nextval('public.oc_bruteforce_attempts_id_seq'::regclass);


--
-- Name: oc_calendar_invitations id; Type: DEFAULT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_calendar_invitations ALTER COLUMN id SET DEFAULT nextval('public.oc_calendar_invitations_id_seq'::regclass);


--
-- Name: oc_calendar_reminders id; Type: DEFAULT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_calendar_reminders ALTER COLUMN id SET DEFAULT nextval('public.oc_calendar_reminders_id_seq'::regclass);


--
-- Name: oc_calendar_resources id; Type: DEFAULT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_calendar_resources ALTER COLUMN id SET DEFAULT nextval('public.oc_calendar_resources_id_seq'::regclass);


--
-- Name: oc_calendar_resources_md id; Type: DEFAULT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_calendar_resources_md ALTER COLUMN id SET DEFAULT nextval('public.oc_calendar_resources_md_id_seq'::regclass);


--
-- Name: oc_calendar_rooms id; Type: DEFAULT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_calendar_rooms ALTER COLUMN id SET DEFAULT nextval('public.oc_calendar_rooms_id_seq'::regclass);


--
-- Name: oc_calendar_rooms_md id; Type: DEFAULT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_calendar_rooms_md ALTER COLUMN id SET DEFAULT nextval('public.oc_calendar_rooms_md_id_seq'::regclass);


--
-- Name: oc_calendarchanges id; Type: DEFAULT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_calendarchanges ALTER COLUMN id SET DEFAULT nextval('public.oc_calendarchanges_id_seq'::regclass);


--
-- Name: oc_calendarobjects id; Type: DEFAULT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_calendarobjects ALTER COLUMN id SET DEFAULT nextval('public.oc_calendarobjects_id_seq'::regclass);


--
-- Name: oc_calendarobjects_props id; Type: DEFAULT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_calendarobjects_props ALTER COLUMN id SET DEFAULT nextval('public.oc_calendarobjects_props_id_seq'::regclass);


--
-- Name: oc_calendars id; Type: DEFAULT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_calendars ALTER COLUMN id SET DEFAULT nextval('public.oc_calendars_id_seq'::regclass);


--
-- Name: oc_calendarsubscriptions id; Type: DEFAULT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_calendarsubscriptions ALTER COLUMN id SET DEFAULT nextval('public.oc_calendarsubscriptions_id_seq'::regclass);


--
-- Name: oc_cards id; Type: DEFAULT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_cards ALTER COLUMN id SET DEFAULT nextval('public.oc_cards_id_seq'::regclass);


--
-- Name: oc_cards_properties id; Type: DEFAULT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_cards_properties ALTER COLUMN id SET DEFAULT nextval('public.oc_cards_properties_id_seq'::regclass);


--
-- Name: oc_collres_collections id; Type: DEFAULT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_collres_collections ALTER COLUMN id SET DEFAULT nextval('public.oc_collres_collections_id_seq'::regclass);


--
-- Name: oc_comments id; Type: DEFAULT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_comments ALTER COLUMN id SET DEFAULT nextval('public.oc_comments_id_seq'::regclass);


--
-- Name: oc_dav_cal_proxy id; Type: DEFAULT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_dav_cal_proxy ALTER COLUMN id SET DEFAULT nextval('public.oc_dav_cal_proxy_id_seq'::regclass);


--
-- Name: oc_dav_shares id; Type: DEFAULT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_dav_shares ALTER COLUMN id SET DEFAULT nextval('public.oc_dav_shares_id_seq'::regclass);


--
-- Name: oc_direct_edit id; Type: DEFAULT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_direct_edit ALTER COLUMN id SET DEFAULT nextval('public.oc_direct_edit_id_seq'::regclass);


--
-- Name: oc_directlink id; Type: DEFAULT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_directlink ALTER COLUMN id SET DEFAULT nextval('public.oc_directlink_id_seq'::regclass);


--
-- Name: oc_file_locks id; Type: DEFAULT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_file_locks ALTER COLUMN id SET DEFAULT nextval('public.oc_file_locks_id_seq'::regclass);


--
-- Name: oc_filecache fileid; Type: DEFAULT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_filecache ALTER COLUMN fileid SET DEFAULT nextval('public.oc_filecache_fileid_seq'::regclass);


--
-- Name: oc_files_trash auto_id; Type: DEFAULT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_files_trash ALTER COLUMN auto_id SET DEFAULT nextval('public.oc_files_trash_auto_id_seq'::regclass);


--
-- Name: oc_flow_checks id; Type: DEFAULT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_flow_checks ALTER COLUMN id SET DEFAULT nextval('public.oc_flow_checks_id_seq'::regclass);


--
-- Name: oc_flow_operations id; Type: DEFAULT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_flow_operations ALTER COLUMN id SET DEFAULT nextval('public.oc_flow_operations_id_seq'::regclass);


--
-- Name: oc_flow_operations_scope id; Type: DEFAULT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_flow_operations_scope ALTER COLUMN id SET DEFAULT nextval('public.oc_flow_operations_scope_id_seq'::regclass);


--
-- Name: oc_jobs id; Type: DEFAULT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_jobs ALTER COLUMN id SET DEFAULT nextval('public.oc_jobs_id_seq'::regclass);


--
-- Name: oc_login_flow_v2 id; Type: DEFAULT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_login_flow_v2 ALTER COLUMN id SET DEFAULT nextval('public.oc_login_flow_v2_id_seq'::regclass);


--
-- Name: oc_mimetypes id; Type: DEFAULT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_mimetypes ALTER COLUMN id SET DEFAULT nextval('public.oc_mimetypes_id_seq'::regclass);


--
-- Name: oc_mounts id; Type: DEFAULT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_mounts ALTER COLUMN id SET DEFAULT nextval('public.oc_mounts_id_seq'::regclass);


--
-- Name: oc_notifications notification_id; Type: DEFAULT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_notifications ALTER COLUMN notification_id SET DEFAULT nextval('public.oc_notifications_notification_id_seq'::regclass);


--
-- Name: oc_oauth2_access_tokens id; Type: DEFAULT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_oauth2_access_tokens ALTER COLUMN id SET DEFAULT nextval('public.oc_oauth2_access_tokens_id_seq'::regclass);


--
-- Name: oc_oauth2_clients id; Type: DEFAULT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_oauth2_clients ALTER COLUMN id SET DEFAULT nextval('public.oc_oauth2_clients_id_seq'::regclass);


--
-- Name: oc_privacy_admins id; Type: DEFAULT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_privacy_admins ALTER COLUMN id SET DEFAULT nextval('public.oc_privacy_admins_id_seq'::regclass);


--
-- Name: oc_properties id; Type: DEFAULT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_properties ALTER COLUMN id SET DEFAULT nextval('public.oc_properties_id_seq'::regclass);


--
-- Name: oc_recent_contact id; Type: DEFAULT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_recent_contact ALTER COLUMN id SET DEFAULT nextval('public.oc_recent_contact_id_seq'::regclass);


--
-- Name: oc_schedulingobjects id; Type: DEFAULT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_schedulingobjects ALTER COLUMN id SET DEFAULT nextval('public.oc_schedulingobjects_id_seq'::regclass);


--
-- Name: oc_share id; Type: DEFAULT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_share ALTER COLUMN id SET DEFAULT nextval('public.oc_share_id_seq'::regclass);


--
-- Name: oc_share_external id; Type: DEFAULT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_share_external ALTER COLUMN id SET DEFAULT nextval('public.oc_share_external_id_seq'::regclass);


--
-- Name: oc_storages numeric_id; Type: DEFAULT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_storages ALTER COLUMN numeric_id SET DEFAULT nextval('public.oc_storages_numeric_id_seq'::regclass);


--
-- Name: oc_storages_credentials id; Type: DEFAULT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_storages_credentials ALTER COLUMN id SET DEFAULT nextval('public.oc_storages_credentials_id_seq'::regclass);


--
-- Name: oc_systemtag id; Type: DEFAULT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_systemtag ALTER COLUMN id SET DEFAULT nextval('public.oc_systemtag_id_seq'::regclass);


--
-- Name: oc_text_sessions id; Type: DEFAULT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_text_sessions ALTER COLUMN id SET DEFAULT nextval('public.oc_text_sessions_id_seq'::regclass);


--
-- Name: oc_text_steps id; Type: DEFAULT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_text_steps ALTER COLUMN id SET DEFAULT nextval('public.oc_text_steps_id_seq'::regclass);


--
-- Name: oc_trusted_servers id; Type: DEFAULT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_trusted_servers ALTER COLUMN id SET DEFAULT nextval('public.oc_trusted_servers_id_seq'::regclass);


--
-- Name: oc_twofactor_backupcodes id; Type: DEFAULT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_twofactor_backupcodes ALTER COLUMN id SET DEFAULT nextval('public.oc_twofactor_backupcodes_id_seq'::regclass);


--
-- Name: oc_user_saml_auth_token id; Type: DEFAULT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_user_saml_auth_token ALTER COLUMN id SET DEFAULT nextval('public.oc_user_saml_auth_token_id_seq'::regclass);


--
-- Name: oc_user_status id; Type: DEFAULT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_user_status ALTER COLUMN id SET DEFAULT nextval('public.oc_user_status_id_seq'::regclass);


--
-- Name: oc_user_transfer_owner id; Type: DEFAULT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_user_transfer_owner ALTER COLUMN id SET DEFAULT nextval('public.oc_user_transfer_owner_id_seq'::regclass);


--
-- Name: oc_vcategory id; Type: DEFAULT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_vcategory ALTER COLUMN id SET DEFAULT nextval('public.oc_vcategory_id_seq'::regclass);


--
-- Name: oc_webauthn id; Type: DEFAULT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_webauthn ALTER COLUMN id SET DEFAULT nextval('public.oc_webauthn_id_seq'::regclass);


--
-- Name: oc_whats_new id; Type: DEFAULT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_whats_new ALTER COLUMN id SET DEFAULT nextval('public.oc_whats_new_id_seq'::regclass);


--
-- Data for Name: oc_accounts; Type: TABLE DATA; Schema: public; Owner: nextcloud
--

COPY public.oc_accounts (uid, data) FROM stdin;
\.


--
-- Data for Name: oc_accounts_data; Type: TABLE DATA; Schema: public; Owner: nextcloud
--

COPY public.oc_accounts_data (id, uid, name, value) FROM stdin;
\.


--
-- Data for Name: oc_activity; Type: TABLE DATA; Schema: public; Owner: nextcloud
--

COPY public.oc_activity (activity_id, "timestamp", priority, type, "user", affecteduser, app, subject, subjectparams, message, messageparams, file, link, object_type, object_id) FROM stdin;
1	1617856667	30	file_created	admin	admin	files	created_self	[{"3":"\\/Templates"}]		[]	/Templates	https://localhost/index.php/apps/files/?dir=/	files	3
2	1617856667	30	file_created	admin	admin	files	created_self	[{"4":"\\/Templates\\/Expense report.ods"}]		[]	/Templates/Expense report.ods	https://localhost/index.php/apps/files/?dir=/Templates	files	4
3	1617856667	30	file_created	admin	admin	files	created_self	[{"5":"\\/Templates\\/SWOT analysis.whiteboard"}]		[]	/Templates/SWOT analysis.whiteboard	https://localhost/index.php/apps/files/?dir=/Templates	files	5
4	1617856667	30	file_created	admin	admin	files	created_self	[{"6":"\\/Templates\\/Letter.odt"}]		[]	/Templates/Letter.odt	https://localhost/index.php/apps/files/?dir=/Templates	files	6
5	1617856667	30	file_created	admin	admin	files	created_self	[{"7":"\\/Templates\\/Meeting notes.md"}]		[]	/Templates/Meeting notes.md	https://localhost/index.php/apps/files/?dir=/Templates	files	7
6	1617856667	30	file_created	admin	admin	files	created_self	[{"8":"\\/Templates\\/Diagram & table.ods"}]		[]	/Templates/Diagram & table.ods	https://localhost/index.php/apps/files/?dir=/Templates	files	8
7	1617856667	30	file_created	admin	admin	files	created_self	[{"9":"\\/Templates\\/Readme.md"}]		[]	/Templates/Readme.md	https://localhost/index.php/apps/files/?dir=/Templates	files	9
8	1617856667	30	file_created	admin	admin	files	created_self	[{"10":"\\/Templates\\/Product plan.md"}]		[]	/Templates/Product plan.md	https://localhost/index.php/apps/files/?dir=/Templates	files	10
9	1617856667	30	file_created	admin	admin	files	created_self	[{"11":"\\/Templates\\/Invoice.odt"}]		[]	/Templates/Invoice.odt	https://localhost/index.php/apps/files/?dir=/Templates	files	11
10	1617856667	30	file_created	admin	admin	files	created_self	[{"12":"\\/Templates\\/Elegant.odp"}]		[]	/Templates/Elegant.odp	https://localhost/index.php/apps/files/?dir=/Templates	files	12
11	1617856668	30	file_created	admin	admin	files	created_self	[{"13":"\\/Templates\\/Simple.odp"}]		[]	/Templates/Simple.odp	https://localhost/index.php/apps/files/?dir=/Templates	files	13
12	1617856668	30	file_created	admin	admin	files	created_self	[{"14":"\\/Templates\\/Impact effort matrix.whiteboard"}]		[]	/Templates/Impact effort matrix.whiteboard	https://localhost/index.php/apps/files/?dir=/Templates	files	14
13	1617856668	30	file_created	admin	admin	files	created_self	[{"15":"\\/Documents"}]		[]	/Documents	https://localhost/index.php/apps/files/?dir=/	files	15
14	1617856668	30	file_created	admin	admin	files	created_self	[{"16":"\\/Documents\\/Welcome to Nextcloud Hub.docx"}]		[]	/Documents/Welcome to Nextcloud Hub.docx	https://localhost/index.php/apps/files/?dir=/Documents	files	16
15	1617856668	30	file_created	admin	admin	files	created_self	[{"17":"\\/Documents\\/Readme.md"}]		[]	/Documents/Readme.md	https://localhost/index.php/apps/files/?dir=/Documents	files	17
16	1617856668	30	file_created	admin	admin	files	created_self	[{"18":"\\/Documents\\/Example.md"}]		[]	/Documents/Example.md	https://localhost/index.php/apps/files/?dir=/Documents	files	18
17	1617856668	30	file_created	admin	admin	files	created_self	[{"19":"\\/Documents\\/Nextcloud flyer.pdf"}]		[]	/Documents/Nextcloud flyer.pdf	https://localhost/index.php/apps/files/?dir=/Documents	files	19
18	1617856668	30	file_created	admin	admin	files	created_self	[{"20":"\\/Photos"}]		[]	/Photos	https://localhost/index.php/apps/files/?dir=/	files	20
19	1617856668	30	file_created	admin	admin	files	created_self	[{"21":"\\/Photos\\/Frog.jpg"}]		[]	/Photos/Frog.jpg	https://localhost/index.php/apps/files/?dir=/Photos	files	21
20	1617856668	30	file_created	admin	admin	files	created_self	[{"22":"\\/Photos\\/Vineyard.jpg"}]		[]	/Photos/Vineyard.jpg	https://localhost/index.php/apps/files/?dir=/Photos	files	22
21	1617856668	30	file_created	admin	admin	files	created_self	[{"23":"\\/Photos\\/Toucan.jpg"}]		[]	/Photos/Toucan.jpg	https://localhost/index.php/apps/files/?dir=/Photos	files	23
22	1617856668	30	file_created	admin	admin	files	created_self	[{"24":"\\/Photos\\/Library.jpg"}]		[]	/Photos/Library.jpg	https://localhost/index.php/apps/files/?dir=/Photos	files	24
23	1617856668	30	file_created	admin	admin	files	created_self	[{"25":"\\/Photos\\/Birdie.jpg"}]		[]	/Photos/Birdie.jpg	https://localhost/index.php/apps/files/?dir=/Photos	files	25
24	1617856668	30	file_created	admin	admin	files	created_self	[{"26":"\\/Photos\\/Gorilla.jpg"}]		[]	/Photos/Gorilla.jpg	https://localhost/index.php/apps/files/?dir=/Photos	files	26
25	1617856668	30	file_created	admin	admin	files	created_self	[{"27":"\\/Photos\\/Steps.jpg"}]		[]	/Photos/Steps.jpg	https://localhost/index.php/apps/files/?dir=/Photos	files	27
26	1617856668	30	file_created	admin	admin	files	created_self	[{"28":"\\/Photos\\/Nextcloud community.jpg"}]		[]	/Photos/Nextcloud community.jpg	https://localhost/index.php/apps/files/?dir=/Photos	files	28
27	1617856668	30	file_created	admin	admin	files	created_self	[{"29":"\\/Photos\\/Readme.md"}]		[]	/Photos/Readme.md	https://localhost/index.php/apps/files/?dir=/Photos	files	29
28	1617856668	30	file_created	admin	admin	files	created_self	[{"30":"\\/Reasons to use Nextcloud.pdf"}]		[]	/Reasons to use Nextcloud.pdf	https://localhost/index.php/apps/files/?dir=/	files	30
29	1617856668	30	file_created	admin	admin	files	created_self	[{"31":"\\/Nextcloud intro.mp4"}]		[]	/Nextcloud intro.mp4	https://localhost/index.php/apps/files/?dir=/	files	31
30	1617856668	30	file_created	admin	admin	files	created_self	[{"32":"\\/Nextcloud Manual.pdf"}]		[]	/Nextcloud Manual.pdf	https://localhost/index.php/apps/files/?dir=/	files	32
31	1617856668	30	file_created	admin	admin	files	created_self	[{"33":"\\/Nextcloud.png"}]		[]	/Nextcloud.png	https://localhost/index.php/apps/files/?dir=/	files	33
32	1617856668	30	calendar	admin	admin	dav	calendar_add_self	{"actor":"admin","calendar":{"id":1,"uri":"personal","name":"Personal"}}		[]			calendar	1
\.


--
-- Data for Name: oc_activity_mq; Type: TABLE DATA; Schema: public; Owner: nextcloud
--

COPY public.oc_activity_mq (mail_id, amq_timestamp, amq_latest_send, amq_type, amq_affecteduser, amq_appid, amq_subject, amq_subjectparams, object_type, object_id) FROM stdin;
\.


--
-- Data for Name: oc_addressbookchanges; Type: TABLE DATA; Schema: public; Owner: nextcloud
--

COPY public.oc_addressbookchanges (id, uri, synctoken, addressbookid, operation) FROM stdin;
\.


--
-- Data for Name: oc_addressbooks; Type: TABLE DATA; Schema: public; Owner: nextcloud
--

COPY public.oc_addressbooks (id, principaluri, displayname, uri, description, synctoken) FROM stdin;
1	principals/users/admin	Contacts	contacts	\N	1
\.


--
-- Data for Name: oc_appconfig; Type: TABLE DATA; Schema: public; Owner: nextcloud
--

COPY public.oc_appconfig (appid, configkey, configvalue) FROM stdin;
core	installedat	1617856658.1947
core	lastupdatedat	1617856658.1976
core	vendor	nextcloud
federatedfilesharing	installed_version	1.11.0
federatedfilesharing	types	
federatedfilesharing	enabled	yes
user_status	installed_version	1.1.1
user_status	types	
user_status	enabled	yes
sharebymail	installed_version	1.11.0
sharebymail	types	filesystem
sharebymail	enabled	yes
support	installed_version	1.4.0
support	types	session
support	enabled	yes
logreader	installed_version	2.6.0
logreader	types	
logreader	enabled	yes
oauth2	installed_version	1.9.0
oauth2	types	authentication
oauth2	enabled	yes
activity	installed_version	2.14.3
activity	types	filesystem
activity	enabled	yes
files_sharing	installed_version	1.13.1
core	public_files	files_sharing/public.php
files_sharing	types	filesystem
files_sharing	enabled	yes
twofactor_backupcodes	installed_version	1.10.0
twofactor_backupcodes	types	
twofactor_backupcodes	enabled	yes
recommendations	installed_version	1.0.0
recommendations	types	
recommendations	enabled	yes
notifications	installed_version	2.9.0
notifications	types	logging
notifications	enabled	yes
nextcloud_announcements	installed_version	1.10.0
nextcloud_announcements	types	logging
nextcloud_announcements	enabled	yes
text	installed_version	3.2.0
text	types	dav
text	enabled	yes
workflowengine	installed_version	2.3.0
workflowengine	types	filesystem
workflowengine	enabled	yes
theming	installed_version	1.12.0
theming	types	logging
theming	enabled	yes
files_videoplayer	installed_version	1.10.0
files_videoplayer	types	
files_videoplayer	enabled	yes
accessibility	installed_version	1.7.0
accessibility	types	
accessibility	enabled	yes
weather_status	installed_version	1.1.0
weather_status	types	
weather_status	enabled	yes
comments	installed_version	1.11.0
comments	types	logging
comments	enabled	yes
files_versions	installed_version	1.14.0
files_versions	types	filesystem,dav
files_versions	enabled	yes
survey_client	installed_version	1.9.0
survey_client	types	
survey_client	enabled	yes
provisioning_api	installed_version	1.11.0
provisioning_api	types	prevent_group_restriction
provisioning_api	enabled	yes
files_pdfviewer	installed_version	2.1.0
files_pdfviewer	types	
files_pdfviewer	enabled	yes
viewer	installed_version	1.5.0
viewer	types	
viewer	enabled	yes
files_rightclick	installed_version	1.0.0
files_rightclick	types	
files_rightclick	enabled	yes
password_policy	installed_version	1.11.0
password_policy	types	authentication
password_policy	enabled	yes
federation	installed_version	1.11.0
federation	types	authentication
federation	enabled	yes
lookup_server_connector	installed_version	1.9.0
lookup_server_connector	types	authentication
lookup_server_connector	enabled	yes
firstrunwizard	installed_version	2.10.0
firstrunwizard	types	logging
firstrunwizard	enabled	yes
privacy	installed_version	1.5.0
privacy	types	
privacy	enabled	yes
files	installed_version	1.16.0
files	types	filesystem
files	enabled	yes
serverinfo	installed_version	1.11.0
serverinfo	types	
serverinfo	enabled	yes
files_trashbin	installed_version	1.11.0
files_trashbin	types	filesystem,dav
files_trashbin	enabled	yes
updatenotification	installed_version	1.11.0
updatenotification	types	
updatenotification	enabled	yes
systemtags	installed_version	1.11.0
systemtags	types	logging
systemtags	enabled	yes
cloud_federation_api	installed_version	1.4.0
cloud_federation_api	types	filesystem
cloud_federation_api	enabled	yes
dashboard	installed_version	7.1.0
dashboard	types	
dashboard	enabled	yes
contactsinteraction	installed_version	1.2.0
contactsinteraction	types	dav
contactsinteraction	enabled	yes
settings	installed_version	1.3.0
settings	types	
settings	enabled	yes
photos	installed_version	1.3.0
photos	types	
photos	enabled	yes
dav	installed_version	1.17.1
core	public_webdav	dav/appinfo/v1/publicwebdav.php
dav	types	filesystem
dav	enabled	yes
user_saml	installed_version	4.1.0
user_saml	types	authentication
user_saml	enabled	yes
core	backgroundjobs_mode	cron
backgroundjob	lastjob	25
core	lastcron	1617857401
\.


--
-- Data for Name: oc_authtoken; Type: TABLE DATA; Schema: public; Owner: nextcloud
--

COPY public.oc_authtoken (id, uid, login_name, password, name, token, type, remember, last_activity, last_check, scope, expires, private_key, public_key, version, password_invalid) FROM stdin;
\.


--
-- Data for Name: oc_bruteforce_attempts; Type: TABLE DATA; Schema: public; Owner: nextcloud
--

COPY public.oc_bruteforce_attempts (id, action, occurred, ip, subnet, metadata) FROM stdin;
\.


--
-- Data for Name: oc_calendar_invitations; Type: TABLE DATA; Schema: public; Owner: nextcloud
--

COPY public.oc_calendar_invitations (id, uid, recurrenceid, attendee, organizer, sequence, token, expiration) FROM stdin;
\.


--
-- Data for Name: oc_calendar_reminders; Type: TABLE DATA; Schema: public; Owner: nextcloud
--

COPY public.oc_calendar_reminders (id, calendar_id, object_id, is_recurring, uid, recurrence_id, is_recurrence_exception, event_hash, alarm_hash, type, is_relative, notification_date, is_repeat_based) FROM stdin;
\.


--
-- Data for Name: oc_calendar_resources; Type: TABLE DATA; Schema: public; Owner: nextcloud
--

COPY public.oc_calendar_resources (id, backend_id, resource_id, email, displayname, group_restrictions) FROM stdin;
\.


--
-- Data for Name: oc_calendar_resources_md; Type: TABLE DATA; Schema: public; Owner: nextcloud
--

COPY public.oc_calendar_resources_md (id, resource_id, key, value) FROM stdin;
\.


--
-- Data for Name: oc_calendar_rooms; Type: TABLE DATA; Schema: public; Owner: nextcloud
--

COPY public.oc_calendar_rooms (id, backend_id, resource_id, email, displayname, group_restrictions) FROM stdin;
\.


--
-- Data for Name: oc_calendar_rooms_md; Type: TABLE DATA; Schema: public; Owner: nextcloud
--

COPY public.oc_calendar_rooms_md (id, room_id, key, value) FROM stdin;
\.


--
-- Data for Name: oc_calendarchanges; Type: TABLE DATA; Schema: public; Owner: nextcloud
--

COPY public.oc_calendarchanges (id, uri, synctoken, calendarid, operation, calendartype) FROM stdin;
\.


--
-- Data for Name: oc_calendarobjects; Type: TABLE DATA; Schema: public; Owner: nextcloud
--

COPY public.oc_calendarobjects (id, calendardata, uri, calendarid, lastmodified, etag, size, componenttype, firstoccurence, lastoccurence, uid, classification, calendartype) FROM stdin;
\.


--
-- Data for Name: oc_calendarobjects_props; Type: TABLE DATA; Schema: public; Owner: nextcloud
--

COPY public.oc_calendarobjects_props (id, calendarid, objectid, name, parameter, value, calendartype) FROM stdin;
\.


--
-- Data for Name: oc_calendars; Type: TABLE DATA; Schema: public; Owner: nextcloud
--

COPY public.oc_calendars (id, principaluri, displayname, uri, synctoken, description, calendarorder, calendarcolor, timezone, components, transparent) FROM stdin;
1	principals/users/admin	Personal	personal	1	\N	0	\N	\N	VEVENT,VTODO	0
\.


--
-- Data for Name: oc_calendarsubscriptions; Type: TABLE DATA; Schema: public; Owner: nextcloud
--

COPY public.oc_calendarsubscriptions (id, uri, principaluri, displayname, refreshrate, calendarorder, calendarcolor, striptodos, stripalarms, stripattachments, lastmodified, synctoken, source) FROM stdin;
\.


--
-- Data for Name: oc_cards; Type: TABLE DATA; Schema: public; Owner: nextcloud
--

COPY public.oc_cards (id, addressbookid, carddata, uri, lastmodified, etag, size, uid) FROM stdin;
\.


--
-- Data for Name: oc_cards_properties; Type: TABLE DATA; Schema: public; Owner: nextcloud
--

COPY public.oc_cards_properties (id, addressbookid, cardid, name, value, preferred) FROM stdin;
\.


--
-- Data for Name: oc_collres_accesscache; Type: TABLE DATA; Schema: public; Owner: nextcloud
--

COPY public.oc_collres_accesscache (user_id, collection_id, resource_type, resource_id, access) FROM stdin;
\.


--
-- Data for Name: oc_collres_collections; Type: TABLE DATA; Schema: public; Owner: nextcloud
--

COPY public.oc_collres_collections (id, name) FROM stdin;
\.


--
-- Data for Name: oc_collres_resources; Type: TABLE DATA; Schema: public; Owner: nextcloud
--

COPY public.oc_collres_resources (collection_id, resource_type, resource_id) FROM stdin;
\.


--
-- Data for Name: oc_comments; Type: TABLE DATA; Schema: public; Owner: nextcloud
--

COPY public.oc_comments (id, parent_id, topmost_parent_id, children_count, actor_type, actor_id, message, verb, creation_timestamp, latest_child_timestamp, object_type, object_id, reference_id) FROM stdin;
\.


--
-- Data for Name: oc_comments_read_markers; Type: TABLE DATA; Schema: public; Owner: nextcloud
--

COPY public.oc_comments_read_markers (user_id, object_type, object_id, marker_datetime) FROM stdin;
\.


--
-- Data for Name: oc_dav_cal_proxy; Type: TABLE DATA; Schema: public; Owner: nextcloud
--

COPY public.oc_dav_cal_proxy (id, owner_id, proxy_id, permissions) FROM stdin;
\.


--
-- Data for Name: oc_dav_shares; Type: TABLE DATA; Schema: public; Owner: nextcloud
--

COPY public.oc_dav_shares (id, principaluri, type, access, resourceid, publicuri) FROM stdin;
\.


--
-- Data for Name: oc_direct_edit; Type: TABLE DATA; Schema: public; Owner: nextcloud
--

COPY public.oc_direct_edit (id, editor_id, token, file_id, user_id, share_id, "timestamp", accessed, file_path) FROM stdin;
\.


--
-- Data for Name: oc_directlink; Type: TABLE DATA; Schema: public; Owner: nextcloud
--

COPY public.oc_directlink (id, user_id, file_id, token, expiration) FROM stdin;
\.


--
-- Data for Name: oc_federated_reshares; Type: TABLE DATA; Schema: public; Owner: nextcloud
--

COPY public.oc_federated_reshares (share_id, remote_id) FROM stdin;
\.


--
-- Data for Name: oc_file_locks; Type: TABLE DATA; Schema: public; Owner: nextcloud
--

COPY public.oc_file_locks (id, lock, key, ttl) FROM stdin;
\.


--
-- Data for Name: oc_filecache; Type: TABLE DATA; Schema: public; Owner: nextcloud
--

COPY public.oc_filecache (fileid, storage, path, path_hash, parent, name, mimetype, mimepart, size, mtime, storage_mtime, encrypted, unencrypted_size, etag, permissions, checksum) FROM stdin;
4	1	files/Templates/Expense report.ods	d0a4025621279b95d2f94ff4ec09eab3	3	Expense report.ods	4	3	13441	1617856667	1617856667	0	0	e6a7ccc4057f283a0a291e1165a7859b	27	
5	1	files/Templates/SWOT analysis.whiteboard	3fd0e44b3e6f0e7144442ef6fc71a663	3	SWOT analysis.whiteboard	5	3	38605	1617856667	1617856667	0	0	bb8a9bb5f5617c7ad6e4f94493bb741f	27	
6	1	files/Templates/Letter.odt	15545ade0e9863c98f3a5cc0fbf2836a	3	Letter.odt	6	3	15961	1617856667	1617856667	0	0	3242e5cee2f65d8c30055e3eee28d345	27	
7	1	files/Templates/Meeting notes.md	c0279758bb570afdcdbc2471b2f16285	3	Meeting notes.md	8	7	326	1617856667	1617856667	0	0	0687029ed2967d0998b44639824a13ac	27	
8	1	files/Templates/Diagram & table.ods	0a89f154655f6d4a0098bc4e6ca87367	3	Diagram & table.ods	4	3	13378	1617856667	1617856667	0	0	2a36d9ef82e8dfe2d183d6c59dc0a916	27	
9	1	files/Templates/Readme.md	71fa2e74ab30f39eed525572ccc3bbec	3	Readme.md	8	7	399	1617856667	1617856667	0	0	24a682c8d2152ac3f19011ebdefb21b0	27	
3	1	files/Templates	530b342d0b8164ff3b4754c2273a453e	2	Templates	2	1	181759	1617856668	1617856668	0	0	606e889c03f66	31	
16	1	files/Documents/Welcome to Nextcloud Hub.docx	b44cb84f22ceddc4ca2826e026038091	15	Welcome to Nextcloud Hub.docx	10	3	25150	1617856668	1617856668	0	0	75c1dce9d842c6b99d765fd896f84302	27	
17	1	files/Documents/Readme.md	51ec9e44357d147dd5c212b850f6910f	15	Readme.md	8	7	136	1617856668	1617856668	0	0	d7dff5ec445e7d5a2b12eef79947d9a9	27	
18	1	files/Documents/Example.md	efe0853470dd0663db34818b444328dd	15	Example.md	8	7	1095	1617856668	1617856668	0	0	9c204d08d775be8fa7e166995d062e1e	27	
19	1	files/Documents/Nextcloud flyer.pdf	9c5b4dc7182a7435767708ac3e8d126c	15	Nextcloud flyer.pdf	11	3	374008	1617856668	1617856668	0	0	e225cf0090001c2d3fa32e0af3574a64	27	
15	1	files/Documents	0ad78ba05b6961d92f7970b2b3922eca	2	Documents	2	1	400389	1617856668	1617856668	0	0	606e889c1911a	31	
21	1	files/Photos/Frog.jpg	d6219add1a9129ed0c1513af985e2081	20	Frog.jpg	13	12	457744	1617856668	1617856668	0	0	79fed966b64f05b960cb9df71cb29368	27	
22	1	files/Photos/Vineyard.jpg	14e5f2670b0817614acd52269d971db8	20	Vineyard.jpg	13	12	427030	1617856668	1617856668	0	0	ea94310f6ba54c1bc52fa75716445383	27	
23	1	files/Photos/Toucan.jpg	681d1e78f46a233e12ecfa722cbc2aef	20	Toucan.jpg	13	12	167989	1617856668	1617856668	0	0	70b22a0825216f4d62cb2872ec9688ae	27	
24	1	files/Photos/Library.jpg	0b785d02a19fc00979f82f6b54a05805	20	Library.jpg	13	12	2170375	1617856668	1617856668	0	0	2228cab8795ee0953b852d1c25cddf1c	27	
25	1	files/Photos/Birdie.jpg	cd31c7af3a0ec6e15782b5edd2774549	20	Birdie.jpg	13	12	593508	1617856668	1617856668	0	0	f62cdd57123b6db3fbc6c45aa43cc1b4	27	
26	1	files/Photos/Gorilla.jpg	6d5f5956d8ff76a5f290cebb56402789	20	Gorilla.jpg	13	12	474653	1617856668	1617856668	0	0	4c7049ad17db542657f3bed9d4641053	27	
27	1	files/Photos/Steps.jpg	7b2ca8d05bbad97e00cbf5833d43e912	20	Steps.jpg	13	12	567689	1617856668	1617856668	0	0	3dac45c005aa14dcbb16857f514f27c3	27	
28	1	files/Photos/Nextcloud community.jpg	b9b3caef83a2a1c20354b98df6bcd9d0	20	Nextcloud community.jpg	13	12	797325	1617856668	1617856668	0	0	c1955ee57a1a524570885a9ee32aba14	27	
29	1	files/Photos/Readme.md	2a4ac36bb841d25d06d164f291ee97db	20	Readme.md	8	7	150	1617856668	1617856668	0	0	b85015e988517a615fdb166d11e740ea	27	
1	1		d41d8cd98f00b204e9800998ecf8427e	-1		2	1	16792351	1617856668	1617856667	0	0	606e889c5f490	23	
30	1	files/Reasons to use Nextcloud.pdf	418b19142a61c5bef296ea56ee144ca3	2	Reasons to use Nextcloud.pdf	11	3	791921	1617856668	1617856668	0	0	e1c58dae2b9e295515456cca94421bda	27	
31	1	files/Nextcloud intro.mp4	e4919345bcc87d4585a5525daaad99c0	2	Nextcloud intro.mp4	15	14	3963036	1617856668	1617856668	0	0	1627989a2e760528d4e166337038d456	27	
32	1	files/Nextcloud Manual.pdf	2bc58a43566a8edde804a4a97a9c7469	2	Nextcloud Manual.pdf	11	3	5748185	1617856668	1617856668	0	0	86e63d8c6bf5ec1658ee039d7d4b78c0	27	
33	1	files/Nextcloud.png	2bcc0ff06465ef1bfc4a868efde1e485	2	Nextcloud.png	16	12	50598	1617856668	1617856668	0	0	8456744c07d6f479f8289cebefcf092a	27	
10	1	files/Templates/Product plan.md	a9fbf58bf31cebb8143f7ad3a5205633	3	Product plan.md	8	7	573	1617856667	1617856667	0	0	bd2667dfc2ed8edef7ba53af98d1b988	27	
11	1	files/Templates/Invoice.odt	40fdccb51b6c3e3cf20532e06ed5016e	3	Invoice.odt	6	3	17276	1617856667	1617856667	0	0	80ef0648ac36a43e951971996aca3d08	27	
12	1	files/Templates/Elegant.odp	f3ec70ed694c0ca215f094b98eb046a7	3	Elegant.odp	9	3	14316	1617856667	1617856667	0	0	763e986abe21685ecf5a6fd9db7fde87	27	
13	1	files/Templates/Simple.odp	a2c90ff606d31419d699b0b437969c61	3	Simple.odp	9	3	14810	1617856668	1617856668	0	0	03ba6694d0df7f58b7e7dbcdcee3d883	27	
14	1	files/Templates/Impact effort matrix.whiteboard	c5e3b589ec8f9dd6afdebe0ac6feeac8	3	Impact effort matrix.whiteboard	5	3	52674	1617856668	1617856668	0	0	df2cb6229287b9027ef0e4fc6f10b100	27	
20	1	files/Photos	d01bb67e7b71dd49fd06bad922f521c9	2	Photos	2	1	5656463	1617856668	1617856668	0	0	606e889c47917	31	
2	1	files	45b963397aa40d4a0063e0d85e4fe7a1	1	files	2	1	16792351	1617856668	1617856668	0	0	606e889c5f490	31	
34	2		d41d8cd98f00b204e9800998ecf8427e	-1		2	1	-1	1617856672	1617856672	0	0	606e88a033dc2	23	
36	2	appdata_ocn9h466gzrn/appstore	b8b06fa0544a820156ecd13ebcf2744e	35	appstore	2	1	0	1617856672	1617856672	0	0	606e88a0375fd	31	
37	2	appdata_ocn9h466gzrn/appstore/apps.json	b590f3f67e1a0ecaa262b60ce1e23adb	36	apps.json	17	3	1802517	1617856672	1617856672	0	0	781a1e037df058083c8704b0d5e74554	27	
38	2	appdata_ocn9h466gzrn/preview	2dc61216f91684c33093fc2d8c64c463	35	preview	2	1	0	1617856801	1617856801	0	0	606e89217470a	31	
35	2	appdata_ocn9h466gzrn	82cd2b53045485317b4cfdbef6633181	34	appdata_ocn9h466gzrn	2	1	0	1617856801	1617856801	0	0	606e88a033abe	31	
\.


--
-- Data for Name: oc_filecache_extended; Type: TABLE DATA; Schema: public; Owner: nextcloud
--

COPY public.oc_filecache_extended (fileid, metadata_etag, creation_time, upload_time) FROM stdin;
\.


--
-- Data for Name: oc_files_trash; Type: TABLE DATA; Schema: public; Owner: nextcloud
--

COPY public.oc_files_trash (auto_id, id, "user", "timestamp", location, type, mime) FROM stdin;
\.


--
-- Data for Name: oc_flow_checks; Type: TABLE DATA; Schema: public; Owner: nextcloud
--

COPY public.oc_flow_checks (id, class, operator, value, hash) FROM stdin;
\.


--
-- Data for Name: oc_flow_operations; Type: TABLE DATA; Schema: public; Owner: nextcloud
--

COPY public.oc_flow_operations (id, class, name, checks, operation, entity, events) FROM stdin;
\.


--
-- Data for Name: oc_flow_operations_scope; Type: TABLE DATA; Schema: public; Owner: nextcloud
--

COPY public.oc_flow_operations_scope (id, operation_id, type, value) FROM stdin;
\.


--
-- Data for Name: oc_group_admin; Type: TABLE DATA; Schema: public; Owner: nextcloud
--

COPY public.oc_group_admin (gid, uid) FROM stdin;
\.


--
-- Data for Name: oc_group_user; Type: TABLE DATA; Schema: public; Owner: nextcloud
--

COPY public.oc_group_user (gid, uid) FROM stdin;
admin	admin
\.


--
-- Data for Name: oc_groups; Type: TABLE DATA; Schema: public; Owner: nextcloud
--

COPY public.oc_groups (gid, displayname) FROM stdin;
admin	admin
\.


--
-- Data for Name: oc_jobs; Type: TABLE DATA; Schema: public; Owner: nextcloud
--

COPY public.oc_jobs (id, class, argument, last_run, last_checked, reserved_at, execution_duration) FROM stdin;
16	OCA\\Files\\BackgroundJob\\CleanupFileLocks	null	1617857401	1617857401	0	0
21	OCA\\DAV\\BackgroundJob\\CleanupDirectLinksJob	null	1617856801	1617857401	0	0
26	OC\\Log\\Rotate	null	1617857401	1617857401	0	0
3	OCA\\Activity\\BackgroundJob\\EmailNotification	null	1617856801	1617857401	0	0
7	OCA\\Files_Sharing\\ExpireSharesJob	null	1617856801	1617857401	0	0
17	OCA\\Files\\BackgroundJob\\CleanupDirectEditingTokens	null	1617856801	1617857401	0	0
14	OCA\\Files\\BackgroundJob\\ScanFiles	null	1617856801	1617857401	0	0
22	OCA\\DAV\\BackgroundJob\\UpdateCalendarResourcesRoomsBackgroundJob	null	1617856801	1617857401	0	0
8	OCA\\Files_Sharing\\BackgroundJob\\FederatedSharesDiscoverJob	null	1617856801	1617857401	0	0
4	OCA\\Activity\\BackgroundJob\\ExpireActivities	null	1617856801	1617857401	0	0
27	OC\\Preview\\BackgroundCleanupJob	null	1617856801	1617857401	0	0
15	OCA\\Files\\BackgroundJob\\DeleteOrphanedItems	null	1617856801	1617857401	0	0
18	OCA\\Files_Trashbin\\BackgroundJob\\ExpireTrash	null	1617856801	1617857401	0	0
9	OCA\\NextcloudAnnouncements\\Cron\\Crawler	null	1617856801	1617857401	0	0
12	OCA\\Files_Versions\\BackgroundJob\\ExpireVersions	null	1617856801	1617857401	0	0
25	OC\\Authentication\\Token\\DefaultTokenCleanupJob	null	1617857401	1617857401	0	0
24	OCA\\DAV\\BackgroundJob\\EventReminderJob	null	1617857401	1617857401	0	0
10	OCA\\Text\\Cron\\Cleanup	null	1617857401	1617857401	0	0
1	OCA\\UserStatus\\BackgroundJob\\ClearOldStatusesBackgroundJob	null	1617857401	1617857401	0	0
23	OCA\\DAV\\BackgroundJob\\CleanupInvitationTokenJob	null	1617856801	1617857401	0	0
19	OCA\\UpdateNotification\\Notification\\BackgroundJob	null	1617856801	1617857401	0	0
2	OCA\\Support\\BackgroundJobs\\CheckSubscription	null	1617857401	1617857401	0	0
13	OCA\\Federation\\SyncJob	null	1617856801	1617857401	0	0
11	OCA\\WorkflowEngine\\BackgroundJobs\\Rotate	null	1617856801	1617857401	0	0
20	OCA\\ContactsInteraction\\BackgroundJob\\CleanupJob	null	1617856801	1617857401	0	0
5	OCA\\Activity\\BackgroundJob\\DigestMail	null	1617856801	1617857401	0	0
6	OCA\\Files_Sharing\\DeleteOrphanedSharesJob	null	1617856801	1617857401	0	0
\.


--
-- Data for Name: oc_login_flow_v2; Type: TABLE DATA; Schema: public; Owner: nextcloud
--

COPY public.oc_login_flow_v2 (id, "timestamp", started, poll_token, login_token, public_key, private_key, client_name, login_name, server, app_password) FROM stdin;
\.


--
-- Data for Name: oc_migrations; Type: TABLE DATA; Schema: public; Owner: nextcloud
--

COPY public.oc_migrations (app, version) FROM stdin;
core	13000Date20170705121758
core	13000Date20170718121200
core	13000Date20170814074715
core	13000Date20170919121250
core	13000Date20170926101637
core	14000Date20180129121024
core	14000Date20180404140050
core	14000Date20180516101403
core	14000Date20180518120534
core	14000Date20180522074438
core	14000Date20180626223656
core	14000Date20180710092004
core	14000Date20180712153140
core	15000Date20180926101451
core	15000Date20181015062942
core	15000Date20181029084625
core	16000Date20190207141427
core	16000Date20190212081545
core	16000Date20190427105638
core	16000Date20190428150708
core	17000Date20190514105811
core	18000Date20190920085628
core	18000Date20191014105105
core	18000Date20191204114856
core	19000Date20200211083441
core	20000Date20201109081915
core	20000Date20201109081918
core	20000Date20201109081919
core	20000Date20201111081915
core	21000Date20201120141228
core	21000Date20201202095923
core	21000Date20210119195004
federatedfilesharing	1010Date20200630191755
federatedfilesharing	1011Date20201120125158
user_status	0001Date20200602134824
user_status	0002Date20200902144824
user_status	1000Date20201111130204
oauth2	010401Date20181207190718
oauth2	010402Date20190107124745
activity	2006Date20170808154933
activity	2006Date20170808155040
activity	2006Date20170919095939
activity	2007Date20181107114613
activity	2008Date20181011095117
activity	2010Date20190416112817
activity	2011Date20201006132544
activity	2011Date20201006132545
activity	2011Date20201006132546
activity	2011Date20201006132547
activity	2011Date20201207091915
files_sharing	11300Date20201120141438
files_sharing	21000Date20201223143245
twofactor_backupcodes	1002Date20170607104347
twofactor_backupcodes	1002Date20170607113030
twofactor_backupcodes	1002Date20170919123342
twofactor_backupcodes	1002Date20170926101419
twofactor_backupcodes	1002Date20180821043638
notifications	2004Date20190107135757
text	010000Date20190617184535
text	030001Date20200402075029
text	030201Date20201116110353
text	030201Date20201116123153
workflowengine	2000Date20190808074233
federation	1010Date20200630191302
privacy	100Date20190217131943
files	11301Date20191205150729
files_trashbin	1010Date20200630192639
contactsinteraction	010000Date20200304152605
dav	1004Date20170825134824
dav	1004Date20170919104507
dav	1004Date20170924124212
dav	1004Date20170926103422
dav	1005Date20180413093149
dav	1005Date20180530124431
dav	1006Date20180619154313
dav	1006Date20180628111625
dav	1008Date20181030113700
dav	1008Date20181105104826
dav	1008Date20181105104833
dav	1008Date20181105110300
dav	1008Date20181105112049
dav	1008Date20181114084440
dav	1011Date20190725113607
dav	1011Date20190806104428
dav	1012Date20190808122342
dav	1016Date20201109085907
user_saml	3001Date20200630193443
\.


--
-- Data for Name: oc_mimetypes; Type: TABLE DATA; Schema: public; Owner: nextcloud
--

COPY public.oc_mimetypes (id, mimetype) FROM stdin;
1	httpd
2	httpd/unix-directory
3	application
4	application/vnd.oasis.opendocument.spreadsheet
5	application/octet-stream
6	application/vnd.oasis.opendocument.text
7	text
8	text/markdown
9	application/vnd.oasis.opendocument.presentation
10	application/vnd.openxmlformats-officedocument.wordprocessingml.document
11	application/pdf
12	image
13	image/jpeg
14	video
15	video/mp4
16	image/png
17	application/json
\.


--
-- Data for Name: oc_mounts; Type: TABLE DATA; Schema: public; Owner: nextcloud
--

COPY public.oc_mounts (id, storage_id, root_id, user_id, mount_point, mount_id) FROM stdin;
1	1	1	admin	/admin/	\N
\.


--
-- Data for Name: oc_notifications; Type: TABLE DATA; Schema: public; Owner: nextcloud
--

COPY public.oc_notifications (notification_id, app, "user", "timestamp", object_type, object_id, subject, subject_parameters, message, message_parameters, link, icon, actions) FROM stdin;
\.


--
-- Data for Name: oc_notifications_pushtokens; Type: TABLE DATA; Schema: public; Owner: nextcloud
--

COPY public.oc_notifications_pushtokens (uid, token, deviceidentifier, devicepublickey, devicepublickeyhash, pushtokenhash, proxyserver, apptype) FROM stdin;
\.


--
-- Data for Name: oc_oauth2_access_tokens; Type: TABLE DATA; Schema: public; Owner: nextcloud
--

COPY public.oc_oauth2_access_tokens (id, token_id, client_id, hashed_code, encrypted_token) FROM stdin;
\.


--
-- Data for Name: oc_oauth2_clients; Type: TABLE DATA; Schema: public; Owner: nextcloud
--

COPY public.oc_oauth2_clients (id, name, redirect_uri, client_identifier, secret) FROM stdin;
\.


--
-- Data for Name: oc_preferences; Type: TABLE DATA; Schema: public; Owner: nextcloud
--

COPY public.oc_preferences (userid, appid, configkey, configvalue) FROM stdin;
admin	login	lastLogin	1617856667
admin	core	templateDirectory	Templates/
\.


--
-- Data for Name: oc_privacy_admins; Type: TABLE DATA; Schema: public; Owner: nextcloud
--

COPY public.oc_privacy_admins (id, displayname) FROM stdin;
\.


--
-- Data for Name: oc_properties; Type: TABLE DATA; Schema: public; Owner: nextcloud
--

COPY public.oc_properties (id, userid, propertypath, propertyname, propertyvalue) FROM stdin;
\.


--
-- Data for Name: oc_recent_contact; Type: TABLE DATA; Schema: public; Owner: nextcloud
--

COPY public.oc_recent_contact (id, actor_uid, uid, email, federated_cloud_id, card, last_contact) FROM stdin;
\.


--
-- Data for Name: oc_schedulingobjects; Type: TABLE DATA; Schema: public; Owner: nextcloud
--

COPY public.oc_schedulingobjects (id, principaluri, calendardata, uri, lastmodified, etag, size) FROM stdin;
\.


--
-- Data for Name: oc_share; Type: TABLE DATA; Schema: public; Owner: nextcloud
--

COPY public.oc_share (id, share_type, share_with, password, uid_owner, uid_initiator, parent, item_type, item_source, item_target, file_source, file_target, permissions, stime, accepted, expiration, token, mail_send, share_name, password_by_talk, note, hide_download, label) FROM stdin;
\.


--
-- Data for Name: oc_share_external; Type: TABLE DATA; Schema: public; Owner: nextcloud
--

COPY public.oc_share_external (id, parent, share_type, remote, remote_id, share_token, password, name, owner, "user", mountpoint, mountpoint_hash, accepted) FROM stdin;
\.


--
-- Data for Name: oc_storages; Type: TABLE DATA; Schema: public; Owner: nextcloud
--

COPY public.oc_storages (numeric_id, id, available, last_checked) FROM stdin;
1	home::admin	1	\N
2	local::/var/www/html/data/	1	\N
\.


--
-- Data for Name: oc_storages_credentials; Type: TABLE DATA; Schema: public; Owner: nextcloud
--

COPY public.oc_storages_credentials (id, "user", identifier, credentials) FROM stdin;
\.


--
-- Data for Name: oc_systemtag; Type: TABLE DATA; Schema: public; Owner: nextcloud
--

COPY public.oc_systemtag (id, name, visibility, editable) FROM stdin;
\.


--
-- Data for Name: oc_systemtag_group; Type: TABLE DATA; Schema: public; Owner: nextcloud
--

COPY public.oc_systemtag_group (systemtagid, gid) FROM stdin;
\.


--
-- Data for Name: oc_systemtag_object_mapping; Type: TABLE DATA; Schema: public; Owner: nextcloud
--

COPY public.oc_systemtag_object_mapping (objectid, objecttype, systemtagid) FROM stdin;
\.


--
-- Data for Name: oc_text_documents; Type: TABLE DATA; Schema: public; Owner: nextcloud
--

COPY public.oc_text_documents (id, current_version, last_saved_version, last_saved_version_time, last_saved_version_etag, base_version_etag) FROM stdin;
\.


--
-- Data for Name: oc_text_sessions; Type: TABLE DATA; Schema: public; Owner: nextcloud
--

COPY public.oc_text_sessions (id, user_id, guest_name, color, token, document_id, last_contact) FROM stdin;
\.


--
-- Data for Name: oc_text_steps; Type: TABLE DATA; Schema: public; Owner: nextcloud
--

COPY public.oc_text_steps (id, document_id, session_id, data, version) FROM stdin;
\.


--
-- Data for Name: oc_trusted_servers; Type: TABLE DATA; Schema: public; Owner: nextcloud
--

COPY public.oc_trusted_servers (id, url, url_hash, token, shared_secret, status, sync_token) FROM stdin;
\.


--
-- Data for Name: oc_twofactor_backupcodes; Type: TABLE DATA; Schema: public; Owner: nextcloud
--

COPY public.oc_twofactor_backupcodes (id, user_id, code, used) FROM stdin;
\.


--
-- Data for Name: oc_twofactor_providers; Type: TABLE DATA; Schema: public; Owner: nextcloud
--

COPY public.oc_twofactor_providers (provider_id, uid, enabled) FROM stdin;
\.


--
-- Data for Name: oc_user_saml_auth_token; Type: TABLE DATA; Schema: public; Owner: nextcloud
--

COPY public.oc_user_saml_auth_token (id, uid, name, token) FROM stdin;
\.


--
-- Data for Name: oc_user_saml_users; Type: TABLE DATA; Schema: public; Owner: nextcloud
--

COPY public.oc_user_saml_users (uid, displayname, home) FROM stdin;
\.


--
-- Data for Name: oc_user_status; Type: TABLE DATA; Schema: public; Owner: nextcloud
--

COPY public.oc_user_status (id, user_id, status, status_timestamp, is_user_defined, message_id, custom_icon, custom_message, clear_at) FROM stdin;
\.


--
-- Data for Name: oc_user_transfer_owner; Type: TABLE DATA; Schema: public; Owner: nextcloud
--

COPY public.oc_user_transfer_owner (id, source_user, target_user, file_id, node_name) FROM stdin;
\.


--
-- Data for Name: oc_users; Type: TABLE DATA; Schema: public; Owner: nextcloud
--

COPY public.oc_users (uid, displayname, password, uid_lower) FROM stdin;
admin	\N	3|$argon2id$v=19$m=65536,t=4,p=1$U3RiOWJPOTgwMDhoWkF4WQ$9jaWUvhZJw0c6zrFe0CHtIwriEz4JA2oOBf/OlhtAeQ	admin
\.


--
-- Data for Name: oc_vcategory; Type: TABLE DATA; Schema: public; Owner: nextcloud
--

COPY public.oc_vcategory (id, uid, type, category) FROM stdin;
\.


--
-- Data for Name: oc_vcategory_to_object; Type: TABLE DATA; Schema: public; Owner: nextcloud
--

COPY public.oc_vcategory_to_object (objid, categoryid, type) FROM stdin;
\.


--
-- Data for Name: oc_webauthn; Type: TABLE DATA; Schema: public; Owner: nextcloud
--

COPY public.oc_webauthn (id, uid, name, public_key_credential_id, data) FROM stdin;
\.


--
-- Data for Name: oc_whats_new; Type: TABLE DATA; Schema: public; Owner: nextcloud
--

COPY public.oc_whats_new (id, version, etag, last_check, data) FROM stdin;
\.


--
-- Name: oc_accounts_data_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nextcloud
--

SELECT pg_catalog.setval('public.oc_accounts_data_id_seq', 1, false);


--
-- Name: oc_activity_activity_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nextcloud
--

SELECT pg_catalog.setval('public.oc_activity_activity_id_seq', 32, true);


--
-- Name: oc_activity_mq_mail_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nextcloud
--

SELECT pg_catalog.setval('public.oc_activity_mq_mail_id_seq', 1, false);


--
-- Name: oc_addressbookchanges_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nextcloud
--

SELECT pg_catalog.setval('public.oc_addressbookchanges_id_seq', 1, false);


--
-- Name: oc_addressbooks_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nextcloud
--

SELECT pg_catalog.setval('public.oc_addressbooks_id_seq', 1, true);


--
-- Name: oc_authtoken_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nextcloud
--

SELECT pg_catalog.setval('public.oc_authtoken_id_seq', 1, false);


--
-- Name: oc_bruteforce_attempts_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nextcloud
--

SELECT pg_catalog.setval('public.oc_bruteforce_attempts_id_seq', 1, false);


--
-- Name: oc_calendar_invitations_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nextcloud
--

SELECT pg_catalog.setval('public.oc_calendar_invitations_id_seq', 1, false);


--
-- Name: oc_calendar_reminders_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nextcloud
--

SELECT pg_catalog.setval('public.oc_calendar_reminders_id_seq', 1, false);


--
-- Name: oc_calendar_resources_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nextcloud
--

SELECT pg_catalog.setval('public.oc_calendar_resources_id_seq', 1, false);


--
-- Name: oc_calendar_resources_md_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nextcloud
--

SELECT pg_catalog.setval('public.oc_calendar_resources_md_id_seq', 1, false);


--
-- Name: oc_calendar_rooms_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nextcloud
--

SELECT pg_catalog.setval('public.oc_calendar_rooms_id_seq', 1, false);


--
-- Name: oc_calendar_rooms_md_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nextcloud
--

SELECT pg_catalog.setval('public.oc_calendar_rooms_md_id_seq', 1, false);


--
-- Name: oc_calendarchanges_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nextcloud
--

SELECT pg_catalog.setval('public.oc_calendarchanges_id_seq', 1, false);


--
-- Name: oc_calendarobjects_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nextcloud
--

SELECT pg_catalog.setval('public.oc_calendarobjects_id_seq', 1, false);


--
-- Name: oc_calendarobjects_props_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nextcloud
--

SELECT pg_catalog.setval('public.oc_calendarobjects_props_id_seq', 1, false);


--
-- Name: oc_calendars_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nextcloud
--

SELECT pg_catalog.setval('public.oc_calendars_id_seq', 1, true);


--
-- Name: oc_calendarsubscriptions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nextcloud
--

SELECT pg_catalog.setval('public.oc_calendarsubscriptions_id_seq', 1, false);


--
-- Name: oc_cards_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nextcloud
--

SELECT pg_catalog.setval('public.oc_cards_id_seq', 1, false);


--
-- Name: oc_cards_properties_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nextcloud
--

SELECT pg_catalog.setval('public.oc_cards_properties_id_seq', 1, false);


--
-- Name: oc_collres_collections_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nextcloud
--

SELECT pg_catalog.setval('public.oc_collres_collections_id_seq', 1, false);


--
-- Name: oc_comments_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nextcloud
--

SELECT pg_catalog.setval('public.oc_comments_id_seq', 1, false);


--
-- Name: oc_dav_cal_proxy_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nextcloud
--

SELECT pg_catalog.setval('public.oc_dav_cal_proxy_id_seq', 1, false);


--
-- Name: oc_dav_shares_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nextcloud
--

SELECT pg_catalog.setval('public.oc_dav_shares_id_seq', 1, false);


--
-- Name: oc_direct_edit_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nextcloud
--

SELECT pg_catalog.setval('public.oc_direct_edit_id_seq', 1, false);


--
-- Name: oc_directlink_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nextcloud
--

SELECT pg_catalog.setval('public.oc_directlink_id_seq', 1, false);


--
-- Name: oc_file_locks_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nextcloud
--

SELECT pg_catalog.setval('public.oc_file_locks_id_seq', 1, false);


--
-- Name: oc_filecache_fileid_seq; Type: SEQUENCE SET; Schema: public; Owner: nextcloud
--

SELECT pg_catalog.setval('public.oc_filecache_fileid_seq', 38, true);


--
-- Name: oc_files_trash_auto_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nextcloud
--

SELECT pg_catalog.setval('public.oc_files_trash_auto_id_seq', 1, false);


--
-- Name: oc_flow_checks_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nextcloud
--

SELECT pg_catalog.setval('public.oc_flow_checks_id_seq', 1, false);


--
-- Name: oc_flow_operations_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nextcloud
--

SELECT pg_catalog.setval('public.oc_flow_operations_id_seq', 1, false);


--
-- Name: oc_flow_operations_scope_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nextcloud
--

SELECT pg_catalog.setval('public.oc_flow_operations_scope_id_seq', 1, false);


--
-- Name: oc_jobs_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nextcloud
--

SELECT pg_catalog.setval('public.oc_jobs_id_seq', 27, true);


--
-- Name: oc_login_flow_v2_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nextcloud
--

SELECT pg_catalog.setval('public.oc_login_flow_v2_id_seq', 1, false);


--
-- Name: oc_mimetypes_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nextcloud
--

SELECT pg_catalog.setval('public.oc_mimetypes_id_seq', 17, true);


--
-- Name: oc_mounts_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nextcloud
--

SELECT pg_catalog.setval('public.oc_mounts_id_seq', 1, true);


--
-- Name: oc_notifications_notification_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nextcloud
--

SELECT pg_catalog.setval('public.oc_notifications_notification_id_seq', 1, false);


--
-- Name: oc_oauth2_access_tokens_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nextcloud
--

SELECT pg_catalog.setval('public.oc_oauth2_access_tokens_id_seq', 1, false);


--
-- Name: oc_oauth2_clients_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nextcloud
--

SELECT pg_catalog.setval('public.oc_oauth2_clients_id_seq', 1, false);


--
-- Name: oc_privacy_admins_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nextcloud
--

SELECT pg_catalog.setval('public.oc_privacy_admins_id_seq', 1, false);


--
-- Name: oc_properties_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nextcloud
--

SELECT pg_catalog.setval('public.oc_properties_id_seq', 1, false);


--
-- Name: oc_recent_contact_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nextcloud
--

SELECT pg_catalog.setval('public.oc_recent_contact_id_seq', 1, false);


--
-- Name: oc_schedulingobjects_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nextcloud
--

SELECT pg_catalog.setval('public.oc_schedulingobjects_id_seq', 1, false);


--
-- Name: oc_share_external_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nextcloud
--

SELECT pg_catalog.setval('public.oc_share_external_id_seq', 1, false);


--
-- Name: oc_share_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nextcloud
--

SELECT pg_catalog.setval('public.oc_share_id_seq', 1, false);


--
-- Name: oc_storages_credentials_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nextcloud
--

SELECT pg_catalog.setval('public.oc_storages_credentials_id_seq', 1, false);


--
-- Name: oc_storages_numeric_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nextcloud
--

SELECT pg_catalog.setval('public.oc_storages_numeric_id_seq', 2, true);


--
-- Name: oc_systemtag_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nextcloud
--

SELECT pg_catalog.setval('public.oc_systemtag_id_seq', 1, false);


--
-- Name: oc_text_sessions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nextcloud
--

SELECT pg_catalog.setval('public.oc_text_sessions_id_seq', 1, false);


--
-- Name: oc_text_steps_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nextcloud
--

SELECT pg_catalog.setval('public.oc_text_steps_id_seq', 1, false);


--
-- Name: oc_trusted_servers_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nextcloud
--

SELECT pg_catalog.setval('public.oc_trusted_servers_id_seq', 1, false);


--
-- Name: oc_twofactor_backupcodes_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nextcloud
--

SELECT pg_catalog.setval('public.oc_twofactor_backupcodes_id_seq', 1, false);


--
-- Name: oc_user_saml_auth_token_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nextcloud
--

SELECT pg_catalog.setval('public.oc_user_saml_auth_token_id_seq', 1, false);


--
-- Name: oc_user_status_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nextcloud
--

SELECT pg_catalog.setval('public.oc_user_status_id_seq', 1, false);


--
-- Name: oc_user_transfer_owner_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nextcloud
--

SELECT pg_catalog.setval('public.oc_user_transfer_owner_id_seq', 1, false);


--
-- Name: oc_vcategory_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nextcloud
--

SELECT pg_catalog.setval('public.oc_vcategory_id_seq', 1, false);


--
-- Name: oc_webauthn_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nextcloud
--

SELECT pg_catalog.setval('public.oc_webauthn_id_seq', 1, false);


--
-- Name: oc_whats_new_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nextcloud
--

SELECT pg_catalog.setval('public.oc_whats_new_id_seq', 1, false);


--
-- Name: oc_accounts_data oc_accounts_data_pkey; Type: CONSTRAINT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_accounts_data
    ADD CONSTRAINT oc_accounts_data_pkey PRIMARY KEY (id);


--
-- Name: oc_accounts oc_accounts_pkey; Type: CONSTRAINT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_accounts
    ADD CONSTRAINT oc_accounts_pkey PRIMARY KEY (uid);


--
-- Name: oc_activity_mq oc_activity_mq_pkey; Type: CONSTRAINT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_activity_mq
    ADD CONSTRAINT oc_activity_mq_pkey PRIMARY KEY (mail_id);


--
-- Name: oc_activity oc_activity_pkey; Type: CONSTRAINT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_activity
    ADD CONSTRAINT oc_activity_pkey PRIMARY KEY (activity_id);


--
-- Name: oc_addressbookchanges oc_addressbookchanges_pkey; Type: CONSTRAINT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_addressbookchanges
    ADD CONSTRAINT oc_addressbookchanges_pkey PRIMARY KEY (id);


--
-- Name: oc_addressbooks oc_addressbooks_pkey; Type: CONSTRAINT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_addressbooks
    ADD CONSTRAINT oc_addressbooks_pkey PRIMARY KEY (id);


--
-- Name: oc_appconfig oc_appconfig_pkey; Type: CONSTRAINT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_appconfig
    ADD CONSTRAINT oc_appconfig_pkey PRIMARY KEY (appid, configkey);


--
-- Name: oc_authtoken oc_authtoken_pkey; Type: CONSTRAINT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_authtoken
    ADD CONSTRAINT oc_authtoken_pkey PRIMARY KEY (id);


--
-- Name: oc_bruteforce_attempts oc_bruteforce_attempts_pkey; Type: CONSTRAINT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_bruteforce_attempts
    ADD CONSTRAINT oc_bruteforce_attempts_pkey PRIMARY KEY (id);


--
-- Name: oc_calendar_invitations oc_calendar_invitations_pkey; Type: CONSTRAINT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_calendar_invitations
    ADD CONSTRAINT oc_calendar_invitations_pkey PRIMARY KEY (id);


--
-- Name: oc_calendar_reminders oc_calendar_reminders_pkey; Type: CONSTRAINT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_calendar_reminders
    ADD CONSTRAINT oc_calendar_reminders_pkey PRIMARY KEY (id);


--
-- Name: oc_calendar_resources_md oc_calendar_resources_md_pkey; Type: CONSTRAINT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_calendar_resources_md
    ADD CONSTRAINT oc_calendar_resources_md_pkey PRIMARY KEY (id);


--
-- Name: oc_calendar_resources oc_calendar_resources_pkey; Type: CONSTRAINT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_calendar_resources
    ADD CONSTRAINT oc_calendar_resources_pkey PRIMARY KEY (id);


--
-- Name: oc_calendar_rooms_md oc_calendar_rooms_md_pkey; Type: CONSTRAINT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_calendar_rooms_md
    ADD CONSTRAINT oc_calendar_rooms_md_pkey PRIMARY KEY (id);


--
-- Name: oc_calendar_rooms oc_calendar_rooms_pkey; Type: CONSTRAINT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_calendar_rooms
    ADD CONSTRAINT oc_calendar_rooms_pkey PRIMARY KEY (id);


--
-- Name: oc_calendarchanges oc_calendarchanges_pkey; Type: CONSTRAINT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_calendarchanges
    ADD CONSTRAINT oc_calendarchanges_pkey PRIMARY KEY (id);


--
-- Name: oc_calendarobjects oc_calendarobjects_pkey; Type: CONSTRAINT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_calendarobjects
    ADD CONSTRAINT oc_calendarobjects_pkey PRIMARY KEY (id);


--
-- Name: oc_calendarobjects_props oc_calendarobjects_props_pkey; Type: CONSTRAINT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_calendarobjects_props
    ADD CONSTRAINT oc_calendarobjects_props_pkey PRIMARY KEY (id);


--
-- Name: oc_calendars oc_calendars_pkey; Type: CONSTRAINT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_calendars
    ADD CONSTRAINT oc_calendars_pkey PRIMARY KEY (id);


--
-- Name: oc_calendarsubscriptions oc_calendarsubscriptions_pkey; Type: CONSTRAINT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_calendarsubscriptions
    ADD CONSTRAINT oc_calendarsubscriptions_pkey PRIMARY KEY (id);


--
-- Name: oc_cards oc_cards_pkey; Type: CONSTRAINT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_cards
    ADD CONSTRAINT oc_cards_pkey PRIMARY KEY (id);


--
-- Name: oc_cards_properties oc_cards_properties_pkey; Type: CONSTRAINT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_cards_properties
    ADD CONSTRAINT oc_cards_properties_pkey PRIMARY KEY (id);


--
-- Name: oc_collres_accesscache oc_collres_accesscache_pkey; Type: CONSTRAINT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_collres_accesscache
    ADD CONSTRAINT oc_collres_accesscache_pkey PRIMARY KEY (user_id, collection_id, resource_type, resource_id);


--
-- Name: oc_collres_collections oc_collres_collections_pkey; Type: CONSTRAINT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_collres_collections
    ADD CONSTRAINT oc_collres_collections_pkey PRIMARY KEY (id);


--
-- Name: oc_collres_resources oc_collres_resources_pkey; Type: CONSTRAINT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_collres_resources
    ADD CONSTRAINT oc_collres_resources_pkey PRIMARY KEY (collection_id, resource_type, resource_id);


--
-- Name: oc_comments oc_comments_pkey; Type: CONSTRAINT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_comments
    ADD CONSTRAINT oc_comments_pkey PRIMARY KEY (id);


--
-- Name: oc_comments_read_markers oc_comments_read_markers_pkey; Type: CONSTRAINT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_comments_read_markers
    ADD CONSTRAINT oc_comments_read_markers_pkey PRIMARY KEY (user_id, object_type, object_id);


--
-- Name: oc_dav_cal_proxy oc_dav_cal_proxy_pkey; Type: CONSTRAINT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_dav_cal_proxy
    ADD CONSTRAINT oc_dav_cal_proxy_pkey PRIMARY KEY (id);


--
-- Name: oc_dav_shares oc_dav_shares_pkey; Type: CONSTRAINT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_dav_shares
    ADD CONSTRAINT oc_dav_shares_pkey PRIMARY KEY (id);


--
-- Name: oc_direct_edit oc_direct_edit_pkey; Type: CONSTRAINT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_direct_edit
    ADD CONSTRAINT oc_direct_edit_pkey PRIMARY KEY (id);


--
-- Name: oc_directlink oc_directlink_pkey; Type: CONSTRAINT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_directlink
    ADD CONSTRAINT oc_directlink_pkey PRIMARY KEY (id);


--
-- Name: oc_federated_reshares oc_federated_reshares_pkey; Type: CONSTRAINT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_federated_reshares
    ADD CONSTRAINT oc_federated_reshares_pkey PRIMARY KEY (share_id);


--
-- Name: oc_file_locks oc_file_locks_pkey; Type: CONSTRAINT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_file_locks
    ADD CONSTRAINT oc_file_locks_pkey PRIMARY KEY (id);


--
-- Name: oc_filecache_extended oc_filecache_extended_pkey; Type: CONSTRAINT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_filecache_extended
    ADD CONSTRAINT oc_filecache_extended_pkey PRIMARY KEY (fileid);


--
-- Name: oc_filecache oc_filecache_pkey; Type: CONSTRAINT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_filecache
    ADD CONSTRAINT oc_filecache_pkey PRIMARY KEY (fileid);


--
-- Name: oc_files_trash oc_files_trash_pkey; Type: CONSTRAINT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_files_trash
    ADD CONSTRAINT oc_files_trash_pkey PRIMARY KEY (auto_id);


--
-- Name: oc_flow_checks oc_flow_checks_pkey; Type: CONSTRAINT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_flow_checks
    ADD CONSTRAINT oc_flow_checks_pkey PRIMARY KEY (id);


--
-- Name: oc_flow_operations oc_flow_operations_pkey; Type: CONSTRAINT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_flow_operations
    ADD CONSTRAINT oc_flow_operations_pkey PRIMARY KEY (id);


--
-- Name: oc_flow_operations_scope oc_flow_operations_scope_pkey; Type: CONSTRAINT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_flow_operations_scope
    ADD CONSTRAINT oc_flow_operations_scope_pkey PRIMARY KEY (id);


--
-- Name: oc_group_admin oc_group_admin_pkey; Type: CONSTRAINT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_group_admin
    ADD CONSTRAINT oc_group_admin_pkey PRIMARY KEY (gid, uid);


--
-- Name: oc_group_user oc_group_user_pkey; Type: CONSTRAINT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_group_user
    ADD CONSTRAINT oc_group_user_pkey PRIMARY KEY (gid, uid);


--
-- Name: oc_groups oc_groups_pkey; Type: CONSTRAINT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_groups
    ADD CONSTRAINT oc_groups_pkey PRIMARY KEY (gid);


--
-- Name: oc_jobs oc_jobs_pkey; Type: CONSTRAINT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_jobs
    ADD CONSTRAINT oc_jobs_pkey PRIMARY KEY (id);


--
-- Name: oc_login_flow_v2 oc_login_flow_v2_pkey; Type: CONSTRAINT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_login_flow_v2
    ADD CONSTRAINT oc_login_flow_v2_pkey PRIMARY KEY (id);


--
-- Name: oc_migrations oc_migrations_pkey; Type: CONSTRAINT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_migrations
    ADD CONSTRAINT oc_migrations_pkey PRIMARY KEY (app, version);


--
-- Name: oc_mimetypes oc_mimetypes_pkey; Type: CONSTRAINT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_mimetypes
    ADD CONSTRAINT oc_mimetypes_pkey PRIMARY KEY (id);


--
-- Name: oc_mounts oc_mounts_pkey; Type: CONSTRAINT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_mounts
    ADD CONSTRAINT oc_mounts_pkey PRIMARY KEY (id);


--
-- Name: oc_notifications oc_notifications_pkey; Type: CONSTRAINT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_notifications
    ADD CONSTRAINT oc_notifications_pkey PRIMARY KEY (notification_id);


--
-- Name: oc_oauth2_access_tokens oc_oauth2_access_tokens_pkey; Type: CONSTRAINT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_oauth2_access_tokens
    ADD CONSTRAINT oc_oauth2_access_tokens_pkey PRIMARY KEY (id);


--
-- Name: oc_oauth2_clients oc_oauth2_clients_pkey; Type: CONSTRAINT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_oauth2_clients
    ADD CONSTRAINT oc_oauth2_clients_pkey PRIMARY KEY (id);


--
-- Name: oc_preferences oc_preferences_pkey; Type: CONSTRAINT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_preferences
    ADD CONSTRAINT oc_preferences_pkey PRIMARY KEY (userid, appid, configkey);


--
-- Name: oc_privacy_admins oc_privacy_admins_pkey; Type: CONSTRAINT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_privacy_admins
    ADD CONSTRAINT oc_privacy_admins_pkey PRIMARY KEY (id);


--
-- Name: oc_properties oc_properties_pkey; Type: CONSTRAINT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_properties
    ADD CONSTRAINT oc_properties_pkey PRIMARY KEY (id);


--
-- Name: oc_recent_contact oc_recent_contact_pkey; Type: CONSTRAINT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_recent_contact
    ADD CONSTRAINT oc_recent_contact_pkey PRIMARY KEY (id);


--
-- Name: oc_schedulingobjects oc_schedulingobjects_pkey; Type: CONSTRAINT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_schedulingobjects
    ADD CONSTRAINT oc_schedulingobjects_pkey PRIMARY KEY (id);


--
-- Name: oc_share_external oc_share_external_pkey; Type: CONSTRAINT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_share_external
    ADD CONSTRAINT oc_share_external_pkey PRIMARY KEY (id);


--
-- Name: oc_share oc_share_pkey; Type: CONSTRAINT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_share
    ADD CONSTRAINT oc_share_pkey PRIMARY KEY (id);


--
-- Name: oc_storages_credentials oc_storages_credentials_pkey; Type: CONSTRAINT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_storages_credentials
    ADD CONSTRAINT oc_storages_credentials_pkey PRIMARY KEY (id);


--
-- Name: oc_storages oc_storages_pkey; Type: CONSTRAINT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_storages
    ADD CONSTRAINT oc_storages_pkey PRIMARY KEY (numeric_id);


--
-- Name: oc_systemtag_group oc_systemtag_group_pkey; Type: CONSTRAINT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_systemtag_group
    ADD CONSTRAINT oc_systemtag_group_pkey PRIMARY KEY (gid, systemtagid);


--
-- Name: oc_systemtag_object_mapping oc_systemtag_object_mapping_pkey; Type: CONSTRAINT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_systemtag_object_mapping
    ADD CONSTRAINT oc_systemtag_object_mapping_pkey PRIMARY KEY (objecttype, objectid, systemtagid);


--
-- Name: oc_systemtag oc_systemtag_pkey; Type: CONSTRAINT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_systemtag
    ADD CONSTRAINT oc_systemtag_pkey PRIMARY KEY (id);


--
-- Name: oc_text_documents oc_text_documents_pkey; Type: CONSTRAINT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_text_documents
    ADD CONSTRAINT oc_text_documents_pkey PRIMARY KEY (id);


--
-- Name: oc_text_sessions oc_text_sessions_pkey; Type: CONSTRAINT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_text_sessions
    ADD CONSTRAINT oc_text_sessions_pkey PRIMARY KEY (id);


--
-- Name: oc_text_steps oc_text_steps_pkey; Type: CONSTRAINT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_text_steps
    ADD CONSTRAINT oc_text_steps_pkey PRIMARY KEY (id);


--
-- Name: oc_trusted_servers oc_trusted_servers_pkey; Type: CONSTRAINT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_trusted_servers
    ADD CONSTRAINT oc_trusted_servers_pkey PRIMARY KEY (id);


--
-- Name: oc_twofactor_backupcodes oc_twofactor_backupcodes_pkey; Type: CONSTRAINT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_twofactor_backupcodes
    ADD CONSTRAINT oc_twofactor_backupcodes_pkey PRIMARY KEY (id);


--
-- Name: oc_twofactor_providers oc_twofactor_providers_pkey; Type: CONSTRAINT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_twofactor_providers
    ADD CONSTRAINT oc_twofactor_providers_pkey PRIMARY KEY (provider_id, uid);


--
-- Name: oc_user_saml_auth_token oc_user_saml_auth_token_pkey; Type: CONSTRAINT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_user_saml_auth_token
    ADD CONSTRAINT oc_user_saml_auth_token_pkey PRIMARY KEY (id);


--
-- Name: oc_user_saml_users oc_user_saml_users_pkey; Type: CONSTRAINT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_user_saml_users
    ADD CONSTRAINT oc_user_saml_users_pkey PRIMARY KEY (uid);


--
-- Name: oc_user_status oc_user_status_pkey; Type: CONSTRAINT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_user_status
    ADD CONSTRAINT oc_user_status_pkey PRIMARY KEY (id);


--
-- Name: oc_user_transfer_owner oc_user_transfer_owner_pkey; Type: CONSTRAINT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_user_transfer_owner
    ADD CONSTRAINT oc_user_transfer_owner_pkey PRIMARY KEY (id);


--
-- Name: oc_users oc_users_pkey; Type: CONSTRAINT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_users
    ADD CONSTRAINT oc_users_pkey PRIMARY KEY (uid);


--
-- Name: oc_vcategory oc_vcategory_pkey; Type: CONSTRAINT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_vcategory
    ADD CONSTRAINT oc_vcategory_pkey PRIMARY KEY (id);


--
-- Name: oc_vcategory_to_object oc_vcategory_to_object_pkey; Type: CONSTRAINT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_vcategory_to_object
    ADD CONSTRAINT oc_vcategory_to_object_pkey PRIMARY KEY (categoryid, objid, type);


--
-- Name: oc_webauthn oc_webauthn_pkey; Type: CONSTRAINT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_webauthn
    ADD CONSTRAINT oc_webauthn_pkey PRIMARY KEY (id);


--
-- Name: oc_whats_new oc_whats_new_pkey; Type: CONSTRAINT; Schema: public; Owner: nextcloud
--

ALTER TABLE ONLY public.oc_whats_new
    ADD CONSTRAINT oc_whats_new_pkey PRIMARY KEY (id);


--
-- Name: accounts_data_name; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX accounts_data_name ON public.oc_accounts_data USING btree (name);


--
-- Name: accounts_data_uid; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX accounts_data_uid ON public.oc_accounts_data USING btree (uid);


--
-- Name: accounts_data_value; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX accounts_data_value ON public.oc_accounts_data USING btree (value);


--
-- Name: activity_filter; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX activity_filter ON public.oc_activity USING btree (affecteduser, type, app, "timestamp");


--
-- Name: activity_filter_by; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX activity_filter_by ON public.oc_activity USING btree (affecteduser, "user", "timestamp");


--
-- Name: activity_object; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX activity_object ON public.oc_activity USING btree (object_type, object_id);


--
-- Name: activity_user_time; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX activity_user_time ON public.oc_activity USING btree (affecteduser, "timestamp");


--
-- Name: addressbook_index; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE UNIQUE INDEX addressbook_index ON public.oc_addressbooks USING btree (principaluri, uri);


--
-- Name: addressbookid_synctoken; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX addressbookid_synctoken ON public.oc_addressbookchanges USING btree (addressbookid, synctoken);


--
-- Name: amp_latest_send_time; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX amp_latest_send_time ON public.oc_activity_mq USING btree (amq_latest_send);


--
-- Name: amp_timestamp_time; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX amp_timestamp_time ON public.oc_activity_mq USING btree (amq_timestamp);


--
-- Name: amp_user; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX amp_user ON public.oc_activity_mq USING btree (amq_affecteduser);


--
-- Name: appconfig_appid_key; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX appconfig_appid_key ON public.oc_appconfig USING btree (appid);


--
-- Name: appconfig_config_key_index; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX appconfig_config_key_index ON public.oc_appconfig USING btree (configkey);


--
-- Name: authtoken_last_activity_idx; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX authtoken_last_activity_idx ON public.oc_authtoken USING btree (last_activity);


--
-- Name: authtoken_token_index; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE UNIQUE INDEX authtoken_token_index ON public.oc_authtoken USING btree (token);


--
-- Name: authtoken_uid_index; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX authtoken_uid_index ON public.oc_authtoken USING btree (uid);


--
-- Name: bruteforce_attempts_ip; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX bruteforce_attempts_ip ON public.oc_bruteforce_attempts USING btree (ip);


--
-- Name: bruteforce_attempts_subnet; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX bruteforce_attempts_subnet ON public.oc_bruteforce_attempts USING btree (subnet);


--
-- Name: calendar_invitation_tokens; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX calendar_invitation_tokens ON public.oc_calendar_invitations USING btree (token);


--
-- Name: calendar_reminder_objid; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX calendar_reminder_objid ON public.oc_calendar_reminders USING btree (object_id);


--
-- Name: calendar_reminder_uidrec; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX calendar_reminder_uidrec ON public.oc_calendar_reminders USING btree (uid, recurrence_id);


--
-- Name: calendar_resources_bkdrsc; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX calendar_resources_bkdrsc ON public.oc_calendar_resources USING btree (backend_id, resource_id);


--
-- Name: calendar_resources_email; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX calendar_resources_email ON public.oc_calendar_resources USING btree (email);


--
-- Name: calendar_resources_md_idk; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX calendar_resources_md_idk ON public.oc_calendar_resources_md USING btree (resource_id, key);


--
-- Name: calendar_resources_name; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX calendar_resources_name ON public.oc_calendar_resources USING btree (displayname);


--
-- Name: calendar_rooms_bkdrsc; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX calendar_rooms_bkdrsc ON public.oc_calendar_rooms USING btree (backend_id, resource_id);


--
-- Name: calendar_rooms_email; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX calendar_rooms_email ON public.oc_calendar_rooms USING btree (email);


--
-- Name: calendar_rooms_md_idk; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX calendar_rooms_md_idk ON public.oc_calendar_rooms_md USING btree (room_id, key);


--
-- Name: calendar_rooms_name; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX calendar_rooms_name ON public.oc_calendar_rooms USING btree (displayname);


--
-- Name: calendarobject_calid_index; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX calendarobject_calid_index ON public.oc_calendarobjects_props USING btree (calendarid, calendartype);


--
-- Name: calendarobject_index; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX calendarobject_index ON public.oc_calendarobjects_props USING btree (objectid, calendartype);


--
-- Name: calendarobject_name_index; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX calendarobject_name_index ON public.oc_calendarobjects_props USING btree (name, calendartype);


--
-- Name: calendarobject_value_index; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX calendarobject_value_index ON public.oc_calendarobjects_props USING btree (value, calendartype);


--
-- Name: calendars_index; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE UNIQUE INDEX calendars_index ON public.oc_calendars USING btree (principaluri, uri);


--
-- Name: calid_type_synctoken; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX calid_type_synctoken ON public.oc_calendarchanges USING btree (calendarid, calendartype, synctoken);


--
-- Name: calobjects_index; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE UNIQUE INDEX calobjects_index ON public.oc_calendarobjects USING btree (calendarid, calendartype, uri);


--
-- Name: calsub_index; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE UNIQUE INDEX calsub_index ON public.oc_calendarsubscriptions USING btree (principaluri, uri);


--
-- Name: card_contactid_index; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX card_contactid_index ON public.oc_cards_properties USING btree (cardid);


--
-- Name: card_name_index; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX card_name_index ON public.oc_cards_properties USING btree (name);


--
-- Name: card_value_index; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX card_value_index ON public.oc_cards_properties USING btree (value);


--
-- Name: cards_abid; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX cards_abid ON public.oc_cards USING btree (addressbookid);


--
-- Name: cards_abiduri; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX cards_abiduri ON public.oc_cards USING btree (addressbookid, uri);


--
-- Name: cards_prop_abid; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX cards_prop_abid ON public.oc_cards_properties USING btree (addressbookid);


--
-- Name: category_index; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX category_index ON public.oc_vcategory USING btree (category);


--
-- Name: collres_user_coll; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX collres_user_coll ON public.oc_collres_accesscache USING btree (user_id, collection_id);


--
-- Name: collres_user_res; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX collres_user_res ON public.oc_collres_accesscache USING btree (user_id, resource_type, resource_id);


--
-- Name: comments_actor_index; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX comments_actor_index ON public.oc_comments USING btree (actor_type, actor_id);


--
-- Name: comments_marker_object_index; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX comments_marker_object_index ON public.oc_comments_read_markers USING btree (object_type, object_id);


--
-- Name: comments_object_index; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX comments_object_index ON public.oc_comments USING btree (object_type, object_id, creation_timestamp);


--
-- Name: comments_parent_id_index; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX comments_parent_id_index ON public.oc_comments USING btree (parent_id);


--
-- Name: comments_topmost_parent_id_idx; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX comments_topmost_parent_id_idx ON public.oc_comments USING btree (topmost_parent_id);


--
-- Name: dav_cal_proxy_ioid; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX dav_cal_proxy_ioid ON public.oc_dav_cal_proxy USING btree (owner_id);


--
-- Name: dav_cal_proxy_ipid; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX dav_cal_proxy_ipid ON public.oc_dav_cal_proxy USING btree (proxy_id);


--
-- Name: dav_cal_proxy_uidx; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE UNIQUE INDEX dav_cal_proxy_uidx ON public.oc_dav_cal_proxy USING btree (owner_id, proxy_id, permissions);


--
-- Name: dav_shares_index; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE UNIQUE INDEX dav_shares_index ON public.oc_dav_shares USING btree (principaluri, resourceid, type, publicuri);


--
-- Name: directlink_expiration_idx; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX directlink_expiration_idx ON public.oc_directlink USING btree (expiration);


--
-- Name: directlink_token_idx; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX directlink_token_idx ON public.oc_directlink USING btree (token);


--
-- Name: fce_ctime_idx; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX fce_ctime_idx ON public.oc_filecache_extended USING btree (creation_time);


--
-- Name: fce_utime_idx; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX fce_utime_idx ON public.oc_filecache_extended USING btree (upload_time);


--
-- Name: file_source_index; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX file_source_index ON public.oc_share USING btree (file_source);


--
-- Name: flow_unique_hash; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE UNIQUE INDEX flow_unique_hash ON public.oc_flow_checks USING btree (hash);


--
-- Name: flow_unique_scope; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE UNIQUE INDEX flow_unique_scope ON public.oc_flow_operations_scope USING btree (operation_id, type, value);


--
-- Name: fs_mtime; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX fs_mtime ON public.oc_filecache USING btree (mtime);


--
-- Name: fs_parent_name_hash; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX fs_parent_name_hash ON public.oc_filecache USING btree (parent, name);


--
-- Name: fs_size; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX fs_size ON public.oc_filecache USING btree (size);


--
-- Name: fs_storage_mimepart; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX fs_storage_mimepart ON public.oc_filecache USING btree (storage, mimepart);


--
-- Name: fs_storage_mimetype; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX fs_storage_mimetype ON public.oc_filecache USING btree (storage, mimetype);


--
-- Name: fs_storage_path_hash; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE UNIQUE INDEX fs_storage_path_hash ON public.oc_filecache USING btree (storage, path_hash);


--
-- Name: fs_storage_size; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX fs_storage_size ON public.oc_filecache USING btree (storage, size, fileid);


--
-- Name: group_admin_uid; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX group_admin_uid ON public.oc_group_admin USING btree (uid);


--
-- Name: gu_uid_index; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX gu_uid_index ON public.oc_group_user USING btree (uid);


--
-- Name: id_index; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX id_index ON public.oc_files_trash USING btree (id);


--
-- Name: idx_4d5afeca5f37a13b; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX idx_4d5afeca5f37a13b ON public.oc_direct_edit USING btree (token);


--
-- Name: initiator_index; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX initiator_index ON public.oc_share USING btree (uid_initiator);


--
-- Name: item_share_type_index; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX item_share_type_index ON public.oc_share USING btree (item_type, share_type);


--
-- Name: job_class_index; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX job_class_index ON public.oc_jobs USING btree (class);


--
-- Name: lock_key_index; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE UNIQUE INDEX lock_key_index ON public.oc_file_locks USING btree (key);


--
-- Name: lock_ttl_index; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX lock_ttl_index ON public.oc_file_locks USING btree (ttl);


--
-- Name: login_token; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE UNIQUE INDEX login_token ON public.oc_login_flow_v2 USING btree (login_token);


--
-- Name: mimetype_id_index; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE UNIQUE INDEX mimetype_id_index ON public.oc_mimetypes USING btree (mimetype);


--
-- Name: mounts_mount_id_index; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX mounts_mount_id_index ON public.oc_mounts USING btree (mount_id);


--
-- Name: mounts_root_index; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX mounts_root_index ON public.oc_mounts USING btree (root_id);


--
-- Name: mounts_storage_index; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX mounts_storage_index ON public.oc_mounts USING btree (storage_id);


--
-- Name: mounts_user_index; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX mounts_user_index ON public.oc_mounts USING btree (user_id);


--
-- Name: mounts_user_root_index; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE UNIQUE INDEX mounts_user_root_index ON public.oc_mounts USING btree (user_id, root_id);


--
-- Name: oauth2_access_client_id_idx; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX oauth2_access_client_id_idx ON public.oc_oauth2_access_tokens USING btree (client_id);


--
-- Name: oauth2_access_hash_idx; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE UNIQUE INDEX oauth2_access_hash_idx ON public.oc_oauth2_access_tokens USING btree (hashed_code);


--
-- Name: oauth2_client_id_idx; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE UNIQUE INDEX oauth2_client_id_idx ON public.oc_oauth2_clients USING btree (client_identifier);


--
-- Name: oc_notifications_app; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX oc_notifications_app ON public.oc_notifications USING btree (app);


--
-- Name: oc_notifications_object; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX oc_notifications_object ON public.oc_notifications USING btree (object_type, object_id);


--
-- Name: oc_notifications_timestamp; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX oc_notifications_timestamp ON public.oc_notifications USING btree ("timestamp");


--
-- Name: oc_notifications_user; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX oc_notifications_user ON public.oc_notifications USING btree ("user");


--
-- Name: oc_notifpushtoken; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE UNIQUE INDEX oc_notifpushtoken ON public.oc_notifications_pushtokens USING btree (uid, token);


--
-- Name: owner_index; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX owner_index ON public.oc_share USING btree (uid_owner);


--
-- Name: parent_index; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX parent_index ON public.oc_share USING btree (parent);


--
-- Name: poll_token; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE UNIQUE INDEX poll_token ON public.oc_login_flow_v2 USING btree (poll_token);


--
-- Name: properties_path_index; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX properties_path_index ON public.oc_properties USING btree (userid, propertypath);


--
-- Name: property_index; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX property_index ON public.oc_properties USING btree (userid);


--
-- Name: rd_session_token_idx; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX rd_session_token_idx ON public.oc_text_sessions USING btree (token);


--
-- Name: rd_steps_did_idx; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX rd_steps_did_idx ON public.oc_text_steps USING btree (document_id);


--
-- Name: rd_steps_version_idx; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX rd_steps_version_idx ON public.oc_text_steps USING btree (version);


--
-- Name: recent_contact_actor_uid; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX recent_contact_actor_uid ON public.oc_recent_contact USING btree (actor_uid);


--
-- Name: recent_contact_email; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX recent_contact_email ON public.oc_recent_contact USING btree (email);


--
-- Name: recent_contact_fed_id; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX recent_contact_fed_id ON public.oc_recent_contact USING btree (federated_cloud_id);


--
-- Name: recent_contact_id_uid; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX recent_contact_id_uid ON public.oc_recent_contact USING btree (id, actor_uid);


--
-- Name: recent_contact_last_contact; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX recent_contact_last_contact ON public.oc_recent_contact USING btree (last_contact);


--
-- Name: recent_contact_uid; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX recent_contact_uid ON public.oc_recent_contact USING btree (uid);


--
-- Name: schedulobj_principuri_index; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX schedulobj_principuri_index ON public.oc_schedulingobjects USING btree (principaluri);


--
-- Name: sh_external_mp; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE UNIQUE INDEX sh_external_mp ON public.oc_share_external USING btree ("user", mountpoint_hash);


--
-- Name: sh_external_user; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX sh_external_user ON public.oc_share_external USING btree ("user");


--
-- Name: share_with_index; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX share_with_index ON public.oc_share USING btree (share_with);


--
-- Name: stocred_ui; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE UNIQUE INDEX stocred_ui ON public.oc_storages_credentials USING btree ("user", identifier);


--
-- Name: stocred_user; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX stocred_user ON public.oc_storages_credentials USING btree ("user");


--
-- Name: storages_id_index; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE UNIQUE INDEX storages_id_index ON public.oc_storages USING btree (id);


--
-- Name: tag_ident; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE UNIQUE INDEX tag_ident ON public.oc_systemtag USING btree (name, visibility, editable);


--
-- Name: timestamp; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX "timestamp" ON public.oc_login_flow_v2 USING btree ("timestamp");


--
-- Name: timestamp_index; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX timestamp_index ON public.oc_files_trash USING btree ("timestamp");


--
-- Name: token_index; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX token_index ON public.oc_share USING btree (token);


--
-- Name: ts_docid_lastcontact; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX ts_docid_lastcontact ON public.oc_text_sessions USING btree (document_id, last_contact);


--
-- Name: twofactor_backupcodes_uid; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX twofactor_backupcodes_uid ON public.oc_twofactor_backupcodes USING btree (user_id);


--
-- Name: twofactor_providers_uid; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX twofactor_providers_uid ON public.oc_twofactor_providers USING btree (uid);


--
-- Name: type_index; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX type_index ON public.oc_vcategory USING btree (type);


--
-- Name: uid_index; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX uid_index ON public.oc_vcategory USING btree (uid);


--
-- Name: url_hash; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE UNIQUE INDEX url_hash ON public.oc_trusted_servers USING btree (url_hash);


--
-- Name: user_index; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX user_index ON public.oc_files_trash USING btree ("user");


--
-- Name: user_status_clr_ix; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX user_status_clr_ix ON public.oc_user_status USING btree (clear_at);


--
-- Name: user_status_iud_ix; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX user_status_iud_ix ON public.oc_user_status USING btree (is_user_defined, status);


--
-- Name: user_status_tstmp_ix; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX user_status_tstmp_ix ON public.oc_user_status USING btree (status_timestamp);


--
-- Name: user_status_uid_ix; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE UNIQUE INDEX user_status_uid_ix ON public.oc_user_status USING btree (user_id);


--
-- Name: user_uid_lower; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX user_uid_lower ON public.oc_users USING btree (uid_lower);


--
-- Name: vcategory_objectd_index; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX vcategory_objectd_index ON public.oc_vcategory_to_object USING btree (objid, type);


--
-- Name: version; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE UNIQUE INDEX version ON public.oc_whats_new USING btree (version);


--
-- Name: version_etag_idx; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX version_etag_idx ON public.oc_whats_new USING btree (version, etag);


--
-- Name: webauthn_publickeycredentialid; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX webauthn_publickeycredentialid ON public.oc_webauthn USING btree (public_key_credential_id);


--
-- Name: webauthn_uid; Type: INDEX; Schema: public; Owner: nextcloud
--

CREATE INDEX webauthn_uid ON public.oc_webauthn USING btree (uid);


--
-- Name: DATABASE nextcloud; Type: ACL; Schema: -; Owner: admin
--

REVOKE CONNECT,TEMPORARY ON DATABASE nextcloud FROM PUBLIC;
GRANT ALL ON DATABASE nextcloud TO nextcloud;


--
-- PostgreSQL database dump complete
--

--
-- Database "postgres" dump
--

--
-- PostgreSQL database dump
--

-- Dumped from database version 13.2
-- Dumped by pg_dump version 13.2

SET statement_timeout = 0;
SET lock_timeout = 0;
SET idle_in_transaction_session_timeout = 0;
SET client_encoding = 'UTF8';
SET standard_conforming_strings = on;
SELECT pg_catalog.set_config('search_path', '', false);
SET check_function_bodies = false;
SET xmloption = content;
SET client_min_messages = warning;
SET row_security = off;

DROP DATABASE postgres;
--
-- Name: postgres; Type: DATABASE; Schema: -; Owner: admin
--

CREATE DATABASE postgres WITH TEMPLATE = template0 ENCODING = 'UTF8' LOCALE = 'es_ES.UTF-8';


ALTER DATABASE postgres OWNER TO admin;

\connect postgres

SET statement_timeout = 0;
SET lock_timeout = 0;
SET idle_in_transaction_session_timeout = 0;
SET client_encoding = 'UTF8';
SET standard_conforming_strings = on;
SELECT pg_catalog.set_config('search_path', '', false);
SET check_function_bodies = false;
SET xmloption = content;
SET client_min_messages = warning;
SET row_security = off;

--
-- Name: DATABASE postgres; Type: COMMENT; Schema: -; Owner: admin
--

COMMENT ON DATABASE postgres IS 'default administrative connection database';


--
-- PostgreSQL database dump complete
--

--
-- PostgreSQL database cluster dump complete
--

