style: Remove redundant script and description prefixes from SQL file comment headers.

This commit is contained in:
Maksym Buz
2026-02-20 21:58:06 +00:00
parent ea3e89effa
commit 487f95020d
5 changed files with 8 additions and 13 deletions

View File

@@ -1,7 +1,6 @@
-- ============================================================================ -- ============================================================================
-- SCRIPT: 00_partitions_init.sql -- Creates the 'partitions' schema and configuration table.
-- DESCRIPTION: Creates the 'partitions' schema and configuration table. -- Defines the structure for managing Zabbix partitioning.
-- Defines the structure for managing Zabbix partitioning.
-- ============================================================================ -- ============================================================================
CREATE SCHEMA IF NOT EXISTS partitions; CREATE SCHEMA IF NOT EXISTS partitions;

View File

@@ -1,7 +1,6 @@
-- ============================================================================ -- ============================================================================
-- SCRIPT: 01_auditlog_prep.sql -- Modifies the 'auditlog' table Primary Key to include 'clock'.
-- DESCRIPTION: Modifies the 'auditlog' table Primary Key to include 'clock'. -- This is REQUIRED for range partitioning by 'clock'.
-- This is REQUIRED for range partitioning by 'clock'.
-- ============================================================================ -- ============================================================================
DO $$ DO $$

View File

@@ -1,6 +1,5 @@
-- ============================================================================ -- ============================================================================
-- SCRIPT: 02_maintenance.sql -- Core functions for Zabbix partitioning (Create, Drop, Maintain).
-- DESCRIPTION: Core functions for Zabbix partitioning (Create, Drop, Maintain).
-- ============================================================================ -- ============================================================================
-- Function to check if a partition exists -- Function to check if a partition exists

View File

@@ -1,7 +1,6 @@
-- ============================================================================ -- ============================================================================
-- SCRIPT: 03_enable_partitioning.sql -- Converts standard Zabbix tables to Partitioned tables.
-- DESCRIPTION: Converts standard Zabbix tables to Partitioned tables. -- WARNING: This renames existing tables to *_old.
-- WARNING: This renames existing tables to *_old.
-- ============================================================================ -- ============================================================================
DO $$ DO $$

View File

@@ -1,6 +1,5 @@
-- ============================================================================ -- ============================================================================
-- SCRIPT: 04_monitoring_view.sql -- Creates a view to monitor partition status and sizes.
-- DESCRIPTION: Creates a view to monitor partition status and sizes.
-- ============================================================================ -- ============================================================================
CREATE OR REPLACE VIEW partitions.monitoring AS CREATE OR REPLACE VIEW partitions.monitoring AS