# fluent-cart/1.6.4/database/Migrations/WebhookLogger.php

FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler, version 1.6.4. 21 lines.

- Page: https://pluginprobe.com/plugins/fluent-cart/1.6.4/code/database/Migrations/WebhookLogger.php
- Raw: https://pluginprobe.com/plugins/fluent-cart/1.6.4/raw/database/Migrations/WebhookLogger.php
- Modified: 2025-11-20T13:11:16+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/fluent-cart/1.6.4/code/database/Migrations/WebhookLogger.php#L10-L20`.

```php
<?php

namespace FluentCart\Database\Migrations;

class WebhookLogger extends Migrator
{

    public static string $tableName = 'fct_webhook_logger';

    public static function getSqlSchema(): string
    {
        return "`id` BIGINT UNSIGNED NOT NULL PRIMARY KEY AUTO_INCREMENT,
                `source` VARCHAR(20) NOT NULL,
                `event_type` VARCHAR(100) NOT NULL,
                `payload` LONGTEXT NULL,
                `status` VARCHAR(20) NOT NULL DEFAULT 'pending',
                `created_at` DATETIME NULL,
                `updated_at` DATETIME NULL";
    }
}

```
