<<

NAME

Koha::Database::Auditor

SYNOPSIS

use Koha::Database::Auditor;

API

Methods

new

Constructor for creating a new object with specified parameters

run

Compares the current database schema with the expected schema from the `kohastructure.sql` file. Generates SQL commands to update the database schema if differences are found. Returns a hash reference containing the differences, a flag indicating if differences were found, a message, and a title.

_get_db

Retrieves the database schema, removes auto-increment from the schema, and returns the modified schema.

_get_kohastructure

Retrieves and returns the schema using SQL::Translator for the given file

<<