class SchemaSchema creation and version option.
class final
- Full name
Kernowdev\ClanbiteSocialKit\Database\Schema
Constants
| Name | Value | Description |
|---|---|---|
OPTION_DB_VERSION | 'clanbite_social_kit_db_version' | |
DB_VERSION | '1.2.0' |
Methods
create_tables()Create or upgrade tables using dbDelta.drop_tables()Drop all Social Kit tables (plugin uninstall).maybe_upgrade()Create or upgrade tables when the stored DB version differs from this release.
Defined in inc/Database/Schema.php