# fluent-cart/1.3.20/database/Migrations/AttributeTermsMigrator.php

FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler, version 1.3.20. 29 lines.

- Page: https://pluginprobe.com/plugins/fluent-cart/1.3.20/code/database/Migrations/AttributeTermsMigrator.php
- Raw: https://pluginprobe.com/plugins/fluent-cart/1.3.20/raw/database/Migrations/AttributeTermsMigrator.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.3.20/code/database/Migrations/AttributeTermsMigrator.php#L10-L20`.

```php
<?php

namespace FluentCart\Database\Migrations;

use FluentCart\Framework\Database\Schema;

class AttributeTermsMigrator extends Migrator
{

    public static string $tableName = 'fct_atts_terms';

    public static function getSqlSchema(): string
    {
        $indexPrefix = static::getDbPrefix() . 'fct_attt_';
        return "`id` BIGINT(20) UNSIGNED NOT NULL PRIMARY KEY AUTO_INCREMENT,
                `group_id` BIGINT(20) UNSIGNED,
                `serial` INT(11) UNSIGNED,
                `title` VARCHAR(192) NOT NULL,
                `slug` VARCHAR(192) NOT NULL,
                `description` longtext NULL,
                `settings` longtext NULL,
                `created_at` DATETIME NULL,
                `updated_at` DATETIME NULL,
                INDEX `{$indexPrefix}_group_id_idx` (`group_id` ASC)";
    }
}



```
