@@ -846,6 +846,47 @@ CREATE TABLE "#__action_logs_users" (
846846
847847CREATE INDEX " #__action_logs_users_idx_notify" ON " #__action_logs_users" (" notify" );
848848
849+ -- --------------------------------------------------------
850+
851+ --
852+ -- Table structure for table "#__cronjobs"
853+ --
854+
855+ CREATE TABLE IF NOT EXISTS " #__cronjobs"
856+ (
857+ " id" int GENERATED ALWAYS AS IDENTITY,
858+ " asset_id" bigint NOT NULL DEFAULT ' 0' ,
859+ " title" varchar (255 ) NOT NULL ,
860+ " type" varchar (6 ),
861+ " execution_interval" interval NOT NULL ,
862+ " trigger" varchar (12 ) NOT NULL DEFAULT ' pseudo_cron' ,
863+ " state" smallint NOT NULL DEFAULT ' 0' ,
864+ " last_exit_code" int NOT NULL DEFAULT ' 0' ,
865+ " last_execution" timestamp without time zone ,
866+ " next_execution" timestamp without time zone ,
867+ " times_executed" int NOT NULL DEFAULT ' 0' ,
868+ " times_failed" int DEFAULT ' 0' ,
869+ " note" text DEFAULT ' ' ,
870+ " created" timestamp without time zone NOT NULL ,
871+ " created_by" bigint NOT NULL DEFAULT ' 0'
872+ );
873+
874+ -- --------------------------------------------------------
875+
876+ --
877+ -- Table structure for table "#__cronjobs_scripts"
878+ --
879+
880+ CREATE TABLE IF NOT EXISTS " #__cronjobs_scripts"
881+ (
882+ " id" int GENERATED ALWAYS AS IDENTITY,
883+ " job_id" int , -- References "#__cronjobs"(id)
884+ " directory" varchar (256 ) NOT NULL ,
885+ " file" varchar (128 ) NOT NULL
886+ );
887+
888+ -- --------------------------------------------------------
889+
849890--
850891-- Here is SOUNDEX replacement for those who can't enable fuzzystrmatch module
851892-- from contrib folder.
@@ -906,45 +947,4 @@ BEGIN
906947
907948 RETURN soundex;
908949END;
909- $$;
910-
911- -- --------------------------------------------------------
912-
913- --
914- -- Table structure for table "#__cronjobs"
915- --
916-
917- CREATE TABLE IF NOT EXISTS " #__cronjobs"
918- (
919- " id" int GENERATED ALWAYS AS IDENTITY,
920- " asset_id" bigint NOT NULL DEFAULT ' 0' ,
921- " title" varchar (255 ) NOT NULL ,
922- " type" varchar (6 ),
923- " execution_interval" interval NOT NULL ,
924- " trigger" varchar (12 ) NOT NULL DEFAULT ' pseudo_cron' ,
925- " state" smallint NOT NULL DEFAULT ' 0' ,
926- " last_exit_code" int NOT NULL DEFAULT ' 0' ,
927- " last_execution" timestamp without time zone ,
928- " next_execution" timestamp without time zone ,
929- " times_executed" int NOT NULL DEFAULT ' 0' ,
930- " times_failed" int DEFAULT ' 0' ,
931- " note" text DEFAULT ' ' ,
932- " created" timestamp without time zone NOT NULL ,
933- " created_by" bigint NOT NULL DEFAULT ' 0'
934- );
935-
936- -- --------------------------------------------------------
937-
938- --
939- -- Table structure for table "#__cronjobs_scripts"
940- --
941-
942- CREATE TABLE IF NOT EXISTS " #__cronjobs_scripts"
943- (
944- " id" int GENERATED ALWAYS AS IDENTITY,
945- " job_id" int , -- References "#__cronjobs"(id)
946- " directory" varchar (256 ) NOT NULL ,
947- " file" varchar (128 ) NOT NULL
948- );
949-
950- -- --------------------------------------------------------
950+ $$;
0 commit comments