{
    "meta": {
        "generated_at": "2026-07-27T01:58:27+00:00",
        "php_version": "8.1.34",
        "framework": "Laravel",
        "framework_data": {
            "name": "Laravel",
            "version": "unknown"
        },
        "git_branch": "",
        "commit": ""
    },
    "packages": {
        "composer": {
            "artemis/faq": "0.2.3",
            "artemis/laravel-loyalty": "0.3.2",
            "brick/math": "0.14.1",
            "carbonphp/carbon-doctrine-types": "3.2.0",
            "chillerlan/php-cache": "5.1.0",
            "chillerlan/php-settings-container": "3.2.1",
            "composer/pcre": "3.3.2",
            "composer/semver": "3.4.4",
            "dflydev/dot-access-data": "v3.0.3",
            "doctrine/inflector": "2.1.0",
            "doctrine/lexer": "3.0.1",
            "dragonmantank/cron-expression": "v3.6.0",
            "egulias/email-validator": "4.0.4",
            "ezyang/htmlpurifier": "v4.19.0",
            "firebase/php-jwt": "v6.11.1",
            "fruitcake/php-cors": "v1.3.0",
            "graham-campbell/result-type": "v1.1.3",
            "guzzlehttp/guzzle": "7.10.0",
            "guzzlehttp/promises": "2.3.0",
            "guzzlehttp/psr7": "2.8.0",
            "guzzlehttp/uri-template": "v1.0.5",
            "hekmatinasser/jalali": "v8.2.4",
            "hekmatinasser/notowo": "v1.0.1",
            "hekmatinasser/verta": "v8.5",
            "laravel/framework": "v12.40.2",
            "laravel/pennant": "v1.18.4",
            "laravel/prompts": "v0.3.8",
            "laravel/sanctum": "v4.2.1",
            "laravel/serializable-closure": "v2.0.7",
            "laravel/socialite": "v5.23.2",
            "laravel/telescope": "v5.15.1",
            "laravel/tinker": "v2.10.2",
            "league/commonmark": "2.8.0",
            "league/config": "v1.2.0",
            "league/flysystem": "3.30.2",
            "league/flysystem-local": "3.30.2",
            "league/mime-type-detection": "1.16.0",
            "league/oauth1-client": "v1.11.0",
            "league/uri": "7.6.0",
            "league/uri-interfaces": "7.6.0",
            "livewire/livewire": "v3.7.0",
            "livewire/volt": "v1.10.1",
            "maatwebsite/excel": "3.1.67",
            "maennchen/zipstream-php": "3.2.0",
            "markbaker/complex": "3.0.2",
            "markbaker/matrix": "3.0.1",
            "monolog/monolog": "3.9.0",
            "nesbot/carbon": "3.10.3",
            "nette/schema": "v1.3.3",
            "nette/utils": "v4.0.9",
            "nikic/php-parser": "v5.6.2",
            "nunomaduro/termwind": "v2.3.3",
            "opcodesio/log-viewer": "v3.21.1",
            "opcodesio/mail-parser": "v0.1.6",
            "paragonie/constant_time_encoding": "v3.1.3",
            "paragonie/random_compat": "v9.99.100",
            "phpoffice/phpspreadsheet": "1.30.1",
            "phpoption/phpoption": "1.9.4",
            "phpseclib/phpseclib": "3.0.47",
            "psr/clock": "1.0.0",
            "psr/container": "2.0.2",
            "psr/event-dispatcher": "1.0.0",
            "psr/http-client": "1.0.3",
            "psr/http-factory": "1.1.0",
            "psr/http-message": "2.0",
            "psr/log": "3.0.2",
            "psr/simple-cache": "3.0.0",
            "psy/psysh": "v0.12.15",
            "ralouphie/getallheaders": "3.0.3",
            "ramsey/collection": "2.1.1",
            "ramsey/uuid": "4.9.1",
            "shetabit/multipay": "v2.7.1",
            "shetabit/payment": "v6.3.0",
            "spatie/laravel-permission": "6.23.0",
            "symfony/clock": "v7.4.0",
            "symfony/console": "v7.4.0",
            "symfony/css-selector": "v7.4.0",
            "symfony/deprecation-contracts": "v3.6.0",
            "symfony/error-handler": "v7.4.0",
            "symfony/event-dispatcher": "v7.4.0",
            "symfony/event-dispatcher-contracts": "v3.6.0",
            "symfony/finder": "v7.4.0",
            "symfony/http-foundation": "v7.4.0",
            "symfony/http-kernel": "v7.4.0",
            "symfony/mailer": "v7.4.0",
            "symfony/mime": "v7.4.0",
            "symfony/polyfill-ctype": "v1.33.0",
            "symfony/polyfill-intl-grapheme": "v1.33.0",
            "symfony/polyfill-intl-idn": "v1.33.0",
            "symfony/polyfill-intl-normalizer": "v1.33.0",
            "symfony/polyfill-mbstring": "v1.33.0",
            "symfony/polyfill-php80": "v1.33.0",
            "symfony/polyfill-php83": "v1.33.0",
            "symfony/polyfill-php84": "v1.33.0",
            "symfony/polyfill-php85": "v1.33.0",
            "symfony/polyfill-uuid": "v1.33.0",
            "symfony/process": "v7.4.0",
            "symfony/routing": "v7.4.0",
            "symfony/service-contracts": "v3.6.1",
            "symfony/string": "v7.4.0",
            "symfony/translation": "v7.4.0",
            "symfony/translation-contracts": "v3.6.1",
            "symfony/uid": "v7.4.0",
            "symfony/var-dumper": "v7.4.0",
            "tijsverkoyen/css-to-inline-styles": "v2.3.0",
            "vlucas/phpdotenv": "v5.6.2",
            "voku/portable-ascii": "2.0.3"
        },
        "npm": {
            "@ryangjchandler/alpine-clipboard": "^2.3.0",
            "@vitejs/plugin-react": "^4.5.0",
            "datatables.net-bs5": "^2.3.3",
            "datatables.net-buttons-bs5": "^3.2.4",
            "datatables.net-dt": "^2.3.3",
            "datatables.net-responsive-bs5": "^3.0.6",
            "grapesjs": "^0.22.12",
            "grapesjs-blocks-basic": "^1.0.2",
            "grapesjs-plugin-forms": "^2.0.6",
            "grapesjs-preset-webpage": "^1.0.3",
            "jszip": "^3.10.1",
            "pdfmake": "^0.2.20",
            "quill": "^2.0.3",
            "quill-html-edit-button": "^3.0.0",
            "react": "^19.1.0",
            "react-dom": "^19.1.0",
            "sweetalert2": "^11.19.1",
            "@egoist/tailwindcss-icons": "^1.9.0",
            "@iconify/json": "^2.2.336",
            "@tailwindcss/aspect-ratio": "^0.4.2",
            "@tailwindcss/typography": "^0.5.16",
            "@tailwindcss/vite": "^4.0.0",
            "axios": "^1.8.2",
            "concurrently": "^9.0.1",
            "laravel-vite-plugin": "^1.2.0",
            "mini-svg-data-uri": "^1.4.4",
            "prettier": "^3.5.3",
            "prettier-plugin-tailwindcss": "^0.6.11",
            "tailwindcss": "^4.0.0",
            "vite": "^6.2.4"
        }
    },
    "routes": {
        "_skipped": "no route list"
    },
    "database": {
        "driver": "mysql",
        "tables": {
            "addresses": {
                "name": "addresses",
                "columns": {
                    "id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "user_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "address": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "province": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "city": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "neighborhood": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "plaque": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "unit": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "zip_code": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "latitude": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "longitude": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "owner_is_receiver": {
                        "type": "tinyint(1)",
                        "null": "YES",
                        "key": "",
                        "default": "1"
                    },
                    "receiver_name": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "receiver_phone": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "created_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "updated_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "id"
                    ],
                    "addresses_user_id_foreign": [
                        "user_id"
                    ]
                },
                "foreign_keys": [
                    {
                        "name": "addresses_user_id_foreign",
                        "column_name": "user_id",
                        "referenced_table": "users",
                        "referenced_column": "id"
                    }
                ],
                "sql_schemas": {
                    "native": "CREATE TABLE `addresses` (\n  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n  `user_id` bigint(20) unsigned NOT NULL,\n  `address` varchar(255) NOT NULL,\n  `province` varchar(255) NOT NULL,\n  `city` varchar(255) NOT NULL,\n  `neighborhood` varchar(255) DEFAULT NULL,\n  `plaque` varchar(255) NOT NULL,\n  `unit` varchar(255) DEFAULT NULL,\n  `zip_code` varchar(255) NOT NULL,\n  `latitude` varchar(255) DEFAULT NULL,\n  `longitude` varchar(255) DEFAULT NULL,\n  `owner_is_receiver` tinyint(1) DEFAULT 1,\n  `receiver_name` varchar(255) DEFAULT NULL,\n  `receiver_phone` varchar(255) DEFAULT NULL,\n  `created_at` timestamp NULL DEFAULT NULL,\n  `updated_at` timestamp NULL DEFAULT NULL,\n  PRIMARY KEY (`id`),\n  KEY `addresses_user_id_foreign` (`user_id`),\n  CONSTRAINT `addresses_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"addresses\" (\n  \"id\" INTEGER NOT NULL,\n  \"user_id\" INTEGER NOT NULL,\n  \"address\" TEXT NOT NULL,\n  \"province\" TEXT NOT NULL,\n  \"city\" TEXT NOT NULL,\n  \"neighborhood\" TEXT,\n  \"plaque\" TEXT NOT NULL,\n  \"unit\" TEXT,\n  \"zip_code\" TEXT NOT NULL,\n  \"latitude\" TEXT,\n  \"longitude\" TEXT,\n  \"owner_is_receiver\" INTEGER DEFAULT '1',\n  \"receiver_name\" TEXT,\n  \"receiver_phone\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"user_id\") REFERENCES \"users\"(\"id\")\n);\n",
                    "mysql": "CREATE TABLE \"addresses\" (\n  \"id\" INT NOT NULL,\n  \"user_id\" INT NOT NULL,\n  \"address\" VARCHAR(255) NOT NULL,\n  \"province\" VARCHAR(255) NOT NULL,\n  \"city\" VARCHAR(255) NOT NULL,\n  \"neighborhood\" VARCHAR(255),\n  \"plaque\" VARCHAR(255) NOT NULL,\n  \"unit\" VARCHAR(255),\n  \"zip_code\" VARCHAR(255) NOT NULL,\n  \"latitude\" VARCHAR(255),\n  \"longitude\" VARCHAR(255),\n  \"owner_is_receiver\" INT DEFAULT '1',\n  \"receiver_name\" VARCHAR(255),\n  \"receiver_phone\" VARCHAR(255),\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"user_id\") REFERENCES \"users\"(\"id\")\n);\n",
                    "pgsql": "CREATE TABLE \"addresses\" (\n  \"id\" INTEGER NOT NULL,\n  \"user_id\" INTEGER NOT NULL,\n  \"address\" VARCHAR(255) NOT NULL,\n  \"province\" VARCHAR(255) NOT NULL,\n  \"city\" VARCHAR(255) NOT NULL,\n  \"neighborhood\" VARCHAR(255),\n  \"plaque\" VARCHAR(255) NOT NULL,\n  \"unit\" VARCHAR(255),\n  \"zip_code\" VARCHAR(255) NOT NULL,\n  \"latitude\" VARCHAR(255),\n  \"longitude\" VARCHAR(255),\n  \"owner_is_receiver\" INTEGER DEFAULT '1',\n  \"receiver_name\" VARCHAR(255),\n  \"receiver_phone\" VARCHAR(255),\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"user_id\") REFERENCES \"users\"(\"id\")\n);\n"
                }
            },
            "brands": {
                "name": "brands",
                "columns": {
                    "id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "category_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "name": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "UNI",
                        "default": null
                    },
                    "slug": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "UNI",
                        "default": null
                    },
                    "description": {
                        "type": "text",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "logo": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "created_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "updated_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "id"
                    ],
                    "brands_name_unique": [
                        "name"
                    ],
                    "brands_slug_unique": [
                        "slug"
                    ],
                    "brands_category_id_foreign": [
                        "category_id"
                    ]
                },
                "foreign_keys": [
                    {
                        "name": "brands_category_id_foreign",
                        "column_name": "category_id",
                        "referenced_table": "categories",
                        "referenced_column": "id"
                    }
                ],
                "sql_schemas": {
                    "native": "CREATE TABLE `brands` (\n  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n  `category_id` bigint(20) unsigned NOT NULL,\n  `name` varchar(255) NOT NULL,\n  `slug` varchar(255) NOT NULL,\n  `description` text DEFAULT NULL,\n  `logo` varchar(255) DEFAULT NULL,\n  `created_at` timestamp NULL DEFAULT NULL,\n  `updated_at` timestamp NULL DEFAULT NULL,\n  PRIMARY KEY (`id`),\n  UNIQUE KEY `brands_name_unique` (`name`),\n  UNIQUE KEY `brands_slug_unique` (`slug`),\n  KEY `brands_category_id_foreign` (`category_id`),\n  CONSTRAINT `brands_category_id_foreign` FOREIGN KEY (`category_id`) REFERENCES `categories` (`id`) ON DELETE CASCADE\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"brands\" (\n  \"id\" INTEGER NOT NULL,\n  \"category_id\" INTEGER NOT NULL,\n  \"name\" TEXT NOT NULL,\n  \"slug\" TEXT NOT NULL,\n  \"description\" TEXT,\n  \"logo\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"category_id\") REFERENCES \"categories\"(\"id\")\n);\n",
                    "mysql": "CREATE TABLE \"brands\" (\n  \"id\" INT NOT NULL,\n  \"category_id\" INT NOT NULL,\n  \"name\" VARCHAR(255) NOT NULL,\n  \"slug\" VARCHAR(255) NOT NULL,\n  \"description\" TEXT,\n  \"logo\" VARCHAR(255),\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"category_id\") REFERENCES \"categories\"(\"id\")\n);\n",
                    "pgsql": "CREATE TABLE \"brands\" (\n  \"id\" INTEGER NOT NULL,\n  \"category_id\" INTEGER NOT NULL,\n  \"name\" VARCHAR(255) NOT NULL,\n  \"slug\" VARCHAR(255) NOT NULL,\n  \"description\" TEXT,\n  \"logo\" VARCHAR(255),\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"category_id\") REFERENCES \"categories\"(\"id\")\n);\n"
                }
            },
            "cache": {
                "name": "cache",
                "columns": {
                    "key": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "value": {
                        "type": "mediumtext",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "expiration": {
                        "type": "int(11)",
                        "null": "NO",
                        "key": "",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "key"
                    ]
                },
                "foreign_keys": [],
                "sql_schemas": {
                    "native": "CREATE TABLE `cache` (\n  `key` varchar(255) NOT NULL,\n  `value` mediumtext NOT NULL,\n  `expiration` int(11) NOT NULL,\n  PRIMARY KEY (`key`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"cache\" (\n  \"key\" TEXT NOT NULL,\n  \"value\" TEXT NOT NULL,\n  \"expiration\" INTEGER NOT NULL\n);\n",
                    "mysql": "CREATE TABLE \"cache\" (\n  \"key\" VARCHAR(255) NOT NULL,\n  \"value\" TEXT NOT NULL,\n  \"expiration\" INT NOT NULL\n);\n",
                    "pgsql": "CREATE TABLE \"cache\" (\n  \"key\" VARCHAR(255) NOT NULL,\n  \"value\" TEXT NOT NULL,\n  \"expiration\" INTEGER NOT NULL\n);\n"
                }
            },
            "cache_locks": {
                "name": "cache_locks",
                "columns": {
                    "key": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "owner": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "expiration": {
                        "type": "int(11)",
                        "null": "NO",
                        "key": "",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "key"
                    ]
                },
                "foreign_keys": [],
                "sql_schemas": {
                    "native": "CREATE TABLE `cache_locks` (\n  `key` varchar(255) NOT NULL,\n  `owner` varchar(255) NOT NULL,\n  `expiration` int(11) NOT NULL,\n  PRIMARY KEY (`key`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"cache_locks\" (\n  \"key\" TEXT NOT NULL,\n  \"owner\" TEXT NOT NULL,\n  \"expiration\" INTEGER NOT NULL\n);\n",
                    "mysql": "CREATE TABLE \"cache_locks\" (\n  \"key\" VARCHAR(255) NOT NULL,\n  \"owner\" VARCHAR(255) NOT NULL,\n  \"expiration\" INT NOT NULL\n);\n",
                    "pgsql": "CREATE TABLE \"cache_locks\" (\n  \"key\" VARCHAR(255) NOT NULL,\n  \"owner\" VARCHAR(255) NOT NULL,\n  \"expiration\" INTEGER NOT NULL\n);\n"
                }
            },
            "cart_items": {
                "name": "cart_items",
                "columns": {
                    "id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "cart_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "product_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "inventory_id": {
                        "type": "bigint(20) unsigned",
                        "null": "YES",
                        "key": "MUL",
                        "default": null
                    },
                    "variant_id": {
                        "type": "bigint(20) unsigned",
                        "null": "YES",
                        "key": "MUL",
                        "default": null
                    },
                    "shop_id": {
                        "type": "bigint(20) unsigned",
                        "null": "YES",
                        "key": "MUL",
                        "default": null
                    },
                    "variant": {
                        "type": "longtext",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "quantity": {
                        "type": "int(11)",
                        "null": "NO",
                        "key": "",
                        "default": "1"
                    },
                    "price": {
                        "type": "decimal(12,2)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "total": {
                        "type": "decimal(12,2)",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "discount": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "coupon": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "options": {
                        "type": "longtext",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "created_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "updated_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "id"
                    ],
                    "cart_items_cart_id_foreign": [
                        "cart_id"
                    ],
                    "cart_items_product_id_foreign": [
                        "product_id"
                    ],
                    "cart_items_inventory_id_foreign": [
                        "inventory_id"
                    ],
                    "cart_items_variant_id_foreign": [
                        "variant_id"
                    ],
                    "cart_items_shop_id_foreign": [
                        "shop_id"
                    ]
                },
                "foreign_keys": [
                    {
                        "name": "cart_items_cart_id_foreign",
                        "column_name": "cart_id",
                        "referenced_table": "carts",
                        "referenced_column": "id"
                    },
                    {
                        "name": "cart_items_inventory_id_foreign",
                        "column_name": "inventory_id",
                        "referenced_table": "product_inventories",
                        "referenced_column": "id"
                    },
                    {
                        "name": "cart_items_product_id_foreign",
                        "column_name": "product_id",
                        "referenced_table": "products",
                        "referenced_column": "id"
                    },
                    {
                        "name": "cart_items_shop_id_foreign",
                        "column_name": "shop_id",
                        "referenced_table": "shops",
                        "referenced_column": "id"
                    },
                    {
                        "name": "cart_items_variant_id_foreign",
                        "column_name": "variant_id",
                        "referenced_table": "product_inventory_variants",
                        "referenced_column": "id"
                    }
                ],
                "sql_schemas": {
                    "native": "CREATE TABLE `cart_items` (\n  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n  `cart_id` bigint(20) unsigned NOT NULL,\n  `product_id` bigint(20) unsigned NOT NULL,\n  `inventory_id` bigint(20) unsigned DEFAULT NULL,\n  `variant_id` bigint(20) unsigned DEFAULT NULL,\n  `shop_id` bigint(20) unsigned DEFAULT NULL,\n  `variant` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`variant`)),\n  `quantity` int(11) NOT NULL DEFAULT 1,\n  `price` decimal(12,2) DEFAULT NULL,\n  `total` decimal(12,2) NOT NULL,\n  `discount` varchar(255) DEFAULT NULL,\n  `coupon` varchar(255) DEFAULT NULL,\n  `options` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`options`)),\n  `created_at` timestamp NULL DEFAULT NULL,\n  `updated_at` timestamp NULL DEFAULT NULL,\n  PRIMARY KEY (`id`),\n  KEY `cart_items_cart_id_foreign` (`cart_id`),\n  KEY `cart_items_product_id_foreign` (`product_id`),\n  KEY `cart_items_inventory_id_foreign` (`inventory_id`),\n  KEY `cart_items_variant_id_foreign` (`variant_id`),\n  KEY `cart_items_shop_id_foreign` (`shop_id`),\n  CONSTRAINT `cart_items_cart_id_foreign` FOREIGN KEY (`cart_id`) REFERENCES `carts` (`id`) ON DELETE CASCADE,\n  CONSTRAINT `cart_items_inventory_id_foreign` FOREIGN KEY (`inventory_id`) REFERENCES `product_inventories` (`id`) ON DELETE CASCADE,\n  CONSTRAINT `cart_items_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE CASCADE,\n  CONSTRAINT `cart_items_shop_id_foreign` FOREIGN KEY (`shop_id`) REFERENCES `shops` (`id`) ON DELETE CASCADE,\n  CONSTRAINT `cart_items_variant_id_foreign` FOREIGN KEY (`variant_id`) REFERENCES `product_inventory_variants` (`id`) ON DELETE CASCADE\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"cart_items\" (\n  \"id\" INTEGER NOT NULL,\n  \"cart_id\" INTEGER NOT NULL,\n  \"product_id\" INTEGER NOT NULL,\n  \"inventory_id\" INTEGER,\n  \"variant_id\" INTEGER,\n  \"shop_id\" INTEGER,\n  \"variant\" TEXT,\n  \"quantity\" INTEGER NOT NULL DEFAULT '1',\n  \"price\" TEXT,\n  \"total\" TEXT NOT NULL,\n  \"discount\" TEXT,\n  \"coupon\" TEXT,\n  \"options\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"cart_id\") REFERENCES \"carts\"(\"id\"),\n  FOREIGN KEY (\"inventory_id\") REFERENCES \"product_inventories\"(\"id\"),\n  FOREIGN KEY (\"product_id\") REFERENCES \"products\"(\"id\"),\n  FOREIGN KEY (\"shop_id\") REFERENCES \"shops\"(\"id\"),\n  FOREIGN KEY (\"variant_id\") REFERENCES \"product_inventory_variants\"(\"id\")\n);\n",
                    "mysql": "CREATE TABLE \"cart_items\" (\n  \"id\" INT NOT NULL,\n  \"cart_id\" INT NOT NULL,\n  \"product_id\" INT NOT NULL,\n  \"inventory_id\" INT,\n  \"variant_id\" INT,\n  \"shop_id\" INT,\n  \"variant\" TEXT,\n  \"quantity\" INT NOT NULL DEFAULT '1',\n  \"price\" TEXT,\n  \"total\" TEXT NOT NULL,\n  \"discount\" VARCHAR(255),\n  \"coupon\" VARCHAR(255),\n  \"options\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"cart_id\") REFERENCES \"carts\"(\"id\"),\n  FOREIGN KEY (\"inventory_id\") REFERENCES \"product_inventories\"(\"id\"),\n  FOREIGN KEY (\"product_id\") REFERENCES \"products\"(\"id\"),\n  FOREIGN KEY (\"shop_id\") REFERENCES \"shops\"(\"id\"),\n  FOREIGN KEY (\"variant_id\") REFERENCES \"product_inventory_variants\"(\"id\")\n);\n",
                    "pgsql": "CREATE TABLE \"cart_items\" (\n  \"id\" INTEGER NOT NULL,\n  \"cart_id\" INTEGER NOT NULL,\n  \"product_id\" INTEGER NOT NULL,\n  \"inventory_id\" INTEGER,\n  \"variant_id\" INTEGER,\n  \"shop_id\" INTEGER,\n  \"variant\" TEXT,\n  \"quantity\" INTEGER NOT NULL DEFAULT '1',\n  \"price\" TEXT,\n  \"total\" TEXT NOT NULL,\n  \"discount\" VARCHAR(255),\n  \"coupon\" VARCHAR(255),\n  \"options\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"cart_id\") REFERENCES \"carts\"(\"id\"),\n  FOREIGN KEY (\"inventory_id\") REFERENCES \"product_inventories\"(\"id\"),\n  FOREIGN KEY (\"product_id\") REFERENCES \"products\"(\"id\"),\n  FOREIGN KEY (\"shop_id\") REFERENCES \"shops\"(\"id\"),\n  FOREIGN KEY (\"variant_id\") REFERENCES \"product_inventory_variants\"(\"id\")\n);\n"
                }
            },
            "carts": {
                "name": "carts",
                "columns": {
                    "id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "user_id": {
                        "type": "bigint(20) unsigned",
                        "null": "YES",
                        "key": "MUL",
                        "default": null
                    },
                    "address_id": {
                        "type": "bigint(20) unsigned",
                        "null": "YES",
                        "key": "MUL",
                        "default": null
                    },
                    "session_id": {
                        "type": "char(36)",
                        "null": "YES",
                        "key": "MUL",
                        "default": null
                    },
                    "name": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "status": {
                        "type": "enum('active','ordered','abandoned')",
                        "null": "NO",
                        "key": "",
                        "default": "active"
                    },
                    "currency": {
                        "type": "varchar(10)",
                        "null": "NO",
                        "key": "",
                        "default": "IRR"
                    },
                    "subtotal": {
                        "type": "decimal(12,2)",
                        "null": "NO",
                        "key": "",
                        "default": "0.00"
                    },
                    "discount_total": {
                        "type": "decimal(12,2)",
                        "null": "NO",
                        "key": "",
                        "default": "0.00"
                    },
                    "tax_total": {
                        "type": "decimal(12,2)",
                        "null": "NO",
                        "key": "",
                        "default": "0.00"
                    },
                    "shipping_total": {
                        "type": "decimal(12,2)",
                        "null": "NO",
                        "key": "",
                        "default": "0.00"
                    },
                    "grand_total": {
                        "type": "decimal(12,2)",
                        "null": "NO",
                        "key": "",
                        "default": "0.00"
                    },
                    "coupon": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "created_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "updated_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "id"
                    ],
                    "carts_user_id_foreign": [
                        "user_id"
                    ],
                    "carts_address_id_foreign": [
                        "address_id"
                    ],
                    "carts_session_id_index": [
                        "session_id"
                    ]
                },
                "foreign_keys": [
                    {
                        "name": "carts_address_id_foreign",
                        "column_name": "address_id",
                        "referenced_table": "addresses",
                        "referenced_column": "id"
                    },
                    {
                        "name": "carts_user_id_foreign",
                        "column_name": "user_id",
                        "referenced_table": "users",
                        "referenced_column": "id"
                    }
                ],
                "sql_schemas": {
                    "native": "CREATE TABLE `carts` (\n  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n  `user_id` bigint(20) unsigned DEFAULT NULL,\n  `address_id` bigint(20) unsigned DEFAULT NULL,\n  `session_id` char(36) DEFAULT NULL,\n  `name` varchar(255) DEFAULT NULL,\n  `status` enum('active','ordered','abandoned') NOT NULL DEFAULT 'active',\n  `currency` varchar(10) NOT NULL DEFAULT 'IRR',\n  `subtotal` decimal(12,2) NOT NULL DEFAULT 0.00,\n  `discount_total` decimal(12,2) NOT NULL DEFAULT 0.00,\n  `tax_total` decimal(12,2) NOT NULL DEFAULT 0.00,\n  `shipping_total` decimal(12,2) NOT NULL DEFAULT 0.00,\n  `grand_total` decimal(12,2) NOT NULL DEFAULT 0.00,\n  `coupon` varchar(255) DEFAULT NULL,\n  `created_at` timestamp NULL DEFAULT NULL,\n  `updated_at` timestamp NULL DEFAULT NULL,\n  PRIMARY KEY (`id`),\n  KEY `carts_user_id_foreign` (`user_id`),\n  KEY `carts_address_id_foreign` (`address_id`),\n  KEY `carts_session_id_index` (`session_id`),\n  CONSTRAINT `carts_address_id_foreign` FOREIGN KEY (`address_id`) REFERENCES `addresses` (`id`) ON DELETE SET NULL,\n  CONSTRAINT `carts_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"carts\" (\n  \"id\" INTEGER NOT NULL,\n  \"user_id\" INTEGER,\n  \"address_id\" INTEGER,\n  \"session_id\" TEXT,\n  \"name\" TEXT,\n  \"status\" TEXT NOT NULL DEFAULT 'active',\n  \"currency\" TEXT NOT NULL DEFAULT 'IRR',\n  \"subtotal\" TEXT NOT NULL DEFAULT '0.00',\n  \"discount_total\" TEXT NOT NULL DEFAULT '0.00',\n  \"tax_total\" TEXT NOT NULL DEFAULT '0.00',\n  \"shipping_total\" TEXT NOT NULL DEFAULT '0.00',\n  \"grand_total\" TEXT NOT NULL DEFAULT '0.00',\n  \"coupon\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"address_id\") REFERENCES \"addresses\"(\"id\"),\n  FOREIGN KEY (\"user_id\") REFERENCES \"users\"(\"id\")\n);\n",
                    "mysql": "CREATE TABLE \"carts\" (\n  \"id\" INT NOT NULL,\n  \"user_id\" INT,\n  \"address_id\" INT,\n  \"session_id\" TEXT,\n  \"name\" VARCHAR(255),\n  \"status\" TEXT NOT NULL DEFAULT 'active',\n  \"currency\" VARCHAR(255) NOT NULL DEFAULT 'IRR',\n  \"subtotal\" TEXT NOT NULL DEFAULT '0.00',\n  \"discount_total\" TEXT NOT NULL DEFAULT '0.00',\n  \"tax_total\" TEXT NOT NULL DEFAULT '0.00',\n  \"shipping_total\" TEXT NOT NULL DEFAULT '0.00',\n  \"grand_total\" TEXT NOT NULL DEFAULT '0.00',\n  \"coupon\" VARCHAR(255),\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"address_id\") REFERENCES \"addresses\"(\"id\"),\n  FOREIGN KEY (\"user_id\") REFERENCES \"users\"(\"id\")\n);\n",
                    "pgsql": "CREATE TABLE \"carts\" (\n  \"id\" INTEGER NOT NULL,\n  \"user_id\" INTEGER,\n  \"address_id\" INTEGER,\n  \"session_id\" TEXT,\n  \"name\" VARCHAR(255),\n  \"status\" TEXT NOT NULL DEFAULT 'active',\n  \"currency\" VARCHAR(255) NOT NULL DEFAULT 'IRR',\n  \"subtotal\" TEXT NOT NULL DEFAULT '0.00',\n  \"discount_total\" TEXT NOT NULL DEFAULT '0.00',\n  \"tax_total\" TEXT NOT NULL DEFAULT '0.00',\n  \"shipping_total\" TEXT NOT NULL DEFAULT '0.00',\n  \"grand_total\" TEXT NOT NULL DEFAULT '0.00',\n  \"coupon\" VARCHAR(255),\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"address_id\") REFERENCES \"addresses\"(\"id\"),\n  FOREIGN KEY (\"user_id\") REFERENCES \"users\"(\"id\")\n);\n"
                }
            },
            "categories": {
                "name": "categories",
                "columns": {
                    "id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "name": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "parent_id": {
                        "type": "bigint(20) unsigned",
                        "null": "YES",
                        "key": "",
                        "default": "0"
                    },
                    "commission": {
                        "type": "int(11)",
                        "null": "YES",
                        "key": "",
                        "default": "0"
                    },
                    "order_index": {
                        "type": "int(10) unsigned",
                        "null": "YES",
                        "key": "",
                        "default": "0"
                    },
                    "image": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "created_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "updated_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "deleted_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "created_by": {
                        "type": "bigint(20) unsigned",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "deleted_by": {
                        "type": "bigint(20) unsigned",
                        "null": "YES",
                        "key": "",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "id"
                    ]
                },
                "foreign_keys": [],
                "sql_schemas": {
                    "native": "CREATE TABLE `categories` (\n  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n  `name` varchar(255) NOT NULL,\n  `parent_id` bigint(20) unsigned DEFAULT 0,\n  `commission` int(11) DEFAULT 0,\n  `order_index` int(10) unsigned DEFAULT 0,\n  `image` varchar(255) DEFAULT NULL,\n  `created_at` timestamp NULL DEFAULT NULL,\n  `updated_at` timestamp NULL DEFAULT NULL,\n  `deleted_at` timestamp NULL DEFAULT NULL,\n  `created_by` bigint(20) unsigned DEFAULT NULL,\n  `deleted_by` bigint(20) unsigned DEFAULT NULL,\n  PRIMARY KEY (`id`)\n) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"categories\" (\n  \"id\" INTEGER NOT NULL,\n  \"name\" TEXT NOT NULL,\n  \"parent_id\" INTEGER DEFAULT '0',\n  \"commission\" INTEGER DEFAULT '0',\n  \"order_index\" INTEGER DEFAULT '0',\n  \"image\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  \"deleted_at\" TEXT,\n  \"created_by\" INTEGER,\n  \"deleted_by\" INTEGER\n);\n",
                    "mysql": "CREATE TABLE \"categories\" (\n  \"id\" INT NOT NULL,\n  \"name\" VARCHAR(255) NOT NULL,\n  \"parent_id\" INT DEFAULT '0',\n  \"commission\" INT DEFAULT '0',\n  \"order_index\" INT DEFAULT '0',\n  \"image\" VARCHAR(255),\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  \"deleted_at\" TEXT,\n  \"created_by\" INT,\n  \"deleted_by\" INT\n);\n",
                    "pgsql": "CREATE TABLE \"categories\" (\n  \"id\" INTEGER NOT NULL,\n  \"name\" VARCHAR(255) NOT NULL,\n  \"parent_id\" INTEGER DEFAULT '0',\n  \"commission\" INTEGER DEFAULT '0',\n  \"order_index\" INTEGER DEFAULT '0',\n  \"image\" VARCHAR(255),\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  \"deleted_at\" TEXT,\n  \"created_by\" INTEGER,\n  \"deleted_by\" INTEGER\n);\n"
                }
            },
            "category_attribute_items": {
                "name": "category_attribute_items",
                "columns": {
                    "id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "category_attribute_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "item_group": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "item_key": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "item_value": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "data": {
                        "type": "longtext",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "created_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "updated_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "deleted_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "created_by": {
                        "type": "bigint(20) unsigned",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "deleted_by": {
                        "type": "bigint(20) unsigned",
                        "null": "YES",
                        "key": "",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "id"
                    ],
                    "category_attribute_items_category_attribute_id_foreign": [
                        "category_attribute_id"
                    ]
                },
                "foreign_keys": [
                    {
                        "name": "category_attribute_items_category_attribute_id_foreign",
                        "column_name": "category_attribute_id",
                        "referenced_table": "category_attributes",
                        "referenced_column": "id"
                    }
                ],
                "sql_schemas": {
                    "native": "CREATE TABLE `category_attribute_items` (\n  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n  `category_attribute_id` bigint(20) unsigned NOT NULL,\n  `item_group` varchar(255) DEFAULT NULL,\n  `item_key` varchar(255) DEFAULT NULL,\n  `item_value` varchar(255) DEFAULT NULL,\n  `data` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`data`)),\n  `created_at` timestamp NULL DEFAULT NULL,\n  `updated_at` timestamp NULL DEFAULT NULL,\n  `deleted_at` timestamp NULL DEFAULT NULL,\n  `created_by` bigint(20) unsigned DEFAULT NULL,\n  `deleted_by` bigint(20) unsigned DEFAULT NULL,\n  PRIMARY KEY (`id`),\n  KEY `category_attribute_items_category_attribute_id_foreign` (`category_attribute_id`),\n  CONSTRAINT `category_attribute_items_category_attribute_id_foreign` FOREIGN KEY (`category_attribute_id`) REFERENCES `category_attributes` (`id`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"category_attribute_items\" (\n  \"id\" INTEGER NOT NULL,\n  \"category_attribute_id\" INTEGER NOT NULL,\n  \"item_group\" TEXT,\n  \"item_key\" TEXT,\n  \"item_value\" TEXT,\n  \"data\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  \"deleted_at\" TEXT,\n  \"created_by\" INTEGER,\n  \"deleted_by\" INTEGER,\n  FOREIGN KEY (\"category_attribute_id\") REFERENCES \"category_attributes\"(\"id\")\n);\n",
                    "mysql": "CREATE TABLE \"category_attribute_items\" (\n  \"id\" INT NOT NULL,\n  \"category_attribute_id\" INT NOT NULL,\n  \"item_group\" VARCHAR(255),\n  \"item_key\" VARCHAR(255),\n  \"item_value\" VARCHAR(255),\n  \"data\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  \"deleted_at\" TEXT,\n  \"created_by\" INT,\n  \"deleted_by\" INT,\n  FOREIGN KEY (\"category_attribute_id\") REFERENCES \"category_attributes\"(\"id\")\n);\n",
                    "pgsql": "CREATE TABLE \"category_attribute_items\" (\n  \"id\" INTEGER NOT NULL,\n  \"category_attribute_id\" INTEGER NOT NULL,\n  \"item_group\" VARCHAR(255),\n  \"item_key\" VARCHAR(255),\n  \"item_value\" VARCHAR(255),\n  \"data\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  \"deleted_at\" TEXT,\n  \"created_by\" INTEGER,\n  \"deleted_by\" INTEGER,\n  FOREIGN KEY (\"category_attribute_id\") REFERENCES \"category_attributes\"(\"id\")\n);\n"
                }
            },
            "category_attributes": {
                "name": "category_attributes",
                "columns": {
                    "id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "category_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "label": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "type": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": "text"
                    },
                    "name": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "default_value": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "is_required": {
                        "type": "tinyint(1)",
                        "null": "YES",
                        "key": "",
                        "default": "0"
                    },
                    "is_filterable": {
                        "type": "tinyint(1)",
                        "null": "YES",
                        "key": "",
                        "default": "0"
                    },
                    "filter_type": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": "text"
                    },
                    "is_price_effective": {
                        "type": "tinyint(1)",
                        "null": "YES",
                        "key": "",
                        "default": "0"
                    },
                    "validation": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "created_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "updated_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "deleted_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "created_by": {
                        "type": "bigint(20) unsigned",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "deleted_by": {
                        "type": "bigint(20) unsigned",
                        "null": "YES",
                        "key": "",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "id"
                    ],
                    "category_attributes_category_id_foreign": [
                        "category_id"
                    ]
                },
                "foreign_keys": [
                    {
                        "name": "category_attributes_category_id_foreign",
                        "column_name": "category_id",
                        "referenced_table": "categories",
                        "referenced_column": "id"
                    }
                ],
                "sql_schemas": {
                    "native": "CREATE TABLE `category_attributes` (\n  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n  `category_id` bigint(20) unsigned NOT NULL,\n  `label` varchar(255) NOT NULL,\n  `type` varchar(255) DEFAULT 'text',\n  `name` varchar(255) NOT NULL,\n  `default_value` varchar(255) DEFAULT NULL,\n  `is_required` tinyint(1) DEFAULT 0,\n  `is_filterable` tinyint(1) DEFAULT 0,\n  `filter_type` varchar(255) DEFAULT 'text',\n  `is_price_effective` tinyint(1) DEFAULT 0,\n  `validation` varchar(255) DEFAULT NULL,\n  `created_at` timestamp NULL DEFAULT NULL,\n  `updated_at` timestamp NULL DEFAULT NULL,\n  `deleted_at` timestamp NULL DEFAULT NULL,\n  `created_by` bigint(20) unsigned DEFAULT NULL,\n  `deleted_by` bigint(20) unsigned DEFAULT NULL,\n  PRIMARY KEY (`id`),\n  KEY `category_attributes_category_id_foreign` (`category_id`),\n  CONSTRAINT `category_attributes_category_id_foreign` FOREIGN KEY (`category_id`) REFERENCES `categories` (`id`) ON DELETE CASCADE\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"category_attributes\" (\n  \"id\" INTEGER NOT NULL,\n  \"category_id\" INTEGER NOT NULL,\n  \"label\" TEXT NOT NULL,\n  \"type\" TEXT DEFAULT 'text',\n  \"name\" TEXT NOT NULL,\n  \"default_value\" TEXT,\n  \"is_required\" INTEGER DEFAULT '0',\n  \"is_filterable\" INTEGER DEFAULT '0',\n  \"filter_type\" TEXT DEFAULT 'text',\n  \"is_price_effective\" INTEGER DEFAULT '0',\n  \"validation\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  \"deleted_at\" TEXT,\n  \"created_by\" INTEGER,\n  \"deleted_by\" INTEGER,\n  FOREIGN KEY (\"category_id\") REFERENCES \"categories\"(\"id\")\n);\n",
                    "mysql": "CREATE TABLE \"category_attributes\" (\n  \"id\" INT NOT NULL,\n  \"category_id\" INT NOT NULL,\n  \"label\" VARCHAR(255) NOT NULL,\n  \"type\" VARCHAR(255) DEFAULT 'text',\n  \"name\" VARCHAR(255) NOT NULL,\n  \"default_value\" VARCHAR(255),\n  \"is_required\" INT DEFAULT '0',\n  \"is_filterable\" INT DEFAULT '0',\n  \"filter_type\" VARCHAR(255) DEFAULT 'text',\n  \"is_price_effective\" INT DEFAULT '0',\n  \"validation\" VARCHAR(255),\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  \"deleted_at\" TEXT,\n  \"created_by\" INT,\n  \"deleted_by\" INT,\n  FOREIGN KEY (\"category_id\") REFERENCES \"categories\"(\"id\")\n);\n",
                    "pgsql": "CREATE TABLE \"category_attributes\" (\n  \"id\" INTEGER NOT NULL,\n  \"category_id\" INTEGER NOT NULL,\n  \"label\" VARCHAR(255) NOT NULL,\n  \"type\" VARCHAR(255) DEFAULT 'text',\n  \"name\" VARCHAR(255) NOT NULL,\n  \"default_value\" VARCHAR(255),\n  \"is_required\" INTEGER DEFAULT '0',\n  \"is_filterable\" INTEGER DEFAULT '0',\n  \"filter_type\" VARCHAR(255) DEFAULT 'text',\n  \"is_price_effective\" INTEGER DEFAULT '0',\n  \"validation\" VARCHAR(255),\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  \"deleted_at\" TEXT,\n  \"created_by\" INTEGER,\n  \"deleted_by\" INTEGER,\n  FOREIGN KEY (\"category_id\") REFERENCES \"categories\"(\"id\")\n);\n"
                }
            },
            "comments": {
                "name": "comments",
                "columns": {
                    "id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "commentable_type": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "commentable_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "user_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "name": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "parent": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": "0"
                    },
                    "rate": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "seller_satisfactory": {
                        "type": "tinyint(1)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "vote_up": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": "0"
                    },
                    "vote_down": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": "0"
                    },
                    "good_point": {
                        "type": "longtext",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "bad_point": {
                        "type": "longtext",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "status": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": "Pending"
                    },
                    "content": {
                        "type": "text",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "data": {
                        "type": "longtext",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "created_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "updated_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "id"
                    ],
                    "comments_commentable_type_commentable_id_index": [
                        "commentable_type",
                        "commentable_id"
                    ],
                    "comments_user_id_foreign": [
                        "user_id"
                    ]
                },
                "foreign_keys": [
                    {
                        "name": "comments_user_id_foreign",
                        "column_name": "user_id",
                        "referenced_table": "users",
                        "referenced_column": "id"
                    }
                ],
                "sql_schemas": {
                    "native": "CREATE TABLE `comments` (\n  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n  `commentable_type` varchar(255) NOT NULL,\n  `commentable_id` bigint(20) unsigned NOT NULL,\n  `user_id` bigint(20) unsigned NOT NULL,\n  `name` varchar(255) NOT NULL,\n  `parent` varchar(255) DEFAULT '0',\n  `rate` varchar(255) NOT NULL,\n  `seller_satisfactory` tinyint(1) DEFAULT NULL,\n  `vote_up` varchar(255) DEFAULT '0',\n  `vote_down` varchar(255) DEFAULT '0',\n  `good_point` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`good_point`)),\n  `bad_point` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`bad_point`)),\n  `status` varchar(255) DEFAULT 'Pending',\n  `content` text NOT NULL,\n  `data` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`data`)),\n  `created_at` timestamp NULL DEFAULT NULL,\n  `updated_at` timestamp NULL DEFAULT NULL,\n  PRIMARY KEY (`id`),\n  KEY `comments_commentable_type_commentable_id_index` (`commentable_type`,`commentable_id`),\n  KEY `comments_user_id_foreign` (`user_id`),\n  CONSTRAINT `comments_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"comments\" (\n  \"id\" INTEGER NOT NULL,\n  \"commentable_type\" TEXT NOT NULL,\n  \"commentable_id\" INTEGER NOT NULL,\n  \"user_id\" INTEGER NOT NULL,\n  \"name\" TEXT NOT NULL,\n  \"parent\" TEXT DEFAULT '0',\n  \"rate\" TEXT NOT NULL,\n  \"seller_satisfactory\" INTEGER,\n  \"vote_up\" TEXT DEFAULT '0',\n  \"vote_down\" TEXT DEFAULT '0',\n  \"good_point\" TEXT,\n  \"bad_point\" TEXT,\n  \"status\" TEXT DEFAULT 'Pending',\n  \"content\" TEXT NOT NULL,\n  \"data\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"user_id\") REFERENCES \"users\"(\"id\")\n);\n",
                    "mysql": "CREATE TABLE \"comments\" (\n  \"id\" INT NOT NULL,\n  \"commentable_type\" VARCHAR(255) NOT NULL,\n  \"commentable_id\" INT NOT NULL,\n  \"user_id\" INT NOT NULL,\n  \"name\" VARCHAR(255) NOT NULL,\n  \"parent\" VARCHAR(255) DEFAULT '0',\n  \"rate\" VARCHAR(255) NOT NULL,\n  \"seller_satisfactory\" INT,\n  \"vote_up\" VARCHAR(255) DEFAULT '0',\n  \"vote_down\" VARCHAR(255) DEFAULT '0',\n  \"good_point\" TEXT,\n  \"bad_point\" TEXT,\n  \"status\" VARCHAR(255) DEFAULT 'Pending',\n  \"content\" TEXT NOT NULL,\n  \"data\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"user_id\") REFERENCES \"users\"(\"id\")\n);\n",
                    "pgsql": "CREATE TABLE \"comments\" (\n  \"id\" INTEGER NOT NULL,\n  \"commentable_type\" VARCHAR(255) NOT NULL,\n  \"commentable_id\" INTEGER NOT NULL,\n  \"user_id\" INTEGER NOT NULL,\n  \"name\" VARCHAR(255) NOT NULL,\n  \"parent\" VARCHAR(255) DEFAULT '0',\n  \"rate\" VARCHAR(255) NOT NULL,\n  \"seller_satisfactory\" INTEGER,\n  \"vote_up\" VARCHAR(255) DEFAULT '0',\n  \"vote_down\" VARCHAR(255) DEFAULT '0',\n  \"good_point\" TEXT,\n  \"bad_point\" TEXT,\n  \"status\" VARCHAR(255) DEFAULT 'Pending',\n  \"content\" TEXT NOT NULL,\n  \"data\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"user_id\") REFERENCES \"users\"(\"id\")\n);\n"
                }
            },
            "contact_us": {
                "name": "contact_us",
                "columns": {
                    "id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "name": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "phone": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "email": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "title": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "message": {
                        "type": "text",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "created_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "updated_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "id"
                    ]
                },
                "foreign_keys": [],
                "sql_schemas": {
                    "native": "CREATE TABLE `contact_us` (\n  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n  `name` varchar(255) DEFAULT NULL,\n  `phone` varchar(255) DEFAULT NULL,\n  `email` varchar(255) DEFAULT NULL,\n  `title` varchar(255) DEFAULT NULL,\n  `message` text DEFAULT NULL,\n  `created_at` timestamp NULL DEFAULT NULL,\n  `updated_at` timestamp NULL DEFAULT NULL,\n  PRIMARY KEY (`id`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"contact_us\" (\n  \"id\" INTEGER NOT NULL,\n  \"name\" TEXT,\n  \"phone\" TEXT,\n  \"email\" TEXT,\n  \"title\" TEXT,\n  \"message\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT\n);\n",
                    "mysql": "CREATE TABLE \"contact_us\" (\n  \"id\" INT NOT NULL,\n  \"name\" VARCHAR(255),\n  \"phone\" VARCHAR(255),\n  \"email\" VARCHAR(255),\n  \"title\" VARCHAR(255),\n  \"message\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT\n);\n",
                    "pgsql": "CREATE TABLE \"contact_us\" (\n  \"id\" INTEGER NOT NULL,\n  \"name\" VARCHAR(255),\n  \"phone\" VARCHAR(255),\n  \"email\" VARCHAR(255),\n  \"title\" VARCHAR(255),\n  \"message\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT\n);\n"
                }
            },
            "coupons": {
                "name": "coupons",
                "columns": {
                    "id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "code": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "UNI",
                        "default": null
                    },
                    "description": {
                        "type": "text",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "type": {
                        "type": "enum('Percentage Discount','Fixed Cart Discount','Fixed Product Discount')",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "amount": {
                        "type": "decimal(10,2)",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "allow_free_shipment": {
                        "type": "tinyint(1)",
                        "null": "NO",
                        "key": "",
                        "default": "0"
                    },
                    "expire_date": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "max_discount": {
                        "type": "decimal(10,2)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "minimum_spend": {
                        "type": "decimal(10,2)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "maximum_spend": {
                        "type": "decimal(10,2)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "individual_use_only": {
                        "type": "tinyint(1)",
                        "null": "NO",
                        "key": "",
                        "default": "0"
                    },
                    "exclude_sale_items": {
                        "type": "tinyint(1)",
                        "null": "NO",
                        "key": "",
                        "default": "0"
                    },
                    "products": {
                        "type": "longtext",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "exclude_products": {
                        "type": "longtext",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "product_categories": {
                        "type": "longtext",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "exclude_categories": {
                        "type": "longtext",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "allowed_emails": {
                        "type": "longtext",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "usage_limit": {
                        "type": "int(10) unsigned",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "product_limit": {
                        "type": "int(10) unsigned",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "usage_limit_per_user": {
                        "type": "int(10) unsigned",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "created_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "updated_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "id"
                    ],
                    "coupons_code_unique": [
                        "code"
                    ]
                },
                "foreign_keys": [],
                "sql_schemas": {
                    "native": "CREATE TABLE `coupons` (\n  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n  `code` varchar(255) NOT NULL,\n  `description` text DEFAULT NULL,\n  `type` enum('Percentage Discount','Fixed Cart Discount','Fixed Product Discount') NOT NULL,\n  `amount` decimal(10,2) NOT NULL,\n  `allow_free_shipment` tinyint(1) NOT NULL DEFAULT 0,\n  `expire_date` timestamp NULL DEFAULT NULL,\n  `max_discount` decimal(10,2) DEFAULT NULL,\n  `minimum_spend` decimal(10,2) DEFAULT NULL,\n  `maximum_spend` decimal(10,2) DEFAULT NULL,\n  `individual_use_only` tinyint(1) NOT NULL DEFAULT 0,\n  `exclude_sale_items` tinyint(1) NOT NULL DEFAULT 0,\n  `products` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`products`)),\n  `exclude_products` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`exclude_products`)),\n  `product_categories` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`product_categories`)),\n  `exclude_categories` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`exclude_categories`)),\n  `allowed_emails` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`allowed_emails`)),\n  `usage_limit` int(10) unsigned DEFAULT NULL,\n  `product_limit` int(10) unsigned DEFAULT NULL,\n  `usage_limit_per_user` int(10) unsigned DEFAULT NULL,\n  `created_at` timestamp NULL DEFAULT NULL,\n  `updated_at` timestamp NULL DEFAULT NULL,\n  PRIMARY KEY (`id`),\n  UNIQUE KEY `coupons_code_unique` (`code`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"coupons\" (\n  \"id\" INTEGER NOT NULL,\n  \"code\" TEXT NOT NULL,\n  \"description\" TEXT,\n  \"type\" TEXT NOT NULL,\n  \"amount\" TEXT NOT NULL,\n  \"allow_free_shipment\" INTEGER NOT NULL DEFAULT '0',\n  \"expire_date\" TEXT,\n  \"max_discount\" TEXT,\n  \"minimum_spend\" TEXT,\n  \"maximum_spend\" TEXT,\n  \"individual_use_only\" INTEGER NOT NULL DEFAULT '0',\n  \"exclude_sale_items\" INTEGER NOT NULL DEFAULT '0',\n  \"products\" TEXT,\n  \"exclude_products\" TEXT,\n  \"product_categories\" TEXT,\n  \"exclude_categories\" TEXT,\n  \"allowed_emails\" TEXT,\n  \"usage_limit\" INTEGER,\n  \"product_limit\" INTEGER,\n  \"usage_limit_per_user\" INTEGER,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT\n);\n",
                    "mysql": "CREATE TABLE \"coupons\" (\n  \"id\" INT NOT NULL,\n  \"code\" VARCHAR(255) NOT NULL,\n  \"description\" TEXT,\n  \"type\" TEXT NOT NULL,\n  \"amount\" TEXT NOT NULL,\n  \"allow_free_shipment\" INT NOT NULL DEFAULT '0',\n  \"expire_date\" TEXT,\n  \"max_discount\" TEXT,\n  \"minimum_spend\" TEXT,\n  \"maximum_spend\" TEXT,\n  \"individual_use_only\" INT NOT NULL DEFAULT '0',\n  \"exclude_sale_items\" INT NOT NULL DEFAULT '0',\n  \"products\" TEXT,\n  \"exclude_products\" TEXT,\n  \"product_categories\" TEXT,\n  \"exclude_categories\" TEXT,\n  \"allowed_emails\" TEXT,\n  \"usage_limit\" INT,\n  \"product_limit\" INT,\n  \"usage_limit_per_user\" INT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT\n);\n",
                    "pgsql": "CREATE TABLE \"coupons\" (\n  \"id\" INTEGER NOT NULL,\n  \"code\" VARCHAR(255) NOT NULL,\n  \"description\" TEXT,\n  \"type\" TEXT NOT NULL,\n  \"amount\" TEXT NOT NULL,\n  \"allow_free_shipment\" INTEGER NOT NULL DEFAULT '0',\n  \"expire_date\" TEXT,\n  \"max_discount\" TEXT,\n  \"minimum_spend\" TEXT,\n  \"maximum_spend\" TEXT,\n  \"individual_use_only\" INTEGER NOT NULL DEFAULT '0',\n  \"exclude_sale_items\" INTEGER NOT NULL DEFAULT '0',\n  \"products\" TEXT,\n  \"exclude_products\" TEXT,\n  \"product_categories\" TEXT,\n  \"exclude_categories\" TEXT,\n  \"allowed_emails\" TEXT,\n  \"usage_limit\" INTEGER,\n  \"product_limit\" INTEGER,\n  \"usage_limit_per_user\" INTEGER,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT\n);\n"
                }
            },
            "deliveries": {
                "name": "deliveries",
                "columns": {
                    "id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "order_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "delivery_time_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "user_id": {
                        "type": "bigint(20) unsigned",
                        "null": "YES",
                        "key": "MUL",
                        "default": null
                    },
                    "address_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "tracking_code": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "UNI",
                        "default": null
                    },
                    "type": {
                        "type": "enum('standard','express','next_day','same_day','locker_pickup','in_store_pickup','international','fragile_handling','freight','return_pickup')",
                        "null": "NO",
                        "key": "",
                        "default": "standard"
                    },
                    "provider_id": {
                        "type": "bigint(20) unsigned",
                        "null": "YES",
                        "key": "MUL",
                        "default": null
                    },
                    "date": {
                        "type": "date",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "time": {
                        "type": "time",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "status": {
                        "type": "enum('pending','picked up','in transit','delivered','canceled')",
                        "null": "NO",
                        "key": "MUL",
                        "default": "pending"
                    },
                    "price": {
                        "type": "decimal(10,2)",
                        "null": "NO",
                        "key": "",
                        "default": "0.00"
                    },
                    "carrier": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "carrier_code": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "origin_lat": {
                        "type": "decimal(10,8)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "origin_lon": {
                        "type": "decimal(11,8)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "dest_lat": {
                        "type": "decimal(10,8)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "dest_lon": {
                        "type": "decimal(11,8)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "picked_up_at": {
                        "type": "datetime",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "delivered_at": {
                        "type": "datetime",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "created_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "updated_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "id"
                    ],
                    "deliveries_tracking_code_unique": [
                        "tracking_code"
                    ],
                    "deliveries_order_id_foreign": [
                        "order_id"
                    ],
                    "deliveries_delivery_time_id_foreign": [
                        "delivery_time_id"
                    ],
                    "deliveries_user_id_foreign": [
                        "user_id"
                    ],
                    "deliveries_address_id_foreign": [
                        "address_id"
                    ],
                    "deliveries_status_date_index": [
                        "status",
                        "date"
                    ],
                    "deliveries_provider_id_foreign": [
                        "provider_id"
                    ]
                },
                "foreign_keys": [
                    {
                        "name": "deliveries_address_id_foreign",
                        "column_name": "address_id",
                        "referenced_table": "addresses",
                        "referenced_column": "id"
                    },
                    {
                        "name": "deliveries_delivery_time_id_foreign",
                        "column_name": "delivery_time_id",
                        "referenced_table": "delivery_times",
                        "referenced_column": "id"
                    },
                    {
                        "name": "deliveries_order_id_foreign",
                        "column_name": "order_id",
                        "referenced_table": "orders",
                        "referenced_column": "id"
                    },
                    {
                        "name": "deliveries_provider_id_foreign",
                        "column_name": "provider_id",
                        "referenced_table": "delivery_providers",
                        "referenced_column": "id"
                    },
                    {
                        "name": "deliveries_user_id_foreign",
                        "column_name": "user_id",
                        "referenced_table": "users",
                        "referenced_column": "id"
                    }
                ],
                "sql_schemas": {
                    "native": "CREATE TABLE `deliveries` (\n  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n  `order_id` bigint(20) unsigned NOT NULL,\n  `delivery_time_id` bigint(20) unsigned NOT NULL,\n  `user_id` bigint(20) unsigned DEFAULT NULL,\n  `address_id` bigint(20) unsigned NOT NULL,\n  `tracking_code` varchar(255) NOT NULL,\n  `type` enum('standard','express','next_day','same_day','locker_pickup','in_store_pickup','international','fragile_handling','freight','return_pickup') NOT NULL DEFAULT 'standard',\n  `provider_id` bigint(20) unsigned DEFAULT NULL,\n  `date` date NOT NULL,\n  `time` time DEFAULT NULL,\n  `status` enum('pending','picked up','in transit','delivered','canceled') NOT NULL DEFAULT 'pending',\n  `price` decimal(10,2) NOT NULL DEFAULT 0.00,\n  `carrier` varchar(255) DEFAULT NULL,\n  `carrier_code` varchar(255) DEFAULT NULL,\n  `origin_lat` decimal(10,8) DEFAULT NULL,\n  `origin_lon` decimal(11,8) DEFAULT NULL,\n  `dest_lat` decimal(10,8) DEFAULT NULL,\n  `dest_lon` decimal(11,8) DEFAULT NULL,\n  `picked_up_at` datetime DEFAULT NULL,\n  `delivered_at` datetime DEFAULT NULL,\n  `created_at` timestamp NULL DEFAULT NULL,\n  `updated_at` timestamp NULL DEFAULT NULL,\n  PRIMARY KEY (`id`),\n  UNIQUE KEY `deliveries_tracking_code_unique` (`tracking_code`),\n  KEY `deliveries_order_id_foreign` (`order_id`),\n  KEY `deliveries_delivery_time_id_foreign` (`delivery_time_id`),\n  KEY `deliveries_user_id_foreign` (`user_id`),\n  KEY `deliveries_address_id_foreign` (`address_id`),\n  KEY `deliveries_status_date_index` (`status`,`date`),\n  KEY `deliveries_provider_id_foreign` (`provider_id`),\n  CONSTRAINT `deliveries_address_id_foreign` FOREIGN KEY (`address_id`) REFERENCES `addresses` (`id`) ON DELETE CASCADE,\n  CONSTRAINT `deliveries_delivery_time_id_foreign` FOREIGN KEY (`delivery_time_id`) REFERENCES `delivery_times` (`id`) ON DELETE CASCADE,\n  CONSTRAINT `deliveries_order_id_foreign` FOREIGN KEY (`order_id`) REFERENCES `orders` (`id`) ON DELETE CASCADE,\n  CONSTRAINT `deliveries_provider_id_foreign` FOREIGN KEY (`provider_id`) REFERENCES `delivery_providers` (`id`) ON DELETE SET NULL,\n  CONSTRAINT `deliveries_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE SET NULL\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"deliveries\" (\n  \"id\" INTEGER NOT NULL,\n  \"order_id\" INTEGER NOT NULL,\n  \"delivery_time_id\" INTEGER NOT NULL,\n  \"user_id\" INTEGER,\n  \"address_id\" INTEGER NOT NULL,\n  \"tracking_code\" TEXT NOT NULL,\n  \"type\" INTEGER NOT NULL DEFAULT 'standard',\n  \"provider_id\" INTEGER,\n  \"date\" TEXT NOT NULL,\n  \"time\" TEXT,\n  \"status\" TEXT NOT NULL DEFAULT 'pending',\n  \"price\" TEXT NOT NULL DEFAULT '0.00',\n  \"carrier\" TEXT,\n  \"carrier_code\" TEXT,\n  \"origin_lat\" TEXT,\n  \"origin_lon\" TEXT,\n  \"dest_lat\" TEXT,\n  \"dest_lon\" TEXT,\n  \"picked_up_at\" TEXT,\n  \"delivered_at\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"address_id\") REFERENCES \"addresses\"(\"id\"),\n  FOREIGN KEY (\"delivery_time_id\") REFERENCES \"delivery_times\"(\"id\"),\n  FOREIGN KEY (\"order_id\") REFERENCES \"orders\"(\"id\"),\n  FOREIGN KEY (\"provider_id\") REFERENCES \"delivery_providers\"(\"id\"),\n  FOREIGN KEY (\"user_id\") REFERENCES \"users\"(\"id\")\n);\n",
                    "mysql": "CREATE TABLE \"deliveries\" (\n  \"id\" INT NOT NULL,\n  \"order_id\" INT NOT NULL,\n  \"delivery_time_id\" INT NOT NULL,\n  \"user_id\" INT,\n  \"address_id\" INT NOT NULL,\n  \"tracking_code\" VARCHAR(255) NOT NULL,\n  \"type\" INT NOT NULL DEFAULT 'standard',\n  \"provider_id\" INT,\n  \"date\" TEXT NOT NULL,\n  \"time\" TEXT,\n  \"status\" TEXT NOT NULL DEFAULT 'pending',\n  \"price\" TEXT NOT NULL DEFAULT '0.00',\n  \"carrier\" VARCHAR(255),\n  \"carrier_code\" VARCHAR(255),\n  \"origin_lat\" TEXT,\n  \"origin_lon\" TEXT,\n  \"dest_lat\" TEXT,\n  \"dest_lon\" TEXT,\n  \"picked_up_at\" TEXT,\n  \"delivered_at\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"address_id\") REFERENCES \"addresses\"(\"id\"),\n  FOREIGN KEY (\"delivery_time_id\") REFERENCES \"delivery_times\"(\"id\"),\n  FOREIGN KEY (\"order_id\") REFERENCES \"orders\"(\"id\"),\n  FOREIGN KEY (\"provider_id\") REFERENCES \"delivery_providers\"(\"id\"),\n  FOREIGN KEY (\"user_id\") REFERENCES \"users\"(\"id\")\n);\n",
                    "pgsql": "CREATE TABLE \"deliveries\" (\n  \"id\" INTEGER NOT NULL,\n  \"order_id\" INTEGER NOT NULL,\n  \"delivery_time_id\" INTEGER NOT NULL,\n  \"user_id\" INTEGER,\n  \"address_id\" INTEGER NOT NULL,\n  \"tracking_code\" VARCHAR(255) NOT NULL,\n  \"type\" INTEGER NOT NULL DEFAULT 'standard',\n  \"provider_id\" INTEGER,\n  \"date\" TEXT NOT NULL,\n  \"time\" TEXT,\n  \"status\" TEXT NOT NULL DEFAULT 'pending',\n  \"price\" TEXT NOT NULL DEFAULT '0.00',\n  \"carrier\" VARCHAR(255),\n  \"carrier_code\" VARCHAR(255),\n  \"origin_lat\" TEXT,\n  \"origin_lon\" TEXT,\n  \"dest_lat\" TEXT,\n  \"dest_lon\" TEXT,\n  \"picked_up_at\" TEXT,\n  \"delivered_at\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"address_id\") REFERENCES \"addresses\"(\"id\"),\n  FOREIGN KEY (\"delivery_time_id\") REFERENCES \"delivery_times\"(\"id\"),\n  FOREIGN KEY (\"order_id\") REFERENCES \"orders\"(\"id\"),\n  FOREIGN KEY (\"provider_id\") REFERENCES \"delivery_providers\"(\"id\"),\n  FOREIGN KEY (\"user_id\") REFERENCES \"users\"(\"id\")\n);\n"
                }
            },
            "delivery_day_capacities": {
                "name": "delivery_day_capacities",
                "columns": {
                    "id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "date": {
                        "type": "date",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "delivery_time_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "taken": {
                        "type": "int(10) unsigned",
                        "null": "NO",
                        "key": "",
                        "default": "0"
                    },
                    "created_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "updated_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "id"
                    ],
                    "delivery_day_capacities_date_delivery_time_id_unique": [
                        "date",
                        "delivery_time_id"
                    ],
                    "delivery_day_capacities_delivery_time_id_foreign": [
                        "delivery_time_id"
                    ]
                },
                "foreign_keys": [
                    {
                        "name": "delivery_day_capacities_delivery_time_id_foreign",
                        "column_name": "delivery_time_id",
                        "referenced_table": "delivery_times",
                        "referenced_column": "id"
                    }
                ],
                "sql_schemas": {
                    "native": "CREATE TABLE `delivery_day_capacities` (\n  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n  `date` date NOT NULL,\n  `delivery_time_id` bigint(20) unsigned NOT NULL,\n  `taken` int(10) unsigned NOT NULL DEFAULT 0,\n  `created_at` timestamp NULL DEFAULT NULL,\n  `updated_at` timestamp NULL DEFAULT NULL,\n  PRIMARY KEY (`id`),\n  UNIQUE KEY `delivery_day_capacities_date_delivery_time_id_unique` (`date`,`delivery_time_id`),\n  KEY `delivery_day_capacities_delivery_time_id_foreign` (`delivery_time_id`),\n  CONSTRAINT `delivery_day_capacities_delivery_time_id_foreign` FOREIGN KEY (`delivery_time_id`) REFERENCES `delivery_times` (`id`) ON DELETE CASCADE\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"delivery_day_capacities\" (\n  \"id\" INTEGER NOT NULL,\n  \"date\" TEXT NOT NULL,\n  \"delivery_time_id\" INTEGER NOT NULL,\n  \"taken\" INTEGER NOT NULL DEFAULT '0',\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"delivery_time_id\") REFERENCES \"delivery_times\"(\"id\")\n);\n",
                    "mysql": "CREATE TABLE \"delivery_day_capacities\" (\n  \"id\" INT NOT NULL,\n  \"date\" TEXT NOT NULL,\n  \"delivery_time_id\" INT NOT NULL,\n  \"taken\" INT NOT NULL DEFAULT '0',\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"delivery_time_id\") REFERENCES \"delivery_times\"(\"id\")\n);\n",
                    "pgsql": "CREATE TABLE \"delivery_day_capacities\" (\n  \"id\" INTEGER NOT NULL,\n  \"date\" TEXT NOT NULL,\n  \"delivery_time_id\" INTEGER NOT NULL,\n  \"taken\" INTEGER NOT NULL DEFAULT '0',\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"delivery_time_id\") REFERENCES \"delivery_times\"(\"id\")\n);\n"
                }
            },
            "delivery_events": {
                "name": "delivery_events",
                "columns": {
                    "id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "delivery_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "status": {
                        "type": "enum('pending','ready_for_pickup','in_transit','out_for_delivery','delivered','failed','returned')",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "payload": {
                        "type": "longtext",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "happened_at": {
                        "type": "datetime",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "created_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "updated_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "id"
                    ],
                    "delivery_events_status_index": [
                        "status"
                    ],
                    "delivery_events_happened_at_index": [
                        "happened_at"
                    ],
                    "delivery_events_delivery_id_happened_at_index": [
                        "delivery_id",
                        "happened_at"
                    ]
                },
                "foreign_keys": [
                    {
                        "name": "delivery_events_delivery_id_foreign",
                        "column_name": "delivery_id",
                        "referenced_table": "deliveries",
                        "referenced_column": "id"
                    }
                ],
                "sql_schemas": {
                    "native": "CREATE TABLE `delivery_events` (\n  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n  `delivery_id` bigint(20) unsigned NOT NULL,\n  `status` enum('pending','ready_for_pickup','in_transit','out_for_delivery','delivered','failed','returned') NOT NULL,\n  `payload` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`payload`)),\n  `happened_at` datetime NOT NULL,\n  `created_at` timestamp NULL DEFAULT NULL,\n  `updated_at` timestamp NULL DEFAULT NULL,\n  PRIMARY KEY (`id`),\n  KEY `delivery_events_status_index` (`status`),\n  KEY `delivery_events_happened_at_index` (`happened_at`),\n  KEY `delivery_events_delivery_id_happened_at_index` (`delivery_id`,`happened_at`),\n  CONSTRAINT `delivery_events_delivery_id_foreign` FOREIGN KEY (`delivery_id`) REFERENCES `deliveries` (`id`) ON DELETE CASCADE\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"delivery_events\" (\n  \"id\" INTEGER NOT NULL,\n  \"delivery_id\" INTEGER NOT NULL,\n  \"status\" TEXT NOT NULL,\n  \"payload\" TEXT,\n  \"happened_at\" TEXT NOT NULL,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"delivery_id\") REFERENCES \"deliveries\"(\"id\")\n);\n",
                    "mysql": "CREATE TABLE \"delivery_events\" (\n  \"id\" INT NOT NULL,\n  \"delivery_id\" INT NOT NULL,\n  \"status\" TEXT NOT NULL,\n  \"payload\" TEXT,\n  \"happened_at\" TEXT NOT NULL,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"delivery_id\") REFERENCES \"deliveries\"(\"id\")\n);\n",
                    "pgsql": "CREATE TABLE \"delivery_events\" (\n  \"id\" INTEGER NOT NULL,\n  \"delivery_id\" INTEGER NOT NULL,\n  \"status\" TEXT NOT NULL,\n  \"payload\" TEXT,\n  \"happened_at\" TEXT NOT NULL,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"delivery_id\") REFERENCES \"deliveries\"(\"id\")\n);\n"
                }
            },
            "delivery_items": {
                "name": "delivery_items",
                "columns": {
                    "id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "delivery_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "order_item_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "weight": {
                        "type": "decimal(10,2)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "barcode": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "created_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "updated_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "id"
                    ],
                    "delivery_items_delivery_id_foreign": [
                        "delivery_id"
                    ],
                    "delivery_items_order_item_id_foreign": [
                        "order_item_id"
                    ]
                },
                "foreign_keys": [
                    {
                        "name": "delivery_items_delivery_id_foreign",
                        "column_name": "delivery_id",
                        "referenced_table": "deliveries",
                        "referenced_column": "id"
                    },
                    {
                        "name": "delivery_items_order_item_id_foreign",
                        "column_name": "order_item_id",
                        "referenced_table": "order_items",
                        "referenced_column": "id"
                    }
                ],
                "sql_schemas": {
                    "native": "CREATE TABLE `delivery_items` (\n  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n  `delivery_id` bigint(20) unsigned NOT NULL,\n  `order_item_id` bigint(20) unsigned NOT NULL,\n  `weight` decimal(10,2) DEFAULT NULL,\n  `barcode` varchar(255) DEFAULT NULL,\n  `created_at` timestamp NULL DEFAULT NULL,\n  `updated_at` timestamp NULL DEFAULT NULL,\n  PRIMARY KEY (`id`),\n  KEY `delivery_items_delivery_id_foreign` (`delivery_id`),\n  KEY `delivery_items_order_item_id_foreign` (`order_item_id`),\n  CONSTRAINT `delivery_items_delivery_id_foreign` FOREIGN KEY (`delivery_id`) REFERENCES `deliveries` (`id`) ON DELETE CASCADE,\n  CONSTRAINT `delivery_items_order_item_id_foreign` FOREIGN KEY (`order_item_id`) REFERENCES `order_items` (`id`) ON DELETE CASCADE\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"delivery_items\" (\n  \"id\" INTEGER NOT NULL,\n  \"delivery_id\" INTEGER NOT NULL,\n  \"order_item_id\" INTEGER NOT NULL,\n  \"weight\" TEXT,\n  \"barcode\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"delivery_id\") REFERENCES \"deliveries\"(\"id\"),\n  FOREIGN KEY (\"order_item_id\") REFERENCES \"order_items\"(\"id\")\n);\n",
                    "mysql": "CREATE TABLE \"delivery_items\" (\n  \"id\" INT NOT NULL,\n  \"delivery_id\" INT NOT NULL,\n  \"order_item_id\" INT NOT NULL,\n  \"weight\" TEXT,\n  \"barcode\" VARCHAR(255),\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"delivery_id\") REFERENCES \"deliveries\"(\"id\"),\n  FOREIGN KEY (\"order_item_id\") REFERENCES \"order_items\"(\"id\")\n);\n",
                    "pgsql": "CREATE TABLE \"delivery_items\" (\n  \"id\" INTEGER NOT NULL,\n  \"delivery_id\" INTEGER NOT NULL,\n  \"order_item_id\" INTEGER NOT NULL,\n  \"weight\" TEXT,\n  \"barcode\" VARCHAR(255),\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"delivery_id\") REFERENCES \"deliveries\"(\"id\"),\n  FOREIGN KEY (\"order_item_id\") REFERENCES \"order_items\"(\"id\")\n);\n"
                }
            },
            "delivery_providers": {
                "name": "delivery_providers",
                "columns": {
                    "id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "name": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "UNI",
                        "default": null
                    },
                    "code": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "contact_phone": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "contact_email": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "notes": {
                        "type": "text",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "created_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "updated_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "id"
                    ],
                    "delivery_providers_name_unique": [
                        "name"
                    ]
                },
                "foreign_keys": [],
                "sql_schemas": {
                    "native": "CREATE TABLE `delivery_providers` (\n  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n  `name` varchar(255) NOT NULL,\n  `code` varchar(255) DEFAULT NULL,\n  `contact_phone` varchar(255) DEFAULT NULL,\n  `contact_email` varchar(255) DEFAULT NULL,\n  `notes` text DEFAULT NULL,\n  `created_at` timestamp NULL DEFAULT NULL,\n  `updated_at` timestamp NULL DEFAULT NULL,\n  PRIMARY KEY (`id`),\n  UNIQUE KEY `delivery_providers_name_unique` (`name`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"delivery_providers\" (\n  \"id\" INTEGER NOT NULL,\n  \"name\" TEXT NOT NULL,\n  \"code\" TEXT,\n  \"contact_phone\" TEXT,\n  \"contact_email\" TEXT,\n  \"notes\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT\n);\n",
                    "mysql": "CREATE TABLE \"delivery_providers\" (\n  \"id\" INT NOT NULL,\n  \"name\" VARCHAR(255) NOT NULL,\n  \"code\" VARCHAR(255),\n  \"contact_phone\" VARCHAR(255),\n  \"contact_email\" VARCHAR(255),\n  \"notes\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT\n);\n",
                    "pgsql": "CREATE TABLE \"delivery_providers\" (\n  \"id\" INTEGER NOT NULL,\n  \"name\" VARCHAR(255) NOT NULL,\n  \"code\" VARCHAR(255),\n  \"contact_phone\" VARCHAR(255),\n  \"contact_email\" VARCHAR(255),\n  \"notes\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT\n);\n"
                }
            },
            "delivery_time_exceptions": {
                "name": "delivery_time_exceptions",
                "columns": {
                    "id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "delivery_time_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "date": {
                        "type": "date",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "created_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "updated_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "id"
                    ],
                    "delivery_time_exceptions_delivery_time_id_date_unique": [
                        "delivery_time_id",
                        "date"
                    ]
                },
                "foreign_keys": [
                    {
                        "name": "delivery_time_exceptions_delivery_time_id_foreign",
                        "column_name": "delivery_time_id",
                        "referenced_table": "delivery_times",
                        "referenced_column": "id"
                    }
                ],
                "sql_schemas": {
                    "native": "CREATE TABLE `delivery_time_exceptions` (\n  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n  `delivery_time_id` bigint(20) unsigned NOT NULL,\n  `date` date NOT NULL,\n  `created_at` timestamp NULL DEFAULT NULL,\n  `updated_at` timestamp NULL DEFAULT NULL,\n  PRIMARY KEY (`id`),\n  UNIQUE KEY `delivery_time_exceptions_delivery_time_id_date_unique` (`delivery_time_id`,`date`),\n  CONSTRAINT `delivery_time_exceptions_delivery_time_id_foreign` FOREIGN KEY (`delivery_time_id`) REFERENCES `delivery_times` (`id`) ON DELETE CASCADE\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"delivery_time_exceptions\" (\n  \"id\" INTEGER NOT NULL,\n  \"delivery_time_id\" INTEGER NOT NULL,\n  \"date\" TEXT NOT NULL,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"delivery_time_id\") REFERENCES \"delivery_times\"(\"id\")\n);\n",
                    "mysql": "CREATE TABLE \"delivery_time_exceptions\" (\n  \"id\" INT NOT NULL,\n  \"delivery_time_id\" INT NOT NULL,\n  \"date\" TEXT NOT NULL,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"delivery_time_id\") REFERENCES \"delivery_times\"(\"id\")\n);\n",
                    "pgsql": "CREATE TABLE \"delivery_time_exceptions\" (\n  \"id\" INTEGER NOT NULL,\n  \"delivery_time_id\" INTEGER NOT NULL,\n  \"date\" TEXT NOT NULL,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"delivery_time_id\") REFERENCES \"delivery_times\"(\"id\")\n);\n"
                }
            },
            "delivery_time_reservations": {
                "name": "delivery_time_reservations",
                "columns": {
                    "id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "user_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "delivery_time_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "date": {
                        "type": "date",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "expires_at": {
                        "type": "datetime",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "created_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "updated_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "id"
                    ],
                    "res_user_time_date_unique": [
                        "user_id",
                        "delivery_time_id",
                        "date"
                    ],
                    "delivery_time_reservations_delivery_time_id_foreign": [
                        "delivery_time_id"
                    ],
                    "delivery_time_reservations_expires_at_index": [
                        "expires_at"
                    ]
                },
                "foreign_keys": [
                    {
                        "name": "delivery_time_reservations_delivery_time_id_foreign",
                        "column_name": "delivery_time_id",
                        "referenced_table": "delivery_times",
                        "referenced_column": "id"
                    },
                    {
                        "name": "delivery_time_reservations_user_id_foreign",
                        "column_name": "user_id",
                        "referenced_table": "users",
                        "referenced_column": "id"
                    }
                ],
                "sql_schemas": {
                    "native": "CREATE TABLE `delivery_time_reservations` (\n  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n  `user_id` bigint(20) unsigned NOT NULL,\n  `delivery_time_id` bigint(20) unsigned NOT NULL,\n  `date` date NOT NULL,\n  `expires_at` datetime NOT NULL,\n  `created_at` timestamp NULL DEFAULT NULL,\n  `updated_at` timestamp NULL DEFAULT NULL,\n  PRIMARY KEY (`id`),\n  UNIQUE KEY `res_user_time_date_unique` (`user_id`,`delivery_time_id`,`date`),\n  KEY `delivery_time_reservations_delivery_time_id_foreign` (`delivery_time_id`),\n  KEY `delivery_time_reservations_expires_at_index` (`expires_at`),\n  CONSTRAINT `delivery_time_reservations_delivery_time_id_foreign` FOREIGN KEY (`delivery_time_id`) REFERENCES `delivery_times` (`id`) ON DELETE CASCADE,\n  CONSTRAINT `delivery_time_reservations_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"delivery_time_reservations\" (\n  \"id\" INTEGER NOT NULL,\n  \"user_id\" INTEGER NOT NULL,\n  \"delivery_time_id\" INTEGER NOT NULL,\n  \"date\" TEXT NOT NULL,\n  \"expires_at\" TEXT NOT NULL,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"delivery_time_id\") REFERENCES \"delivery_times\"(\"id\"),\n  FOREIGN KEY (\"user_id\") REFERENCES \"users\"(\"id\")\n);\n",
                    "mysql": "CREATE TABLE \"delivery_time_reservations\" (\n  \"id\" INT NOT NULL,\n  \"user_id\" INT NOT NULL,\n  \"delivery_time_id\" INT NOT NULL,\n  \"date\" TEXT NOT NULL,\n  \"expires_at\" TEXT NOT NULL,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"delivery_time_id\") REFERENCES \"delivery_times\"(\"id\"),\n  FOREIGN KEY (\"user_id\") REFERENCES \"users\"(\"id\")\n);\n",
                    "pgsql": "CREATE TABLE \"delivery_time_reservations\" (\n  \"id\" INTEGER NOT NULL,\n  \"user_id\" INTEGER NOT NULL,\n  \"delivery_time_id\" INTEGER NOT NULL,\n  \"date\" TEXT NOT NULL,\n  \"expires_at\" TEXT NOT NULL,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"delivery_time_id\") REFERENCES \"delivery_times\"(\"id\"),\n  FOREIGN KEY (\"user_id\") REFERENCES \"users\"(\"id\")\n);\n"
                }
            },
            "delivery_times": {
                "name": "delivery_times",
                "columns": {
                    "id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "day": {
                        "type": "tinyint(3) unsigned",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "from": {
                        "type": "time",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "until": {
                        "type": "time",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "capacity": {
                        "type": "int(10) unsigned",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "created_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "updated_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "id"
                    ],
                    "delivery_times_day_from_until_unique": [
                        "day",
                        "from",
                        "until"
                    ]
                },
                "foreign_keys": [],
                "sql_schemas": {
                    "native": "CREATE TABLE `delivery_times` (\n  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n  `day` tinyint(3) unsigned NOT NULL,\n  `from` time NOT NULL,\n  `until` time NOT NULL,\n  `capacity` int(10) unsigned NOT NULL,\n  `created_at` timestamp NULL DEFAULT NULL,\n  `updated_at` timestamp NULL DEFAULT NULL,\n  PRIMARY KEY (`id`),\n  UNIQUE KEY `delivery_times_day_from_until_unique` (`day`,`from`,`until`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"delivery_times\" (\n  \"id\" INTEGER NOT NULL,\n  \"day\" INTEGER NOT NULL,\n  \"from\" TEXT NOT NULL,\n  \"until\" TEXT NOT NULL,\n  \"capacity\" INTEGER NOT NULL,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT\n);\n",
                    "mysql": "CREATE TABLE \"delivery_times\" (\n  \"id\" INT NOT NULL,\n  \"day\" INT NOT NULL,\n  \"from\" TEXT NOT NULL,\n  \"until\" TEXT NOT NULL,\n  \"capacity\" INT NOT NULL,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT\n);\n",
                    "pgsql": "CREATE TABLE \"delivery_times\" (\n  \"id\" INTEGER NOT NULL,\n  \"day\" INTEGER NOT NULL,\n  \"from\" TEXT NOT NULL,\n  \"until\" TEXT NOT NULL,\n  \"capacity\" INTEGER NOT NULL,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT\n);\n"
                }
            },
            "failed_jobs": {
                "name": "failed_jobs",
                "columns": {
                    "id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "uuid": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "UNI",
                        "default": null
                    },
                    "connection": {
                        "type": "text",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "queue": {
                        "type": "text",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "payload": {
                        "type": "longtext",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "exception": {
                        "type": "longtext",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "failed_at": {
                        "type": "timestamp",
                        "null": "NO",
                        "key": "",
                        "default": "current_timestamp()"
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "id"
                    ],
                    "failed_jobs_uuid_unique": [
                        "uuid"
                    ]
                },
                "foreign_keys": [],
                "sql_schemas": {
                    "native": "CREATE TABLE `failed_jobs` (\n  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n  `uuid` varchar(255) NOT NULL,\n  `connection` text NOT NULL,\n  `queue` text NOT NULL,\n  `payload` longtext NOT NULL,\n  `exception` longtext NOT NULL,\n  `failed_at` timestamp NOT NULL DEFAULT current_timestamp(),\n  PRIMARY KEY (`id`),\n  UNIQUE KEY `failed_jobs_uuid_unique` (`uuid`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"failed_jobs\" (\n  \"id\" INTEGER NOT NULL,\n  \"uuid\" TEXT NOT NULL,\n  \"connection\" TEXT NOT NULL,\n  \"queue\" TEXT NOT NULL,\n  \"payload\" TEXT NOT NULL,\n  \"exception\" TEXT NOT NULL,\n  \"failed_at\" TEXT NOT NULL DEFAULT 'current_timestamp()'\n);\n",
                    "mysql": "CREATE TABLE \"failed_jobs\" (\n  \"id\" INT NOT NULL,\n  \"uuid\" VARCHAR(255) NOT NULL,\n  \"connection\" TEXT NOT NULL,\n  \"queue\" TEXT NOT NULL,\n  \"payload\" TEXT NOT NULL,\n  \"exception\" TEXT NOT NULL,\n  \"failed_at\" TEXT NOT NULL DEFAULT 'current_timestamp()'\n);\n",
                    "pgsql": "CREATE TABLE \"failed_jobs\" (\n  \"id\" INTEGER NOT NULL,\n  \"uuid\" VARCHAR(255) NOT NULL,\n  \"connection\" TEXT NOT NULL,\n  \"queue\" TEXT NOT NULL,\n  \"payload\" TEXT NOT NULL,\n  \"exception\" TEXT NOT NULL,\n  \"failed_at\" TEXT NOT NULL DEFAULT 'current_timestamp()'\n);\n"
                }
            },
            "faq_answers": {
                "name": "faq_answers",
                "columns": {
                    "id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "question_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "user_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "body": {
                        "type": "text",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "is_best": {
                        "type": "tinyint(1)",
                        "null": "NO",
                        "key": "",
                        "default": "0"
                    },
                    "created_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "updated_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "deleted_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "id"
                    ],
                    "faq_answers_user_id_foreign": [
                        "user_id"
                    ],
                    "faq_answers_question_id_foreign": [
                        "question_id"
                    ]
                },
                "foreign_keys": [
                    {
                        "name": "faq_answers_question_id_foreign",
                        "column_name": "question_id",
                        "referenced_table": "faq_questions",
                        "referenced_column": "id"
                    },
                    {
                        "name": "faq_answers_user_id_foreign",
                        "column_name": "user_id",
                        "referenced_table": "users",
                        "referenced_column": "id"
                    }
                ],
                "sql_schemas": {
                    "native": "CREATE TABLE `faq_answers` (\n  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n  `question_id` bigint(20) unsigned NOT NULL,\n  `user_id` bigint(20) unsigned NOT NULL,\n  `body` text NOT NULL,\n  `is_best` tinyint(1) NOT NULL DEFAULT 0,\n  `created_at` timestamp NULL DEFAULT NULL,\n  `updated_at` timestamp NULL DEFAULT NULL,\n  `deleted_at` timestamp NULL DEFAULT NULL,\n  PRIMARY KEY (`id`),\n  KEY `faq_answers_user_id_foreign` (`user_id`),\n  KEY `faq_answers_question_id_foreign` (`question_id`),\n  CONSTRAINT `faq_answers_question_id_foreign` FOREIGN KEY (`question_id`) REFERENCES `faq_questions` (`id`) ON DELETE CASCADE,\n  CONSTRAINT `faq_answers_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE\n) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"faq_answers\" (\n  \"id\" INTEGER NOT NULL,\n  \"question_id\" INTEGER NOT NULL,\n  \"user_id\" INTEGER NOT NULL,\n  \"body\" TEXT NOT NULL,\n  \"is_best\" INTEGER NOT NULL DEFAULT '0',\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  \"deleted_at\" TEXT,\n  FOREIGN KEY (\"question_id\") REFERENCES \"faq_questions\"(\"id\"),\n  FOREIGN KEY (\"user_id\") REFERENCES \"users\"(\"id\")\n);\n",
                    "mysql": "CREATE TABLE \"faq_answers\" (\n  \"id\" INT NOT NULL,\n  \"question_id\" INT NOT NULL,\n  \"user_id\" INT NOT NULL,\n  \"body\" TEXT NOT NULL,\n  \"is_best\" INT NOT NULL DEFAULT '0',\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  \"deleted_at\" TEXT,\n  FOREIGN KEY (\"question_id\") REFERENCES \"faq_questions\"(\"id\"),\n  FOREIGN KEY (\"user_id\") REFERENCES \"users\"(\"id\")\n);\n",
                    "pgsql": "CREATE TABLE \"faq_answers\" (\n  \"id\" INTEGER NOT NULL,\n  \"question_id\" INTEGER NOT NULL,\n  \"user_id\" INTEGER NOT NULL,\n  \"body\" TEXT NOT NULL,\n  \"is_best\" INTEGER NOT NULL DEFAULT '0',\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  \"deleted_at\" TEXT,\n  FOREIGN KEY (\"question_id\") REFERENCES \"faq_questions\"(\"id\"),\n  FOREIGN KEY (\"user_id\") REFERENCES \"users\"(\"id\")\n);\n"
                }
            },
            "faq_categories": {
                "name": "faq_categories",
                "columns": {
                    "id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "name": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "slug": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "UNI",
                        "default": null
                    },
                    "description": {
                        "type": "text",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "created_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "updated_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "id"
                    ],
                    "faq_categories_slug_unique": [
                        "slug"
                    ]
                },
                "foreign_keys": [],
                "sql_schemas": {
                    "native": "CREATE TABLE `faq_categories` (\n  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n  `name` varchar(255) NOT NULL,\n  `slug` varchar(255) NOT NULL,\n  `description` text DEFAULT NULL,\n  `created_at` timestamp NULL DEFAULT NULL,\n  `updated_at` timestamp NULL DEFAULT NULL,\n  PRIMARY KEY (`id`),\n  UNIQUE KEY `faq_categories_slug_unique` (`slug`)\n) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"faq_categories\" (\n  \"id\" INTEGER NOT NULL,\n  \"name\" TEXT NOT NULL,\n  \"slug\" TEXT NOT NULL,\n  \"description\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT\n);\n",
                    "mysql": "CREATE TABLE \"faq_categories\" (\n  \"id\" INT NOT NULL,\n  \"name\" VARCHAR(255) NOT NULL,\n  \"slug\" VARCHAR(255) NOT NULL,\n  \"description\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT\n);\n",
                    "pgsql": "CREATE TABLE \"faq_categories\" (\n  \"id\" INTEGER NOT NULL,\n  \"name\" VARCHAR(255) NOT NULL,\n  \"slug\" VARCHAR(255) NOT NULL,\n  \"description\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT\n);\n"
                }
            },
            "faq_comments": {
                "name": "faq_comments",
                "columns": {
                    "id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "user_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "commentable_type": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "commentable_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "body": {
                        "type": "text",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "created_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "updated_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "deleted_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "id"
                    ],
                    "faq_comments_user_id_foreign": [
                        "user_id"
                    ],
                    "faq_comments_commentable_type_commentable_id_index": [
                        "commentable_type",
                        "commentable_id"
                    ]
                },
                "foreign_keys": [
                    {
                        "name": "faq_comments_user_id_foreign",
                        "column_name": "user_id",
                        "referenced_table": "users",
                        "referenced_column": "id"
                    }
                ],
                "sql_schemas": {
                    "native": "CREATE TABLE `faq_comments` (\n  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n  `user_id` bigint(20) unsigned NOT NULL,\n  `commentable_type` varchar(255) NOT NULL,\n  `commentable_id` bigint(20) unsigned NOT NULL,\n  `body` text NOT NULL,\n  `created_at` timestamp NULL DEFAULT NULL,\n  `updated_at` timestamp NULL DEFAULT NULL,\n  `deleted_at` timestamp NULL DEFAULT NULL,\n  PRIMARY KEY (`id`),\n  KEY `faq_comments_user_id_foreign` (`user_id`),\n  KEY `faq_comments_commentable_type_commentable_id_index` (`commentable_type`,`commentable_id`),\n  CONSTRAINT `faq_comments_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE\n) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"faq_comments\" (\n  \"id\" INTEGER NOT NULL,\n  \"user_id\" INTEGER NOT NULL,\n  \"commentable_type\" TEXT NOT NULL,\n  \"commentable_id\" INTEGER NOT NULL,\n  \"body\" TEXT NOT NULL,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  \"deleted_at\" TEXT,\n  FOREIGN KEY (\"user_id\") REFERENCES \"users\"(\"id\")\n);\n",
                    "mysql": "CREATE TABLE \"faq_comments\" (\n  \"id\" INT NOT NULL,\n  \"user_id\" INT NOT NULL,\n  \"commentable_type\" VARCHAR(255) NOT NULL,\n  \"commentable_id\" INT NOT NULL,\n  \"body\" TEXT NOT NULL,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  \"deleted_at\" TEXT,\n  FOREIGN KEY (\"user_id\") REFERENCES \"users\"(\"id\")\n);\n",
                    "pgsql": "CREATE TABLE \"faq_comments\" (\n  \"id\" INTEGER NOT NULL,\n  \"user_id\" INTEGER NOT NULL,\n  \"commentable_type\" VARCHAR(255) NOT NULL,\n  \"commentable_id\" INTEGER NOT NULL,\n  \"body\" TEXT NOT NULL,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  \"deleted_at\" TEXT,\n  FOREIGN KEY (\"user_id\") REFERENCES \"users\"(\"id\")\n);\n"
                }
            },
            "faq_flags": {
                "name": "faq_flags",
                "columns": {
                    "id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "user_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "flaggable_type": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "flaggable_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "reason": {
                        "type": "text",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "created_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "updated_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "id"
                    ],
                    "faq_flags_user_id_foreign": [
                        "user_id"
                    ],
                    "faq_flags_flaggable_type_flaggable_id_index": [
                        "flaggable_type",
                        "flaggable_id"
                    ]
                },
                "foreign_keys": [
                    {
                        "name": "faq_flags_user_id_foreign",
                        "column_name": "user_id",
                        "referenced_table": "users",
                        "referenced_column": "id"
                    }
                ],
                "sql_schemas": {
                    "native": "CREATE TABLE `faq_flags` (\n  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n  `user_id` bigint(20) unsigned NOT NULL,\n  `flaggable_type` varchar(255) NOT NULL,\n  `flaggable_id` bigint(20) unsigned NOT NULL,\n  `reason` text NOT NULL,\n  `created_at` timestamp NULL DEFAULT NULL,\n  `updated_at` timestamp NULL DEFAULT NULL,\n  PRIMARY KEY (`id`),\n  KEY `faq_flags_user_id_foreign` (`user_id`),\n  KEY `faq_flags_flaggable_type_flaggable_id_index` (`flaggable_type`,`flaggable_id`),\n  CONSTRAINT `faq_flags_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE\n) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"faq_flags\" (\n  \"id\" INTEGER NOT NULL,\n  \"user_id\" INTEGER NOT NULL,\n  \"flaggable_type\" TEXT NOT NULL,\n  \"flaggable_id\" INTEGER NOT NULL,\n  \"reason\" TEXT NOT NULL,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"user_id\") REFERENCES \"users\"(\"id\")\n);\n",
                    "mysql": "CREATE TABLE \"faq_flags\" (\n  \"id\" INT NOT NULL,\n  \"user_id\" INT NOT NULL,\n  \"flaggable_type\" VARCHAR(255) NOT NULL,\n  \"flaggable_id\" INT NOT NULL,\n  \"reason\" TEXT NOT NULL,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"user_id\") REFERENCES \"users\"(\"id\")\n);\n",
                    "pgsql": "CREATE TABLE \"faq_flags\" (\n  \"id\" INTEGER NOT NULL,\n  \"user_id\" INTEGER NOT NULL,\n  \"flaggable_type\" VARCHAR(255) NOT NULL,\n  \"flaggable_id\" INTEGER NOT NULL,\n  \"reason\" TEXT NOT NULL,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"user_id\") REFERENCES \"users\"(\"id\")\n);\n"
                }
            },
            "faq_questions": {
                "name": "faq_questions",
                "columns": {
                    "id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "user_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "title": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "slug": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "UNI",
                        "default": null
                    },
                    "body": {
                        "type": "text",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "category_id": {
                        "type": "bigint(20) unsigned",
                        "null": "YES",
                        "key": "MUL",
                        "default": null
                    },
                    "best_answer_id": {
                        "type": "bigint(20) unsigned",
                        "null": "YES",
                        "key": "MUL",
                        "default": null
                    },
                    "status": {
                        "type": "enum('open','closed','resolved')",
                        "null": "NO",
                        "key": "",
                        "default": "open"
                    },
                    "views": {
                        "type": "bigint(20)",
                        "null": "NO",
                        "key": "",
                        "default": "0"
                    },
                    "created_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "updated_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "deleted_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "id"
                    ],
                    "faq_questions_slug_unique": [
                        "slug"
                    ],
                    "faq_questions_user_id_foreign": [
                        "user_id"
                    ],
                    "faq_questions_category_id_foreign": [
                        "category_id"
                    ],
                    "faq_questions_best_answer_id_foreign": [
                        "best_answer_id"
                    ]
                },
                "foreign_keys": [
                    {
                        "name": "faq_questions_best_answer_id_foreign",
                        "column_name": "best_answer_id",
                        "referenced_table": "faq_answers",
                        "referenced_column": "id"
                    },
                    {
                        "name": "faq_questions_category_id_foreign",
                        "column_name": "category_id",
                        "referenced_table": "faq_categories",
                        "referenced_column": "id"
                    },
                    {
                        "name": "faq_questions_user_id_foreign",
                        "column_name": "user_id",
                        "referenced_table": "users",
                        "referenced_column": "id"
                    }
                ],
                "sql_schemas": {
                    "native": "CREATE TABLE `faq_questions` (\n  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n  `user_id` bigint(20) unsigned NOT NULL,\n  `title` varchar(255) NOT NULL,\n  `slug` varchar(255) NOT NULL,\n  `body` text NOT NULL,\n  `category_id` bigint(20) unsigned DEFAULT NULL,\n  `best_answer_id` bigint(20) unsigned DEFAULT NULL,\n  `status` enum('open','closed','resolved') NOT NULL DEFAULT 'open',\n  `views` bigint(20) NOT NULL DEFAULT 0,\n  `created_at` timestamp NULL DEFAULT NULL,\n  `updated_at` timestamp NULL DEFAULT NULL,\n  `deleted_at` timestamp NULL DEFAULT NULL,\n  PRIMARY KEY (`id`),\n  UNIQUE KEY `faq_questions_slug_unique` (`slug`),\n  KEY `faq_questions_user_id_foreign` (`user_id`),\n  KEY `faq_questions_category_id_foreign` (`category_id`),\n  KEY `faq_questions_best_answer_id_foreign` (`best_answer_id`),\n  CONSTRAINT `faq_questions_best_answer_id_foreign` FOREIGN KEY (`best_answer_id`) REFERENCES `faq_answers` (`id`) ON DELETE SET NULL,\n  CONSTRAINT `faq_questions_category_id_foreign` FOREIGN KEY (`category_id`) REFERENCES `faq_categories` (`id`) ON DELETE SET NULL,\n  CONSTRAINT `faq_questions_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE\n) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"faq_questions\" (\n  \"id\" INTEGER NOT NULL,\n  \"user_id\" INTEGER NOT NULL,\n  \"title\" TEXT NOT NULL,\n  \"slug\" TEXT NOT NULL,\n  \"body\" TEXT NOT NULL,\n  \"category_id\" INTEGER,\n  \"best_answer_id\" INTEGER,\n  \"status\" TEXT NOT NULL DEFAULT 'open',\n  \"views\" INTEGER NOT NULL DEFAULT '0',\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  \"deleted_at\" TEXT,\n  FOREIGN KEY (\"best_answer_id\") REFERENCES \"faq_answers\"(\"id\"),\n  FOREIGN KEY (\"category_id\") REFERENCES \"faq_categories\"(\"id\"),\n  FOREIGN KEY (\"user_id\") REFERENCES \"users\"(\"id\")\n);\n",
                    "mysql": "CREATE TABLE \"faq_questions\" (\n  \"id\" INT NOT NULL,\n  \"user_id\" INT NOT NULL,\n  \"title\" VARCHAR(255) NOT NULL,\n  \"slug\" VARCHAR(255) NOT NULL,\n  \"body\" TEXT NOT NULL,\n  \"category_id\" INT,\n  \"best_answer_id\" INT,\n  \"status\" TEXT NOT NULL DEFAULT 'open',\n  \"views\" INT NOT NULL DEFAULT '0',\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  \"deleted_at\" TEXT,\n  FOREIGN KEY (\"best_answer_id\") REFERENCES \"faq_answers\"(\"id\"),\n  FOREIGN KEY (\"category_id\") REFERENCES \"faq_categories\"(\"id\"),\n  FOREIGN KEY (\"user_id\") REFERENCES \"users\"(\"id\")\n);\n",
                    "pgsql": "CREATE TABLE \"faq_questions\" (\n  \"id\" INTEGER NOT NULL,\n  \"user_id\" INTEGER NOT NULL,\n  \"title\" VARCHAR(255) NOT NULL,\n  \"slug\" VARCHAR(255) NOT NULL,\n  \"body\" TEXT NOT NULL,\n  \"category_id\" INTEGER,\n  \"best_answer_id\" INTEGER,\n  \"status\" TEXT NOT NULL DEFAULT 'open',\n  \"views\" INTEGER NOT NULL DEFAULT '0',\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  \"deleted_at\" TEXT,\n  FOREIGN KEY (\"best_answer_id\") REFERENCES \"faq_answers\"(\"id\"),\n  FOREIGN KEY (\"category_id\") REFERENCES \"faq_categories\"(\"id\"),\n  FOREIGN KEY (\"user_id\") REFERENCES \"users\"(\"id\")\n);\n"
                }
            },
            "faq_taggables": {
                "name": "faq_taggables",
                "columns": {
                    "tag_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "taggable_type": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "taggable_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "",
                        "default": null
                    }
                },
                "indexes": {
                    "faq_taggables_tag_id_foreign": [
                        "tag_id"
                    ],
                    "faq_taggables_taggable_type_taggable_id_index": [
                        "taggable_type",
                        "taggable_id"
                    ]
                },
                "foreign_keys": [
                    {
                        "name": "faq_taggables_tag_id_foreign",
                        "column_name": "tag_id",
                        "referenced_table": "faq_tags",
                        "referenced_column": "id"
                    }
                ],
                "sql_schemas": {
                    "native": "CREATE TABLE `faq_taggables` (\n  `tag_id` bigint(20) unsigned NOT NULL,\n  `taggable_type` varchar(255) NOT NULL,\n  `taggable_id` bigint(20) unsigned NOT NULL,\n  KEY `faq_taggables_tag_id_foreign` (`tag_id`),\n  KEY `faq_taggables_taggable_type_taggable_id_index` (`taggable_type`,`taggable_id`),\n  CONSTRAINT `faq_taggables_tag_id_foreign` FOREIGN KEY (`tag_id`) REFERENCES `faq_tags` (`id`) ON DELETE CASCADE\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"faq_taggables\" (\n  \"tag_id\" INTEGER NOT NULL,\n  \"taggable_type\" TEXT NOT NULL,\n  \"taggable_id\" INTEGER NOT NULL,\n  FOREIGN KEY (\"tag_id\") REFERENCES \"faq_tags\"(\"id\")\n);\n",
                    "mysql": "CREATE TABLE \"faq_taggables\" (\n  \"tag_id\" INT NOT NULL,\n  \"taggable_type\" VARCHAR(255) NOT NULL,\n  \"taggable_id\" INT NOT NULL,\n  FOREIGN KEY (\"tag_id\") REFERENCES \"faq_tags\"(\"id\")\n);\n",
                    "pgsql": "CREATE TABLE \"faq_taggables\" (\n  \"tag_id\" INTEGER NOT NULL,\n  \"taggable_type\" VARCHAR(255) NOT NULL,\n  \"taggable_id\" INTEGER NOT NULL,\n  FOREIGN KEY (\"tag_id\") REFERENCES \"faq_tags\"(\"id\")\n);\n"
                }
            },
            "faq_tags": {
                "name": "faq_tags",
                "columns": {
                    "id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "name": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "slug": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "UNI",
                        "default": null
                    },
                    "created_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "updated_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "id"
                    ],
                    "faq_tags_slug_unique": [
                        "slug"
                    ]
                },
                "foreign_keys": [],
                "sql_schemas": {
                    "native": "CREATE TABLE `faq_tags` (\n  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n  `name` varchar(255) NOT NULL,\n  `slug` varchar(255) NOT NULL,\n  `created_at` timestamp NULL DEFAULT NULL,\n  `updated_at` timestamp NULL DEFAULT NULL,\n  PRIMARY KEY (`id`),\n  UNIQUE KEY `faq_tags_slug_unique` (`slug`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"faq_tags\" (\n  \"id\" INTEGER NOT NULL,\n  \"name\" TEXT NOT NULL,\n  \"slug\" TEXT NOT NULL,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT\n);\n",
                    "mysql": "CREATE TABLE \"faq_tags\" (\n  \"id\" INT NOT NULL,\n  \"name\" VARCHAR(255) NOT NULL,\n  \"slug\" VARCHAR(255) NOT NULL,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT\n);\n",
                    "pgsql": "CREATE TABLE \"faq_tags\" (\n  \"id\" INTEGER NOT NULL,\n  \"name\" VARCHAR(255) NOT NULL,\n  \"slug\" VARCHAR(255) NOT NULL,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT\n);\n"
                }
            },
            "faq_votes": {
                "name": "faq_votes",
                "columns": {
                    "id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "user_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "votable_type": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "votable_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "vote_type": {
                        "type": "enum('up','down')",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "created_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "updated_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "id"
                    ],
                    "faq_votes_user_id_foreign": [
                        "user_id"
                    ],
                    "faq_votes_votable_type_votable_id_index": [
                        "votable_type",
                        "votable_id"
                    ]
                },
                "foreign_keys": [
                    {
                        "name": "faq_votes_user_id_foreign",
                        "column_name": "user_id",
                        "referenced_table": "users",
                        "referenced_column": "id"
                    }
                ],
                "sql_schemas": {
                    "native": "CREATE TABLE `faq_votes` (\n  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n  `user_id` bigint(20) unsigned NOT NULL,\n  `votable_type` varchar(255) NOT NULL,\n  `votable_id` bigint(20) unsigned NOT NULL,\n  `vote_type` enum('up','down') NOT NULL,\n  `created_at` timestamp NULL DEFAULT NULL,\n  `updated_at` timestamp NULL DEFAULT NULL,\n  PRIMARY KEY (`id`),\n  KEY `faq_votes_user_id_foreign` (`user_id`),\n  KEY `faq_votes_votable_type_votable_id_index` (`votable_type`,`votable_id`),\n  CONSTRAINT `faq_votes_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE\n) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"faq_votes\" (\n  \"id\" INTEGER NOT NULL,\n  \"user_id\" INTEGER NOT NULL,\n  \"votable_type\" TEXT NOT NULL,\n  \"votable_id\" INTEGER NOT NULL,\n  \"vote_type\" TEXT NOT NULL,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"user_id\") REFERENCES \"users\"(\"id\")\n);\n",
                    "mysql": "CREATE TABLE \"faq_votes\" (\n  \"id\" INT NOT NULL,\n  \"user_id\" INT NOT NULL,\n  \"votable_type\" VARCHAR(255) NOT NULL,\n  \"votable_id\" INT NOT NULL,\n  \"vote_type\" TEXT NOT NULL,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"user_id\") REFERENCES \"users\"(\"id\")\n);\n",
                    "pgsql": "CREATE TABLE \"faq_votes\" (\n  \"id\" INTEGER NOT NULL,\n  \"user_id\" INTEGER NOT NULL,\n  \"votable_type\" VARCHAR(255) NOT NULL,\n  \"votable_id\" INTEGER NOT NULL,\n  \"vote_type\" TEXT NOT NULL,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"user_id\") REFERENCES \"users\"(\"id\")\n);\n"
                }
            },
            "features": {
                "name": "features",
                "columns": {
                    "id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "name": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "scope": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "value": {
                        "type": "text",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "created_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "updated_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "id"
                    ],
                    "features_name_scope_unique": [
                        "name",
                        "scope"
                    ]
                },
                "foreign_keys": [],
                "sql_schemas": {
                    "native": "CREATE TABLE `features` (\n  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n  `name` varchar(255) NOT NULL,\n  `scope` varchar(255) NOT NULL,\n  `value` text NOT NULL,\n  `created_at` timestamp NULL DEFAULT NULL,\n  `updated_at` timestamp NULL DEFAULT NULL,\n  PRIMARY KEY (`id`),\n  UNIQUE KEY `features_name_scope_unique` (`name`,`scope`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"features\" (\n  \"id\" INTEGER NOT NULL,\n  \"name\" TEXT NOT NULL,\n  \"scope\" TEXT NOT NULL,\n  \"value\" TEXT NOT NULL,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT\n);\n",
                    "mysql": "CREATE TABLE \"features\" (\n  \"id\" INT NOT NULL,\n  \"name\" VARCHAR(255) NOT NULL,\n  \"scope\" VARCHAR(255) NOT NULL,\n  \"value\" TEXT NOT NULL,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT\n);\n",
                    "pgsql": "CREATE TABLE \"features\" (\n  \"id\" INTEGER NOT NULL,\n  \"name\" VARCHAR(255) NOT NULL,\n  \"scope\" VARCHAR(255) NOT NULL,\n  \"value\" TEXT NOT NULL,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT\n);\n"
                }
            },
            "files": {
                "name": "files",
                "columns": {
                    "id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "name": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "extension": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "mime": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "size": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "path": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "disk": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "data": {
                        "type": "longtext",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "created_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "updated_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "id"
                    ]
                },
                "foreign_keys": [],
                "sql_schemas": {
                    "native": "CREATE TABLE `files` (\n  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n  `name` varchar(255) NOT NULL,\n  `extension` varchar(255) NOT NULL,\n  `mime` varchar(255) NOT NULL,\n  `size` varchar(255) NOT NULL,\n  `path` varchar(255) NOT NULL,\n  `disk` varchar(255) NOT NULL,\n  `data` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL CHECK (json_valid(`data`)),\n  `created_at` timestamp NULL DEFAULT NULL,\n  `updated_at` timestamp NULL DEFAULT NULL,\n  PRIMARY KEY (`id`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"files\" (\n  \"id\" INTEGER NOT NULL,\n  \"name\" TEXT NOT NULL,\n  \"extension\" TEXT NOT NULL,\n  \"mime\" TEXT NOT NULL,\n  \"size\" TEXT NOT NULL,\n  \"path\" TEXT NOT NULL,\n  \"disk\" TEXT NOT NULL,\n  \"data\" TEXT NOT NULL,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT\n);\n",
                    "mysql": "CREATE TABLE \"files\" (\n  \"id\" INT NOT NULL,\n  \"name\" VARCHAR(255) NOT NULL,\n  \"extension\" VARCHAR(255) NOT NULL,\n  \"mime\" VARCHAR(255) NOT NULL,\n  \"size\" VARCHAR(255) NOT NULL,\n  \"path\" VARCHAR(255) NOT NULL,\n  \"disk\" VARCHAR(255) NOT NULL,\n  \"data\" TEXT NOT NULL,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT\n);\n",
                    "pgsql": "CREATE TABLE \"files\" (\n  \"id\" INTEGER NOT NULL,\n  \"name\" VARCHAR(255) NOT NULL,\n  \"extension\" VARCHAR(255) NOT NULL,\n  \"mime\" VARCHAR(255) NOT NULL,\n  \"size\" VARCHAR(255) NOT NULL,\n  \"path\" VARCHAR(255) NOT NULL,\n  \"disk\" VARCHAR(255) NOT NULL,\n  \"data\" TEXT NOT NULL,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT\n);\n"
                }
            },
            "has_file": {
                "name": "has_file",
                "columns": {
                    "id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "file_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "fileable_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "fileable_type": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "data": {
                        "type": "longtext",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "created_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "updated_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "id"
                    ],
                    "has_file_file_id_foreign": [
                        "file_id"
                    ]
                },
                "foreign_keys": [
                    {
                        "name": "has_file_file_id_foreign",
                        "column_name": "file_id",
                        "referenced_table": "files",
                        "referenced_column": "id"
                    }
                ],
                "sql_schemas": {
                    "native": "CREATE TABLE `has_file` (\n  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n  `file_id` bigint(20) unsigned NOT NULL,\n  `fileable_id` bigint(20) unsigned NOT NULL,\n  `fileable_type` varchar(255) NOT NULL,\n  `data` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL CHECK (json_valid(`data`)),\n  `created_at` timestamp NULL DEFAULT NULL,\n  `updated_at` timestamp NULL DEFAULT NULL,\n  PRIMARY KEY (`id`),\n  KEY `has_file_file_id_foreign` (`file_id`),\n  CONSTRAINT `has_file_file_id_foreign` FOREIGN KEY (`file_id`) REFERENCES `files` (`id`) ON DELETE CASCADE\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"has_file\" (\n  \"id\" INTEGER NOT NULL,\n  \"file_id\" INTEGER NOT NULL,\n  \"fileable_id\" INTEGER NOT NULL,\n  \"fileable_type\" TEXT NOT NULL,\n  \"data\" TEXT NOT NULL,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"file_id\") REFERENCES \"files\"(\"id\")\n);\n",
                    "mysql": "CREATE TABLE \"has_file\" (\n  \"id\" INT NOT NULL,\n  \"file_id\" INT NOT NULL,\n  \"fileable_id\" INT NOT NULL,\n  \"fileable_type\" VARCHAR(255) NOT NULL,\n  \"data\" TEXT NOT NULL,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"file_id\") REFERENCES \"files\"(\"id\")\n);\n",
                    "pgsql": "CREATE TABLE \"has_file\" (\n  \"id\" INTEGER NOT NULL,\n  \"file_id\" INTEGER NOT NULL,\n  \"fileable_id\" INTEGER NOT NULL,\n  \"fileable_type\" VARCHAR(255) NOT NULL,\n  \"data\" TEXT NOT NULL,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"file_id\") REFERENCES \"files\"(\"id\")\n);\n"
                }
            },
            "job_batches": {
                "name": "job_batches",
                "columns": {
                    "id": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "name": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "total_jobs": {
                        "type": "int(11)",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "pending_jobs": {
                        "type": "int(11)",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "failed_jobs": {
                        "type": "int(11)",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "failed_job_ids": {
                        "type": "longtext",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "options": {
                        "type": "mediumtext",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "cancelled_at": {
                        "type": "int(11)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "created_at": {
                        "type": "int(11)",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "finished_at": {
                        "type": "int(11)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "id"
                    ]
                },
                "foreign_keys": [],
                "sql_schemas": {
                    "native": "CREATE TABLE `job_batches` (\n  `id` varchar(255) NOT NULL,\n  `name` varchar(255) NOT NULL,\n  `total_jobs` int(11) NOT NULL,\n  `pending_jobs` int(11) NOT NULL,\n  `failed_jobs` int(11) NOT NULL,\n  `failed_job_ids` longtext NOT NULL,\n  `options` mediumtext DEFAULT NULL,\n  `cancelled_at` int(11) DEFAULT NULL,\n  `created_at` int(11) NOT NULL,\n  `finished_at` int(11) DEFAULT NULL,\n  PRIMARY KEY (`id`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"job_batches\" (\n  \"id\" TEXT NOT NULL,\n  \"name\" TEXT NOT NULL,\n  \"total_jobs\" INTEGER NOT NULL,\n  \"pending_jobs\" INTEGER NOT NULL,\n  \"failed_jobs\" INTEGER NOT NULL,\n  \"failed_job_ids\" TEXT NOT NULL,\n  \"options\" TEXT,\n  \"cancelled_at\" INTEGER,\n  \"created_at\" INTEGER NOT NULL,\n  \"finished_at\" INTEGER\n);\n",
                    "mysql": "CREATE TABLE \"job_batches\" (\n  \"id\" VARCHAR(255) NOT NULL,\n  \"name\" VARCHAR(255) NOT NULL,\n  \"total_jobs\" INT NOT NULL,\n  \"pending_jobs\" INT NOT NULL,\n  \"failed_jobs\" INT NOT NULL,\n  \"failed_job_ids\" TEXT NOT NULL,\n  \"options\" TEXT,\n  \"cancelled_at\" INT,\n  \"created_at\" INT NOT NULL,\n  \"finished_at\" INT\n);\n",
                    "pgsql": "CREATE TABLE \"job_batches\" (\n  \"id\" VARCHAR(255) NOT NULL,\n  \"name\" VARCHAR(255) NOT NULL,\n  \"total_jobs\" INTEGER NOT NULL,\n  \"pending_jobs\" INTEGER NOT NULL,\n  \"failed_jobs\" INTEGER NOT NULL,\n  \"failed_job_ids\" TEXT NOT NULL,\n  \"options\" TEXT,\n  \"cancelled_at\" INTEGER,\n  \"created_at\" INTEGER NOT NULL,\n  \"finished_at\" INTEGER\n);\n"
                }
            },
            "jobs": {
                "name": "jobs",
                "columns": {
                    "id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "queue": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "payload": {
                        "type": "longtext",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "attempts": {
                        "type": "tinyint(3) unsigned",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "reserved_at": {
                        "type": "int(10) unsigned",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "available_at": {
                        "type": "int(10) unsigned",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "created_at": {
                        "type": "int(10) unsigned",
                        "null": "NO",
                        "key": "",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "id"
                    ],
                    "jobs_queue_index": [
                        "queue"
                    ]
                },
                "foreign_keys": [],
                "sql_schemas": {
                    "native": "CREATE TABLE `jobs` (\n  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n  `queue` varchar(255) NOT NULL,\n  `payload` longtext NOT NULL,\n  `attempts` tinyint(3) unsigned NOT NULL,\n  `reserved_at` int(10) unsigned DEFAULT NULL,\n  `available_at` int(10) unsigned NOT NULL,\n  `created_at` int(10) unsigned NOT NULL,\n  PRIMARY KEY (`id`),\n  KEY `jobs_queue_index` (`queue`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"jobs\" (\n  \"id\" INTEGER NOT NULL,\n  \"queue\" TEXT NOT NULL,\n  \"payload\" TEXT NOT NULL,\n  \"attempts\" INTEGER NOT NULL,\n  \"reserved_at\" INTEGER,\n  \"available_at\" INTEGER NOT NULL,\n  \"created_at\" INTEGER NOT NULL\n);\n",
                    "mysql": "CREATE TABLE \"jobs\" (\n  \"id\" INT NOT NULL,\n  \"queue\" VARCHAR(255) NOT NULL,\n  \"payload\" TEXT NOT NULL,\n  \"attempts\" INT NOT NULL,\n  \"reserved_at\" INT,\n  \"available_at\" INT NOT NULL,\n  \"created_at\" INT NOT NULL\n);\n",
                    "pgsql": "CREATE TABLE \"jobs\" (\n  \"id\" INTEGER NOT NULL,\n  \"queue\" VARCHAR(255) NOT NULL,\n  \"payload\" TEXT NOT NULL,\n  \"attempts\" INTEGER NOT NULL,\n  \"reserved_at\" INTEGER,\n  \"available_at\" INTEGER NOT NULL,\n  \"created_at\" INTEGER NOT NULL\n);\n"
                }
            },
            "likes": {
                "name": "likes",
                "columns": {
                    "id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "user_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "is_dislike": {
                        "type": "tinyint(1)",
                        "null": "YES",
                        "key": "",
                        "default": "0"
                    },
                    "likeable_type": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "likeable_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "created_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "updated_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "id"
                    ],
                    "likes_user_id_foreign": [
                        "user_id"
                    ],
                    "likes_likeable_type_likeable_id_index": [
                        "likeable_type",
                        "likeable_id"
                    ]
                },
                "foreign_keys": [
                    {
                        "name": "likes_user_id_foreign",
                        "column_name": "user_id",
                        "referenced_table": "users",
                        "referenced_column": "id"
                    }
                ],
                "sql_schemas": {
                    "native": "CREATE TABLE `likes` (\n  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n  `user_id` bigint(20) unsigned NOT NULL,\n  `is_dislike` tinyint(1) DEFAULT 0,\n  `likeable_type` varchar(255) NOT NULL,\n  `likeable_id` bigint(20) unsigned NOT NULL,\n  `created_at` timestamp NULL DEFAULT NULL,\n  `updated_at` timestamp NULL DEFAULT NULL,\n  PRIMARY KEY (`id`),\n  KEY `likes_user_id_foreign` (`user_id`),\n  KEY `likes_likeable_type_likeable_id_index` (`likeable_type`,`likeable_id`),\n  CONSTRAINT `likes_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"likes\" (\n  \"id\" INTEGER NOT NULL,\n  \"user_id\" INTEGER NOT NULL,\n  \"is_dislike\" INTEGER DEFAULT '0',\n  \"likeable_type\" TEXT NOT NULL,\n  \"likeable_id\" INTEGER NOT NULL,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"user_id\") REFERENCES \"users\"(\"id\")\n);\n",
                    "mysql": "CREATE TABLE \"likes\" (\n  \"id\" INT NOT NULL,\n  \"user_id\" INT NOT NULL,\n  \"is_dislike\" INT DEFAULT '0',\n  \"likeable_type\" VARCHAR(255) NOT NULL,\n  \"likeable_id\" INT NOT NULL,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"user_id\") REFERENCES \"users\"(\"id\")\n);\n",
                    "pgsql": "CREATE TABLE \"likes\" (\n  \"id\" INTEGER NOT NULL,\n  \"user_id\" INTEGER NOT NULL,\n  \"is_dislike\" INTEGER DEFAULT '0',\n  \"likeable_type\" VARCHAR(255) NOT NULL,\n  \"likeable_id\" INTEGER NOT NULL,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"user_id\") REFERENCES \"users\"(\"id\")\n);\n"
                }
            },
            "loyalty_settings": {
                "name": "loyalty_settings",
                "columns": {
                    "id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "key": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "UNI",
                        "default": null
                    },
                    "value": {
                        "type": "text",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "created_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "updated_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "id"
                    ],
                    "loyalty_settings_key_unique": [
                        "key"
                    ]
                },
                "foreign_keys": [],
                "sql_schemas": {
                    "native": "CREATE TABLE `loyalty_settings` (\n  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n  `key` varchar(255) NOT NULL,\n  `value` text DEFAULT NULL,\n  `created_at` timestamp NULL DEFAULT NULL,\n  `updated_at` timestamp NULL DEFAULT NULL,\n  PRIMARY KEY (`id`),\n  UNIQUE KEY `loyalty_settings_key_unique` (`key`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"loyalty_settings\" (\n  \"id\" INTEGER NOT NULL,\n  \"key\" TEXT NOT NULL,\n  \"value\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT\n);\n",
                    "mysql": "CREATE TABLE \"loyalty_settings\" (\n  \"id\" INT NOT NULL,\n  \"key\" VARCHAR(255) NOT NULL,\n  \"value\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT\n);\n",
                    "pgsql": "CREATE TABLE \"loyalty_settings\" (\n  \"id\" INTEGER NOT NULL,\n  \"key\" VARCHAR(255) NOT NULL,\n  \"value\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT\n);\n"
                }
            },
            "migrations": {
                "name": "migrations",
                "columns": {
                    "id": {
                        "type": "int(10) unsigned",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "migration": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "batch": {
                        "type": "int(11)",
                        "null": "NO",
                        "key": "",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "id"
                    ]
                },
                "foreign_keys": [],
                "sql_schemas": {
                    "native": "CREATE TABLE `migrations` (\n  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,\n  `migration` varchar(255) NOT NULL,\n  `batch` int(11) NOT NULL,\n  PRIMARY KEY (`id`)\n) ENGINE=InnoDB AUTO_INCREMENT=76 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"migrations\" (\n  \"id\" INTEGER NOT NULL,\n  \"migration\" TEXT NOT NULL,\n  \"batch\" INTEGER NOT NULL\n);\n",
                    "mysql": "CREATE TABLE \"migrations\" (\n  \"id\" INT NOT NULL,\n  \"migration\" VARCHAR(255) NOT NULL,\n  \"batch\" INT NOT NULL\n);\n",
                    "pgsql": "CREATE TABLE \"migrations\" (\n  \"id\" INTEGER NOT NULL,\n  \"migration\" VARCHAR(255) NOT NULL,\n  \"batch\" INTEGER NOT NULL\n);\n"
                }
            },
            "model_has_permissions": {
                "name": "model_has_permissions",
                "columns": {
                    "permission_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "model_type": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "model_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "permission_id",
                        "model_id",
                        "model_type"
                    ],
                    "model_has_permissions_model_id_model_type_index": [
                        "model_id",
                        "model_type"
                    ]
                },
                "foreign_keys": [
                    {
                        "name": "model_has_permissions_permission_id_foreign",
                        "column_name": "permission_id",
                        "referenced_table": "permissions",
                        "referenced_column": "id"
                    }
                ],
                "sql_schemas": {
                    "native": "CREATE TABLE `model_has_permissions` (\n  `permission_id` bigint(20) unsigned NOT NULL,\n  `model_type` varchar(255) NOT NULL,\n  `model_id` bigint(20) unsigned NOT NULL,\n  PRIMARY KEY (`permission_id`,`model_id`,`model_type`),\n  KEY `model_has_permissions_model_id_model_type_index` (`model_id`,`model_type`),\n  CONSTRAINT `model_has_permissions_permission_id_foreign` FOREIGN KEY (`permission_id`) REFERENCES `permissions` (`id`) ON DELETE CASCADE\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"model_has_permissions\" (\n  \"permission_id\" INTEGER NOT NULL,\n  \"model_type\" TEXT NOT NULL,\n  \"model_id\" INTEGER NOT NULL,\n  FOREIGN KEY (\"permission_id\") REFERENCES \"permissions\"(\"id\")\n);\n",
                    "mysql": "CREATE TABLE \"model_has_permissions\" (\n  \"permission_id\" INT NOT NULL,\n  \"model_type\" VARCHAR(255) NOT NULL,\n  \"model_id\" INT NOT NULL,\n  FOREIGN KEY (\"permission_id\") REFERENCES \"permissions\"(\"id\")\n);\n",
                    "pgsql": "CREATE TABLE \"model_has_permissions\" (\n  \"permission_id\" INTEGER NOT NULL,\n  \"model_type\" VARCHAR(255) NOT NULL,\n  \"model_id\" INTEGER NOT NULL,\n  FOREIGN KEY (\"permission_id\") REFERENCES \"permissions\"(\"id\")\n);\n"
                }
            },
            "model_has_roles": {
                "name": "model_has_roles",
                "columns": {
                    "role_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "model_type": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "model_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "role_id",
                        "model_id",
                        "model_type"
                    ],
                    "model_has_roles_model_id_model_type_index": [
                        "model_id",
                        "model_type"
                    ]
                },
                "foreign_keys": [
                    {
                        "name": "model_has_roles_role_id_foreign",
                        "column_name": "role_id",
                        "referenced_table": "roles",
                        "referenced_column": "id"
                    }
                ],
                "sql_schemas": {
                    "native": "CREATE TABLE `model_has_roles` (\n  `role_id` bigint(20) unsigned NOT NULL,\n  `model_type` varchar(255) NOT NULL,\n  `model_id` bigint(20) unsigned NOT NULL,\n  PRIMARY KEY (`role_id`,`model_id`,`model_type`),\n  KEY `model_has_roles_model_id_model_type_index` (`model_id`,`model_type`),\n  CONSTRAINT `model_has_roles_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`) ON DELETE CASCADE\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"model_has_roles\" (\n  \"role_id\" INTEGER NOT NULL,\n  \"model_type\" TEXT NOT NULL,\n  \"model_id\" INTEGER NOT NULL,\n  FOREIGN KEY (\"role_id\") REFERENCES \"roles\"(\"id\")\n);\n",
                    "mysql": "CREATE TABLE \"model_has_roles\" (\n  \"role_id\" INT NOT NULL,\n  \"model_type\" VARCHAR(255) NOT NULL,\n  \"model_id\" INT NOT NULL,\n  FOREIGN KEY (\"role_id\") REFERENCES \"roles\"(\"id\")\n);\n",
                    "pgsql": "CREATE TABLE \"model_has_roles\" (\n  \"role_id\" INTEGER NOT NULL,\n  \"model_type\" VARCHAR(255) NOT NULL,\n  \"model_id\" INTEGER NOT NULL,\n  FOREIGN KEY (\"role_id\") REFERENCES \"roles\"(\"id\")\n);\n"
                }
            },
            "modules": {
                "name": "modules",
                "columns": {
                    "id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "label": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "name": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "is_active": {
                        "type": "tinyint(1)",
                        "null": "YES",
                        "key": "",
                        "default": "0"
                    },
                    "is_paid": {
                        "type": "tinyint(1)",
                        "null": "YES",
                        "key": "",
                        "default": "0"
                    },
                    "is_free": {
                        "type": "tinyint(1)",
                        "null": "YES",
                        "key": "",
                        "default": "0"
                    },
                    "is_permanent": {
                        "type": "tinyint(1)",
                        "null": "YES",
                        "key": "",
                        "default": "0"
                    },
                    "activated_at": {
                        "type": "datetime",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "expire_at": {
                        "type": "datetime",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "requirements": {
                        "type": "longtext",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "options": {
                        "type": "longtext",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "created_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "updated_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "id"
                    ]
                },
                "foreign_keys": [],
                "sql_schemas": {
                    "native": "CREATE TABLE `modules` (\n  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n  `label` varchar(255) DEFAULT NULL COMMENT 'name of the module. can be in any language',\n  `name` varchar(255) NOT NULL COMMENT 'name of the module. only in English and should be valid name same rule as php variable naming',\n  `is_active` tinyint(1) DEFAULT 0,\n  `is_paid` tinyint(1) DEFAULT 0,\n  `is_free` tinyint(1) DEFAULT 0,\n  `is_permanent` tinyint(1) DEFAULT 0,\n  `activated_at` datetime DEFAULT NULL,\n  `expire_at` datetime DEFAULT NULL,\n  `requirements` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`requirements`)),\n  `options` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`options`)),\n  `created_at` timestamp NULL DEFAULT NULL,\n  `updated_at` timestamp NULL DEFAULT NULL,\n  PRIMARY KEY (`id`)\n) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"modules\" (\n  \"id\" INTEGER NOT NULL,\n  \"label\" TEXT,\n  \"name\" TEXT NOT NULL,\n  \"is_active\" INTEGER DEFAULT '0',\n  \"is_paid\" INTEGER DEFAULT '0',\n  \"is_free\" INTEGER DEFAULT '0',\n  \"is_permanent\" INTEGER DEFAULT '0',\n  \"activated_at\" TEXT,\n  \"expire_at\" TEXT,\n  \"requirements\" TEXT,\n  \"options\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT\n);\n",
                    "mysql": "CREATE TABLE \"modules\" (\n  \"id\" INT NOT NULL,\n  \"label\" VARCHAR(255),\n  \"name\" VARCHAR(255) NOT NULL,\n  \"is_active\" INT DEFAULT '0',\n  \"is_paid\" INT DEFAULT '0',\n  \"is_free\" INT DEFAULT '0',\n  \"is_permanent\" INT DEFAULT '0',\n  \"activated_at\" TEXT,\n  \"expire_at\" TEXT,\n  \"requirements\" TEXT,\n  \"options\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT\n);\n",
                    "pgsql": "CREATE TABLE \"modules\" (\n  \"id\" INTEGER NOT NULL,\n  \"label\" VARCHAR(255),\n  \"name\" VARCHAR(255) NOT NULL,\n  \"is_active\" INTEGER DEFAULT '0',\n  \"is_paid\" INTEGER DEFAULT '0',\n  \"is_free\" INTEGER DEFAULT '0',\n  \"is_permanent\" INTEGER DEFAULT '0',\n  \"activated_at\" TEXT,\n  \"expire_at\" TEXT,\n  \"requirements\" TEXT,\n  \"options\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT\n);\n"
                }
            },
            "options": {
                "name": "options",
                "columns": {
                    "id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "env": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": "web"
                    },
                    "group": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "key": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "value": {
                        "type": "varchar(550)",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "data": {
                        "type": "longtext",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "created_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "updated_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "id"
                    ]
                },
                "foreign_keys": [],
                "sql_schemas": {
                    "native": "CREATE TABLE `options` (\n  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n  `env` varchar(255) DEFAULT 'web',\n  `group` varchar(255) NOT NULL,\n  `key` varchar(255) NOT NULL,\n  `value` varchar(550) NOT NULL,\n  `data` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`data`)),\n  `created_at` timestamp NULL DEFAULT NULL,\n  `updated_at` timestamp NULL DEFAULT NULL,\n  PRIMARY KEY (`id`)\n) ENGINE=InnoDB AUTO_INCREMENT=24 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"options\" (\n  \"id\" INTEGER NOT NULL,\n  \"env\" TEXT DEFAULT 'web',\n  \"group\" TEXT NOT NULL,\n  \"key\" TEXT NOT NULL,\n  \"value\" TEXT NOT NULL,\n  \"data\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT\n);\n",
                    "mysql": "CREATE TABLE \"options\" (\n  \"id\" INT NOT NULL,\n  \"env\" VARCHAR(255) DEFAULT 'web',\n  \"group\" VARCHAR(255) NOT NULL,\n  \"key\" VARCHAR(255) NOT NULL,\n  \"value\" VARCHAR(255) NOT NULL,\n  \"data\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT\n);\n",
                    "pgsql": "CREATE TABLE \"options\" (\n  \"id\" INTEGER NOT NULL,\n  \"env\" VARCHAR(255) DEFAULT 'web',\n  \"group\" VARCHAR(255) NOT NULL,\n  \"key\" VARCHAR(255) NOT NULL,\n  \"value\" VARCHAR(255) NOT NULL,\n  \"data\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT\n);\n"
                }
            },
            "order_delivery_addresses": {
                "name": "order_delivery_addresses",
                "columns": {
                    "id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "order_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "UNI",
                        "default": null
                    },
                    "recipient_name": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "address_line1": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "address_line2": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "city": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "state": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "postal_code": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "country": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "phone": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "latitude": {
                        "type": "decimal(10,8)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "longitude": {
                        "type": "decimal(11,8)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "created_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "updated_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "id"
                    ],
                    "order_delivery_addresses_order_id_unique": [
                        "order_id"
                    ]
                },
                "foreign_keys": [
                    {
                        "name": "order_delivery_addresses_order_id_foreign",
                        "column_name": "order_id",
                        "referenced_table": "orders",
                        "referenced_column": "id"
                    }
                ],
                "sql_schemas": {
                    "native": "CREATE TABLE `order_delivery_addresses` (\n  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n  `order_id` bigint(20) unsigned NOT NULL,\n  `recipient_name` varchar(255) NOT NULL,\n  `address_line1` varchar(255) NOT NULL,\n  `address_line2` varchar(255) DEFAULT NULL,\n  `city` varchar(255) NOT NULL,\n  `state` varchar(255) DEFAULT NULL,\n  `postal_code` varchar(255) NOT NULL,\n  `country` varchar(255) NOT NULL,\n  `phone` varchar(255) DEFAULT NULL,\n  `latitude` decimal(10,8) DEFAULT NULL,\n  `longitude` decimal(11,8) DEFAULT NULL,\n  `created_at` timestamp NULL DEFAULT NULL,\n  `updated_at` timestamp NULL DEFAULT NULL,\n  PRIMARY KEY (`id`),\n  UNIQUE KEY `order_delivery_addresses_order_id_unique` (`order_id`),\n  CONSTRAINT `order_delivery_addresses_order_id_foreign` FOREIGN KEY (`order_id`) REFERENCES `orders` (`id`) ON DELETE CASCADE\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"order_delivery_addresses\" (\n  \"id\" INTEGER NOT NULL,\n  \"order_id\" INTEGER NOT NULL,\n  \"recipient_name\" TEXT NOT NULL,\n  \"address_line1\" TEXT NOT NULL,\n  \"address_line2\" TEXT,\n  \"city\" TEXT NOT NULL,\n  \"state\" TEXT,\n  \"postal_code\" TEXT NOT NULL,\n  \"country\" TEXT NOT NULL,\n  \"phone\" TEXT,\n  \"latitude\" TEXT,\n  \"longitude\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"order_id\") REFERENCES \"orders\"(\"id\")\n);\n",
                    "mysql": "CREATE TABLE \"order_delivery_addresses\" (\n  \"id\" INT NOT NULL,\n  \"order_id\" INT NOT NULL,\n  \"recipient_name\" VARCHAR(255) NOT NULL,\n  \"address_line1\" VARCHAR(255) NOT NULL,\n  \"address_line2\" VARCHAR(255),\n  \"city\" VARCHAR(255) NOT NULL,\n  \"state\" VARCHAR(255),\n  \"postal_code\" VARCHAR(255) NOT NULL,\n  \"country\" VARCHAR(255) NOT NULL,\n  \"phone\" VARCHAR(255),\n  \"latitude\" TEXT,\n  \"longitude\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"order_id\") REFERENCES \"orders\"(\"id\")\n);\n",
                    "pgsql": "CREATE TABLE \"order_delivery_addresses\" (\n  \"id\" INTEGER NOT NULL,\n  \"order_id\" INTEGER NOT NULL,\n  \"recipient_name\" VARCHAR(255) NOT NULL,\n  \"address_line1\" VARCHAR(255) NOT NULL,\n  \"address_line2\" VARCHAR(255),\n  \"city\" VARCHAR(255) NOT NULL,\n  \"state\" VARCHAR(255),\n  \"postal_code\" VARCHAR(255) NOT NULL,\n  \"country\" VARCHAR(255) NOT NULL,\n  \"phone\" VARCHAR(255),\n  \"latitude\" TEXT,\n  \"longitude\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"order_id\") REFERENCES \"orders\"(\"id\")\n);\n"
                }
            },
            "order_items": {
                "name": "order_items",
                "columns": {
                    "id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "order_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "item_type": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "item_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "inventory_id": {
                        "type": "bigint(20) unsigned",
                        "null": "YES",
                        "key": "MUL",
                        "default": null
                    },
                    "variant_id": {
                        "type": "bigint(20) unsigned",
                        "null": "YES",
                        "key": "MUL",
                        "default": null
                    },
                    "variant": {
                        "type": "longtext",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "count": {
                        "type": "int(11)",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "name": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "price": {
                        "type": "decimal(15,3)",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "discount": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "coupon": {
                        "type": "bigint(20) unsigned",
                        "null": "YES",
                        "key": "MUL",
                        "default": null
                    },
                    "details": {
                        "type": "longtext",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "deleted_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "created_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "updated_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "id"
                    ],
                    "order_items_order_id_foreign": [
                        "order_id"
                    ],
                    "order_items_item_type_item_id_index": [
                        "item_type",
                        "item_id"
                    ],
                    "order_items_inventory_id_foreign": [
                        "inventory_id"
                    ],
                    "order_items_variant_id_foreign": [
                        "variant_id"
                    ],
                    "order_items_coupon_foreign": [
                        "coupon"
                    ]
                },
                "foreign_keys": [
                    {
                        "name": "order_items_coupon_foreign",
                        "column_name": "coupon",
                        "referenced_table": "coupons",
                        "referenced_column": "id"
                    },
                    {
                        "name": "order_items_inventory_id_foreign",
                        "column_name": "inventory_id",
                        "referenced_table": "product_inventories",
                        "referenced_column": "id"
                    },
                    {
                        "name": "order_items_order_id_foreign",
                        "column_name": "order_id",
                        "referenced_table": "orders",
                        "referenced_column": "id"
                    },
                    {
                        "name": "order_items_variant_id_foreign",
                        "column_name": "variant_id",
                        "referenced_table": "product_inventory_variants",
                        "referenced_column": "id"
                    }
                ],
                "sql_schemas": {
                    "native": "CREATE TABLE `order_items` (\n  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n  `order_id` bigint(20) unsigned NOT NULL,\n  `item_type` varchar(255) NOT NULL,\n  `item_id` bigint(20) unsigned NOT NULL,\n  `inventory_id` bigint(20) unsigned DEFAULT NULL,\n  `variant_id` bigint(20) unsigned DEFAULT NULL,\n  `variant` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`variant`)),\n  `count` int(11) NOT NULL,\n  `name` varchar(255) NOT NULL,\n  `price` decimal(15,3) NOT NULL,\n  `discount` varchar(255) DEFAULT NULL,\n  `coupon` bigint(20) unsigned DEFAULT NULL,\n  `details` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`details`)),\n  `deleted_at` timestamp NULL DEFAULT NULL,\n  `created_at` timestamp NULL DEFAULT NULL,\n  `updated_at` timestamp NULL DEFAULT NULL,\n  PRIMARY KEY (`id`),\n  KEY `order_items_order_id_foreign` (`order_id`),\n  KEY `order_items_item_type_item_id_index` (`item_type`,`item_id`),\n  KEY `order_items_inventory_id_foreign` (`inventory_id`),\n  KEY `order_items_variant_id_foreign` (`variant_id`),\n  KEY `order_items_coupon_foreign` (`coupon`),\n  CONSTRAINT `order_items_coupon_foreign` FOREIGN KEY (`coupon`) REFERENCES `coupons` (`id`),\n  CONSTRAINT `order_items_inventory_id_foreign` FOREIGN KEY (`inventory_id`) REFERENCES `product_inventories` (`id`) ON DELETE CASCADE,\n  CONSTRAINT `order_items_order_id_foreign` FOREIGN KEY (`order_id`) REFERENCES `orders` (`id`) ON DELETE CASCADE,\n  CONSTRAINT `order_items_variant_id_foreign` FOREIGN KEY (`variant_id`) REFERENCES `product_inventory_variants` (`id`) ON DELETE CASCADE\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"order_items\" (\n  \"id\" INTEGER NOT NULL,\n  \"order_id\" INTEGER NOT NULL,\n  \"item_type\" TEXT NOT NULL,\n  \"item_id\" INTEGER NOT NULL,\n  \"inventory_id\" INTEGER,\n  \"variant_id\" INTEGER,\n  \"variant\" TEXT,\n  \"count\" INTEGER NOT NULL,\n  \"name\" TEXT NOT NULL,\n  \"price\" TEXT NOT NULL,\n  \"discount\" TEXT,\n  \"coupon\" INTEGER,\n  \"details\" TEXT,\n  \"deleted_at\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"coupon\") REFERENCES \"coupons\"(\"id\"),\n  FOREIGN KEY (\"inventory_id\") REFERENCES \"product_inventories\"(\"id\"),\n  FOREIGN KEY (\"order_id\") REFERENCES \"orders\"(\"id\"),\n  FOREIGN KEY (\"variant_id\") REFERENCES \"product_inventory_variants\"(\"id\")\n);\n",
                    "mysql": "CREATE TABLE \"order_items\" (\n  \"id\" INT NOT NULL,\n  \"order_id\" INT NOT NULL,\n  \"item_type\" VARCHAR(255) NOT NULL,\n  \"item_id\" INT NOT NULL,\n  \"inventory_id\" INT,\n  \"variant_id\" INT,\n  \"variant\" TEXT,\n  \"count\" INT NOT NULL,\n  \"name\" VARCHAR(255) NOT NULL,\n  \"price\" TEXT NOT NULL,\n  \"discount\" VARCHAR(255),\n  \"coupon\" INT,\n  \"details\" TEXT,\n  \"deleted_at\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"coupon\") REFERENCES \"coupons\"(\"id\"),\n  FOREIGN KEY (\"inventory_id\") REFERENCES \"product_inventories\"(\"id\"),\n  FOREIGN KEY (\"order_id\") REFERENCES \"orders\"(\"id\"),\n  FOREIGN KEY (\"variant_id\") REFERENCES \"product_inventory_variants\"(\"id\")\n);\n",
                    "pgsql": "CREATE TABLE \"order_items\" (\n  \"id\" INTEGER NOT NULL,\n  \"order_id\" INTEGER NOT NULL,\n  \"item_type\" VARCHAR(255) NOT NULL,\n  \"item_id\" INTEGER NOT NULL,\n  \"inventory_id\" INTEGER,\n  \"variant_id\" INTEGER,\n  \"variant\" TEXT,\n  \"count\" INTEGER NOT NULL,\n  \"name\" VARCHAR(255) NOT NULL,\n  \"price\" TEXT NOT NULL,\n  \"discount\" VARCHAR(255),\n  \"coupon\" INTEGER,\n  \"details\" TEXT,\n  \"deleted_at\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"coupon\") REFERENCES \"coupons\"(\"id\"),\n  FOREIGN KEY (\"inventory_id\") REFERENCES \"product_inventories\"(\"id\"),\n  FOREIGN KEY (\"order_id\") REFERENCES \"orders\"(\"id\"),\n  FOREIGN KEY (\"variant_id\") REFERENCES \"product_inventory_variants\"(\"id\")\n);\n"
                }
            },
            "order_metas": {
                "name": "order_metas",
                "columns": {
                    "id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "order_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "group": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "key": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "value": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "data": {
                        "type": "longtext",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "created_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "updated_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "id"
                    ],
                    "order_metas_order_id_foreign": [
                        "order_id"
                    ]
                },
                "foreign_keys": [
                    {
                        "name": "order_metas_order_id_foreign",
                        "column_name": "order_id",
                        "referenced_table": "orders",
                        "referenced_column": "id"
                    }
                ],
                "sql_schemas": {
                    "native": "CREATE TABLE `order_metas` (\n  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n  `order_id` bigint(20) unsigned NOT NULL,\n  `group` varchar(255) DEFAULT NULL,\n  `key` varchar(255) NOT NULL,\n  `value` varchar(255) NOT NULL,\n  `data` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`data`)),\n  `created_at` timestamp NULL DEFAULT NULL,\n  `updated_at` timestamp NULL DEFAULT NULL,\n  PRIMARY KEY (`id`),\n  KEY `order_metas_order_id_foreign` (`order_id`),\n  CONSTRAINT `order_metas_order_id_foreign` FOREIGN KEY (`order_id`) REFERENCES `orders` (`id`) ON DELETE CASCADE\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"order_metas\" (\n  \"id\" INTEGER NOT NULL,\n  \"order_id\" INTEGER NOT NULL,\n  \"group\" TEXT,\n  \"key\" TEXT NOT NULL,\n  \"value\" TEXT NOT NULL,\n  \"data\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"order_id\") REFERENCES \"orders\"(\"id\")\n);\n",
                    "mysql": "CREATE TABLE \"order_metas\" (\n  \"id\" INT NOT NULL,\n  \"order_id\" INT NOT NULL,\n  \"group\" VARCHAR(255),\n  \"key\" VARCHAR(255) NOT NULL,\n  \"value\" VARCHAR(255) NOT NULL,\n  \"data\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"order_id\") REFERENCES \"orders\"(\"id\")\n);\n",
                    "pgsql": "CREATE TABLE \"order_metas\" (\n  \"id\" INTEGER NOT NULL,\n  \"order_id\" INTEGER NOT NULL,\n  \"group\" VARCHAR(255),\n  \"key\" VARCHAR(255) NOT NULL,\n  \"value\" VARCHAR(255) NOT NULL,\n  \"data\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"order_id\") REFERENCES \"orders\"(\"id\")\n);\n"
                }
            },
            "order_return_items": {
                "name": "order_return_items",
                "columns": {
                    "id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "order_return_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "order_item_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "order_reason_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "quantity": {
                        "type": "int(11)",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "comments": {
                        "type": "text",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "created_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "updated_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "id"
                    ],
                    "order_return_items_order_return_id_foreign": [
                        "order_return_id"
                    ],
                    "order_return_items_order_item_id_foreign": [
                        "order_item_id"
                    ],
                    "order_return_items_order_reason_id_foreign": [
                        "order_reason_id"
                    ]
                },
                "foreign_keys": [
                    {
                        "name": "order_return_items_order_item_id_foreign",
                        "column_name": "order_item_id",
                        "referenced_table": "order_items",
                        "referenced_column": "id"
                    },
                    {
                        "name": "order_return_items_order_reason_id_foreign",
                        "column_name": "order_reason_id",
                        "referenced_table": "order_return_reasons",
                        "referenced_column": "id"
                    },
                    {
                        "name": "order_return_items_order_return_id_foreign",
                        "column_name": "order_return_id",
                        "referenced_table": "order_returns",
                        "referenced_column": "id"
                    }
                ],
                "sql_schemas": {
                    "native": "CREATE TABLE `order_return_items` (\n  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n  `order_return_id` bigint(20) unsigned NOT NULL,\n  `order_item_id` bigint(20) unsigned NOT NULL,\n  `order_reason_id` bigint(20) unsigned NOT NULL,\n  `quantity` int(11) NOT NULL,\n  `comments` text DEFAULT NULL,\n  `created_at` timestamp NULL DEFAULT NULL,\n  `updated_at` timestamp NULL DEFAULT NULL,\n  PRIMARY KEY (`id`),\n  KEY `order_return_items_order_return_id_foreign` (`order_return_id`),\n  KEY `order_return_items_order_item_id_foreign` (`order_item_id`),\n  KEY `order_return_items_order_reason_id_foreign` (`order_reason_id`),\n  CONSTRAINT `order_return_items_order_item_id_foreign` FOREIGN KEY (`order_item_id`) REFERENCES `order_items` (`id`) ON DELETE CASCADE,\n  CONSTRAINT `order_return_items_order_reason_id_foreign` FOREIGN KEY (`order_reason_id`) REFERENCES `order_return_reasons` (`id`) ON DELETE CASCADE,\n  CONSTRAINT `order_return_items_order_return_id_foreign` FOREIGN KEY (`order_return_id`) REFERENCES `order_returns` (`id`) ON DELETE CASCADE\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"order_return_items\" (\n  \"id\" INTEGER NOT NULL,\n  \"order_return_id\" INTEGER NOT NULL,\n  \"order_item_id\" INTEGER NOT NULL,\n  \"order_reason_id\" INTEGER NOT NULL,\n  \"quantity\" INTEGER NOT NULL,\n  \"comments\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"order_item_id\") REFERENCES \"order_items\"(\"id\"),\n  FOREIGN KEY (\"order_reason_id\") REFERENCES \"order_return_reasons\"(\"id\"),\n  FOREIGN KEY (\"order_return_id\") REFERENCES \"order_returns\"(\"id\")\n);\n",
                    "mysql": "CREATE TABLE \"order_return_items\" (\n  \"id\" INT NOT NULL,\n  \"order_return_id\" INT NOT NULL,\n  \"order_item_id\" INT NOT NULL,\n  \"order_reason_id\" INT NOT NULL,\n  \"quantity\" INT NOT NULL,\n  \"comments\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"order_item_id\") REFERENCES \"order_items\"(\"id\"),\n  FOREIGN KEY (\"order_reason_id\") REFERENCES \"order_return_reasons\"(\"id\"),\n  FOREIGN KEY (\"order_return_id\") REFERENCES \"order_returns\"(\"id\")\n);\n",
                    "pgsql": "CREATE TABLE \"order_return_items\" (\n  \"id\" INTEGER NOT NULL,\n  \"order_return_id\" INTEGER NOT NULL,\n  \"order_item_id\" INTEGER NOT NULL,\n  \"order_reason_id\" INTEGER NOT NULL,\n  \"quantity\" INTEGER NOT NULL,\n  \"comments\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"order_item_id\") REFERENCES \"order_items\"(\"id\"),\n  FOREIGN KEY (\"order_reason_id\") REFERENCES \"order_return_reasons\"(\"id\"),\n  FOREIGN KEY (\"order_return_id\") REFERENCES \"order_returns\"(\"id\")\n);\n"
                }
            },
            "order_return_reasons": {
                "name": "order_return_reasons",
                "columns": {
                    "id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "reason": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "created_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "updated_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "id"
                    ]
                },
                "foreign_keys": [],
                "sql_schemas": {
                    "native": "CREATE TABLE `order_return_reasons` (\n  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n  `reason` varchar(255) NOT NULL,\n  `created_at` timestamp NULL DEFAULT NULL,\n  `updated_at` timestamp NULL DEFAULT NULL,\n  PRIMARY KEY (`id`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"order_return_reasons\" (\n  \"id\" INTEGER NOT NULL,\n  \"reason\" TEXT NOT NULL,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT\n);\n",
                    "mysql": "CREATE TABLE \"order_return_reasons\" (\n  \"id\" INT NOT NULL,\n  \"reason\" VARCHAR(255) NOT NULL,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT\n);\n",
                    "pgsql": "CREATE TABLE \"order_return_reasons\" (\n  \"id\" INTEGER NOT NULL,\n  \"reason\" VARCHAR(255) NOT NULL,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT\n);\n"
                }
            },
            "order_returns": {
                "name": "order_returns",
                "columns": {
                    "id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "order_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "user_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "status": {
                        "type": "enum('requested','approved','rejected','picked_up','received','inspected','refund_initiated','refund_completed','cancelled','completed')",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "comments": {
                        "type": "text",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "created_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "updated_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "id"
                    ],
                    "order_returns_order_id_foreign": [
                        "order_id"
                    ],
                    "order_returns_user_id_foreign": [
                        "user_id"
                    ]
                },
                "foreign_keys": [
                    {
                        "name": "order_returns_order_id_foreign",
                        "column_name": "order_id",
                        "referenced_table": "orders",
                        "referenced_column": "id"
                    },
                    {
                        "name": "order_returns_user_id_foreign",
                        "column_name": "user_id",
                        "referenced_table": "users",
                        "referenced_column": "id"
                    }
                ],
                "sql_schemas": {
                    "native": "CREATE TABLE `order_returns` (\n  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n  `order_id` bigint(20) unsigned NOT NULL,\n  `user_id` bigint(20) unsigned NOT NULL,\n  `status` enum('requested','approved','rejected','picked_up','received','inspected','refund_initiated','refund_completed','cancelled','completed') NOT NULL,\n  `comments` text DEFAULT NULL,\n  `created_at` timestamp NULL DEFAULT NULL,\n  `updated_at` timestamp NULL DEFAULT NULL,\n  PRIMARY KEY (`id`),\n  KEY `order_returns_order_id_foreign` (`order_id`),\n  KEY `order_returns_user_id_foreign` (`user_id`),\n  CONSTRAINT `order_returns_order_id_foreign` FOREIGN KEY (`order_id`) REFERENCES `orders` (`id`) ON DELETE CASCADE,\n  CONSTRAINT `order_returns_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"order_returns\" (\n  \"id\" INTEGER NOT NULL,\n  \"order_id\" INTEGER NOT NULL,\n  \"user_id\" INTEGER NOT NULL,\n  \"status\" TEXT NOT NULL,\n  \"comments\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"order_id\") REFERENCES \"orders\"(\"id\"),\n  FOREIGN KEY (\"user_id\") REFERENCES \"users\"(\"id\")\n);\n",
                    "mysql": "CREATE TABLE \"order_returns\" (\n  \"id\" INT NOT NULL,\n  \"order_id\" INT NOT NULL,\n  \"user_id\" INT NOT NULL,\n  \"status\" TEXT NOT NULL,\n  \"comments\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"order_id\") REFERENCES \"orders\"(\"id\"),\n  FOREIGN KEY (\"user_id\") REFERENCES \"users\"(\"id\")\n);\n",
                    "pgsql": "CREATE TABLE \"order_returns\" (\n  \"id\" INTEGER NOT NULL,\n  \"order_id\" INTEGER NOT NULL,\n  \"user_id\" INTEGER NOT NULL,\n  \"status\" TEXT NOT NULL,\n  \"comments\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"order_id\") REFERENCES \"orders\"(\"id\"),\n  FOREIGN KEY (\"user_id\") REFERENCES \"users\"(\"id\")\n);\n"
                }
            },
            "orders": {
                "name": "orders",
                "columns": {
                    "id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "uuid": {
                        "type": "char(36)",
                        "null": "NO",
                        "key": "UNI",
                        "default": null
                    },
                    "created_by_type": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "created_by_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "ordered_by_type": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "ordered_by_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "orderable_type": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "orderable_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "address_id": {
                        "type": "bigint(20) unsigned",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "delivery_time_id": {
                        "type": "bigint(20) unsigned",
                        "null": "YES",
                        "key": "MUL",
                        "default": null
                    },
                    "type": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "tracking_code": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "UNI",
                        "default": null
                    },
                    "name": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "phone": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "email": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "amount": {
                        "type": "decimal(15,3)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "amount_with_discount": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "discount": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "coupon_id": {
                        "type": "bigint(20) unsigned",
                        "null": "YES",
                        "key": "MUL",
                        "default": null
                    },
                    "reseller": {
                        "type": "bigint(20) unsigned",
                        "null": "YES",
                        "key": "MUL",
                        "default": null
                    },
                    "status": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": "0"
                    },
                    "description": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "deleted_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "created_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "updated_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "id"
                    ],
                    "orders_uuid_unique": [
                        "uuid"
                    ],
                    "orders_tracking_code_unique": [
                        "tracking_code"
                    ],
                    "orders_created_by_type_created_by_id_index": [
                        "created_by_type",
                        "created_by_id"
                    ],
                    "orders_ordered_by_type_ordered_by_id_index": [
                        "ordered_by_type",
                        "ordered_by_id"
                    ],
                    "orders_orderable_type_orderable_id_index": [
                        "orderable_type",
                        "orderable_id"
                    ],
                    "orders_delivery_time_id_foreign": [
                        "delivery_time_id"
                    ],
                    "orders_coupon_id_foreign": [
                        "coupon_id"
                    ],
                    "orders_reseller_foreign": [
                        "reseller"
                    ]
                },
                "foreign_keys": [
                    {
                        "name": "orders_coupon_id_foreign",
                        "column_name": "coupon_id",
                        "referenced_table": "coupons",
                        "referenced_column": "id"
                    },
                    {
                        "name": "orders_delivery_time_id_foreign",
                        "column_name": "delivery_time_id",
                        "referenced_table": "delivery_times",
                        "referenced_column": "id"
                    },
                    {
                        "name": "orders_reseller_foreign",
                        "column_name": "reseller",
                        "referenced_table": "users",
                        "referenced_column": "id"
                    }
                ],
                "sql_schemas": {
                    "native": "CREATE TABLE `orders` (\n  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n  `uuid` char(36) NOT NULL,\n  `created_by_type` varchar(255) NOT NULL,\n  `created_by_id` bigint(20) unsigned NOT NULL,\n  `ordered_by_type` varchar(255) NOT NULL,\n  `ordered_by_id` bigint(20) unsigned NOT NULL,\n  `orderable_type` varchar(255) NOT NULL,\n  `orderable_id` bigint(20) unsigned NOT NULL,\n  `address_id` bigint(20) unsigned DEFAULT NULL,\n  `delivery_time_id` bigint(20) unsigned DEFAULT NULL,\n  `type` varchar(255) NOT NULL,\n  `tracking_code` varchar(255) NOT NULL,\n  `name` varchar(255) DEFAULT NULL,\n  `phone` varchar(255) DEFAULT NULL,\n  `email` varchar(255) DEFAULT NULL,\n  `amount` decimal(15,3) DEFAULT NULL,\n  `amount_with_discount` varchar(255) DEFAULT NULL,\n  `discount` varchar(255) DEFAULT NULL,\n  `coupon_id` bigint(20) unsigned DEFAULT NULL,\n  `reseller` bigint(20) unsigned DEFAULT NULL,\n  `status` varchar(255) DEFAULT '0',\n  `description` varchar(255) DEFAULT NULL,\n  `deleted_at` timestamp NULL DEFAULT NULL,\n  `created_at` timestamp NULL DEFAULT NULL,\n  `updated_at` timestamp NULL DEFAULT NULL,\n  PRIMARY KEY (`id`),\n  UNIQUE KEY `orders_uuid_unique` (`uuid`),\n  UNIQUE KEY `orders_tracking_code_unique` (`tracking_code`),\n  KEY `orders_created_by_type_created_by_id_index` (`created_by_type`,`created_by_id`),\n  KEY `orders_ordered_by_type_ordered_by_id_index` (`ordered_by_type`,`ordered_by_id`),\n  KEY `orders_orderable_type_orderable_id_index` (`orderable_type`,`orderable_id`),\n  KEY `orders_delivery_time_id_foreign` (`delivery_time_id`),\n  KEY `orders_coupon_id_foreign` (`coupon_id`),\n  KEY `orders_reseller_foreign` (`reseller`),\n  CONSTRAINT `orders_coupon_id_foreign` FOREIGN KEY (`coupon_id`) REFERENCES `coupons` (`id`) ON DELETE SET NULL,\n  CONSTRAINT `orders_delivery_time_id_foreign` FOREIGN KEY (`delivery_time_id`) REFERENCES `delivery_times` (`id`),\n  CONSTRAINT `orders_reseller_foreign` FOREIGN KEY (`reseller`) REFERENCES `users` (`id`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"orders\" (\n  \"id\" INTEGER NOT NULL,\n  \"uuid\" TEXT NOT NULL,\n  \"created_by_type\" TEXT NOT NULL,\n  \"created_by_id\" INTEGER NOT NULL,\n  \"ordered_by_type\" TEXT NOT NULL,\n  \"ordered_by_id\" INTEGER NOT NULL,\n  \"orderable_type\" TEXT NOT NULL,\n  \"orderable_id\" INTEGER NOT NULL,\n  \"address_id\" INTEGER,\n  \"delivery_time_id\" INTEGER,\n  \"type\" TEXT NOT NULL,\n  \"tracking_code\" TEXT NOT NULL,\n  \"name\" TEXT,\n  \"phone\" TEXT,\n  \"email\" TEXT,\n  \"amount\" TEXT,\n  \"amount_with_discount\" TEXT,\n  \"discount\" TEXT,\n  \"coupon_id\" INTEGER,\n  \"reseller\" INTEGER,\n  \"status\" TEXT DEFAULT '0',\n  \"description\" TEXT,\n  \"deleted_at\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"coupon_id\") REFERENCES \"coupons\"(\"id\"),\n  FOREIGN KEY (\"delivery_time_id\") REFERENCES \"delivery_times\"(\"id\"),\n  FOREIGN KEY (\"reseller\") REFERENCES \"users\"(\"id\")\n);\n",
                    "mysql": "CREATE TABLE \"orders\" (\n  \"id\" INT NOT NULL,\n  \"uuid\" TEXT NOT NULL,\n  \"created_by_type\" VARCHAR(255) NOT NULL,\n  \"created_by_id\" INT NOT NULL,\n  \"ordered_by_type\" VARCHAR(255) NOT NULL,\n  \"ordered_by_id\" INT NOT NULL,\n  \"orderable_type\" VARCHAR(255) NOT NULL,\n  \"orderable_id\" INT NOT NULL,\n  \"address_id\" INT,\n  \"delivery_time_id\" INT,\n  \"type\" VARCHAR(255) NOT NULL,\n  \"tracking_code\" VARCHAR(255) NOT NULL,\n  \"name\" VARCHAR(255),\n  \"phone\" VARCHAR(255),\n  \"email\" VARCHAR(255),\n  \"amount\" TEXT,\n  \"amount_with_discount\" VARCHAR(255),\n  \"discount\" VARCHAR(255),\n  \"coupon_id\" INT,\n  \"reseller\" INT,\n  \"status\" VARCHAR(255) DEFAULT '0',\n  \"description\" VARCHAR(255),\n  \"deleted_at\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"coupon_id\") REFERENCES \"coupons\"(\"id\"),\n  FOREIGN KEY (\"delivery_time_id\") REFERENCES \"delivery_times\"(\"id\"),\n  FOREIGN KEY (\"reseller\") REFERENCES \"users\"(\"id\")\n);\n",
                    "pgsql": "CREATE TABLE \"orders\" (\n  \"id\" INTEGER NOT NULL,\n  \"uuid\" TEXT NOT NULL,\n  \"created_by_type\" VARCHAR(255) NOT NULL,\n  \"created_by_id\" INTEGER NOT NULL,\n  \"ordered_by_type\" VARCHAR(255) NOT NULL,\n  \"ordered_by_id\" INTEGER NOT NULL,\n  \"orderable_type\" VARCHAR(255) NOT NULL,\n  \"orderable_id\" INTEGER NOT NULL,\n  \"address_id\" INTEGER,\n  \"delivery_time_id\" INTEGER,\n  \"type\" VARCHAR(255) NOT NULL,\n  \"tracking_code\" VARCHAR(255) NOT NULL,\n  \"name\" VARCHAR(255),\n  \"phone\" VARCHAR(255),\n  \"email\" VARCHAR(255),\n  \"amount\" TEXT,\n  \"amount_with_discount\" VARCHAR(255),\n  \"discount\" VARCHAR(255),\n  \"coupon_id\" INTEGER,\n  \"reseller\" INTEGER,\n  \"status\" VARCHAR(255) DEFAULT '0',\n  \"description\" VARCHAR(255),\n  \"deleted_at\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"coupon_id\") REFERENCES \"coupons\"(\"id\"),\n  FOREIGN KEY (\"delivery_time_id\") REFERENCES \"delivery_times\"(\"id\"),\n  FOREIGN KEY (\"reseller\") REFERENCES \"users\"(\"id\")\n);\n"
                }
            },
            "otps": {
                "name": "otps",
                "columns": {
                    "id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "phone": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "email": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "code": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "service": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "token": {
                        "type": "longtext",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "identifier": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "is_verified": {
                        "type": "tinyint(1)",
                        "null": "YES",
                        "key": "",
                        "default": "0"
                    },
                    "expiry_time": {
                        "type": "timestamp",
                        "null": "NO",
                        "key": "",
                        "default": "current_timestamp()"
                    },
                    "created_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "updated_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "id"
                    ]
                },
                "foreign_keys": [],
                "sql_schemas": {
                    "native": "CREATE TABLE `otps` (\n  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n  `phone` varchar(255) DEFAULT NULL,\n  `email` varchar(255) DEFAULT NULL,\n  `code` varchar(255) NOT NULL,\n  `service` varchar(255) DEFAULT NULL,\n  `token` longtext DEFAULT NULL,\n  `identifier` varchar(255) DEFAULT NULL,\n  `is_verified` tinyint(1) DEFAULT 0,\n  `expiry_time` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),\n  `created_at` timestamp NULL DEFAULT NULL,\n  `updated_at` timestamp NULL DEFAULT NULL,\n  PRIMARY KEY (`id`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"otps\" (\n  \"id\" INTEGER NOT NULL,\n  \"phone\" TEXT,\n  \"email\" TEXT,\n  \"code\" TEXT NOT NULL,\n  \"service\" TEXT,\n  \"token\" TEXT,\n  \"identifier\" TEXT,\n  \"is_verified\" INTEGER DEFAULT '0',\n  \"expiry_time\" TEXT NOT NULL DEFAULT 'current_timestamp()',\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT\n);\n",
                    "mysql": "CREATE TABLE \"otps\" (\n  \"id\" INT NOT NULL,\n  \"phone\" VARCHAR(255),\n  \"email\" VARCHAR(255),\n  \"code\" VARCHAR(255) NOT NULL,\n  \"service\" VARCHAR(255),\n  \"token\" TEXT,\n  \"identifier\" VARCHAR(255),\n  \"is_verified\" INT DEFAULT '0',\n  \"expiry_time\" TEXT NOT NULL DEFAULT 'current_timestamp()',\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT\n);\n",
                    "pgsql": "CREATE TABLE \"otps\" (\n  \"id\" INTEGER NOT NULL,\n  \"phone\" VARCHAR(255),\n  \"email\" VARCHAR(255),\n  \"code\" VARCHAR(255) NOT NULL,\n  \"service\" VARCHAR(255),\n  \"token\" TEXT,\n  \"identifier\" VARCHAR(255),\n  \"is_verified\" INTEGER DEFAULT '0',\n  \"expiry_time\" TEXT NOT NULL DEFAULT 'current_timestamp()',\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT\n);\n"
                }
            },
            "page_items": {
                "name": "page_items",
                "columns": {
                    "id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "page_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "component": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "order": {
                        "type": "int(10) unsigned",
                        "null": "NO",
                        "key": "",
                        "default": "0"
                    },
                    "settings": {
                        "type": "longtext",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "created_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "updated_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "id"
                    ],
                    "page_items_page_id_foreign": [
                        "page_id"
                    ]
                },
                "foreign_keys": [
                    {
                        "name": "page_items_page_id_foreign",
                        "column_name": "page_id",
                        "referenced_table": "pages",
                        "referenced_column": "id"
                    }
                ],
                "sql_schemas": {
                    "native": "CREATE TABLE `page_items` (\n  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n  `page_id` bigint(20) unsigned NOT NULL,\n  `component` varchar(255) NOT NULL,\n  `order` int(10) unsigned NOT NULL DEFAULT 0,\n  `settings` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`settings`)),\n  `created_at` timestamp NULL DEFAULT NULL,\n  `updated_at` timestamp NULL DEFAULT NULL,\n  PRIMARY KEY (`id`),\n  KEY `page_items_page_id_foreign` (`page_id`),\n  CONSTRAINT `page_items_page_id_foreign` FOREIGN KEY (`page_id`) REFERENCES `pages` (`id`) ON DELETE CASCADE\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"page_items\" (\n  \"id\" INTEGER NOT NULL,\n  \"page_id\" INTEGER NOT NULL,\n  \"component\" TEXT NOT NULL,\n  \"order\" INTEGER NOT NULL DEFAULT '0',\n  \"settings\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"page_id\") REFERENCES \"pages\"(\"id\")\n);\n",
                    "mysql": "CREATE TABLE \"page_items\" (\n  \"id\" INT NOT NULL,\n  \"page_id\" INT NOT NULL,\n  \"component\" VARCHAR(255) NOT NULL,\n  \"order\" INT NOT NULL DEFAULT '0',\n  \"settings\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"page_id\") REFERENCES \"pages\"(\"id\")\n);\n",
                    "pgsql": "CREATE TABLE \"page_items\" (\n  \"id\" INTEGER NOT NULL,\n  \"page_id\" INTEGER NOT NULL,\n  \"component\" VARCHAR(255) NOT NULL,\n  \"order\" INTEGER NOT NULL DEFAULT '0',\n  \"settings\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"page_id\") REFERENCES \"pages\"(\"id\")\n);\n"
                }
            },
            "page_versions": {
                "name": "page_versions",
                "columns": {
                    "id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "page_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "created_by": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "content": {
                        "type": "longtext",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "css": {
                        "type": "longtext",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "components_json": {
                        "type": "longtext",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "styles_json": {
                        "type": "longtext",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "created_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "updated_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "id"
                    ],
                    "page_versions_page_id_foreign": [
                        "page_id"
                    ],
                    "page_versions_created_by_foreign": [
                        "created_by"
                    ]
                },
                "foreign_keys": [
                    {
                        "name": "page_versions_created_by_foreign",
                        "column_name": "created_by",
                        "referenced_table": "users",
                        "referenced_column": "id"
                    },
                    {
                        "name": "page_versions_page_id_foreign",
                        "column_name": "page_id",
                        "referenced_table": "pages",
                        "referenced_column": "id"
                    }
                ],
                "sql_schemas": {
                    "native": "CREATE TABLE `page_versions` (\n  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n  `page_id` bigint(20) unsigned NOT NULL,\n  `created_by` bigint(20) unsigned NOT NULL,\n  `content` longtext DEFAULT NULL,\n  `css` longtext DEFAULT NULL,\n  `components_json` longtext DEFAULT NULL,\n  `styles_json` longtext DEFAULT NULL,\n  `created_at` timestamp NULL DEFAULT NULL,\n  `updated_at` timestamp NULL DEFAULT NULL,\n  PRIMARY KEY (`id`),\n  KEY `page_versions_page_id_foreign` (`page_id`),\n  KEY `page_versions_created_by_foreign` (`created_by`),\n  CONSTRAINT `page_versions_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`),\n  CONSTRAINT `page_versions_page_id_foreign` FOREIGN KEY (`page_id`) REFERENCES `pages` (`id`) ON DELETE CASCADE\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"page_versions\" (\n  \"id\" INTEGER NOT NULL,\n  \"page_id\" INTEGER NOT NULL,\n  \"created_by\" INTEGER NOT NULL,\n  \"content\" TEXT,\n  \"css\" TEXT,\n  \"components_json\" TEXT,\n  \"styles_json\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"created_by\") REFERENCES \"users\"(\"id\"),\n  FOREIGN KEY (\"page_id\") REFERENCES \"pages\"(\"id\")\n);\n",
                    "mysql": "CREATE TABLE \"page_versions\" (\n  \"id\" INT NOT NULL,\n  \"page_id\" INT NOT NULL,\n  \"created_by\" INT NOT NULL,\n  \"content\" TEXT,\n  \"css\" TEXT,\n  \"components_json\" TEXT,\n  \"styles_json\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"created_by\") REFERENCES \"users\"(\"id\"),\n  FOREIGN KEY (\"page_id\") REFERENCES \"pages\"(\"id\")\n);\n",
                    "pgsql": "CREATE TABLE \"page_versions\" (\n  \"id\" INTEGER NOT NULL,\n  \"page_id\" INTEGER NOT NULL,\n  \"created_by\" INTEGER NOT NULL,\n  \"content\" TEXT,\n  \"css\" TEXT,\n  \"components_json\" TEXT,\n  \"styles_json\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"created_by\") REFERENCES \"users\"(\"id\"),\n  FOREIGN KEY (\"page_id\") REFERENCES \"pages\"(\"id\")\n);\n"
                }
            },
            "pages": {
                "name": "pages",
                "columns": {
                    "id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "title": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "slug": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "UNI",
                        "default": null
                    },
                    "status": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "content": {
                        "type": "longtext",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "css": {
                        "type": "longtext",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "js": {
                        "type": "longtext",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "components_json": {
                        "type": "longtext",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "styles_json": {
                        "type": "longtext",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "assets_json": {
                        "type": "longtext",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "gjs_source": {
                        "type": "longtext",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "excerpt": {
                        "type": "text",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "meta_title": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "meta_description": {
                        "type": "text",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "meta_keywords": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "template": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "featured_image": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "parent_id": {
                        "type": "bigint(20) unsigned",
                        "null": "YES",
                        "key": "MUL",
                        "default": null
                    },
                    "position": {
                        "type": "int(11)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "is_published": {
                        "type": "tinyint(1)",
                        "null": "NO",
                        "key": "",
                        "default": "0"
                    },
                    "published_html": {
                        "type": "longtext",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "published_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "author_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "created_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "updated_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "id"
                    ],
                    "pages_slug_unique": [
                        "slug"
                    ],
                    "pages_parent_id_foreign": [
                        "parent_id"
                    ],
                    "pages_author_id_foreign": [
                        "author_id"
                    ]
                },
                "foreign_keys": [
                    {
                        "name": "pages_author_id_foreign",
                        "column_name": "author_id",
                        "referenced_table": "users",
                        "referenced_column": "id"
                    },
                    {
                        "name": "pages_parent_id_foreign",
                        "column_name": "parent_id",
                        "referenced_table": "pages",
                        "referenced_column": "id"
                    }
                ],
                "sql_schemas": {
                    "native": "CREATE TABLE `pages` (\n  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n  `title` varchar(255) NOT NULL,\n  `slug` varchar(255) NOT NULL,\n  `status` varchar(255) DEFAULT NULL,\n  `content` longtext DEFAULT NULL,\n  `css` longtext DEFAULT NULL,\n  `js` longtext DEFAULT NULL,\n  `components_json` longtext DEFAULT NULL,\n  `styles_json` longtext DEFAULT NULL,\n  `assets_json` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`assets_json`)),\n  `gjs_source` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`gjs_source`)),\n  `excerpt` text DEFAULT NULL,\n  `meta_title` varchar(255) DEFAULT NULL,\n  `meta_description` text DEFAULT NULL,\n  `meta_keywords` varchar(255) DEFAULT NULL,\n  `template` varchar(255) DEFAULT NULL,\n  `featured_image` varchar(255) DEFAULT NULL,\n  `parent_id` bigint(20) unsigned DEFAULT NULL,\n  `position` int(11) DEFAULT NULL,\n  `is_published` tinyint(1) NOT NULL DEFAULT 0,\n  `published_html` longtext DEFAULT NULL,\n  `published_at` timestamp NULL DEFAULT NULL,\n  `author_id` bigint(20) unsigned NOT NULL,\n  `created_at` timestamp NULL DEFAULT NULL,\n  `updated_at` timestamp NULL DEFAULT NULL,\n  PRIMARY KEY (`id`),\n  UNIQUE KEY `pages_slug_unique` (`slug`),\n  KEY `pages_parent_id_foreign` (`parent_id`),\n  KEY `pages_author_id_foreign` (`author_id`),\n  CONSTRAINT `pages_author_id_foreign` FOREIGN KEY (`author_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,\n  CONSTRAINT `pages_parent_id_foreign` FOREIGN KEY (`parent_id`) REFERENCES `pages` (`id`) ON DELETE SET NULL\n) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"pages\" (\n  \"id\" INTEGER NOT NULL,\n  \"title\" TEXT NOT NULL,\n  \"slug\" TEXT NOT NULL,\n  \"status\" TEXT,\n  \"content\" TEXT,\n  \"css\" TEXT,\n  \"js\" TEXT,\n  \"components_json\" TEXT,\n  \"styles_json\" TEXT,\n  \"assets_json\" TEXT,\n  \"gjs_source\" TEXT,\n  \"excerpt\" TEXT,\n  \"meta_title\" TEXT,\n  \"meta_description\" TEXT,\n  \"meta_keywords\" TEXT,\n  \"template\" TEXT,\n  \"featured_image\" TEXT,\n  \"parent_id\" INTEGER,\n  \"position\" INTEGER,\n  \"is_published\" INTEGER NOT NULL DEFAULT '0',\n  \"published_html\" TEXT,\n  \"published_at\" TEXT,\n  \"author_id\" INTEGER NOT NULL,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"author_id\") REFERENCES \"users\"(\"id\"),\n  FOREIGN KEY (\"parent_id\") REFERENCES \"pages\"(\"id\")\n);\n",
                    "mysql": "CREATE TABLE \"pages\" (\n  \"id\" INT NOT NULL,\n  \"title\" VARCHAR(255) NOT NULL,\n  \"slug\" VARCHAR(255) NOT NULL,\n  \"status\" VARCHAR(255),\n  \"content\" TEXT,\n  \"css\" TEXT,\n  \"js\" TEXT,\n  \"components_json\" TEXT,\n  \"styles_json\" TEXT,\n  \"assets_json\" TEXT,\n  \"gjs_source\" TEXT,\n  \"excerpt\" TEXT,\n  \"meta_title\" VARCHAR(255),\n  \"meta_description\" TEXT,\n  \"meta_keywords\" VARCHAR(255),\n  \"template\" VARCHAR(255),\n  \"featured_image\" VARCHAR(255),\n  \"parent_id\" INT,\n  \"position\" INT,\n  \"is_published\" INT NOT NULL DEFAULT '0',\n  \"published_html\" TEXT,\n  \"published_at\" TEXT,\n  \"author_id\" INT NOT NULL,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"author_id\") REFERENCES \"users\"(\"id\"),\n  FOREIGN KEY (\"parent_id\") REFERENCES \"pages\"(\"id\")\n);\n",
                    "pgsql": "CREATE TABLE \"pages\" (\n  \"id\" INTEGER NOT NULL,\n  \"title\" VARCHAR(255) NOT NULL,\n  \"slug\" VARCHAR(255) NOT NULL,\n  \"status\" VARCHAR(255),\n  \"content\" TEXT,\n  \"css\" TEXT,\n  \"js\" TEXT,\n  \"components_json\" TEXT,\n  \"styles_json\" TEXT,\n  \"assets_json\" TEXT,\n  \"gjs_source\" TEXT,\n  \"excerpt\" TEXT,\n  \"meta_title\" VARCHAR(255),\n  \"meta_description\" TEXT,\n  \"meta_keywords\" VARCHAR(255),\n  \"template\" VARCHAR(255),\n  \"featured_image\" VARCHAR(255),\n  \"parent_id\" INTEGER,\n  \"position\" INTEGER,\n  \"is_published\" INTEGER NOT NULL DEFAULT '0',\n  \"published_html\" TEXT,\n  \"published_at\" TEXT,\n  \"author_id\" INTEGER NOT NULL,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"author_id\") REFERENCES \"users\"(\"id\"),\n  FOREIGN KEY (\"parent_id\") REFERENCES \"pages\"(\"id\")\n);\n"
                }
            },
            "password_reset_tokens": {
                "name": "password_reset_tokens",
                "columns": {
                    "email": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "token": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "created_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "email"
                    ]
                },
                "foreign_keys": [],
                "sql_schemas": {
                    "native": "CREATE TABLE `password_reset_tokens` (\n  `email` varchar(255) NOT NULL,\n  `token` varchar(255) NOT NULL,\n  `created_at` timestamp NULL DEFAULT NULL,\n  PRIMARY KEY (`email`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"password_reset_tokens\" (\n  \"email\" TEXT NOT NULL,\n  \"token\" TEXT NOT NULL,\n  \"created_at\" TEXT\n);\n",
                    "mysql": "CREATE TABLE \"password_reset_tokens\" (\n  \"email\" VARCHAR(255) NOT NULL,\n  \"token\" VARCHAR(255) NOT NULL,\n  \"created_at\" TEXT\n);\n",
                    "pgsql": "CREATE TABLE \"password_reset_tokens\" (\n  \"email\" VARCHAR(255) NOT NULL,\n  \"token\" VARCHAR(255) NOT NULL,\n  \"created_at\" TEXT\n);\n"
                }
            },
            "payment_steps": {
                "name": "payment_steps",
                "columns": {
                    "id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "payment_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "step": {
                        "type": "enum('create','redirect','return','verify')",
                        "null": "YES",
                        "key": "",
                        "default": "create"
                    },
                    "http_code": {
                        "type": "smallint(5) unsigned",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "request": {
                        "type": "longtext",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "response": {
                        "type": "longtext",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "request_time": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "return_id": {
                        "type": "varchar(50)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "created_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "updated_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "id"
                    ],
                    "payment_steps_payment_id_foreign": [
                        "payment_id"
                    ]
                },
                "foreign_keys": [
                    {
                        "name": "payment_steps_payment_id_foreign",
                        "column_name": "payment_id",
                        "referenced_table": "payments",
                        "referenced_column": "id"
                    }
                ],
                "sql_schemas": {
                    "native": "CREATE TABLE `payment_steps` (\n  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n  `payment_id` bigint(20) unsigned NOT NULL,\n  `step` enum('create','redirect','return','verify') DEFAULT 'create',\n  `http_code` smallint(5) unsigned DEFAULT NULL,\n  `request` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`request`)),\n  `response` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`response`)),\n  `request_time` timestamp NULL DEFAULT NULL,\n  `return_id` varchar(50) DEFAULT NULL,\n  `created_at` timestamp NULL DEFAULT NULL,\n  `updated_at` timestamp NULL DEFAULT NULL,\n  PRIMARY KEY (`id`),\n  KEY `payment_steps_payment_id_foreign` (`payment_id`),\n  CONSTRAINT `payment_steps_payment_id_foreign` FOREIGN KEY (`payment_id`) REFERENCES `payments` (`id`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"payment_steps\" (\n  \"id\" INTEGER NOT NULL,\n  \"payment_id\" INTEGER NOT NULL,\n  \"step\" TEXT DEFAULT 'create',\n  \"http_code\" INTEGER,\n  \"request\" TEXT,\n  \"response\" TEXT,\n  \"request_time\" TEXT,\n  \"return_id\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"payment_id\") REFERENCES \"payments\"(\"id\")\n);\n",
                    "mysql": "CREATE TABLE \"payment_steps\" (\n  \"id\" INT NOT NULL,\n  \"payment_id\" INT NOT NULL,\n  \"step\" TEXT DEFAULT 'create',\n  \"http_code\" INT,\n  \"request\" TEXT,\n  \"response\" TEXT,\n  \"request_time\" TEXT,\n  \"return_id\" VARCHAR(255),\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"payment_id\") REFERENCES \"payments\"(\"id\")\n);\n",
                    "pgsql": "CREATE TABLE \"payment_steps\" (\n  \"id\" INTEGER NOT NULL,\n  \"payment_id\" INTEGER NOT NULL,\n  \"step\" TEXT DEFAULT 'create',\n  \"http_code\" INTEGER,\n  \"request\" TEXT,\n  \"response\" TEXT,\n  \"request_time\" TEXT,\n  \"return_id\" VARCHAR(255),\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"payment_id\") REFERENCES \"payments\"(\"id\")\n);\n"
                }
            },
            "payments": {
                "name": "payments",
                "columns": {
                    "id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "uuid": {
                        "type": "char(36)",
                        "null": "NO",
                        "key": "UNI",
                        "default": null
                    },
                    "user_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "payable_type": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "payable_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "gateway": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "transaction_id": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "amount": {
                        "type": "decimal(15,4)",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "tracking_code": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "UNI",
                        "default": null
                    },
                    "description": {
                        "type": "text",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "status": {
                        "type": "enum('successful','canceled','failed','pending','awaiting')",
                        "null": "YES",
                        "key": "",
                        "default": "pending"
                    },
                    "data": {
                        "type": "longtext",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "created_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "updated_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "deleted_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "created_by": {
                        "type": "bigint(20) unsigned",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "deleted_by": {
                        "type": "bigint(20) unsigned",
                        "null": "YES",
                        "key": "",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "id"
                    ],
                    "payments_uuid_unique": [
                        "uuid"
                    ],
                    "payments_tracking_code_unique": [
                        "tracking_code"
                    ],
                    "payments_user_id_foreign": [
                        "user_id"
                    ],
                    "payments_payable_type_payable_id_index": [
                        "payable_type",
                        "payable_id"
                    ]
                },
                "foreign_keys": [
                    {
                        "name": "payments_user_id_foreign",
                        "column_name": "user_id",
                        "referenced_table": "users",
                        "referenced_column": "id"
                    }
                ],
                "sql_schemas": {
                    "native": "CREATE TABLE `payments` (\n  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n  `uuid` char(36) NOT NULL,\n  `user_id` bigint(20) unsigned NOT NULL,\n  `payable_type` varchar(255) NOT NULL,\n  `payable_id` bigint(20) unsigned NOT NULL,\n  `gateway` varchar(255) DEFAULT NULL,\n  `transaction_id` varchar(255) DEFAULT NULL,\n  `amount` decimal(15,4) NOT NULL,\n  `tracking_code` varchar(255) NOT NULL,\n  `description` text DEFAULT NULL,\n  `status` enum('successful','canceled','failed','pending','awaiting') DEFAULT 'pending',\n  `data` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`data`)),\n  `created_at` timestamp NULL DEFAULT NULL,\n  `updated_at` timestamp NULL DEFAULT NULL,\n  `deleted_at` timestamp NULL DEFAULT NULL,\n  `created_by` bigint(20) unsigned DEFAULT NULL,\n  `deleted_by` bigint(20) unsigned DEFAULT NULL,\n  PRIMARY KEY (`id`),\n  UNIQUE KEY `payments_uuid_unique` (`uuid`),\n  UNIQUE KEY `payments_tracking_code_unique` (`tracking_code`),\n  KEY `payments_user_id_foreign` (`user_id`),\n  KEY `payments_payable_type_payable_id_index` (`payable_type`,`payable_id`),\n  CONSTRAINT `payments_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"payments\" (\n  \"id\" INTEGER NOT NULL,\n  \"uuid\" TEXT NOT NULL,\n  \"user_id\" INTEGER NOT NULL,\n  \"payable_type\" TEXT NOT NULL,\n  \"payable_id\" INTEGER NOT NULL,\n  \"gateway\" TEXT,\n  \"transaction_id\" TEXT,\n  \"amount\" TEXT NOT NULL,\n  \"tracking_code\" TEXT NOT NULL,\n  \"description\" TEXT,\n  \"status\" TEXT DEFAULT 'pending',\n  \"data\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  \"deleted_at\" TEXT,\n  \"created_by\" INTEGER,\n  \"deleted_by\" INTEGER,\n  FOREIGN KEY (\"user_id\") REFERENCES \"users\"(\"id\")\n);\n",
                    "mysql": "CREATE TABLE \"payments\" (\n  \"id\" INT NOT NULL,\n  \"uuid\" TEXT NOT NULL,\n  \"user_id\" INT NOT NULL,\n  \"payable_type\" VARCHAR(255) NOT NULL,\n  \"payable_id\" INT NOT NULL,\n  \"gateway\" VARCHAR(255),\n  \"transaction_id\" VARCHAR(255),\n  \"amount\" TEXT NOT NULL,\n  \"tracking_code\" VARCHAR(255) NOT NULL,\n  \"description\" TEXT,\n  \"status\" TEXT DEFAULT 'pending',\n  \"data\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  \"deleted_at\" TEXT,\n  \"created_by\" INT,\n  \"deleted_by\" INT,\n  FOREIGN KEY (\"user_id\") REFERENCES \"users\"(\"id\")\n);\n",
                    "pgsql": "CREATE TABLE \"payments\" (\n  \"id\" INTEGER NOT NULL,\n  \"uuid\" TEXT NOT NULL,\n  \"user_id\" INTEGER NOT NULL,\n  \"payable_type\" VARCHAR(255) NOT NULL,\n  \"payable_id\" INTEGER NOT NULL,\n  \"gateway\" VARCHAR(255),\n  \"transaction_id\" VARCHAR(255),\n  \"amount\" TEXT NOT NULL,\n  \"tracking_code\" VARCHAR(255) NOT NULL,\n  \"description\" TEXT,\n  \"status\" TEXT DEFAULT 'pending',\n  \"data\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  \"deleted_at\" TEXT,\n  \"created_by\" INTEGER,\n  \"deleted_by\" INTEGER,\n  FOREIGN KEY (\"user_id\") REFERENCES \"users\"(\"id\")\n);\n"
                }
            },
            "permissions": {
                "name": "permissions",
                "columns": {
                    "id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "name": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "guard_name": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "created_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "updated_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "id"
                    ],
                    "permissions_name_guard_name_unique": [
                        "name",
                        "guard_name"
                    ]
                },
                "foreign_keys": [],
                "sql_schemas": {
                    "native": "CREATE TABLE `permissions` (\n  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n  `name` varchar(255) NOT NULL,\n  `guard_name` varchar(255) NOT NULL,\n  `created_at` timestamp NULL DEFAULT NULL,\n  `updated_at` timestamp NULL DEFAULT NULL,\n  PRIMARY KEY (`id`),\n  UNIQUE KEY `permissions_name_guard_name_unique` (`name`,`guard_name`)\n) ENGINE=InnoDB AUTO_INCREMENT=121 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"permissions\" (\n  \"id\" INTEGER NOT NULL,\n  \"name\" TEXT NOT NULL,\n  \"guard_name\" TEXT NOT NULL,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT\n);\n",
                    "mysql": "CREATE TABLE \"permissions\" (\n  \"id\" INT NOT NULL,\n  \"name\" VARCHAR(255) NOT NULL,\n  \"guard_name\" VARCHAR(255) NOT NULL,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT\n);\n",
                    "pgsql": "CREATE TABLE \"permissions\" (\n  \"id\" INTEGER NOT NULL,\n  \"name\" VARCHAR(255) NOT NULL,\n  \"guard_name\" VARCHAR(255) NOT NULL,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT\n);\n"
                }
            },
            "personal_access_tokens": {
                "name": "personal_access_tokens",
                "columns": {
                    "id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "tokenable_type": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "tokenable_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "name": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "token": {
                        "type": "varchar(64)",
                        "null": "NO",
                        "key": "UNI",
                        "default": null
                    },
                    "abilities": {
                        "type": "text",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "last_used_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "expires_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "created_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "updated_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "id"
                    ],
                    "personal_access_tokens_token_unique": [
                        "token"
                    ],
                    "personal_access_tokens_tokenable_type_tokenable_id_index": [
                        "tokenable_type",
                        "tokenable_id"
                    ]
                },
                "foreign_keys": [],
                "sql_schemas": {
                    "native": "CREATE TABLE `personal_access_tokens` (\n  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n  `tokenable_type` varchar(255) NOT NULL,\n  `tokenable_id` bigint(20) unsigned NOT NULL,\n  `name` varchar(255) NOT NULL,\n  `token` varchar(64) NOT NULL,\n  `abilities` text DEFAULT NULL,\n  `last_used_at` timestamp NULL DEFAULT NULL,\n  `expires_at` timestamp NULL DEFAULT NULL,\n  `created_at` timestamp NULL DEFAULT NULL,\n  `updated_at` timestamp NULL DEFAULT NULL,\n  PRIMARY KEY (`id`),\n  UNIQUE KEY `personal_access_tokens_token_unique` (`token`),\n  KEY `personal_access_tokens_tokenable_type_tokenable_id_index` (`tokenable_type`,`tokenable_id`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"personal_access_tokens\" (\n  \"id\" INTEGER NOT NULL,\n  \"tokenable_type\" TEXT NOT NULL,\n  \"tokenable_id\" INTEGER NOT NULL,\n  \"name\" TEXT NOT NULL,\n  \"token\" TEXT NOT NULL,\n  \"abilities\" TEXT,\n  \"last_used_at\" TEXT,\n  \"expires_at\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT\n);\n",
                    "mysql": "CREATE TABLE \"personal_access_tokens\" (\n  \"id\" INT NOT NULL,\n  \"tokenable_type\" VARCHAR(255) NOT NULL,\n  \"tokenable_id\" INT NOT NULL,\n  \"name\" VARCHAR(255) NOT NULL,\n  \"token\" VARCHAR(255) NOT NULL,\n  \"abilities\" TEXT,\n  \"last_used_at\" TEXT,\n  \"expires_at\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT\n);\n",
                    "pgsql": "CREATE TABLE \"personal_access_tokens\" (\n  \"id\" INTEGER NOT NULL,\n  \"tokenable_type\" VARCHAR(255) NOT NULL,\n  \"tokenable_id\" INTEGER NOT NULL,\n  \"name\" VARCHAR(255) NOT NULL,\n  \"token\" VARCHAR(255) NOT NULL,\n  \"abilities\" TEXT,\n  \"last_used_at\" TEXT,\n  \"expires_at\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT\n);\n"
                }
            },
            "point_transactions": {
                "name": "point_transactions",
                "columns": {
                    "id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "user_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "points": {
                        "type": "int(11)",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "description": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "type": {
                        "type": "enum('deposit','withdrawal')",
                        "null": "NO",
                        "key": "",
                        "default": "deposit"
                    },
                    "source_type": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "source_id": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "expires_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "created_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "updated_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "id"
                    ],
                    "point_transactions_user_id_foreign": [
                        "user_id"
                    ]
                },
                "foreign_keys": [
                    {
                        "name": "point_transactions_user_id_foreign",
                        "column_name": "user_id",
                        "referenced_table": "users",
                        "referenced_column": "id"
                    }
                ],
                "sql_schemas": {
                    "native": "CREATE TABLE `point_transactions` (\n  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n  `user_id` bigint(20) unsigned NOT NULL,\n  `points` int(11) NOT NULL,\n  `description` varchar(255) DEFAULT NULL,\n  `type` enum('deposit','withdrawal') NOT NULL DEFAULT 'deposit',\n  `source_type` varchar(255) DEFAULT NULL,\n  `source_id` varchar(255) DEFAULT NULL,\n  `expires_at` timestamp NULL DEFAULT NULL,\n  `created_at` timestamp NULL DEFAULT NULL,\n  `updated_at` timestamp NULL DEFAULT NULL,\n  PRIMARY KEY (`id`),\n  KEY `point_transactions_user_id_foreign` (`user_id`),\n  CONSTRAINT `point_transactions_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"point_transactions\" (\n  \"id\" INTEGER NOT NULL,\n  \"user_id\" INTEGER NOT NULL,\n  \"points\" INTEGER NOT NULL,\n  \"description\" TEXT,\n  \"type\" TEXT NOT NULL DEFAULT 'deposit',\n  \"source_type\" TEXT,\n  \"source_id\" TEXT,\n  \"expires_at\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"user_id\") REFERENCES \"users\"(\"id\")\n);\n",
                    "mysql": "CREATE TABLE \"point_transactions\" (\n  \"id\" INT NOT NULL,\n  \"user_id\" INT NOT NULL,\n  \"points\" INT NOT NULL,\n  \"description\" VARCHAR(255),\n  \"type\" TEXT NOT NULL DEFAULT 'deposit',\n  \"source_type\" VARCHAR(255),\n  \"source_id\" VARCHAR(255),\n  \"expires_at\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"user_id\") REFERENCES \"users\"(\"id\")\n);\n",
                    "pgsql": "CREATE TABLE \"point_transactions\" (\n  \"id\" INTEGER NOT NULL,\n  \"user_id\" INTEGER NOT NULL,\n  \"points\" INTEGER NOT NULL,\n  \"description\" VARCHAR(255),\n  \"type\" TEXT NOT NULL DEFAULT 'deposit',\n  \"source_type\" VARCHAR(255),\n  \"source_id\" VARCHAR(255),\n  \"expires_at\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"user_id\") REFERENCES \"users\"(\"id\")\n);\n"
                }
            },
            "posts": {
                "name": "posts",
                "columns": {
                    "id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "user_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "author": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "title": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "content": {
                        "type": "longtext",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "short_desc": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "comment_status": {
                        "type": "tinyint(1)",
                        "null": "NO",
                        "key": "",
                        "default": "1"
                    },
                    "slug": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "price": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "password": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "type": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "name": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "layout": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "status": {
                        "type": "enum('published','draft','pending','review','protected')",
                        "null": "YES",
                        "key": "",
                        "default": "draft"
                    },
                    "img": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "video": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "created_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "updated_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "deleted_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "created_by": {
                        "type": "bigint(20) unsigned",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "deleted_by": {
                        "type": "bigint(20) unsigned",
                        "null": "YES",
                        "key": "",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "id"
                    ],
                    "posts_user_id_foreign": [
                        "user_id"
                    ]
                },
                "foreign_keys": [
                    {
                        "name": "posts_user_id_foreign",
                        "column_name": "user_id",
                        "referenced_table": "users",
                        "referenced_column": "id"
                    }
                ],
                "sql_schemas": {
                    "native": "CREATE TABLE `posts` (\n  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n  `user_id` bigint(20) unsigned NOT NULL,\n  `author` varchar(255) DEFAULT NULL,\n  `title` varchar(255) DEFAULT NULL,\n  `content` longtext DEFAULT NULL,\n  `short_desc` varchar(255) DEFAULT NULL,\n  `comment_status` tinyint(1) NOT NULL DEFAULT 1,\n  `slug` varchar(255) DEFAULT NULL,\n  `price` varchar(255) DEFAULT NULL,\n  `password` varchar(255) DEFAULT NULL,\n  `type` varchar(255) DEFAULT NULL,\n  `name` varchar(255) DEFAULT NULL,\n  `layout` varchar(255) DEFAULT NULL,\n  `status` enum('published','draft','pending','review','protected') DEFAULT 'draft',\n  `img` varchar(255) DEFAULT NULL,\n  `video` varchar(255) DEFAULT NULL,\n  `created_at` timestamp NULL DEFAULT NULL,\n  `updated_at` timestamp NULL DEFAULT NULL,\n  `deleted_at` timestamp NULL DEFAULT NULL,\n  `created_by` bigint(20) unsigned DEFAULT NULL,\n  `deleted_by` bigint(20) unsigned DEFAULT NULL,\n  PRIMARY KEY (`id`),\n  KEY `posts_user_id_foreign` (`user_id`),\n  CONSTRAINT `posts_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"posts\" (\n  \"id\" INTEGER NOT NULL,\n  \"user_id\" INTEGER NOT NULL,\n  \"author\" TEXT,\n  \"title\" TEXT,\n  \"content\" TEXT,\n  \"short_desc\" TEXT,\n  \"comment_status\" INTEGER NOT NULL DEFAULT '1',\n  \"slug\" TEXT,\n  \"price\" TEXT,\n  \"password\" TEXT,\n  \"type\" TEXT,\n  \"name\" TEXT,\n  \"layout\" TEXT,\n  \"status\" TEXT DEFAULT 'draft',\n  \"img\" TEXT,\n  \"video\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  \"deleted_at\" TEXT,\n  \"created_by\" INTEGER,\n  \"deleted_by\" INTEGER,\n  FOREIGN KEY (\"user_id\") REFERENCES \"users\"(\"id\")\n);\n",
                    "mysql": "CREATE TABLE \"posts\" (\n  \"id\" INT NOT NULL,\n  \"user_id\" INT NOT NULL,\n  \"author\" VARCHAR(255),\n  \"title\" VARCHAR(255),\n  \"content\" TEXT,\n  \"short_desc\" VARCHAR(255),\n  \"comment_status\" INT NOT NULL DEFAULT '1',\n  \"slug\" VARCHAR(255),\n  \"price\" VARCHAR(255),\n  \"password\" VARCHAR(255),\n  \"type\" VARCHAR(255),\n  \"name\" VARCHAR(255),\n  \"layout\" VARCHAR(255),\n  \"status\" TEXT DEFAULT 'draft',\n  \"img\" VARCHAR(255),\n  \"video\" VARCHAR(255),\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  \"deleted_at\" TEXT,\n  \"created_by\" INT,\n  \"deleted_by\" INT,\n  FOREIGN KEY (\"user_id\") REFERENCES \"users\"(\"id\")\n);\n",
                    "pgsql": "CREATE TABLE \"posts\" (\n  \"id\" INTEGER NOT NULL,\n  \"user_id\" INTEGER NOT NULL,\n  \"author\" VARCHAR(255),\n  \"title\" VARCHAR(255),\n  \"content\" TEXT,\n  \"short_desc\" VARCHAR(255),\n  \"comment_status\" INTEGER NOT NULL DEFAULT '1',\n  \"slug\" VARCHAR(255),\n  \"price\" VARCHAR(255),\n  \"password\" VARCHAR(255),\n  \"type\" VARCHAR(255),\n  \"name\" VARCHAR(255),\n  \"layout\" VARCHAR(255),\n  \"status\" TEXT DEFAULT 'draft',\n  \"img\" VARCHAR(255),\n  \"video\" VARCHAR(255),\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  \"deleted_at\" TEXT,\n  \"created_by\" INTEGER,\n  \"deleted_by\" INTEGER,\n  FOREIGN KEY (\"user_id\") REFERENCES \"users\"(\"id\")\n);\n"
                }
            },
            "pre_invoice_items": {
                "name": "pre_invoice_items",
                "columns": {
                    "id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "pre_invoice_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "product_id": {
                        "type": "bigint(20) unsigned",
                        "null": "YES",
                        "key": "MUL",
                        "default": null
                    },
                    "name": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "sku": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "qty": {
                        "type": "int(10) unsigned",
                        "null": "NO",
                        "key": "",
                        "default": "1"
                    },
                    "unit": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "estimated_price": {
                        "type": "bigint(20) unsigned",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "description": {
                        "type": "text",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "external_url": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "options": {
                        "type": "longtext",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "created_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "updated_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "id"
                    ],
                    "pre_invoice_items_pre_invoice_id_foreign": [
                        "pre_invoice_id"
                    ],
                    "pre_invoice_items_product_id_foreign": [
                        "product_id"
                    ]
                },
                "foreign_keys": [
                    {
                        "name": "pre_invoice_items_pre_invoice_id_foreign",
                        "column_name": "pre_invoice_id",
                        "referenced_table": "pre_invoices",
                        "referenced_column": "id"
                    },
                    {
                        "name": "pre_invoice_items_product_id_foreign",
                        "column_name": "product_id",
                        "referenced_table": "products",
                        "referenced_column": "id"
                    }
                ],
                "sql_schemas": {
                    "native": "CREATE TABLE `pre_invoice_items` (\n  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n  `pre_invoice_id` bigint(20) unsigned NOT NULL,\n  `product_id` bigint(20) unsigned DEFAULT NULL,\n  `name` varchar(255) NOT NULL,\n  `sku` varchar(255) DEFAULT NULL,\n  `qty` int(10) unsigned NOT NULL DEFAULT 1,\n  `unit` varchar(255) DEFAULT NULL,\n  `estimated_price` bigint(20) unsigned DEFAULT NULL,\n  `description` text DEFAULT NULL,\n  `external_url` varchar(255) DEFAULT NULL,\n  `options` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`options`)),\n  `created_at` timestamp NULL DEFAULT NULL,\n  `updated_at` timestamp NULL DEFAULT NULL,\n  PRIMARY KEY (`id`),\n  KEY `pre_invoice_items_pre_invoice_id_foreign` (`pre_invoice_id`),\n  KEY `pre_invoice_items_product_id_foreign` (`product_id`),\n  CONSTRAINT `pre_invoice_items_pre_invoice_id_foreign` FOREIGN KEY (`pre_invoice_id`) REFERENCES `pre_invoices` (`id`) ON DELETE CASCADE,\n  CONSTRAINT `pre_invoice_items_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE SET NULL\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"pre_invoice_items\" (\n  \"id\" INTEGER NOT NULL,\n  \"pre_invoice_id\" INTEGER NOT NULL,\n  \"product_id\" INTEGER,\n  \"name\" TEXT NOT NULL,\n  \"sku\" TEXT,\n  \"qty\" INTEGER NOT NULL DEFAULT '1',\n  \"unit\" TEXT,\n  \"estimated_price\" INTEGER,\n  \"description\" TEXT,\n  \"external_url\" TEXT,\n  \"options\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"pre_invoice_id\") REFERENCES \"pre_invoices\"(\"id\"),\n  FOREIGN KEY (\"product_id\") REFERENCES \"products\"(\"id\")\n);\n",
                    "mysql": "CREATE TABLE \"pre_invoice_items\" (\n  \"id\" INT NOT NULL,\n  \"pre_invoice_id\" INT NOT NULL,\n  \"product_id\" INT,\n  \"name\" VARCHAR(255) NOT NULL,\n  \"sku\" VARCHAR(255),\n  \"qty\" INT NOT NULL DEFAULT '1',\n  \"unit\" VARCHAR(255),\n  \"estimated_price\" INT,\n  \"description\" TEXT,\n  \"external_url\" VARCHAR(255),\n  \"options\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"pre_invoice_id\") REFERENCES \"pre_invoices\"(\"id\"),\n  FOREIGN KEY (\"product_id\") REFERENCES \"products\"(\"id\")\n);\n",
                    "pgsql": "CREATE TABLE \"pre_invoice_items\" (\n  \"id\" INTEGER NOT NULL,\n  \"pre_invoice_id\" INTEGER NOT NULL,\n  \"product_id\" INTEGER,\n  \"name\" VARCHAR(255) NOT NULL,\n  \"sku\" VARCHAR(255),\n  \"qty\" INTEGER NOT NULL DEFAULT '1',\n  \"unit\" VARCHAR(255),\n  \"estimated_price\" INTEGER,\n  \"description\" TEXT,\n  \"external_url\" VARCHAR(255),\n  \"options\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"pre_invoice_id\") REFERENCES \"pre_invoices\"(\"id\"),\n  FOREIGN KEY (\"product_id\") REFERENCES \"products\"(\"id\")\n);\n"
                }
            },
            "pre_invoices": {
                "name": "pre_invoices",
                "columns": {
                    "id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "creator_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "title": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "customer_name": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "company_name": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "email": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "phone": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "address": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "city": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "postal_code": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "is_paid": {
                        "type": "tinyint(1)",
                        "null": "NO",
                        "key": "",
                        "default": "0"
                    },
                    "paid_amount": {
                        "type": "bigint(20) unsigned",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "status": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "",
                        "default": "open"
                    },
                    "notes": {
                        "type": "text",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "options": {
                        "type": "longtext",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "created_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "updated_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "selected_quote_id": {
                        "type": "bigint(20) unsigned",
                        "null": "YES",
                        "key": "MUL",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "id"
                    ],
                    "pre_invoices_creator_id_foreign": [
                        "creator_id"
                    ],
                    "pre_invoices_selected_quote_id_foreign": [
                        "selected_quote_id"
                    ]
                },
                "foreign_keys": [
                    {
                        "name": "pre_invoices_creator_id_foreign",
                        "column_name": "creator_id",
                        "referenced_table": "users",
                        "referenced_column": "id"
                    },
                    {
                        "name": "pre_invoices_selected_quote_id_foreign",
                        "column_name": "selected_quote_id",
                        "referenced_table": "quotes",
                        "referenced_column": "id"
                    }
                ],
                "sql_schemas": {
                    "native": "CREATE TABLE `pre_invoices` (\n  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n  `creator_id` bigint(20) unsigned NOT NULL,\n  `title` varchar(255) DEFAULT NULL,\n  `customer_name` varchar(255) DEFAULT NULL,\n  `company_name` varchar(255) DEFAULT NULL,\n  `email` varchar(255) DEFAULT NULL,\n  `phone` varchar(255) DEFAULT NULL,\n  `address` varchar(255) DEFAULT NULL,\n  `city` varchar(255) DEFAULT NULL,\n  `postal_code` varchar(255) DEFAULT NULL,\n  `is_paid` tinyint(1) NOT NULL DEFAULT 0,\n  `paid_amount` bigint(20) unsigned DEFAULT NULL,\n  `status` varchar(255) NOT NULL DEFAULT 'open',\n  `notes` text DEFAULT NULL,\n  `options` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`options`)),\n  `created_at` timestamp NULL DEFAULT NULL,\n  `updated_at` timestamp NULL DEFAULT NULL,\n  `selected_quote_id` bigint(20) unsigned DEFAULT NULL,\n  PRIMARY KEY (`id`),\n  KEY `pre_invoices_creator_id_foreign` (`creator_id`),\n  KEY `pre_invoices_selected_quote_id_foreign` (`selected_quote_id`),\n  CONSTRAINT `pre_invoices_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,\n  CONSTRAINT `pre_invoices_selected_quote_id_foreign` FOREIGN KEY (`selected_quote_id`) REFERENCES `quotes` (`id`) ON DELETE CASCADE\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"pre_invoices\" (\n  \"id\" INTEGER NOT NULL,\n  \"creator_id\" INTEGER NOT NULL,\n  \"title\" TEXT,\n  \"customer_name\" TEXT,\n  \"company_name\" TEXT,\n  \"email\" TEXT,\n  \"phone\" TEXT,\n  \"address\" TEXT,\n  \"city\" TEXT,\n  \"postal_code\" TEXT,\n  \"is_paid\" INTEGER NOT NULL DEFAULT '0',\n  \"paid_amount\" INTEGER,\n  \"status\" TEXT NOT NULL DEFAULT 'open',\n  \"notes\" TEXT,\n  \"options\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  \"selected_quote_id\" INTEGER,\n  FOREIGN KEY (\"creator_id\") REFERENCES \"users\"(\"id\"),\n  FOREIGN KEY (\"selected_quote_id\") REFERENCES \"quotes\"(\"id\")\n);\n",
                    "mysql": "CREATE TABLE \"pre_invoices\" (\n  \"id\" INT NOT NULL,\n  \"creator_id\" INT NOT NULL,\n  \"title\" VARCHAR(255),\n  \"customer_name\" VARCHAR(255),\n  \"company_name\" VARCHAR(255),\n  \"email\" VARCHAR(255),\n  \"phone\" VARCHAR(255),\n  \"address\" VARCHAR(255),\n  \"city\" VARCHAR(255),\n  \"postal_code\" VARCHAR(255),\n  \"is_paid\" INT NOT NULL DEFAULT '0',\n  \"paid_amount\" INT,\n  \"status\" VARCHAR(255) NOT NULL DEFAULT 'open',\n  \"notes\" TEXT,\n  \"options\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  \"selected_quote_id\" INT,\n  FOREIGN KEY (\"creator_id\") REFERENCES \"users\"(\"id\"),\n  FOREIGN KEY (\"selected_quote_id\") REFERENCES \"quotes\"(\"id\")\n);\n",
                    "pgsql": "CREATE TABLE \"pre_invoices\" (\n  \"id\" INTEGER NOT NULL,\n  \"creator_id\" INTEGER NOT NULL,\n  \"title\" VARCHAR(255),\n  \"customer_name\" VARCHAR(255),\n  \"company_name\" VARCHAR(255),\n  \"email\" VARCHAR(255),\n  \"phone\" VARCHAR(255),\n  \"address\" VARCHAR(255),\n  \"city\" VARCHAR(255),\n  \"postal_code\" VARCHAR(255),\n  \"is_paid\" INTEGER NOT NULL DEFAULT '0',\n  \"paid_amount\" INTEGER,\n  \"status\" VARCHAR(255) NOT NULL DEFAULT 'open',\n  \"notes\" TEXT,\n  \"options\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  \"selected_quote_id\" INTEGER,\n  FOREIGN KEY (\"creator_id\") REFERENCES \"users\"(\"id\"),\n  FOREIGN KEY (\"selected_quote_id\") REFERENCES \"quotes\"(\"id\")\n);\n"
                }
            },
            "product_attribute_values": {
                "name": "product_attribute_values",
                "columns": {
                    "id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "product_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "category_attribute_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "value": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "created_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "updated_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "deleted_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "created_by": {
                        "type": "bigint(20) unsigned",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "deleted_by": {
                        "type": "bigint(20) unsigned",
                        "null": "YES",
                        "key": "",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "id"
                    ],
                    "product_attribute_values_product_id_foreign": [
                        "product_id"
                    ],
                    "product_attribute_values_category_attribute_id_foreign": [
                        "category_attribute_id"
                    ]
                },
                "foreign_keys": [
                    {
                        "name": "product_attribute_values_category_attribute_id_foreign",
                        "column_name": "category_attribute_id",
                        "referenced_table": "category_attributes",
                        "referenced_column": "id"
                    },
                    {
                        "name": "product_attribute_values_product_id_foreign",
                        "column_name": "product_id",
                        "referenced_table": "products",
                        "referenced_column": "id"
                    }
                ],
                "sql_schemas": {
                    "native": "CREATE TABLE `product_attribute_values` (\n  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n  `product_id` bigint(20) unsigned NOT NULL,\n  `category_attribute_id` bigint(20) unsigned NOT NULL,\n  `value` varchar(255) NOT NULL,\n  `created_at` timestamp NULL DEFAULT NULL,\n  `updated_at` timestamp NULL DEFAULT NULL,\n  `deleted_at` timestamp NULL DEFAULT NULL,\n  `created_by` bigint(20) unsigned DEFAULT NULL,\n  `deleted_by` bigint(20) unsigned DEFAULT NULL,\n  PRIMARY KEY (`id`),\n  KEY `product_attribute_values_product_id_foreign` (`product_id`),\n  KEY `product_attribute_values_category_attribute_id_foreign` (`category_attribute_id`),\n  CONSTRAINT `product_attribute_values_category_attribute_id_foreign` FOREIGN KEY (`category_attribute_id`) REFERENCES `category_attributes` (`id`),\n  CONSTRAINT `product_attribute_values_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"product_attribute_values\" (\n  \"id\" INTEGER NOT NULL,\n  \"product_id\" INTEGER NOT NULL,\n  \"category_attribute_id\" INTEGER NOT NULL,\n  \"value\" TEXT NOT NULL,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  \"deleted_at\" TEXT,\n  \"created_by\" INTEGER,\n  \"deleted_by\" INTEGER,\n  FOREIGN KEY (\"category_attribute_id\") REFERENCES \"category_attributes\"(\"id\"),\n  FOREIGN KEY (\"product_id\") REFERENCES \"products\"(\"id\")\n);\n",
                    "mysql": "CREATE TABLE \"product_attribute_values\" (\n  \"id\" INT NOT NULL,\n  \"product_id\" INT NOT NULL,\n  \"category_attribute_id\" INT NOT NULL,\n  \"value\" VARCHAR(255) NOT NULL,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  \"deleted_at\" TEXT,\n  \"created_by\" INT,\n  \"deleted_by\" INT,\n  FOREIGN KEY (\"category_attribute_id\") REFERENCES \"category_attributes\"(\"id\"),\n  FOREIGN KEY (\"product_id\") REFERENCES \"products\"(\"id\")\n);\n",
                    "pgsql": "CREATE TABLE \"product_attribute_values\" (\n  \"id\" INTEGER NOT NULL,\n  \"product_id\" INTEGER NOT NULL,\n  \"category_attribute_id\" INTEGER NOT NULL,\n  \"value\" VARCHAR(255) NOT NULL,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  \"deleted_at\" TEXT,\n  \"created_by\" INTEGER,\n  \"deleted_by\" INTEGER,\n  FOREIGN KEY (\"category_attribute_id\") REFERENCES \"category_attributes\"(\"id\"),\n  FOREIGN KEY (\"product_id\") REFERENCES \"products\"(\"id\")\n);\n"
                }
            },
            "product_bundle_items": {
                "name": "product_bundle_items",
                "columns": {
                    "id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "product_bundle_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "product_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "quantity": {
                        "type": "int(10) unsigned",
                        "null": "NO",
                        "key": "",
                        "default": "1"
                    },
                    "created_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "updated_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "id"
                    ],
                    "product_bundle_items_product_bundle_id_foreign": [
                        "product_bundle_id"
                    ],
                    "product_bundle_items_product_id_foreign": [
                        "product_id"
                    ]
                },
                "foreign_keys": [
                    {
                        "name": "product_bundle_items_product_bundle_id_foreign",
                        "column_name": "product_bundle_id",
                        "referenced_table": "product_bundles",
                        "referenced_column": "id"
                    },
                    {
                        "name": "product_bundle_items_product_id_foreign",
                        "column_name": "product_id",
                        "referenced_table": "products",
                        "referenced_column": "id"
                    }
                ],
                "sql_schemas": {
                    "native": "CREATE TABLE `product_bundle_items` (\n  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n  `product_bundle_id` bigint(20) unsigned NOT NULL,\n  `product_id` bigint(20) unsigned NOT NULL,\n  `quantity` int(10) unsigned NOT NULL DEFAULT 1,\n  `created_at` timestamp NULL DEFAULT NULL,\n  `updated_at` timestamp NULL DEFAULT NULL,\n  PRIMARY KEY (`id`),\n  KEY `product_bundle_items_product_bundle_id_foreign` (`product_bundle_id`),\n  KEY `product_bundle_items_product_id_foreign` (`product_id`),\n  CONSTRAINT `product_bundle_items_product_bundle_id_foreign` FOREIGN KEY (`product_bundle_id`) REFERENCES `product_bundles` (`id`) ON DELETE CASCADE,\n  CONSTRAINT `product_bundle_items_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE CASCADE\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"product_bundle_items\" (\n  \"id\" INTEGER NOT NULL,\n  \"product_bundle_id\" INTEGER NOT NULL,\n  \"product_id\" INTEGER NOT NULL,\n  \"quantity\" INTEGER NOT NULL DEFAULT '1',\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"product_bundle_id\") REFERENCES \"product_bundles\"(\"id\"),\n  FOREIGN KEY (\"product_id\") REFERENCES \"products\"(\"id\")\n);\n",
                    "mysql": "CREATE TABLE \"product_bundle_items\" (\n  \"id\" INT NOT NULL,\n  \"product_bundle_id\" INT NOT NULL,\n  \"product_id\" INT NOT NULL,\n  \"quantity\" INT NOT NULL DEFAULT '1',\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"product_bundle_id\") REFERENCES \"product_bundles\"(\"id\"),\n  FOREIGN KEY (\"product_id\") REFERENCES \"products\"(\"id\")\n);\n",
                    "pgsql": "CREATE TABLE \"product_bundle_items\" (\n  \"id\" INTEGER NOT NULL,\n  \"product_bundle_id\" INTEGER NOT NULL,\n  \"product_id\" INTEGER NOT NULL,\n  \"quantity\" INTEGER NOT NULL DEFAULT '1',\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"product_bundle_id\") REFERENCES \"product_bundles\"(\"id\"),\n  FOREIGN KEY (\"product_id\") REFERENCES \"products\"(\"id\")\n);\n"
                }
            },
            "product_bundles": {
                "name": "product_bundles",
                "columns": {
                    "id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "name": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "description": {
                        "type": "text",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "created_by": {
                        "type": "bigint(20) unsigned",
                        "null": "YES",
                        "key": "MUL",
                        "default": null
                    },
                    "created_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "updated_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "id"
                    ],
                    "product_bundles_created_by_foreign": [
                        "created_by"
                    ]
                },
                "foreign_keys": [
                    {
                        "name": "product_bundles_created_by_foreign",
                        "column_name": "created_by",
                        "referenced_table": "users",
                        "referenced_column": "id"
                    }
                ],
                "sql_schemas": {
                    "native": "CREATE TABLE `product_bundles` (\n  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n  `name` varchar(255) NOT NULL,\n  `description` text DEFAULT NULL,\n  `created_by` bigint(20) unsigned DEFAULT NULL,\n  `created_at` timestamp NULL DEFAULT NULL,\n  `updated_at` timestamp NULL DEFAULT NULL,\n  PRIMARY KEY (`id`),\n  KEY `product_bundles_created_by_foreign` (`created_by`),\n  CONSTRAINT `product_bundles_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE SET NULL\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"product_bundles\" (\n  \"id\" INTEGER NOT NULL,\n  \"name\" TEXT NOT NULL,\n  \"description\" TEXT,\n  \"created_by\" INTEGER,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"created_by\") REFERENCES \"users\"(\"id\")\n);\n",
                    "mysql": "CREATE TABLE \"product_bundles\" (\n  \"id\" INT NOT NULL,\n  \"name\" VARCHAR(255) NOT NULL,\n  \"description\" TEXT,\n  \"created_by\" INT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"created_by\") REFERENCES \"users\"(\"id\")\n);\n",
                    "pgsql": "CREATE TABLE \"product_bundles\" (\n  \"id\" INTEGER NOT NULL,\n  \"name\" VARCHAR(255) NOT NULL,\n  \"description\" TEXT,\n  \"created_by\" INTEGER,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"created_by\") REFERENCES \"users\"(\"id\")\n);\n"
                }
            },
            "product_inventories": {
                "name": "product_inventories",
                "columns": {
                    "id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "product_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "user_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "shop_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "name": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "weight": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "size": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "color": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "status": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": "available"
                    },
                    "price": {
                        "type": "bigint(20) unsigned",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "inventory": {
                        "type": "int(10) unsigned",
                        "null": "YES",
                        "key": "",
                        "default": "0"
                    },
                    "created_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "updated_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "deleted_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "created_by": {
                        "type": "bigint(20) unsigned",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "deleted_by": {
                        "type": "bigint(20) unsigned",
                        "null": "YES",
                        "key": "",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "id"
                    ],
                    "product_inventories_product_id_foreign": [
                        "product_id"
                    ],
                    "product_inventories_user_id_foreign": [
                        "user_id"
                    ],
                    "product_inventories_shop_id_foreign": [
                        "shop_id"
                    ]
                },
                "foreign_keys": [
                    {
                        "name": "product_inventories_product_id_foreign",
                        "column_name": "product_id",
                        "referenced_table": "products",
                        "referenced_column": "id"
                    },
                    {
                        "name": "product_inventories_shop_id_foreign",
                        "column_name": "shop_id",
                        "referenced_table": "shops",
                        "referenced_column": "id"
                    },
                    {
                        "name": "product_inventories_user_id_foreign",
                        "column_name": "user_id",
                        "referenced_table": "users",
                        "referenced_column": "id"
                    }
                ],
                "sql_schemas": {
                    "native": "CREATE TABLE `product_inventories` (\n  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n  `product_id` bigint(20) unsigned NOT NULL,\n  `user_id` bigint(20) unsigned NOT NULL,\n  `shop_id` bigint(20) unsigned NOT NULL,\n  `name` varchar(255) DEFAULT NULL,\n  `weight` varchar(255) DEFAULT NULL,\n  `size` varchar(255) DEFAULT NULL,\n  `color` varchar(255) DEFAULT NULL,\n  `status` varchar(255) DEFAULT 'available',\n  `price` bigint(20) unsigned DEFAULT NULL,\n  `inventory` int(10) unsigned DEFAULT 0,\n  `created_at` timestamp NULL DEFAULT NULL,\n  `updated_at` timestamp NULL DEFAULT NULL,\n  `deleted_at` timestamp NULL DEFAULT NULL,\n  `created_by` bigint(20) unsigned DEFAULT NULL,\n  `deleted_by` bigint(20) unsigned DEFAULT NULL,\n  PRIMARY KEY (`id`),\n  KEY `product_inventories_product_id_foreign` (`product_id`),\n  KEY `product_inventories_user_id_foreign` (`user_id`),\n  KEY `product_inventories_shop_id_foreign` (`shop_id`),\n  CONSTRAINT `product_inventories_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`),\n  CONSTRAINT `product_inventories_shop_id_foreign` FOREIGN KEY (`shop_id`) REFERENCES `shops` (`id`),\n  CONSTRAINT `product_inventories_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"product_inventories\" (\n  \"id\" INTEGER NOT NULL,\n  \"product_id\" INTEGER NOT NULL,\n  \"user_id\" INTEGER NOT NULL,\n  \"shop_id\" INTEGER NOT NULL,\n  \"name\" TEXT,\n  \"weight\" TEXT,\n  \"size\" TEXT,\n  \"color\" TEXT,\n  \"status\" TEXT DEFAULT 'available',\n  \"price\" INTEGER,\n  \"inventory\" INTEGER DEFAULT '0',\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  \"deleted_at\" TEXT,\n  \"created_by\" INTEGER,\n  \"deleted_by\" INTEGER,\n  FOREIGN KEY (\"product_id\") REFERENCES \"products\"(\"id\"),\n  FOREIGN KEY (\"shop_id\") REFERENCES \"shops\"(\"id\"),\n  FOREIGN KEY (\"user_id\") REFERENCES \"users\"(\"id\")\n);\n",
                    "mysql": "CREATE TABLE \"product_inventories\" (\n  \"id\" INT NOT NULL,\n  \"product_id\" INT NOT NULL,\n  \"user_id\" INT NOT NULL,\n  \"shop_id\" INT NOT NULL,\n  \"name\" VARCHAR(255),\n  \"weight\" VARCHAR(255),\n  \"size\" VARCHAR(255),\n  \"color\" VARCHAR(255),\n  \"status\" VARCHAR(255) DEFAULT 'available',\n  \"price\" INT,\n  \"inventory\" INT DEFAULT '0',\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  \"deleted_at\" TEXT,\n  \"created_by\" INT,\n  \"deleted_by\" INT,\n  FOREIGN KEY (\"product_id\") REFERENCES \"products\"(\"id\"),\n  FOREIGN KEY (\"shop_id\") REFERENCES \"shops\"(\"id\"),\n  FOREIGN KEY (\"user_id\") REFERENCES \"users\"(\"id\")\n);\n",
                    "pgsql": "CREATE TABLE \"product_inventories\" (\n  \"id\" INTEGER NOT NULL,\n  \"product_id\" INTEGER NOT NULL,\n  \"user_id\" INTEGER NOT NULL,\n  \"shop_id\" INTEGER NOT NULL,\n  \"name\" VARCHAR(255),\n  \"weight\" VARCHAR(255),\n  \"size\" VARCHAR(255),\n  \"color\" VARCHAR(255),\n  \"status\" VARCHAR(255) DEFAULT 'available',\n  \"price\" INTEGER,\n  \"inventory\" INTEGER DEFAULT '0',\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  \"deleted_at\" TEXT,\n  \"created_by\" INTEGER,\n  \"deleted_by\" INTEGER,\n  FOREIGN KEY (\"product_id\") REFERENCES \"products\"(\"id\"),\n  FOREIGN KEY (\"shop_id\") REFERENCES \"shops\"(\"id\"),\n  FOREIGN KEY (\"user_id\") REFERENCES \"users\"(\"id\")\n);\n"
                }
            },
            "product_inventory_variants": {
                "name": "product_inventory_variants",
                "columns": {
                    "id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "user_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "shop_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "product_inventory_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "combination_items": {
                        "type": "longtext",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "combination_key": {
                        "type": "varchar(191)",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "price_override": {
                        "type": "decimal(12,2)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "currency_code": {
                        "type": "char(3)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "sku_code": {
                        "type": "varchar(64)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "barcode": {
                        "type": "varchar(64)",
                        "null": "YES",
                        "key": "UNI",
                        "default": null
                    },
                    "status": {
                        "type": "enum('active','inactive')",
                        "null": "NO",
                        "key": "",
                        "default": "active"
                    },
                    "data": {
                        "type": "longtext",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "created_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "updated_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "deleted_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "created_by": {
                        "type": "bigint(20) unsigned",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "deleted_by": {
                        "type": "bigint(20) unsigned",
                        "null": "YES",
                        "key": "",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "id"
                    ],
                    "uniq_inventory_combination": [
                        "product_inventory_id",
                        "combination_key"
                    ],
                    "product_inventory_variants_product_inventory_id_sku_code_unique": [
                        "product_inventory_id",
                        "sku_code"
                    ],
                    "product_inventory_variants_barcode_unique": [
                        "barcode"
                    ],
                    "product_inventory_variants_user_id_foreign": [
                        "user_id"
                    ],
                    "product_inventory_variants_shop_id_foreign": [
                        "shop_id"
                    ],
                    "idx_inventory_status": [
                        "product_inventory_id",
                        "status"
                    ]
                },
                "foreign_keys": [
                    {
                        "name": "product_inventory_variants_product_inventory_id_foreign",
                        "column_name": "product_inventory_id",
                        "referenced_table": "product_inventories",
                        "referenced_column": "id"
                    },
                    {
                        "name": "product_inventory_variants_shop_id_foreign",
                        "column_name": "shop_id",
                        "referenced_table": "shops",
                        "referenced_column": "id"
                    },
                    {
                        "name": "product_inventory_variants_user_id_foreign",
                        "column_name": "user_id",
                        "referenced_table": "users",
                        "referenced_column": "id"
                    }
                ],
                "sql_schemas": {
                    "native": "CREATE TABLE `product_inventory_variants` (\n  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n  `user_id` bigint(20) unsigned NOT NULL,\n  `shop_id` bigint(20) unsigned NOT NULL,\n  `product_inventory_id` bigint(20) unsigned NOT NULL,\n  `combination_items` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL CHECK (json_valid(`combination_items`)),\n  `combination_key` varchar(191) NOT NULL,\n  `price_override` decimal(12,2) DEFAULT NULL,\n  `currency_code` char(3) DEFAULT NULL,\n  `sku_code` varchar(64) DEFAULT NULL,\n  `barcode` varchar(64) DEFAULT NULL,\n  `status` enum('active','inactive') NOT NULL DEFAULT 'active',\n  `data` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`data`)),\n  `created_at` timestamp NULL DEFAULT NULL,\n  `updated_at` timestamp NULL DEFAULT NULL,\n  `deleted_at` timestamp NULL DEFAULT NULL,\n  `created_by` bigint(20) unsigned DEFAULT NULL,\n  `deleted_by` bigint(20) unsigned DEFAULT NULL,\n  PRIMARY KEY (`id`),\n  UNIQUE KEY `uniq_inventory_combination` (`product_inventory_id`,`combination_key`),\n  UNIQUE KEY `product_inventory_variants_product_inventory_id_sku_code_unique` (`product_inventory_id`,`sku_code`),\n  UNIQUE KEY `product_inventory_variants_barcode_unique` (`barcode`),\n  KEY `product_inventory_variants_user_id_foreign` (`user_id`),\n  KEY `product_inventory_variants_shop_id_foreign` (`shop_id`),\n  KEY `idx_inventory_status` (`product_inventory_id`,`status`),\n  CONSTRAINT `product_inventory_variants_product_inventory_id_foreign` FOREIGN KEY (`product_inventory_id`) REFERENCES `product_inventories` (`id`) ON DELETE CASCADE,\n  CONSTRAINT `product_inventory_variants_shop_id_foreign` FOREIGN KEY (`shop_id`) REFERENCES `shops` (`id`) ON DELETE CASCADE,\n  CONSTRAINT `product_inventory_variants_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"product_inventory_variants\" (\n  \"id\" INTEGER NOT NULL,\n  \"user_id\" INTEGER NOT NULL,\n  \"shop_id\" INTEGER NOT NULL,\n  \"product_inventory_id\" INTEGER NOT NULL,\n  \"combination_items\" TEXT NOT NULL,\n  \"combination_key\" TEXT NOT NULL,\n  \"price_override\" TEXT,\n  \"currency_code\" TEXT,\n  \"sku_code\" TEXT,\n  \"barcode\" TEXT,\n  \"status\" TEXT NOT NULL DEFAULT 'active',\n  \"data\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  \"deleted_at\" TEXT,\n  \"created_by\" INTEGER,\n  \"deleted_by\" INTEGER,\n  FOREIGN KEY (\"product_inventory_id\") REFERENCES \"product_inventories\"(\"id\"),\n  FOREIGN KEY (\"shop_id\") REFERENCES \"shops\"(\"id\"),\n  FOREIGN KEY (\"user_id\") REFERENCES \"users\"(\"id\")\n);\n",
                    "mysql": "CREATE TABLE \"product_inventory_variants\" (\n  \"id\" INT NOT NULL,\n  \"user_id\" INT NOT NULL,\n  \"shop_id\" INT NOT NULL,\n  \"product_inventory_id\" INT NOT NULL,\n  \"combination_items\" TEXT NOT NULL,\n  \"combination_key\" VARCHAR(255) NOT NULL,\n  \"price_override\" TEXT,\n  \"currency_code\" TEXT,\n  \"sku_code\" VARCHAR(255),\n  \"barcode\" VARCHAR(255),\n  \"status\" TEXT NOT NULL DEFAULT 'active',\n  \"data\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  \"deleted_at\" TEXT,\n  \"created_by\" INT,\n  \"deleted_by\" INT,\n  FOREIGN KEY (\"product_inventory_id\") REFERENCES \"product_inventories\"(\"id\"),\n  FOREIGN KEY (\"shop_id\") REFERENCES \"shops\"(\"id\"),\n  FOREIGN KEY (\"user_id\") REFERENCES \"users\"(\"id\")\n);\n",
                    "pgsql": "CREATE TABLE \"product_inventory_variants\" (\n  \"id\" INTEGER NOT NULL,\n  \"user_id\" INTEGER NOT NULL,\n  \"shop_id\" INTEGER NOT NULL,\n  \"product_inventory_id\" INTEGER NOT NULL,\n  \"combination_items\" TEXT NOT NULL,\n  \"combination_key\" VARCHAR(255) NOT NULL,\n  \"price_override\" TEXT,\n  \"currency_code\" TEXT,\n  \"sku_code\" VARCHAR(255),\n  \"barcode\" VARCHAR(255),\n  \"status\" TEXT NOT NULL DEFAULT 'active',\n  \"data\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  \"deleted_at\" TEXT,\n  \"created_by\" INTEGER,\n  \"deleted_by\" INTEGER,\n  FOREIGN KEY (\"product_inventory_id\") REFERENCES \"product_inventories\"(\"id\"),\n  FOREIGN KEY (\"shop_id\") REFERENCES \"shops\"(\"id\"),\n  FOREIGN KEY (\"user_id\") REFERENCES \"users\"(\"id\")\n);\n"
                }
            },
            "product_metas": {
                "name": "product_metas",
                "columns": {
                    "id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "product_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "key": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "value": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "data": {
                        "type": "longtext",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "created_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "updated_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "id"
                    ],
                    "product_metas_product_id_foreign": [
                        "product_id"
                    ]
                },
                "foreign_keys": [
                    {
                        "name": "product_metas_product_id_foreign",
                        "column_name": "product_id",
                        "referenced_table": "products",
                        "referenced_column": "id"
                    }
                ],
                "sql_schemas": {
                    "native": "CREATE TABLE `product_metas` (\n  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n  `product_id` bigint(20) unsigned NOT NULL,\n  `key` varchar(255) NOT NULL,\n  `value` varchar(255) NOT NULL,\n  `data` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`data`)),\n  `created_at` timestamp NULL DEFAULT NULL,\n  `updated_at` timestamp NULL DEFAULT NULL,\n  PRIMARY KEY (`id`),\n  KEY `product_metas_product_id_foreign` (`product_id`),\n  CONSTRAINT `product_metas_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"product_metas\" (\n  \"id\" INTEGER NOT NULL,\n  \"product_id\" INTEGER NOT NULL,\n  \"key\" TEXT NOT NULL,\n  \"value\" TEXT NOT NULL,\n  \"data\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"product_id\") REFERENCES \"products\"(\"id\")\n);\n",
                    "mysql": "CREATE TABLE \"product_metas\" (\n  \"id\" INT NOT NULL,\n  \"product_id\" INT NOT NULL,\n  \"key\" VARCHAR(255) NOT NULL,\n  \"value\" VARCHAR(255) NOT NULL,\n  \"data\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"product_id\") REFERENCES \"products\"(\"id\")\n);\n",
                    "pgsql": "CREATE TABLE \"product_metas\" (\n  \"id\" INTEGER NOT NULL,\n  \"product_id\" INTEGER NOT NULL,\n  \"key\" VARCHAR(255) NOT NULL,\n  \"value\" VARCHAR(255) NOT NULL,\n  \"data\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"product_id\") REFERENCES \"products\"(\"id\")\n);\n"
                }
            },
            "product_views": {
                "name": "product_views",
                "columns": {
                    "id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "user_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "product_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "created_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "updated_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "id"
                    ],
                    "product_views_user_id_product_id_unique": [
                        "user_id",
                        "product_id"
                    ],
                    "product_views_product_id_foreign": [
                        "product_id"
                    ]
                },
                "foreign_keys": [
                    {
                        "name": "product_views_product_id_foreign",
                        "column_name": "product_id",
                        "referenced_table": "products",
                        "referenced_column": "id"
                    },
                    {
                        "name": "product_views_user_id_foreign",
                        "column_name": "user_id",
                        "referenced_table": "users",
                        "referenced_column": "id"
                    }
                ],
                "sql_schemas": {
                    "native": "CREATE TABLE `product_views` (\n  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n  `user_id` bigint(20) unsigned NOT NULL,\n  `product_id` bigint(20) unsigned NOT NULL,\n  `created_at` timestamp NULL DEFAULT NULL,\n  `updated_at` timestamp NULL DEFAULT NULL,\n  PRIMARY KEY (`id`),\n  UNIQUE KEY `product_views_user_id_product_id_unique` (`user_id`,`product_id`),\n  KEY `product_views_product_id_foreign` (`product_id`),\n  CONSTRAINT `product_views_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE CASCADE,\n  CONSTRAINT `product_views_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"product_views\" (\n  \"id\" INTEGER NOT NULL,\n  \"user_id\" INTEGER NOT NULL,\n  \"product_id\" INTEGER NOT NULL,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"product_id\") REFERENCES \"products\"(\"id\"),\n  FOREIGN KEY (\"user_id\") REFERENCES \"users\"(\"id\")\n);\n",
                    "mysql": "CREATE TABLE \"product_views\" (\n  \"id\" INT NOT NULL,\n  \"user_id\" INT NOT NULL,\n  \"product_id\" INT NOT NULL,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"product_id\") REFERENCES \"products\"(\"id\"),\n  FOREIGN KEY (\"user_id\") REFERENCES \"users\"(\"id\")\n);\n",
                    "pgsql": "CREATE TABLE \"product_views\" (\n  \"id\" INTEGER NOT NULL,\n  \"user_id\" INTEGER NOT NULL,\n  \"product_id\" INTEGER NOT NULL,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"product_id\") REFERENCES \"products\"(\"id\"),\n  FOREIGN KEY (\"user_id\") REFERENCES \"users\"(\"id\")\n);\n"
                }
            },
            "products": {
                "name": "products",
                "columns": {
                    "id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "user_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "category_id": {
                        "type": "bigint(20) unsigned",
                        "null": "YES",
                        "key": "MUL",
                        "default": null
                    },
                    "brand_id": {
                        "type": "bigint(20) unsigned",
                        "null": "YES",
                        "key": "MUL",
                        "default": null
                    },
                    "title": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "code": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "slug": {
                        "type": "varchar(500)",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "short_description": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "content": {
                        "type": "longtext",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "inventory": {
                        "type": "int(10) unsigned",
                        "null": "YES",
                        "key": "",
                        "default": "0"
                    },
                    "weight": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "length": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "width": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "height": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "price": {
                        "type": "bigint(20) unsigned",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "discount_price": {
                        "type": "bigint(20) unsigned",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "off_rate": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "second_hand": {
                        "type": "tinyint(1)",
                        "null": "YES",
                        "key": "",
                        "default": "0"
                    },
                    "consumable": {
                        "type": "tinyint(1)",
                        "null": "YES",
                        "key": "",
                        "default": "0"
                    },
                    "status": {
                        "type": "enum('published','draft','pending','review','protected')",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "brand_img": {
                        "type": "varchar(1000)",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "attributes": {
                        "type": "longtext",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "created_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "updated_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "deleted_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "created_by": {
                        "type": "bigint(20) unsigned",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "deleted_by": {
                        "type": "bigint(20) unsigned",
                        "null": "YES",
                        "key": "",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "id"
                    ],
                    "products_user_id_foreign": [
                        "user_id"
                    ],
                    "products_category_id_foreign": [
                        "category_id"
                    ],
                    "products_brand_id_foreign": [
                        "brand_id"
                    ]
                },
                "foreign_keys": [
                    {
                        "name": "products_brand_id_foreign",
                        "column_name": "brand_id",
                        "referenced_table": "brands",
                        "referenced_column": "id"
                    },
                    {
                        "name": "products_category_id_foreign",
                        "column_name": "category_id",
                        "referenced_table": "categories",
                        "referenced_column": "id"
                    },
                    {
                        "name": "products_user_id_foreign",
                        "column_name": "user_id",
                        "referenced_table": "users",
                        "referenced_column": "id"
                    }
                ],
                "sql_schemas": {
                    "native": "CREATE TABLE `products` (\n  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n  `user_id` bigint(20) unsigned NOT NULL,\n  `category_id` bigint(20) unsigned DEFAULT NULL,\n  `brand_id` bigint(20) unsigned DEFAULT NULL,\n  `title` varchar(255) NOT NULL,\n  `code` varchar(255) DEFAULT NULL,\n  `slug` varchar(500) NOT NULL,\n  `short_description` varchar(255) DEFAULT NULL,\n  `content` longtext DEFAULT NULL,\n  `inventory` int(10) unsigned DEFAULT 0,\n  `weight` varchar(255) DEFAULT NULL,\n  `length` varchar(255) DEFAULT NULL,\n  `width` varchar(255) DEFAULT NULL,\n  `height` varchar(255) DEFAULT NULL,\n  `price` bigint(20) unsigned DEFAULT NULL,\n  `discount_price` bigint(20) unsigned DEFAULT NULL,\n  `off_rate` varchar(255) DEFAULT NULL,\n  `second_hand` tinyint(1) DEFAULT 0,\n  `consumable` tinyint(1) DEFAULT 0,\n  `status` enum('published','draft','pending','review','protected') NOT NULL,\n  `brand_img` varchar(1000) NOT NULL,\n  `attributes` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`attributes`)),\n  `created_at` timestamp NULL DEFAULT NULL,\n  `updated_at` timestamp NULL DEFAULT NULL,\n  `deleted_at` timestamp NULL DEFAULT NULL,\n  `created_by` bigint(20) unsigned DEFAULT NULL,\n  `deleted_by` bigint(20) unsigned DEFAULT NULL,\n  PRIMARY KEY (`id`),\n  KEY `products_user_id_foreign` (`user_id`),\n  KEY `products_category_id_foreign` (`category_id`),\n  KEY `products_brand_id_foreign` (`brand_id`),\n  CONSTRAINT `products_brand_id_foreign` FOREIGN KEY (`brand_id`) REFERENCES `brands` (`id`) ON DELETE SET NULL,\n  CONSTRAINT `products_category_id_foreign` FOREIGN KEY (`category_id`) REFERENCES `categories` (`id`),\n  CONSTRAINT `products_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"products\" (\n  \"id\" INTEGER NOT NULL,\n  \"user_id\" INTEGER NOT NULL,\n  \"category_id\" INTEGER,\n  \"brand_id\" INTEGER,\n  \"title\" TEXT NOT NULL,\n  \"code\" TEXT,\n  \"slug\" TEXT NOT NULL,\n  \"short_description\" TEXT,\n  \"content\" TEXT,\n  \"inventory\" INTEGER DEFAULT '0',\n  \"weight\" TEXT,\n  \"length\" TEXT,\n  \"width\" TEXT,\n  \"height\" TEXT,\n  \"price\" INTEGER,\n  \"discount_price\" INTEGER,\n  \"off_rate\" TEXT,\n  \"second_hand\" INTEGER DEFAULT '0',\n  \"consumable\" INTEGER DEFAULT '0',\n  \"status\" TEXT NOT NULL,\n  \"brand_img\" TEXT NOT NULL,\n  \"attributes\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  \"deleted_at\" TEXT,\n  \"created_by\" INTEGER,\n  \"deleted_by\" INTEGER,\n  FOREIGN KEY (\"brand_id\") REFERENCES \"brands\"(\"id\"),\n  FOREIGN KEY (\"category_id\") REFERENCES \"categories\"(\"id\"),\n  FOREIGN KEY (\"user_id\") REFERENCES \"users\"(\"id\")\n);\n",
                    "mysql": "CREATE TABLE \"products\" (\n  \"id\" INT NOT NULL,\n  \"user_id\" INT NOT NULL,\n  \"category_id\" INT,\n  \"brand_id\" INT,\n  \"title\" VARCHAR(255) NOT NULL,\n  \"code\" VARCHAR(255),\n  \"slug\" VARCHAR(255) NOT NULL,\n  \"short_description\" VARCHAR(255),\n  \"content\" TEXT,\n  \"inventory\" INT DEFAULT '0',\n  \"weight\" VARCHAR(255),\n  \"length\" VARCHAR(255),\n  \"width\" VARCHAR(255),\n  \"height\" VARCHAR(255),\n  \"price\" INT,\n  \"discount_price\" INT,\n  \"off_rate\" VARCHAR(255),\n  \"second_hand\" INT DEFAULT '0',\n  \"consumable\" INT DEFAULT '0',\n  \"status\" TEXT NOT NULL,\n  \"brand_img\" VARCHAR(255) NOT NULL,\n  \"attributes\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  \"deleted_at\" TEXT,\n  \"created_by\" INT,\n  \"deleted_by\" INT,\n  FOREIGN KEY (\"brand_id\") REFERENCES \"brands\"(\"id\"),\n  FOREIGN KEY (\"category_id\") REFERENCES \"categories\"(\"id\"),\n  FOREIGN KEY (\"user_id\") REFERENCES \"users\"(\"id\")\n);\n",
                    "pgsql": "CREATE TABLE \"products\" (\n  \"id\" INTEGER NOT NULL,\n  \"user_id\" INTEGER NOT NULL,\n  \"category_id\" INTEGER,\n  \"brand_id\" INTEGER,\n  \"title\" VARCHAR(255) NOT NULL,\n  \"code\" VARCHAR(255),\n  \"slug\" VARCHAR(255) NOT NULL,\n  \"short_description\" VARCHAR(255),\n  \"content\" TEXT,\n  \"inventory\" INTEGER DEFAULT '0',\n  \"weight\" VARCHAR(255),\n  \"length\" VARCHAR(255),\n  \"width\" VARCHAR(255),\n  \"height\" VARCHAR(255),\n  \"price\" INTEGER,\n  \"discount_price\" INTEGER,\n  \"off_rate\" VARCHAR(255),\n  \"second_hand\" INTEGER DEFAULT '0',\n  \"consumable\" INTEGER DEFAULT '0',\n  \"status\" TEXT NOT NULL,\n  \"brand_img\" VARCHAR(255) NOT NULL,\n  \"attributes\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  \"deleted_at\" TEXT,\n  \"created_by\" INTEGER,\n  \"deleted_by\" INTEGER,\n  FOREIGN KEY (\"brand_id\") REFERENCES \"brands\"(\"id\"),\n  FOREIGN KEY (\"category_id\") REFERENCES \"categories\"(\"id\"),\n  FOREIGN KEY (\"user_id\") REFERENCES \"users\"(\"id\")\n);\n"
                }
            },
            "quote_items": {
                "name": "quote_items",
                "columns": {
                    "id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "quote_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "pre_invoice_item_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "price": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "qty": {
                        "type": "int(10) unsigned",
                        "null": "NO",
                        "key": "",
                        "default": "1"
                    },
                    "delivery_time": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "note": {
                        "type": "text",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "options": {
                        "type": "longtext",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "created_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "updated_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "id"
                    ],
                    "quote_items_quote_id_foreign": [
                        "quote_id"
                    ],
                    "quote_items_pre_invoice_item_id_foreign": [
                        "pre_invoice_item_id"
                    ]
                },
                "foreign_keys": [
                    {
                        "name": "quote_items_pre_invoice_item_id_foreign",
                        "column_name": "pre_invoice_item_id",
                        "referenced_table": "pre_invoice_items",
                        "referenced_column": "id"
                    },
                    {
                        "name": "quote_items_quote_id_foreign",
                        "column_name": "quote_id",
                        "referenced_table": "quotes",
                        "referenced_column": "id"
                    }
                ],
                "sql_schemas": {
                    "native": "CREATE TABLE `quote_items` (\n  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n  `quote_id` bigint(20) unsigned NOT NULL,\n  `pre_invoice_item_id` bigint(20) unsigned NOT NULL,\n  `price` bigint(20) unsigned NOT NULL,\n  `qty` int(10) unsigned NOT NULL DEFAULT 1,\n  `delivery_time` varchar(255) DEFAULT NULL,\n  `note` text DEFAULT NULL,\n  `options` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`options`)),\n  `created_at` timestamp NULL DEFAULT NULL,\n  `updated_at` timestamp NULL DEFAULT NULL,\n  PRIMARY KEY (`id`),\n  KEY `quote_items_quote_id_foreign` (`quote_id`),\n  KEY `quote_items_pre_invoice_item_id_foreign` (`pre_invoice_item_id`),\n  CONSTRAINT `quote_items_pre_invoice_item_id_foreign` FOREIGN KEY (`pre_invoice_item_id`) REFERENCES `pre_invoice_items` (`id`) ON DELETE CASCADE,\n  CONSTRAINT `quote_items_quote_id_foreign` FOREIGN KEY (`quote_id`) REFERENCES `quotes` (`id`) ON DELETE CASCADE\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"quote_items\" (\n  \"id\" INTEGER NOT NULL,\n  \"quote_id\" INTEGER NOT NULL,\n  \"pre_invoice_item_id\" INTEGER NOT NULL,\n  \"price\" INTEGER NOT NULL,\n  \"qty\" INTEGER NOT NULL DEFAULT '1',\n  \"delivery_time\" TEXT,\n  \"note\" TEXT,\n  \"options\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"pre_invoice_item_id\") REFERENCES \"pre_invoice_items\"(\"id\"),\n  FOREIGN KEY (\"quote_id\") REFERENCES \"quotes\"(\"id\")\n);\n",
                    "mysql": "CREATE TABLE \"quote_items\" (\n  \"id\" INT NOT NULL,\n  \"quote_id\" INT NOT NULL,\n  \"pre_invoice_item_id\" INT NOT NULL,\n  \"price\" INT NOT NULL,\n  \"qty\" INT NOT NULL DEFAULT '1',\n  \"delivery_time\" VARCHAR(255),\n  \"note\" TEXT,\n  \"options\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"pre_invoice_item_id\") REFERENCES \"pre_invoice_items\"(\"id\"),\n  FOREIGN KEY (\"quote_id\") REFERENCES \"quotes\"(\"id\")\n);\n",
                    "pgsql": "CREATE TABLE \"quote_items\" (\n  \"id\" INTEGER NOT NULL,\n  \"quote_id\" INTEGER NOT NULL,\n  \"pre_invoice_item_id\" INTEGER NOT NULL,\n  \"price\" INTEGER NOT NULL,\n  \"qty\" INTEGER NOT NULL DEFAULT '1',\n  \"delivery_time\" VARCHAR(255),\n  \"note\" TEXT,\n  \"options\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"pre_invoice_item_id\") REFERENCES \"pre_invoice_items\"(\"id\"),\n  FOREIGN KEY (\"quote_id\") REFERENCES \"quotes\"(\"id\")\n);\n"
                }
            },
            "quotes": {
                "name": "quotes",
                "columns": {
                    "id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "pre_invoice_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "supplier_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "total": {
                        "type": "bigint(20) unsigned",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "currency": {
                        "type": "varchar(10)",
                        "null": "NO",
                        "key": "",
                        "default": "IRR"
                    },
                    "status": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "",
                        "default": "draft"
                    },
                    "terms": {
                        "type": "text",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "notes": {
                        "type": "text",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "options": {
                        "type": "longtext",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "created_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "updated_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "id"
                    ],
                    "quotes_pre_invoice_id_foreign": [
                        "pre_invoice_id"
                    ],
                    "quotes_supplier_id_foreign": [
                        "supplier_id"
                    ]
                },
                "foreign_keys": [
                    {
                        "name": "quotes_pre_invoice_id_foreign",
                        "column_name": "pre_invoice_id",
                        "referenced_table": "pre_invoices",
                        "referenced_column": "id"
                    },
                    {
                        "name": "quotes_supplier_id_foreign",
                        "column_name": "supplier_id",
                        "referenced_table": "shops",
                        "referenced_column": "id"
                    }
                ],
                "sql_schemas": {
                    "native": "CREATE TABLE `quotes` (\n  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n  `pre_invoice_id` bigint(20) unsigned NOT NULL,\n  `supplier_id` bigint(20) unsigned NOT NULL,\n  `total` bigint(20) unsigned DEFAULT NULL,\n  `currency` varchar(10) NOT NULL DEFAULT 'IRR',\n  `status` varchar(255) NOT NULL DEFAULT 'draft',\n  `terms` text DEFAULT NULL,\n  `notes` text DEFAULT NULL,\n  `options` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`options`)),\n  `created_at` timestamp NULL DEFAULT NULL,\n  `updated_at` timestamp NULL DEFAULT NULL,\n  PRIMARY KEY (`id`),\n  KEY `quotes_pre_invoice_id_foreign` (`pre_invoice_id`),\n  KEY `quotes_supplier_id_foreign` (`supplier_id`),\n  CONSTRAINT `quotes_pre_invoice_id_foreign` FOREIGN KEY (`pre_invoice_id`) REFERENCES `pre_invoices` (`id`) ON DELETE CASCADE,\n  CONSTRAINT `quotes_supplier_id_foreign` FOREIGN KEY (`supplier_id`) REFERENCES `shops` (`id`) ON DELETE CASCADE\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"quotes\" (\n  \"id\" INTEGER NOT NULL,\n  \"pre_invoice_id\" INTEGER NOT NULL,\n  \"supplier_id\" INTEGER NOT NULL,\n  \"total\" INTEGER,\n  \"currency\" TEXT NOT NULL DEFAULT 'IRR',\n  \"status\" TEXT NOT NULL DEFAULT 'draft',\n  \"terms\" TEXT,\n  \"notes\" TEXT,\n  \"options\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"pre_invoice_id\") REFERENCES \"pre_invoices\"(\"id\"),\n  FOREIGN KEY (\"supplier_id\") REFERENCES \"shops\"(\"id\")\n);\n",
                    "mysql": "CREATE TABLE \"quotes\" (\n  \"id\" INT NOT NULL,\n  \"pre_invoice_id\" INT NOT NULL,\n  \"supplier_id\" INT NOT NULL,\n  \"total\" INT,\n  \"currency\" VARCHAR(255) NOT NULL DEFAULT 'IRR',\n  \"status\" VARCHAR(255) NOT NULL DEFAULT 'draft',\n  \"terms\" TEXT,\n  \"notes\" TEXT,\n  \"options\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"pre_invoice_id\") REFERENCES \"pre_invoices\"(\"id\"),\n  FOREIGN KEY (\"supplier_id\") REFERENCES \"shops\"(\"id\")\n);\n",
                    "pgsql": "CREATE TABLE \"quotes\" (\n  \"id\" INTEGER NOT NULL,\n  \"pre_invoice_id\" INTEGER NOT NULL,\n  \"supplier_id\" INTEGER NOT NULL,\n  \"total\" INTEGER,\n  \"currency\" VARCHAR(255) NOT NULL DEFAULT 'IRR',\n  \"status\" VARCHAR(255) NOT NULL DEFAULT 'draft',\n  \"terms\" TEXT,\n  \"notes\" TEXT,\n  \"options\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"pre_invoice_id\") REFERENCES \"pre_invoices\"(\"id\"),\n  FOREIGN KEY (\"supplier_id\") REFERENCES \"shops\"(\"id\")\n);\n"
                }
            },
            "redemptions": {
                "name": "redemptions",
                "columns": {
                    "id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "user_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "reward_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "points_spent": {
                        "type": "int(11)",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "redemption_date": {
                        "type": "timestamp",
                        "null": "NO",
                        "key": "",
                        "default": "current_timestamp()"
                    },
                    "status": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "created_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "updated_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "id"
                    ],
                    "redemptions_user_id_foreign": [
                        "user_id"
                    ],
                    "redemptions_reward_id_foreign": [
                        "reward_id"
                    ]
                },
                "foreign_keys": [
                    {
                        "name": "redemptions_reward_id_foreign",
                        "column_name": "reward_id",
                        "referenced_table": "rewards",
                        "referenced_column": "id"
                    },
                    {
                        "name": "redemptions_user_id_foreign",
                        "column_name": "user_id",
                        "referenced_table": "users",
                        "referenced_column": "id"
                    }
                ],
                "sql_schemas": {
                    "native": "CREATE TABLE `redemptions` (\n  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n  `user_id` bigint(20) unsigned NOT NULL,\n  `reward_id` bigint(20) unsigned NOT NULL,\n  `points_spent` int(11) NOT NULL,\n  `redemption_date` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),\n  `status` varchar(255) NOT NULL,\n  `created_at` timestamp NULL DEFAULT NULL,\n  `updated_at` timestamp NULL DEFAULT NULL,\n  PRIMARY KEY (`id`),\n  KEY `redemptions_user_id_foreign` (`user_id`),\n  KEY `redemptions_reward_id_foreign` (`reward_id`),\n  CONSTRAINT `redemptions_reward_id_foreign` FOREIGN KEY (`reward_id`) REFERENCES `rewards` (`id`) ON DELETE CASCADE,\n  CONSTRAINT `redemptions_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"redemptions\" (\n  \"id\" INTEGER NOT NULL,\n  \"user_id\" INTEGER NOT NULL,\n  \"reward_id\" INTEGER NOT NULL,\n  \"points_spent\" INTEGER NOT NULL,\n  \"redemption_date\" TEXT NOT NULL DEFAULT 'current_timestamp()',\n  \"status\" TEXT NOT NULL,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"reward_id\") REFERENCES \"rewards\"(\"id\"),\n  FOREIGN KEY (\"user_id\") REFERENCES \"users\"(\"id\")\n);\n",
                    "mysql": "CREATE TABLE \"redemptions\" (\n  \"id\" INT NOT NULL,\n  \"user_id\" INT NOT NULL,\n  \"reward_id\" INT NOT NULL,\n  \"points_spent\" INT NOT NULL,\n  \"redemption_date\" TEXT NOT NULL DEFAULT 'current_timestamp()',\n  \"status\" VARCHAR(255) NOT NULL,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"reward_id\") REFERENCES \"rewards\"(\"id\"),\n  FOREIGN KEY (\"user_id\") REFERENCES \"users\"(\"id\")\n);\n",
                    "pgsql": "CREATE TABLE \"redemptions\" (\n  \"id\" INTEGER NOT NULL,\n  \"user_id\" INTEGER NOT NULL,\n  \"reward_id\" INTEGER NOT NULL,\n  \"points_spent\" INTEGER NOT NULL,\n  \"redemption_date\" TEXT NOT NULL DEFAULT 'current_timestamp()',\n  \"status\" VARCHAR(255) NOT NULL,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"reward_id\") REFERENCES \"rewards\"(\"id\"),\n  FOREIGN KEY (\"user_id\") REFERENCES \"users\"(\"id\")\n);\n"
                }
            },
            "referrals": {
                "name": "referrals",
                "columns": {
                    "id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "referrer_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "referee_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "bonus_awarded": {
                        "type": "int(11)",
                        "null": "NO",
                        "key": "",
                        "default": "0"
                    },
                    "created_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "updated_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "id"
                    ]
                },
                "foreign_keys": [],
                "sql_schemas": {
                    "native": "CREATE TABLE `referrals` (\n  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n  `referrer_id` bigint(20) unsigned NOT NULL,\n  `referee_id` bigint(20) unsigned NOT NULL,\n  `bonus_awarded` int(11) NOT NULL DEFAULT 0,\n  `created_at` timestamp NULL DEFAULT NULL,\n  `updated_at` timestamp NULL DEFAULT NULL,\n  PRIMARY KEY (`id`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"referrals\" (\n  \"id\" INTEGER NOT NULL,\n  \"referrer_id\" INTEGER NOT NULL,\n  \"referee_id\" INTEGER NOT NULL,\n  \"bonus_awarded\" INTEGER NOT NULL DEFAULT '0',\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT\n);\n",
                    "mysql": "CREATE TABLE \"referrals\" (\n  \"id\" INT NOT NULL,\n  \"referrer_id\" INT NOT NULL,\n  \"referee_id\" INT NOT NULL,\n  \"bonus_awarded\" INT NOT NULL DEFAULT '0',\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT\n);\n",
                    "pgsql": "CREATE TABLE \"referrals\" (\n  \"id\" INTEGER NOT NULL,\n  \"referrer_id\" INTEGER NOT NULL,\n  \"referee_id\" INTEGER NOT NULL,\n  \"bonus_awarded\" INTEGER NOT NULL DEFAULT '0',\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT\n);\n"
                }
            },
            "rewards": {
                "name": "rewards",
                "columns": {
                    "id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "name": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "description": {
                        "type": "text",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "points_cost": {
                        "type": "int(11)",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "reward_type": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "validity": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "created_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "updated_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "id"
                    ]
                },
                "foreign_keys": [],
                "sql_schemas": {
                    "native": "CREATE TABLE `rewards` (\n  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n  `name` varchar(255) NOT NULL,\n  `description` text DEFAULT NULL,\n  `points_cost` int(11) NOT NULL,\n  `reward_type` varchar(255) NOT NULL,\n  `validity` timestamp NULL DEFAULT NULL,\n  `created_at` timestamp NULL DEFAULT NULL,\n  `updated_at` timestamp NULL DEFAULT NULL,\n  PRIMARY KEY (`id`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"rewards\" (\n  \"id\" INTEGER NOT NULL,\n  \"name\" TEXT NOT NULL,\n  \"description\" TEXT,\n  \"points_cost\" INTEGER NOT NULL,\n  \"reward_type\" TEXT NOT NULL,\n  \"validity\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT\n);\n",
                    "mysql": "CREATE TABLE \"rewards\" (\n  \"id\" INT NOT NULL,\n  \"name\" VARCHAR(255) NOT NULL,\n  \"description\" TEXT,\n  \"points_cost\" INT NOT NULL,\n  \"reward_type\" VARCHAR(255) NOT NULL,\n  \"validity\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT\n);\n",
                    "pgsql": "CREATE TABLE \"rewards\" (\n  \"id\" INTEGER NOT NULL,\n  \"name\" VARCHAR(255) NOT NULL,\n  \"description\" TEXT,\n  \"points_cost\" INTEGER NOT NULL,\n  \"reward_type\" VARCHAR(255) NOT NULL,\n  \"validity\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT\n);\n"
                }
            },
            "role_has_permissions": {
                "name": "role_has_permissions",
                "columns": {
                    "permission_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "role_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "permission_id",
                        "role_id"
                    ],
                    "role_has_permissions_role_id_foreign": [
                        "role_id"
                    ]
                },
                "foreign_keys": [
                    {
                        "name": "role_has_permissions_permission_id_foreign",
                        "column_name": "permission_id",
                        "referenced_table": "permissions",
                        "referenced_column": "id"
                    },
                    {
                        "name": "role_has_permissions_role_id_foreign",
                        "column_name": "role_id",
                        "referenced_table": "roles",
                        "referenced_column": "id"
                    }
                ],
                "sql_schemas": {
                    "native": "CREATE TABLE `role_has_permissions` (\n  `permission_id` bigint(20) unsigned NOT NULL,\n  `role_id` bigint(20) unsigned NOT NULL,\n  PRIMARY KEY (`permission_id`,`role_id`),\n  KEY `role_has_permissions_role_id_foreign` (`role_id`),\n  CONSTRAINT `role_has_permissions_permission_id_foreign` FOREIGN KEY (`permission_id`) REFERENCES `permissions` (`id`) ON DELETE CASCADE,\n  CONSTRAINT `role_has_permissions_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`) ON DELETE CASCADE\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"role_has_permissions\" (\n  \"permission_id\" INTEGER NOT NULL,\n  \"role_id\" INTEGER NOT NULL,\n  FOREIGN KEY (\"permission_id\") REFERENCES \"permissions\"(\"id\"),\n  FOREIGN KEY (\"role_id\") REFERENCES \"roles\"(\"id\")\n);\n",
                    "mysql": "CREATE TABLE \"role_has_permissions\" (\n  \"permission_id\" INT NOT NULL,\n  \"role_id\" INT NOT NULL,\n  FOREIGN KEY (\"permission_id\") REFERENCES \"permissions\"(\"id\"),\n  FOREIGN KEY (\"role_id\") REFERENCES \"roles\"(\"id\")\n);\n",
                    "pgsql": "CREATE TABLE \"role_has_permissions\" (\n  \"permission_id\" INTEGER NOT NULL,\n  \"role_id\" INTEGER NOT NULL,\n  FOREIGN KEY (\"permission_id\") REFERENCES \"permissions\"(\"id\"),\n  FOREIGN KEY (\"role_id\") REFERENCES \"roles\"(\"id\")\n);\n"
                }
            },
            "roles": {
                "name": "roles",
                "columns": {
                    "id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "name": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "guard_name": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "created_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "updated_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "id"
                    ],
                    "roles_name_guard_name_unique": [
                        "name",
                        "guard_name"
                    ]
                },
                "foreign_keys": [],
                "sql_schemas": {
                    "native": "CREATE TABLE `roles` (\n  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n  `name` varchar(255) NOT NULL,\n  `guard_name` varchar(255) NOT NULL,\n  `created_at` timestamp NULL DEFAULT NULL,\n  `updated_at` timestamp NULL DEFAULT NULL,\n  PRIMARY KEY (`id`),\n  UNIQUE KEY `roles_name_guard_name_unique` (`name`,`guard_name`)\n) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"roles\" (\n  \"id\" INTEGER NOT NULL,\n  \"name\" TEXT NOT NULL,\n  \"guard_name\" TEXT NOT NULL,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT\n);\n",
                    "mysql": "CREATE TABLE \"roles\" (\n  \"id\" INT NOT NULL,\n  \"name\" VARCHAR(255) NOT NULL,\n  \"guard_name\" VARCHAR(255) NOT NULL,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT\n);\n",
                    "pgsql": "CREATE TABLE \"roles\" (\n  \"id\" INTEGER NOT NULL,\n  \"name\" VARCHAR(255) NOT NULL,\n  \"guard_name\" VARCHAR(255) NOT NULL,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT\n);\n"
                }
            },
            "saves": {
                "name": "saves",
                "columns": {
                    "id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "user_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "savable_type": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "savable_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "created_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "updated_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "id"
                    ],
                    "saves_user_id_foreign": [
                        "user_id"
                    ],
                    "saves_savable_type_savable_id_index": [
                        "savable_type",
                        "savable_id"
                    ]
                },
                "foreign_keys": [
                    {
                        "name": "saves_user_id_foreign",
                        "column_name": "user_id",
                        "referenced_table": "users",
                        "referenced_column": "id"
                    }
                ],
                "sql_schemas": {
                    "native": "CREATE TABLE `saves` (\n  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n  `user_id` bigint(20) unsigned NOT NULL,\n  `savable_type` varchar(255) NOT NULL,\n  `savable_id` bigint(20) unsigned NOT NULL,\n  `created_at` timestamp NULL DEFAULT NULL,\n  `updated_at` timestamp NULL DEFAULT NULL,\n  PRIMARY KEY (`id`),\n  KEY `saves_user_id_foreign` (`user_id`),\n  KEY `saves_savable_type_savable_id_index` (`savable_type`,`savable_id`),\n  CONSTRAINT `saves_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"saves\" (\n  \"id\" INTEGER NOT NULL,\n  \"user_id\" INTEGER NOT NULL,\n  \"savable_type\" TEXT NOT NULL,\n  \"savable_id\" INTEGER NOT NULL,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"user_id\") REFERENCES \"users\"(\"id\")\n);\n",
                    "mysql": "CREATE TABLE \"saves\" (\n  \"id\" INT NOT NULL,\n  \"user_id\" INT NOT NULL,\n  \"savable_type\" VARCHAR(255) NOT NULL,\n  \"savable_id\" INT NOT NULL,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"user_id\") REFERENCES \"users\"(\"id\")\n);\n",
                    "pgsql": "CREATE TABLE \"saves\" (\n  \"id\" INTEGER NOT NULL,\n  \"user_id\" INTEGER NOT NULL,\n  \"savable_type\" VARCHAR(255) NOT NULL,\n  \"savable_id\" INTEGER NOT NULL,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"user_id\") REFERENCES \"users\"(\"id\")\n);\n"
                }
            },
            "sessions": {
                "name": "sessions",
                "columns": {
                    "id": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "user_id": {
                        "type": "bigint(20) unsigned",
                        "null": "YES",
                        "key": "MUL",
                        "default": null
                    },
                    "ip_address": {
                        "type": "varchar(45)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "user_agent": {
                        "type": "text",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "payload": {
                        "type": "longtext",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "last_activity": {
                        "type": "int(11)",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "id"
                    ],
                    "sessions_user_id_index": [
                        "user_id"
                    ],
                    "sessions_last_activity_index": [
                        "last_activity"
                    ]
                },
                "foreign_keys": [],
                "sql_schemas": {
                    "native": "CREATE TABLE `sessions` (\n  `id` varchar(255) NOT NULL,\n  `user_id` bigint(20) unsigned DEFAULT NULL,\n  `ip_address` varchar(45) DEFAULT NULL,\n  `user_agent` text DEFAULT NULL,\n  `payload` longtext NOT NULL,\n  `last_activity` int(11) NOT NULL,\n  PRIMARY KEY (`id`),\n  KEY `sessions_user_id_index` (`user_id`),\n  KEY `sessions_last_activity_index` (`last_activity`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"sessions\" (\n  \"id\" TEXT NOT NULL,\n  \"user_id\" INTEGER,\n  \"ip_address\" TEXT,\n  \"user_agent\" TEXT,\n  \"payload\" TEXT NOT NULL,\n  \"last_activity\" INTEGER NOT NULL\n);\n",
                    "mysql": "CREATE TABLE \"sessions\" (\n  \"id\" VARCHAR(255) NOT NULL,\n  \"user_id\" INT,\n  \"ip_address\" VARCHAR(255),\n  \"user_agent\" TEXT,\n  \"payload\" TEXT NOT NULL,\n  \"last_activity\" INT NOT NULL\n);\n",
                    "pgsql": "CREATE TABLE \"sessions\" (\n  \"id\" VARCHAR(255) NOT NULL,\n  \"user_id\" INTEGER,\n  \"ip_address\" VARCHAR(255),\n  \"user_agent\" TEXT,\n  \"payload\" TEXT NOT NULL,\n  \"last_activity\" INTEGER NOT NULL\n);\n"
                }
            },
            "shops": {
                "name": "shops",
                "columns": {
                    "id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "user_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "name": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "slug": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "UNI",
                        "default": null
                    },
                    "logo": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "description": {
                        "type": "text",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "phone": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "email": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "address": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "city": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "state": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "postal_code": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "country": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": "IR"
                    },
                    "is_approved": {
                        "type": "tinyint(1)",
                        "null": "YES",
                        "key": "",
                        "default": "0"
                    },
                    "approved_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "consumer_key": {
                        "type": "longtext",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "consumer_secret": {
                        "type": "longtext",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "woo_url": {
                        "type": "longtext",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "created_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "updated_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "id"
                    ],
                    "shops_slug_unique": [
                        "slug"
                    ],
                    "shops_user_id_foreign": [
                        "user_id"
                    ]
                },
                "foreign_keys": [
                    {
                        "name": "shops_user_id_foreign",
                        "column_name": "user_id",
                        "referenced_table": "users",
                        "referenced_column": "id"
                    }
                ],
                "sql_schemas": {
                    "native": "CREATE TABLE `shops` (\n  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n  `user_id` bigint(20) unsigned NOT NULL,\n  `name` varchar(255) NOT NULL,\n  `slug` varchar(255) NOT NULL,\n  `logo` varchar(255) DEFAULT NULL,\n  `description` text DEFAULT NULL,\n  `phone` varchar(255) DEFAULT NULL,\n  `email` varchar(255) DEFAULT NULL,\n  `address` varchar(255) DEFAULT NULL,\n  `city` varchar(255) DEFAULT NULL,\n  `state` varchar(255) DEFAULT NULL,\n  `postal_code` varchar(255) DEFAULT NULL,\n  `country` varchar(255) DEFAULT 'IR',\n  `is_approved` tinyint(1) DEFAULT 0,\n  `approved_at` timestamp NULL DEFAULT NULL,\n  `consumer_key` longtext DEFAULT NULL,\n  `consumer_secret` longtext DEFAULT NULL,\n  `woo_url` longtext DEFAULT NULL,\n  `created_at` timestamp NULL DEFAULT NULL,\n  `updated_at` timestamp NULL DEFAULT NULL,\n  PRIMARY KEY (`id`),\n  UNIQUE KEY `shops_slug_unique` (`slug`),\n  KEY `shops_user_id_foreign` (`user_id`),\n  CONSTRAINT `shops_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE\n) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"shops\" (\n  \"id\" INTEGER NOT NULL,\n  \"user_id\" INTEGER NOT NULL,\n  \"name\" TEXT NOT NULL,\n  \"slug\" TEXT NOT NULL,\n  \"logo\" TEXT,\n  \"description\" TEXT,\n  \"phone\" TEXT,\n  \"email\" TEXT,\n  \"address\" TEXT,\n  \"city\" TEXT,\n  \"state\" TEXT,\n  \"postal_code\" TEXT,\n  \"country\" TEXT DEFAULT 'IR',\n  \"is_approved\" INTEGER DEFAULT '0',\n  \"approved_at\" TEXT,\n  \"consumer_key\" TEXT,\n  \"consumer_secret\" TEXT,\n  \"woo_url\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"user_id\") REFERENCES \"users\"(\"id\")\n);\n",
                    "mysql": "CREATE TABLE \"shops\" (\n  \"id\" INT NOT NULL,\n  \"user_id\" INT NOT NULL,\n  \"name\" VARCHAR(255) NOT NULL,\n  \"slug\" VARCHAR(255) NOT NULL,\n  \"logo\" VARCHAR(255),\n  \"description\" TEXT,\n  \"phone\" VARCHAR(255),\n  \"email\" VARCHAR(255),\n  \"address\" VARCHAR(255),\n  \"city\" VARCHAR(255),\n  \"state\" VARCHAR(255),\n  \"postal_code\" VARCHAR(255),\n  \"country\" VARCHAR(255) DEFAULT 'IR',\n  \"is_approved\" INT DEFAULT '0',\n  \"approved_at\" TEXT,\n  \"consumer_key\" TEXT,\n  \"consumer_secret\" TEXT,\n  \"woo_url\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"user_id\") REFERENCES \"users\"(\"id\")\n);\n",
                    "pgsql": "CREATE TABLE \"shops\" (\n  \"id\" INTEGER NOT NULL,\n  \"user_id\" INTEGER NOT NULL,\n  \"name\" VARCHAR(255) NOT NULL,\n  \"slug\" VARCHAR(255) NOT NULL,\n  \"logo\" VARCHAR(255),\n  \"description\" TEXT,\n  \"phone\" VARCHAR(255),\n  \"email\" VARCHAR(255),\n  \"address\" VARCHAR(255),\n  \"city\" VARCHAR(255),\n  \"state\" VARCHAR(255),\n  \"postal_code\" VARCHAR(255),\n  \"country\" VARCHAR(255) DEFAULT 'IR',\n  \"is_approved\" INTEGER DEFAULT '0',\n  \"approved_at\" TEXT,\n  \"consumer_key\" TEXT,\n  \"consumer_secret\" TEXT,\n  \"woo_url\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"user_id\") REFERENCES \"users\"(\"id\")\n);\n"
                }
            },
            "stock_movements": {
                "name": "stock_movements",
                "columns": {
                    "id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "warehouse_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "product_inventory_id": {
                        "type": "bigint(20) unsigned",
                        "null": "YES",
                        "key": "MUL",
                        "default": null
                    },
                    "product_inventory_variant_id": {
                        "type": "bigint(20) unsigned",
                        "null": "YES",
                        "key": "MUL",
                        "default": null
                    },
                    "type": {
                        "type": "enum('inbound','outbound','adjustment','reservation','reservation_release','transfer_out','transfer_in')",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "qty": {
                        "type": "int(11)",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "reference_type": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "reference_id": {
                        "type": "bigint(20) unsigned",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "meta": {
                        "type": "longtext",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "moved_at": {
                        "type": "timestamp",
                        "null": "NO",
                        "key": "",
                        "default": "current_timestamp()"
                    },
                    "user_id": {
                        "type": "bigint(20) unsigned",
                        "null": "YES",
                        "key": "MUL",
                        "default": null
                    },
                    "created_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "updated_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "id"
                    ],
                    "stock_movements_warehouse_id_foreign": [
                        "warehouse_id"
                    ],
                    "stock_movements_product_inventory_id_foreign": [
                        "product_inventory_id"
                    ],
                    "stock_movements_product_inventory_variant_id_foreign": [
                        "product_inventory_variant_id"
                    ],
                    "stock_movements_user_id_foreign": [
                        "user_id"
                    ]
                },
                "foreign_keys": [
                    {
                        "name": "stock_movements_product_inventory_id_foreign",
                        "column_name": "product_inventory_id",
                        "referenced_table": "product_inventories",
                        "referenced_column": "id"
                    },
                    {
                        "name": "stock_movements_product_inventory_variant_id_foreign",
                        "column_name": "product_inventory_variant_id",
                        "referenced_table": "product_inventory_variants",
                        "referenced_column": "id"
                    },
                    {
                        "name": "stock_movements_user_id_foreign",
                        "column_name": "user_id",
                        "referenced_table": "users",
                        "referenced_column": "id"
                    },
                    {
                        "name": "stock_movements_warehouse_id_foreign",
                        "column_name": "warehouse_id",
                        "referenced_table": "warehouses",
                        "referenced_column": "id"
                    }
                ],
                "sql_schemas": {
                    "native": "CREATE TABLE `stock_movements` (\n  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n  `warehouse_id` bigint(20) unsigned NOT NULL,\n  `product_inventory_id` bigint(20) unsigned DEFAULT NULL,\n  `product_inventory_variant_id` bigint(20) unsigned DEFAULT NULL,\n  `type` enum('inbound','outbound','adjustment','reservation','reservation_release','transfer_out','transfer_in') NOT NULL,\n  `qty` int(11) NOT NULL,\n  `reference_type` varchar(255) DEFAULT NULL,\n  `reference_id` bigint(20) unsigned DEFAULT NULL,\n  `meta` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`meta`)),\n  `moved_at` timestamp NOT NULL DEFAULT current_timestamp(),\n  `user_id` bigint(20) unsigned DEFAULT NULL,\n  `created_at` timestamp NULL DEFAULT NULL,\n  `updated_at` timestamp NULL DEFAULT NULL,\n  PRIMARY KEY (`id`),\n  KEY `stock_movements_warehouse_id_foreign` (`warehouse_id`),\n  KEY `stock_movements_product_inventory_id_foreign` (`product_inventory_id`),\n  KEY `stock_movements_product_inventory_variant_id_foreign` (`product_inventory_variant_id`),\n  KEY `stock_movements_user_id_foreign` (`user_id`),\n  CONSTRAINT `stock_movements_product_inventory_id_foreign` FOREIGN KEY (`product_inventory_id`) REFERENCES `product_inventories` (`id`) ON DELETE CASCADE,\n  CONSTRAINT `stock_movements_product_inventory_variant_id_foreign` FOREIGN KEY (`product_inventory_variant_id`) REFERENCES `product_inventory_variants` (`id`) ON DELETE CASCADE,\n  CONSTRAINT `stock_movements_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,\n  CONSTRAINT `stock_movements_warehouse_id_foreign` FOREIGN KEY (`warehouse_id`) REFERENCES `warehouses` (`id`) ON DELETE CASCADE\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"stock_movements\" (\n  \"id\" INTEGER NOT NULL,\n  \"warehouse_id\" INTEGER NOT NULL,\n  \"product_inventory_id\" INTEGER,\n  \"product_inventory_variant_id\" INTEGER,\n  \"type\" TEXT NOT NULL,\n  \"qty\" INTEGER NOT NULL,\n  \"reference_type\" TEXT,\n  \"reference_id\" INTEGER,\n  \"meta\" TEXT,\n  \"moved_at\" TEXT NOT NULL DEFAULT 'current_timestamp()',\n  \"user_id\" INTEGER,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"product_inventory_id\") REFERENCES \"product_inventories\"(\"id\"),\n  FOREIGN KEY (\"product_inventory_variant_id\") REFERENCES \"product_inventory_variants\"(\"id\"),\n  FOREIGN KEY (\"user_id\") REFERENCES \"users\"(\"id\"),\n  FOREIGN KEY (\"warehouse_id\") REFERENCES \"warehouses\"(\"id\")\n);\n",
                    "mysql": "CREATE TABLE \"stock_movements\" (\n  \"id\" INT NOT NULL,\n  \"warehouse_id\" INT NOT NULL,\n  \"product_inventory_id\" INT,\n  \"product_inventory_variant_id\" INT,\n  \"type\" TEXT NOT NULL,\n  \"qty\" INT NOT NULL,\n  \"reference_type\" VARCHAR(255),\n  \"reference_id\" INT,\n  \"meta\" TEXT,\n  \"moved_at\" TEXT NOT NULL DEFAULT 'current_timestamp()',\n  \"user_id\" INT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"product_inventory_id\") REFERENCES \"product_inventories\"(\"id\"),\n  FOREIGN KEY (\"product_inventory_variant_id\") REFERENCES \"product_inventory_variants\"(\"id\"),\n  FOREIGN KEY (\"user_id\") REFERENCES \"users\"(\"id\"),\n  FOREIGN KEY (\"warehouse_id\") REFERENCES \"warehouses\"(\"id\")\n);\n",
                    "pgsql": "CREATE TABLE \"stock_movements\" (\n  \"id\" INTEGER NOT NULL,\n  \"warehouse_id\" INTEGER NOT NULL,\n  \"product_inventory_id\" INTEGER,\n  \"product_inventory_variant_id\" INTEGER,\n  \"type\" TEXT NOT NULL,\n  \"qty\" INTEGER NOT NULL,\n  \"reference_type\" VARCHAR(255),\n  \"reference_id\" INTEGER,\n  \"meta\" TEXT,\n  \"moved_at\" TEXT NOT NULL DEFAULT 'current_timestamp()',\n  \"user_id\" INTEGER,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"product_inventory_id\") REFERENCES \"product_inventories\"(\"id\"),\n  FOREIGN KEY (\"product_inventory_variant_id\") REFERENCES \"product_inventory_variants\"(\"id\"),\n  FOREIGN KEY (\"user_id\") REFERENCES \"users\"(\"id\"),\n  FOREIGN KEY (\"warehouse_id\") REFERENCES \"warehouses\"(\"id\")\n);\n"
                }
            },
            "taggables": {
                "name": "taggables",
                "columns": {
                    "tag_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "taggable_type": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "taggable_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    }
                },
                "indexes": {
                    "taggables_tag_id_taggable_id_taggable_type_unique": [
                        "tag_id",
                        "taggable_id",
                        "taggable_type"
                    ],
                    "taggables_taggable_type_taggable_id_index": [
                        "taggable_type",
                        "taggable_id"
                    ]
                },
                "foreign_keys": [
                    {
                        "name": "taggables_tag_id_foreign",
                        "column_name": "tag_id",
                        "referenced_table": "tags",
                        "referenced_column": "id"
                    }
                ],
                "sql_schemas": {
                    "native": "CREATE TABLE `taggables` (\n  `tag_id` bigint(20) unsigned NOT NULL,\n  `taggable_type` varchar(255) NOT NULL,\n  `taggable_id` bigint(20) unsigned NOT NULL,\n  UNIQUE KEY `taggables_tag_id_taggable_id_taggable_type_unique` (`tag_id`,`taggable_id`,`taggable_type`),\n  KEY `taggables_taggable_type_taggable_id_index` (`taggable_type`,`taggable_id`),\n  CONSTRAINT `taggables_tag_id_foreign` FOREIGN KEY (`tag_id`) REFERENCES `tags` (`id`) ON DELETE CASCADE\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"taggables\" (\n  \"tag_id\" INTEGER NOT NULL,\n  \"taggable_type\" TEXT NOT NULL,\n  \"taggable_id\" INTEGER NOT NULL,\n  FOREIGN KEY (\"tag_id\") REFERENCES \"tags\"(\"id\")\n);\n",
                    "mysql": "CREATE TABLE \"taggables\" (\n  \"tag_id\" INT NOT NULL,\n  \"taggable_type\" VARCHAR(255) NOT NULL,\n  \"taggable_id\" INT NOT NULL,\n  FOREIGN KEY (\"tag_id\") REFERENCES \"tags\"(\"id\")\n);\n",
                    "pgsql": "CREATE TABLE \"taggables\" (\n  \"tag_id\" INTEGER NOT NULL,\n  \"taggable_type\" VARCHAR(255) NOT NULL,\n  \"taggable_id\" INTEGER NOT NULL,\n  FOREIGN KEY (\"tag_id\") REFERENCES \"tags\"(\"id\")\n);\n"
                }
            },
            "tags": {
                "name": "tags",
                "columns": {
                    "id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "name": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "UNI",
                        "default": null
                    },
                    "slug": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "UNI",
                        "default": null
                    },
                    "description": {
                        "type": "text",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "color": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "created_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "updated_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "id"
                    ],
                    "tags_name_unique": [
                        "name"
                    ],
                    "tags_slug_unique": [
                        "slug"
                    ]
                },
                "foreign_keys": [],
                "sql_schemas": {
                    "native": "CREATE TABLE `tags` (\n  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n  `name` varchar(255) NOT NULL,\n  `slug` varchar(255) NOT NULL,\n  `description` text DEFAULT NULL,\n  `color` varchar(255) DEFAULT NULL,\n  `created_at` timestamp NULL DEFAULT NULL,\n  `updated_at` timestamp NULL DEFAULT NULL,\n  PRIMARY KEY (`id`),\n  UNIQUE KEY `tags_name_unique` (`name`),\n  UNIQUE KEY `tags_slug_unique` (`slug`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"tags\" (\n  \"id\" INTEGER NOT NULL,\n  \"name\" TEXT NOT NULL,\n  \"slug\" TEXT NOT NULL,\n  \"description\" TEXT,\n  \"color\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT\n);\n",
                    "mysql": "CREATE TABLE \"tags\" (\n  \"id\" INT NOT NULL,\n  \"name\" VARCHAR(255) NOT NULL,\n  \"slug\" VARCHAR(255) NOT NULL,\n  \"description\" TEXT,\n  \"color\" VARCHAR(255),\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT\n);\n",
                    "pgsql": "CREATE TABLE \"tags\" (\n  \"id\" INTEGER NOT NULL,\n  \"name\" VARCHAR(255) NOT NULL,\n  \"slug\" VARCHAR(255) NOT NULL,\n  \"description\" TEXT,\n  \"color\" VARCHAR(255),\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT\n);\n"
                }
            },
            "telescope_entries": {
                "name": "telescope_entries",
                "columns": {
                    "sequence": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "uuid": {
                        "type": "char(36)",
                        "null": "NO",
                        "key": "UNI",
                        "default": null
                    },
                    "batch_id": {
                        "type": "char(36)",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "family_hash": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "MUL",
                        "default": null
                    },
                    "should_display_on_index": {
                        "type": "tinyint(1)",
                        "null": "YES",
                        "key": "",
                        "default": "1"
                    },
                    "type": {
                        "type": "varchar(20)",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "content": {
                        "type": "longtext",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "created_at": {
                        "type": "datetime",
                        "null": "YES",
                        "key": "MUL",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "sequence"
                    ],
                    "telescope_entries_uuid_unique": [
                        "uuid"
                    ],
                    "telescope_entries_batch_id_index": [
                        "batch_id"
                    ],
                    "telescope_entries_family_hash_index": [
                        "family_hash"
                    ],
                    "telescope_entries_created_at_index": [
                        "created_at"
                    ],
                    "telescope_entries_type_should_display_on_index_index": [
                        "type",
                        "should_display_on_index"
                    ]
                },
                "foreign_keys": [],
                "sql_schemas": {
                    "native": "CREATE TABLE `telescope_entries` (\n  `sequence` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n  `uuid` char(36) NOT NULL,\n  `batch_id` char(36) NOT NULL,\n  `family_hash` varchar(255) DEFAULT NULL,\n  `should_display_on_index` tinyint(1) DEFAULT 1,\n  `type` varchar(20) NOT NULL,\n  `content` longtext NOT NULL,\n  `created_at` datetime DEFAULT NULL,\n  PRIMARY KEY (`sequence`),\n  UNIQUE KEY `telescope_entries_uuid_unique` (`uuid`),\n  KEY `telescope_entries_batch_id_index` (`batch_id`),\n  KEY `telescope_entries_family_hash_index` (`family_hash`),\n  KEY `telescope_entries_created_at_index` (`created_at`),\n  KEY `telescope_entries_type_should_display_on_index_index` (`type`,`should_display_on_index`)\n) ENGINE=InnoDB AUTO_INCREMENT=445 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"telescope_entries\" (\n  \"sequence\" INTEGER NOT NULL,\n  \"uuid\" TEXT NOT NULL,\n  \"batch_id\" TEXT NOT NULL,\n  \"family_hash\" TEXT,\n  \"should_display_on_index\" INTEGER DEFAULT '1',\n  \"type\" TEXT NOT NULL,\n  \"content\" TEXT NOT NULL,\n  \"created_at\" TEXT\n);\n",
                    "mysql": "CREATE TABLE \"telescope_entries\" (\n  \"sequence\" INT NOT NULL,\n  \"uuid\" TEXT NOT NULL,\n  \"batch_id\" TEXT NOT NULL,\n  \"family_hash\" VARCHAR(255),\n  \"should_display_on_index\" INT DEFAULT '1',\n  \"type\" VARCHAR(255) NOT NULL,\n  \"content\" TEXT NOT NULL,\n  \"created_at\" TEXT\n);\n",
                    "pgsql": "CREATE TABLE \"telescope_entries\" (\n  \"sequence\" INTEGER NOT NULL,\n  \"uuid\" TEXT NOT NULL,\n  \"batch_id\" TEXT NOT NULL,\n  \"family_hash\" VARCHAR(255),\n  \"should_display_on_index\" INTEGER DEFAULT '1',\n  \"type\" VARCHAR(255) NOT NULL,\n  \"content\" TEXT NOT NULL,\n  \"created_at\" TEXT\n);\n"
                }
            },
            "telescope_entries_tags": {
                "name": "telescope_entries_tags",
                "columns": {
                    "entry_uuid": {
                        "type": "char(36)",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "tag": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "entry_uuid",
                        "tag"
                    ],
                    "telescope_entries_tags_tag_index": [
                        "tag"
                    ]
                },
                "foreign_keys": [
                    {
                        "name": "telescope_entries_tags_entry_uuid_foreign",
                        "column_name": "entry_uuid",
                        "referenced_table": "telescope_entries",
                        "referenced_column": "uuid"
                    }
                ],
                "sql_schemas": {
                    "native": "CREATE TABLE `telescope_entries_tags` (\n  `entry_uuid` char(36) NOT NULL,\n  `tag` varchar(255) NOT NULL,\n  PRIMARY KEY (`entry_uuid`,`tag`),\n  KEY `telescope_entries_tags_tag_index` (`tag`),\n  CONSTRAINT `telescope_entries_tags_entry_uuid_foreign` FOREIGN KEY (`entry_uuid`) REFERENCES `telescope_entries` (`uuid`) ON DELETE CASCADE\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"telescope_entries_tags\" (\n  \"entry_uuid\" TEXT NOT NULL,\n  \"tag\" TEXT NOT NULL,\n  FOREIGN KEY (\"entry_uuid\") REFERENCES \"telescope_entries\"(\"uuid\")\n);\n",
                    "mysql": "CREATE TABLE \"telescope_entries_tags\" (\n  \"entry_uuid\" TEXT NOT NULL,\n  \"tag\" VARCHAR(255) NOT NULL,\n  FOREIGN KEY (\"entry_uuid\") REFERENCES \"telescope_entries\"(\"uuid\")\n);\n",
                    "pgsql": "CREATE TABLE \"telescope_entries_tags\" (\n  \"entry_uuid\" TEXT NOT NULL,\n  \"tag\" VARCHAR(255) NOT NULL,\n  FOREIGN KEY (\"entry_uuid\") REFERENCES \"telescope_entries\"(\"uuid\")\n);\n"
                }
            },
            "telescope_monitoring": {
                "name": "telescope_monitoring",
                "columns": {
                    "tag": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "tag"
                    ]
                },
                "foreign_keys": [],
                "sql_schemas": {
                    "native": "CREATE TABLE `telescope_monitoring` (\n  `tag` varchar(255) NOT NULL,\n  PRIMARY KEY (`tag`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"telescope_monitoring\" (\n  \"tag\" TEXT NOT NULL\n);\n",
                    "mysql": "CREATE TABLE \"telescope_monitoring\" (\n  \"tag\" VARCHAR(255) NOT NULL\n);\n",
                    "pgsql": "CREATE TABLE \"telescope_monitoring\" (\n  \"tag\" VARCHAR(255) NOT NULL\n);\n"
                }
            },
            "tiers": {
                "name": "tiers",
                "columns": {
                    "id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "name": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "min_points": {
                        "type": "int(11)",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "max_points": {
                        "type": "int(11)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "benefits_json": {
                        "type": "longtext",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "created_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "updated_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "id"
                    ]
                },
                "foreign_keys": [],
                "sql_schemas": {
                    "native": "CREATE TABLE `tiers` (\n  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n  `name` varchar(255) NOT NULL,\n  `min_points` int(11) NOT NULL,\n  `max_points` int(11) DEFAULT NULL,\n  `benefits_json` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`benefits_json`)),\n  `created_at` timestamp NULL DEFAULT NULL,\n  `updated_at` timestamp NULL DEFAULT NULL,\n  PRIMARY KEY (`id`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"tiers\" (\n  \"id\" INTEGER NOT NULL,\n  \"name\" TEXT NOT NULL,\n  \"min_points\" INTEGER NOT NULL,\n  \"max_points\" INTEGER,\n  \"benefits_json\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT\n);\n",
                    "mysql": "CREATE TABLE \"tiers\" (\n  \"id\" INT NOT NULL,\n  \"name\" VARCHAR(255) NOT NULL,\n  \"min_points\" INT NOT NULL,\n  \"max_points\" INT,\n  \"benefits_json\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT\n);\n",
                    "pgsql": "CREATE TABLE \"tiers\" (\n  \"id\" INTEGER NOT NULL,\n  \"name\" VARCHAR(255) NOT NULL,\n  \"min_points\" INTEGER NOT NULL,\n  \"max_points\" INTEGER,\n  \"benefits_json\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT\n);\n"
                }
            },
            "users": {
                "name": "users",
                "columns": {
                    "id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "auth_user_id": {
                        "type": "bigint(20) unsigned",
                        "null": "YES",
                        "key": "UNI",
                        "default": null
                    },
                    "name": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "shop_id": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "email": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "UNI",
                        "default": null
                    },
                    "username": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "UNI",
                        "default": null
                    },
                    "phone": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "UNI",
                        "default": null
                    },
                    "email_verified_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "phone_verified_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "password": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "admin_layout": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "remember_token": {
                        "type": "varchar(100)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "created_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "updated_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "tier_level": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "total_points": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "",
                        "default": "0"
                    },
                    "referral_code": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "id"
                    ],
                    "users_phone_unique": [
                        "phone"
                    ],
                    "users_username_unique": [
                        "username"
                    ],
                    "users_email_unique": [
                        "email"
                    ],
                    "users_auth_user_id_unique": [
                        "auth_user_id"
                    ],
                    "users_auth_user_id_index": [
                        "auth_user_id"
                    ]
                },
                "foreign_keys": [],
                "sql_schemas": {
                    "native": "CREATE TABLE `users` (\n  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n  `auth_user_id` bigint(20) unsigned DEFAULT NULL,\n  `name` varchar(255) DEFAULT NULL,\n  `shop_id` varchar(255) DEFAULT NULL,\n  `email` varchar(255) DEFAULT NULL,\n  `username` varchar(255) DEFAULT NULL,\n  `phone` varchar(255) DEFAULT NULL,\n  `email_verified_at` timestamp NULL DEFAULT NULL,\n  `phone_verified_at` timestamp NULL DEFAULT NULL,\n  `password` varchar(255) DEFAULT NULL,\n  `admin_layout` varchar(255) DEFAULT NULL,\n  `remember_token` varchar(100) DEFAULT NULL,\n  `created_at` timestamp NULL DEFAULT NULL,\n  `updated_at` timestamp NULL DEFAULT NULL,\n  `tier_level` varchar(255) DEFAULT NULL,\n  `total_points` varchar(255) NOT NULL DEFAULT '0',\n  `referral_code` varchar(255) DEFAULT NULL,\n  PRIMARY KEY (`id`),\n  UNIQUE KEY `users_phone_unique` (`phone`),\n  UNIQUE KEY `users_username_unique` (`username`),\n  UNIQUE KEY `users_email_unique` (`email`),\n  UNIQUE KEY `users_auth_user_id_unique` (`auth_user_id`),\n  KEY `users_auth_user_id_index` (`auth_user_id`)\n) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"users\" (\n  \"id\" INTEGER NOT NULL,\n  \"auth_user_id\" INTEGER,\n  \"name\" TEXT,\n  \"shop_id\" TEXT,\n  \"email\" TEXT,\n  \"username\" TEXT,\n  \"phone\" TEXT,\n  \"email_verified_at\" TEXT,\n  \"phone_verified_at\" TEXT,\n  \"password\" TEXT,\n  \"admin_layout\" TEXT,\n  \"remember_token\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  \"tier_level\" TEXT,\n  \"total_points\" TEXT NOT NULL DEFAULT '0',\n  \"referral_code\" TEXT\n);\n",
                    "mysql": "CREATE TABLE \"users\" (\n  \"id\" INT NOT NULL,\n  \"auth_user_id\" INT,\n  \"name\" VARCHAR(255),\n  \"shop_id\" VARCHAR(255),\n  \"email\" VARCHAR(255),\n  \"username\" VARCHAR(255),\n  \"phone\" VARCHAR(255),\n  \"email_verified_at\" TEXT,\n  \"phone_verified_at\" TEXT,\n  \"password\" VARCHAR(255),\n  \"admin_layout\" VARCHAR(255),\n  \"remember_token\" VARCHAR(255),\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  \"tier_level\" VARCHAR(255),\n  \"total_points\" VARCHAR(255) NOT NULL DEFAULT '0',\n  \"referral_code\" VARCHAR(255)\n);\n",
                    "pgsql": "CREATE TABLE \"users\" (\n  \"id\" INTEGER NOT NULL,\n  \"auth_user_id\" INTEGER,\n  \"name\" VARCHAR(255),\n  \"shop_id\" VARCHAR(255),\n  \"email\" VARCHAR(255),\n  \"username\" VARCHAR(255),\n  \"phone\" VARCHAR(255),\n  \"email_verified_at\" TEXT,\n  \"phone_verified_at\" TEXT,\n  \"password\" VARCHAR(255),\n  \"admin_layout\" VARCHAR(255),\n  \"remember_token\" VARCHAR(255),\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  \"tier_level\" VARCHAR(255),\n  \"total_points\" VARCHAR(255) NOT NULL DEFAULT '0',\n  \"referral_code\" VARCHAR(255)\n);\n"
                }
            },
            "wallet_settlements": {
                "name": "wallet_settlements",
                "columns": {
                    "id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "user_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "wallet_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "amount": {
                        "type": "float",
                        "null": "YES",
                        "key": "",
                        "default": "0"
                    },
                    "status": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": "created by user"
                    },
                    "description": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "created_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "updated_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "id"
                    ],
                    "wallet_settlements_user_id_foreign": [
                        "user_id"
                    ],
                    "wallet_settlements_wallet_id_foreign": [
                        "wallet_id"
                    ]
                },
                "foreign_keys": [
                    {
                        "name": "wallet_settlements_user_id_foreign",
                        "column_name": "user_id",
                        "referenced_table": "users",
                        "referenced_column": "id"
                    },
                    {
                        "name": "wallet_settlements_wallet_id_foreign",
                        "column_name": "wallet_id",
                        "referenced_table": "wallets",
                        "referenced_column": "id"
                    }
                ],
                "sql_schemas": {
                    "native": "CREATE TABLE `wallet_settlements` (\n  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n  `user_id` bigint(20) unsigned NOT NULL,\n  `wallet_id` bigint(20) unsigned NOT NULL,\n  `amount` float DEFAULT 0,\n  `status` varchar(255) DEFAULT 'created by user',\n  `description` varchar(255) DEFAULT NULL,\n  `created_at` timestamp NULL DEFAULT NULL,\n  `updated_at` timestamp NULL DEFAULT NULL,\n  PRIMARY KEY (`id`),\n  KEY `wallet_settlements_user_id_foreign` (`user_id`),\n  KEY `wallet_settlements_wallet_id_foreign` (`wallet_id`),\n  CONSTRAINT `wallet_settlements_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`),\n  CONSTRAINT `wallet_settlements_wallet_id_foreign` FOREIGN KEY (`wallet_id`) REFERENCES `wallets` (`id`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"wallet_settlements\" (\n  \"id\" INTEGER NOT NULL,\n  \"user_id\" INTEGER NOT NULL,\n  \"wallet_id\" INTEGER NOT NULL,\n  \"amount\" REAL DEFAULT '0',\n  \"status\" TEXT DEFAULT 'created by user',\n  \"description\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"user_id\") REFERENCES \"users\"(\"id\"),\n  FOREIGN KEY (\"wallet_id\") REFERENCES \"wallets\"(\"id\")\n);\n",
                    "mysql": "CREATE TABLE \"wallet_settlements\" (\n  \"id\" INT NOT NULL,\n  \"user_id\" INT NOT NULL,\n  \"wallet_id\" INT NOT NULL,\n  \"amount\" FLOAT DEFAULT '0',\n  \"status\" VARCHAR(255) DEFAULT 'created by user',\n  \"description\" VARCHAR(255),\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"user_id\") REFERENCES \"users\"(\"id\"),\n  FOREIGN KEY (\"wallet_id\") REFERENCES \"wallets\"(\"id\")\n);\n",
                    "pgsql": "CREATE TABLE \"wallet_settlements\" (\n  \"id\" INTEGER NOT NULL,\n  \"user_id\" INTEGER NOT NULL,\n  \"wallet_id\" INTEGER NOT NULL,\n  \"amount\" REAL DEFAULT '0',\n  \"status\" VARCHAR(255) DEFAULT 'created by user',\n  \"description\" VARCHAR(255),\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"user_id\") REFERENCES \"users\"(\"id\"),\n  FOREIGN KEY (\"wallet_id\") REFERENCES \"wallets\"(\"id\")\n);\n"
                }
            },
            "wallet_transactions": {
                "name": "wallet_transactions",
                "columns": {
                    "id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "uuid": {
                        "type": "char(36)",
                        "null": "YES",
                        "key": "UNI",
                        "default": "uuid()"
                    },
                    "wallet_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "amount": {
                        "type": "decimal(12,3)",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "type": {
                        "type": "enum('deposit','withdraw','block','unblock','refund','fee','adjustment')",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "description": {
                        "type": "varchar(255)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "balance": {
                        "type": "decimal(12,3)",
                        "null": "YES",
                        "key": "",
                        "default": "0.000"
                    },
                    "created_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "updated_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "id"
                    ],
                    "wallet_transactions_uuid_unique": [
                        "uuid"
                    ],
                    "wallet_transactions_wallet_id_foreign": [
                        "wallet_id"
                    ]
                },
                "foreign_keys": [
                    {
                        "name": "wallet_transactions_wallet_id_foreign",
                        "column_name": "wallet_id",
                        "referenced_table": "wallets",
                        "referenced_column": "id"
                    }
                ],
                "sql_schemas": {
                    "native": "CREATE TABLE `wallet_transactions` (\n  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n  `uuid` char(36) DEFAULT uuid(),\n  `wallet_id` bigint(20) unsigned NOT NULL,\n  `amount` decimal(12,3) NOT NULL,\n  `type` enum('deposit','withdraw','block','unblock','refund','fee','adjustment') NOT NULL,\n  `description` varchar(255) DEFAULT NULL,\n  `balance` decimal(12,3) DEFAULT 0.000,\n  `created_at` timestamp NULL DEFAULT NULL,\n  `updated_at` timestamp NULL DEFAULT NULL,\n  PRIMARY KEY (`id`),\n  UNIQUE KEY `wallet_transactions_uuid_unique` (`uuid`),\n  KEY `wallet_transactions_wallet_id_foreign` (`wallet_id`),\n  CONSTRAINT `wallet_transactions_wallet_id_foreign` FOREIGN KEY (`wallet_id`) REFERENCES `wallets` (`id`) ON DELETE CASCADE\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"wallet_transactions\" (\n  \"id\" INTEGER NOT NULL,\n  \"uuid\" TEXT DEFAULT 'uuid()',\n  \"wallet_id\" INTEGER NOT NULL,\n  \"amount\" TEXT NOT NULL,\n  \"type\" TEXT NOT NULL,\n  \"description\" TEXT,\n  \"balance\" TEXT DEFAULT '0.000',\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"wallet_id\") REFERENCES \"wallets\"(\"id\")\n);\n",
                    "mysql": "CREATE TABLE \"wallet_transactions\" (\n  \"id\" INT NOT NULL,\n  \"uuid\" TEXT DEFAULT 'uuid()',\n  \"wallet_id\" INT NOT NULL,\n  \"amount\" TEXT NOT NULL,\n  \"type\" TEXT NOT NULL,\n  \"description\" VARCHAR(255),\n  \"balance\" TEXT DEFAULT '0.000',\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"wallet_id\") REFERENCES \"wallets\"(\"id\")\n);\n",
                    "pgsql": "CREATE TABLE \"wallet_transactions\" (\n  \"id\" INTEGER NOT NULL,\n  \"uuid\" TEXT DEFAULT 'uuid()',\n  \"wallet_id\" INTEGER NOT NULL,\n  \"amount\" TEXT NOT NULL,\n  \"type\" TEXT NOT NULL,\n  \"description\" VARCHAR(255),\n  \"balance\" TEXT DEFAULT '0.000',\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"wallet_id\") REFERENCES \"wallets\"(\"id\")\n);\n"
                }
            },
            "wallets": {
                "name": "wallets",
                "columns": {
                    "id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "user_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "balance": {
                        "type": "decimal(12,3)",
                        "null": "YES",
                        "key": "",
                        "default": "0.000"
                    },
                    "blocked": {
                        "type": "decimal(12,3)",
                        "null": "YES",
                        "key": "",
                        "default": "0.000"
                    },
                    "type": {
                        "type": "enum('toman','coin')",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "created_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "updated_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "id"
                    ],
                    "wallets_user_id_foreign": [
                        "user_id"
                    ]
                },
                "foreign_keys": [
                    {
                        "name": "wallets_user_id_foreign",
                        "column_name": "user_id",
                        "referenced_table": "users",
                        "referenced_column": "id"
                    }
                ],
                "sql_schemas": {
                    "native": "CREATE TABLE `wallets` (\n  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n  `user_id` bigint(20) unsigned NOT NULL,\n  `balance` decimal(12,3) DEFAULT 0.000,\n  `blocked` decimal(12,3) DEFAULT 0.000,\n  `type` enum('toman','coin') NOT NULL,\n  `created_at` timestamp NULL DEFAULT NULL,\n  `updated_at` timestamp NULL DEFAULT NULL,\n  PRIMARY KEY (`id`),\n  KEY `wallets_user_id_foreign` (`user_id`),\n  CONSTRAINT `wallets_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE\n) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"wallets\" (\n  \"id\" INTEGER NOT NULL,\n  \"user_id\" INTEGER NOT NULL,\n  \"balance\" TEXT DEFAULT '0.000',\n  \"blocked\" TEXT DEFAULT '0.000',\n  \"type\" TEXT NOT NULL,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"user_id\") REFERENCES \"users\"(\"id\")\n);\n",
                    "mysql": "CREATE TABLE \"wallets\" (\n  \"id\" INT NOT NULL,\n  \"user_id\" INT NOT NULL,\n  \"balance\" TEXT DEFAULT '0.000',\n  \"blocked\" TEXT DEFAULT '0.000',\n  \"type\" TEXT NOT NULL,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"user_id\") REFERENCES \"users\"(\"id\")\n);\n",
                    "pgsql": "CREATE TABLE \"wallets\" (\n  \"id\" INTEGER NOT NULL,\n  \"user_id\" INTEGER NOT NULL,\n  \"balance\" TEXT DEFAULT '0.000',\n  \"blocked\" TEXT DEFAULT '0.000',\n  \"type\" TEXT NOT NULL,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"user_id\") REFERENCES \"users\"(\"id\")\n);\n"
                }
            },
            "warehouse_inventories": {
                "name": "warehouse_inventories",
                "columns": {
                    "id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "warehouse_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "product_inventory_id": {
                        "type": "bigint(20) unsigned",
                        "null": "YES",
                        "key": "MUL",
                        "default": null
                    },
                    "product_inventory_variant_id": {
                        "type": "bigint(20) unsigned",
                        "null": "YES",
                        "key": "MUL",
                        "default": null
                    },
                    "sku": {
                        "type": "varchar(64)",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "qty_on_hand": {
                        "type": "int(10) unsigned",
                        "null": "NO",
                        "key": "",
                        "default": "0"
                    },
                    "qty_reserved": {
                        "type": "int(10) unsigned",
                        "null": "NO",
                        "key": "",
                        "default": "0"
                    },
                    "min_qty": {
                        "type": "int(10) unsigned",
                        "null": "NO",
                        "key": "",
                        "default": "0"
                    },
                    "max_qty": {
                        "type": "int(10) unsigned",
                        "null": "NO",
                        "key": "",
                        "default": "0"
                    },
                    "created_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "updated_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "id"
                    ],
                    "warehouse_inventories_warehouse_id_foreign": [
                        "warehouse_id"
                    ],
                    "warehouse_inventories_product_inventory_id_foreign": [
                        "product_inventory_id"
                    ],
                    "warehouse_inventories_product_inventory_variant_id_foreign": [
                        "product_inventory_variant_id"
                    ]
                },
                "foreign_keys": [
                    {
                        "name": "warehouse_inventories_product_inventory_id_foreign",
                        "column_name": "product_inventory_id",
                        "referenced_table": "product_inventories",
                        "referenced_column": "id"
                    },
                    {
                        "name": "warehouse_inventories_product_inventory_variant_id_foreign",
                        "column_name": "product_inventory_variant_id",
                        "referenced_table": "product_inventory_variants",
                        "referenced_column": "id"
                    },
                    {
                        "name": "warehouse_inventories_warehouse_id_foreign",
                        "column_name": "warehouse_id",
                        "referenced_table": "warehouses",
                        "referenced_column": "id"
                    }
                ],
                "sql_schemas": {
                    "native": "CREATE TABLE `warehouse_inventories` (\n  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n  `warehouse_id` bigint(20) unsigned NOT NULL,\n  `product_inventory_id` bigint(20) unsigned DEFAULT NULL,\n  `product_inventory_variant_id` bigint(20) unsigned DEFAULT NULL,\n  `sku` varchar(64) DEFAULT NULL,\n  `qty_on_hand` int(10) unsigned NOT NULL DEFAULT 0,\n  `qty_reserved` int(10) unsigned NOT NULL DEFAULT 0,\n  `min_qty` int(10) unsigned NOT NULL DEFAULT 0,\n  `max_qty` int(10) unsigned NOT NULL DEFAULT 0,\n  `created_at` timestamp NULL DEFAULT NULL,\n  `updated_at` timestamp NULL DEFAULT NULL,\n  PRIMARY KEY (`id`),\n  KEY `warehouse_inventories_warehouse_id_foreign` (`warehouse_id`),\n  KEY `warehouse_inventories_product_inventory_id_foreign` (`product_inventory_id`),\n  KEY `warehouse_inventories_product_inventory_variant_id_foreign` (`product_inventory_variant_id`),\n  CONSTRAINT `warehouse_inventories_product_inventory_id_foreign` FOREIGN KEY (`product_inventory_id`) REFERENCES `product_inventories` (`id`) ON DELETE CASCADE,\n  CONSTRAINT `warehouse_inventories_product_inventory_variant_id_foreign` FOREIGN KEY (`product_inventory_variant_id`) REFERENCES `product_inventory_variants` (`id`) ON DELETE CASCADE,\n  CONSTRAINT `warehouse_inventories_warehouse_id_foreign` FOREIGN KEY (`warehouse_id`) REFERENCES `warehouses` (`id`) ON DELETE CASCADE\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"warehouse_inventories\" (\n  \"id\" INTEGER NOT NULL,\n  \"warehouse_id\" INTEGER NOT NULL,\n  \"product_inventory_id\" INTEGER,\n  \"product_inventory_variant_id\" INTEGER,\n  \"sku\" TEXT,\n  \"qty_on_hand\" INTEGER NOT NULL DEFAULT '0',\n  \"qty_reserved\" INTEGER NOT NULL DEFAULT '0',\n  \"min_qty\" INTEGER NOT NULL DEFAULT '0',\n  \"max_qty\" INTEGER NOT NULL DEFAULT '0',\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"product_inventory_id\") REFERENCES \"product_inventories\"(\"id\"),\n  FOREIGN KEY (\"product_inventory_variant_id\") REFERENCES \"product_inventory_variants\"(\"id\"),\n  FOREIGN KEY (\"warehouse_id\") REFERENCES \"warehouses\"(\"id\")\n);\n",
                    "mysql": "CREATE TABLE \"warehouse_inventories\" (\n  \"id\" INT NOT NULL,\n  \"warehouse_id\" INT NOT NULL,\n  \"product_inventory_id\" INT,\n  \"product_inventory_variant_id\" INT,\n  \"sku\" VARCHAR(255),\n  \"qty_on_hand\" INT NOT NULL DEFAULT '0',\n  \"qty_reserved\" INT NOT NULL DEFAULT '0',\n  \"min_qty\" INT NOT NULL DEFAULT '0',\n  \"max_qty\" INT NOT NULL DEFAULT '0',\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"product_inventory_id\") REFERENCES \"product_inventories\"(\"id\"),\n  FOREIGN KEY (\"product_inventory_variant_id\") REFERENCES \"product_inventory_variants\"(\"id\"),\n  FOREIGN KEY (\"warehouse_id\") REFERENCES \"warehouses\"(\"id\")\n);\n",
                    "pgsql": "CREATE TABLE \"warehouse_inventories\" (\n  \"id\" INTEGER NOT NULL,\n  \"warehouse_id\" INTEGER NOT NULL,\n  \"product_inventory_id\" INTEGER,\n  \"product_inventory_variant_id\" INTEGER,\n  \"sku\" VARCHAR(255),\n  \"qty_on_hand\" INTEGER NOT NULL DEFAULT '0',\n  \"qty_reserved\" INTEGER NOT NULL DEFAULT '0',\n  \"min_qty\" INTEGER NOT NULL DEFAULT '0',\n  \"max_qty\" INTEGER NOT NULL DEFAULT '0',\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"product_inventory_id\") REFERENCES \"product_inventories\"(\"id\"),\n  FOREIGN KEY (\"product_inventory_variant_id\") REFERENCES \"product_inventory_variants\"(\"id\"),\n  FOREIGN KEY (\"warehouse_id\") REFERENCES \"warehouses\"(\"id\")\n);\n"
                }
            },
            "warehouses": {
                "name": "warehouses",
                "columns": {
                    "id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "PRI",
                        "default": null
                    },
                    "shop_id": {
                        "type": "bigint(20) unsigned",
                        "null": "NO",
                        "key": "MUL",
                        "default": null
                    },
                    "name": {
                        "type": "varchar(255)",
                        "null": "NO",
                        "key": "",
                        "default": null
                    },
                    "code": {
                        "type": "varchar(64)",
                        "null": "YES",
                        "key": "UNI",
                        "default": null
                    },
                    "is_active": {
                        "type": "tinyint(1)",
                        "null": "NO",
                        "key": "",
                        "default": "1"
                    },
                    "address": {
                        "type": "longtext",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "created_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    },
                    "updated_at": {
                        "type": "timestamp",
                        "null": "YES",
                        "key": "",
                        "default": null
                    }
                },
                "indexes": {
                    "PRIMARY": [
                        "id"
                    ],
                    "warehouses_code_unique": [
                        "code"
                    ],
                    "warehouses_shop_id_foreign": [
                        "shop_id"
                    ]
                },
                "foreign_keys": [
                    {
                        "name": "warehouses_shop_id_foreign",
                        "column_name": "shop_id",
                        "referenced_table": "shops",
                        "referenced_column": "id"
                    }
                ],
                "sql_schemas": {
                    "native": "CREATE TABLE `warehouses` (\n  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n  `shop_id` bigint(20) unsigned NOT NULL,\n  `name` varchar(255) NOT NULL,\n  `code` varchar(64) DEFAULT NULL,\n  `is_active` tinyint(1) NOT NULL DEFAULT 1,\n  `address` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`address`)),\n  `created_at` timestamp NULL DEFAULT NULL,\n  `updated_at` timestamp NULL DEFAULT NULL,\n  PRIMARY KEY (`id`),\n  UNIQUE KEY `warehouses_code_unique` (`code`),\n  KEY `warehouses_shop_id_foreign` (`shop_id`),\n  CONSTRAINT `warehouses_shop_id_foreign` FOREIGN KEY (`shop_id`) REFERENCES `shops` (`id`) ON DELETE CASCADE\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
                    "sqlite": "CREATE TABLE \"warehouses\" (\n  \"id\" INTEGER NOT NULL,\n  \"shop_id\" INTEGER NOT NULL,\n  \"name\" TEXT NOT NULL,\n  \"code\" TEXT,\n  \"is_active\" INTEGER NOT NULL DEFAULT '1',\n  \"address\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"shop_id\") REFERENCES \"shops\"(\"id\")\n);\n",
                    "mysql": "CREATE TABLE \"warehouses\" (\n  \"id\" INT NOT NULL,\n  \"shop_id\" INT NOT NULL,\n  \"name\" VARCHAR(255) NOT NULL,\n  \"code\" VARCHAR(255),\n  \"is_active\" INT NOT NULL DEFAULT '1',\n  \"address\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"shop_id\") REFERENCES \"shops\"(\"id\")\n);\n",
                    "pgsql": "CREATE TABLE \"warehouses\" (\n  \"id\" INTEGER NOT NULL,\n  \"shop_id\" INTEGER NOT NULL,\n  \"name\" VARCHAR(255) NOT NULL,\n  \"code\" VARCHAR(255),\n  \"is_active\" INTEGER NOT NULL DEFAULT '1',\n  \"address\" TEXT,\n  \"created_at\" TEXT,\n  \"updated_at\" TEXT,\n  FOREIGN KEY (\"shop_id\") REFERENCES \"shops\"(\"id\")\n);\n"
                }
            }
        }
    }
}