Scriptlog Docs

Scriptlog Documentation

Code reference for the Scriptlog codebase

User Tools

Site Tools


scriptlog:install:migrate-scheduling

install/migrate-scheduling.php

Source: install/migrate-scheduling.php · 64 lines, ~369 statements · namespace: (global) · `declare(strict_types=1)`: no


Scheduled Posting Migration Script

Adds the composite index idx_post_status_date on tbl_posts (post_status, post_date) and seeds the writing_scheduled_post_enabled setting for existing installations.

Includes

Mode Target Line
require require_once DIR . '/../lib/vendor/autoload.php'; 14
require require_once DIR . '/../vendor/autoload.php'; 16
require require DIR . '/../config.php'; 19

Constants

Name Value / expression Line
('SCRIPTLOG', true define('SCRIPTLOG', true) 10

Generated by 'tools/gendoc'.

scriptlog/install/migrate-scheduling.txt · Last modified: by admin