class SchemaCreates and upgrades the ledger table.
class final
- Full name
Kernowdev\ClanbitePoints\Database\Schema
Constants
| Name | Value | Description |
|---|---|---|
DB_VERSION_OPTION | 'clanbite_points_db_version' | |
DB_VERSION | '1.2.0' |
Methods
create_tables()Create or upgrade DB objects.ledger_table()Full ledger table name including prefix.maybe_migrate_legacy_ledger_table()One-time migration: rename legacy pre-rebrand ledger tables/options.maybe_upgrade()Run lightweight upgrades when the extension boots.
Defined in inc/Database/Schema.php
Changelog
| Version | Description |
|---|---|
| 1.4.0 | Updated. |
| 1.3.0 | Updated. |