From ae78c6d1fecdc9619565a80cea78ea4bd0d4e854 Mon Sep 17 00:00:00 2001 From: Alexis Gousseau Date: Thu, 23 Feb 2023 10:15:33 +0100 Subject: [PATCH] add migrations generate from a database exported from workbench --- composer.json | 1 + composer.lock | 1586 ++++++++--------- ...000_create_password_reset_tokens_table.php | 28 - ...01_create_personal_access_tokens_table.php | 33 - .../2023_02_23_120913_create_brands_table.php | 33 + ..._02_23_120913_create_ingredients_table.php | 46 + ...02_23_120913_create_keywordables_table.php | 35 + ...023_02_23_120913_create_keywords_table.php | 36 + ...3_02_23_120913_create_packagings_table.php | 48 + ...create_process_has_process_types_table.php | 33 + ...2_23_120913_create_process_types_table.php | 32 + ...23_02_23_120913_create_processes_table.php | 47 + ...3_120913_create_product_comments_table.php | 38 + ...023_02_23_120913_create_products_table.php | 58 + ...eate_promo_distribution_networks_table.php | 34 + ..._02_23_120913_create_promo_types_table.php | 34 + .../2023_02_23_120913_create_promos_table.php | 49 + ...2023_02_23_120913_create_surveys_table.php | 43 + ... 2023_02_23_120913_create_users_table.php} | 18 +- ..._add_foreign_keys_to_ingredients_table.php | 32 + ...add_foreign_keys_to_keywordables_table.php | 32 + ...4_add_foreign_keys_to_packagings_table.php | 32 + ...eys_to_process_has_process_types_table.php | 34 + ...14_add_foreign_keys_to_processes_table.php | 32 + ...foreign_keys_to_product_comments_table.php | 32 + ...914_add_foreign_keys_to_products_table.php | 34 + ...20914_add_foreign_keys_to_promos_table.php | 38 + ...0914_add_foreign_keys_to_surveys_table.php | 32 + 28 files changed, 1620 insertions(+), 910 deletions(-) delete mode 100644 database/migrations/2014_10_12_100000_create_password_reset_tokens_table.php delete mode 100644 database/migrations/2019_12_14_000001_create_personal_access_tokens_table.php create mode 100644 database/migrations/2023_02_23_120913_create_brands_table.php create mode 100644 database/migrations/2023_02_23_120913_create_ingredients_table.php create mode 100644 database/migrations/2023_02_23_120913_create_keywordables_table.php create mode 100644 database/migrations/2023_02_23_120913_create_keywords_table.php create mode 100644 database/migrations/2023_02_23_120913_create_packagings_table.php create mode 100644 database/migrations/2023_02_23_120913_create_process_has_process_types_table.php create mode 100644 database/migrations/2023_02_23_120913_create_process_types_table.php create mode 100644 database/migrations/2023_02_23_120913_create_processes_table.php create mode 100644 database/migrations/2023_02_23_120913_create_product_comments_table.php create mode 100644 database/migrations/2023_02_23_120913_create_products_table.php create mode 100644 database/migrations/2023_02_23_120913_create_promo_distribution_networks_table.php create mode 100644 database/migrations/2023_02_23_120913_create_promo_types_table.php create mode 100644 database/migrations/2023_02_23_120913_create_promos_table.php create mode 100644 database/migrations/2023_02_23_120913_create_surveys_table.php rename database/migrations/{2014_10_12_000000_create_users_table.php => 2023_02_23_120913_create_users_table.php} (58%) create mode 100644 database/migrations/2023_02_23_120914_add_foreign_keys_to_ingredients_table.php create mode 100644 database/migrations/2023_02_23_120914_add_foreign_keys_to_keywordables_table.php create mode 100644 database/migrations/2023_02_23_120914_add_foreign_keys_to_packagings_table.php create mode 100644 database/migrations/2023_02_23_120914_add_foreign_keys_to_process_has_process_types_table.php create mode 100644 database/migrations/2023_02_23_120914_add_foreign_keys_to_processes_table.php create mode 100644 database/migrations/2023_02_23_120914_add_foreign_keys_to_product_comments_table.php create mode 100644 database/migrations/2023_02_23_120914_add_foreign_keys_to_products_table.php create mode 100644 database/migrations/2023_02_23_120914_add_foreign_keys_to_promos_table.php create mode 100644 database/migrations/2023_02_23_120914_add_foreign_keys_to_surveys_table.php diff --git a/composer.json b/composer.json index be62410..281b173 100644 --- a/composer.json +++ b/composer.json @@ -12,6 +12,7 @@ }, "require-dev": { "fakerphp/faker": "^1.9.1", + "kitloong/laravel-migrations-generator": "^6.8", "laravel/pint": "^1.0", "laravel/sail": "^1.18", "mockery/mockery": "^1.4.4", diff --git a/composer.lock b/composer.lock index 4d3ac83..a59e2ae 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "b1a27f510d8f5b1838a9f6611c1f3e02", + "content-hash": "fd2218de866ec8e889fe346453b65748", "packages": [ { "name": "brick/math", @@ -36,9 +36,7 @@ } }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], + "license": ["MIT"], "description": "Arbitrary-precision arithmetic library", "keywords": [ "Arbitrary-precision", @@ -98,9 +96,7 @@ } }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], + "license": ["MIT"], "authors": [ { "name": "Dragonfly Development Inc.", @@ -125,12 +121,7 @@ ], "description": "Given a deep data structure, access data by dot notation.", "homepage": "https://github.com/dflydev/dflydev-dot-access-data", - "keywords": [ - "access", - "data", - "dot", - "notation" - ], + "keywords": ["access", "data", "dot", "notation"], "support": { "issues": "https://github.com/dflydev/dflydev-dot-access-data/issues", "source": "https://github.com/dflydev/dflydev-dot-access-data/tree/v3.0.2" @@ -169,9 +160,7 @@ } }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], + "license": ["MIT"], "authors": [ { "name": "Guilherme Blanco", @@ -259,9 +248,7 @@ } }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], + "license": ["MIT"], "authors": [ { "name": "Guilherme Blanco", @@ -278,13 +265,7 @@ ], "description": "PHP Doctrine Lexer parser library that can be used in Top-Down, Recursive Descent Parsers.", "homepage": "https://www.doctrine-project.org/projects/lexer.html", - "keywords": [ - "annotations", - "docblock", - "lexer", - "parser", - "php" - ], + "keywords": ["annotations", "docblock", "lexer", "parser", "php"], "support": { "issues": "https://github.com/doctrine/lexer/issues", "source": "https://github.com/doctrine/lexer/tree/3.0.0" @@ -339,9 +320,7 @@ } }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], + "license": ["MIT"], "authors": [ { "name": "Chris Tankersley", @@ -350,10 +329,7 @@ } ], "description": "CRON for PHP: Calculate the next or previous run date and determine if a CRON expression is due", - "keywords": [ - "cron", - "schedule" - ], + "keywords": ["cron", "schedule"], "support": { "issues": "https://github.com/dragonmantank/cron-expression/issues", "source": "https://github.com/dragonmantank/cron-expression/tree/v3.3.2" @@ -404,9 +380,7 @@ } }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], + "license": ["MIT"], "authors": [ { "name": "Eduardo Gulias Davis" @@ -468,9 +442,7 @@ } }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], + "license": ["MIT"], "authors": [ { "name": "Fruitcake", @@ -483,11 +455,7 @@ ], "description": "Cross-origin resource sharing library for the Symfony HttpFoundation", "homepage": "https://github.com/fruitcake/php-cors", - "keywords": [ - "cors", - "laravel", - "symfony" - ], + "keywords": ["cors", "laravel", "symfony"], "support": { "issues": "https://github.com/fruitcake/php-cors/issues", "source": "https://github.com/fruitcake/php-cors/tree/v1.2.0" @@ -532,9 +500,7 @@ } }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], + "license": ["MIT"], "authors": [ { "name": "Graham Campbell", @@ -614,17 +580,13 @@ } }, "autoload": { - "files": [ - "src/functions_include.php" - ], + "files": ["src/functions_include.php"], "psr-4": { "GuzzleHttp\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], + "license": ["MIT"], "authors": [ { "name": "Graham Campbell", @@ -721,17 +683,13 @@ } }, "autoload": { - "files": [ - "src/functions_include.php" - ], + "files": ["src/functions_include.php"], "psr-4": { "GuzzleHttp\\Promise\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], + "license": ["MIT"], "authors": [ { "name": "Graham Campbell", @@ -755,9 +713,7 @@ } ], "description": "Guzzle promises library", - "keywords": [ - "promise" - ], + "keywords": ["promise"], "support": { "issues": "https://github.com/guzzle/promises/issues", "source": "https://github.com/guzzle/promises/tree/1.5.2" @@ -826,9 +782,7 @@ } }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], + "license": ["MIT"], "authors": [ { "name": "Graham Campbell", @@ -931,9 +885,7 @@ } }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], + "license": ["MIT"], "authors": [ { "name": "Graham Campbell", @@ -957,10 +909,7 @@ } ], "description": "A polyfill class for uri_template of PHP", - "keywords": [ - "guzzlehttp", - "uri-template" - ], + "keywords": ["guzzlehttp", "uri-template"], "support": { "issues": "https://github.com/guzzle/uri-template/issues", "source": "https://github.com/guzzle/uri-template/tree/v1.0.1" @@ -1160,9 +1109,7 @@ } }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], + "license": ["MIT"], "authors": [ { "name": "Taylor Otwell", @@ -1171,10 +1118,7 @@ ], "description": "The Laravel Framework.", "homepage": "https://laravel.com", - "keywords": [ - "framework", - "laravel" - ], + "keywords": ["framework", "laravel"], "support": { "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" @@ -1216,9 +1160,7 @@ } }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], + "license": ["MIT"], "authors": [ { "name": "Taylor Otwell", @@ -1230,11 +1172,7 @@ } ], "description": "Laravel Serializable Closure provides an easy and secure way to serialize closures in PHP.", - "keywords": [ - "closure", - "laravel", - "serializable" - ], + "keywords": ["closure", "laravel", "serializable"], "support": { "issues": "https://github.com/laravel/serializable-closure/issues", "source": "https://github.com/laravel/serializable-closure" @@ -1276,9 +1214,7 @@ "dev-master": "2.x-dev" }, "laravel": { - "providers": [ - "Laravel\\Tinker\\TinkerServiceProvider" - ] + "providers": ["Laravel\\Tinker\\TinkerServiceProvider"] } }, "autoload": { @@ -1287,9 +1223,7 @@ } }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], + "license": ["MIT"], "authors": [ { "name": "Taylor Otwell", @@ -1297,12 +1231,7 @@ } ], "description": "Powerful REPL for the Laravel framework.", - "keywords": [ - "REPL", - "Tinker", - "laravel", - "psysh" - ], + "keywords": ["REPL", "Tinker", "laravel", "psysh"], "support": { "issues": "https://github.com/laravel/tinker/issues", "source": "https://github.com/laravel/tinker/tree/v2.8.1" @@ -1365,9 +1294,7 @@ } }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], + "license": ["BSD-3-Clause"], "authors": [ { "name": "Colin O'Dell", @@ -1453,9 +1380,7 @@ } }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], + "license": ["BSD-3-Clause"], "authors": [ { "name": "Colin O'Dell", @@ -1545,9 +1470,7 @@ } }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], + "license": ["MIT"], "authors": [ { "name": "Frank de Jonge", @@ -1618,9 +1541,7 @@ } }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], + "license": ["MIT"], "authors": [ { "name": "Frank de Jonge", @@ -1712,9 +1633,7 @@ } }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], + "license": ["MIT"], "authors": [ { "name": "Jordi Boggiano", @@ -1724,11 +1643,7 @@ ], "description": "Sends your logs to files, sockets, inboxes, databases and various web services", "homepage": "https://github.com/Seldaek/monolog", - "keywords": [ - "log", - "logging", - "psr-3" - ], + "keywords": ["log", "logging", "psr-3"], "support": { "issues": "https://github.com/Seldaek/monolog/issues", "source": "https://github.com/Seldaek/monolog/tree/3.3.1" @@ -1779,9 +1694,7 @@ "phpunit/phpunit": "^7.5.20 || ^8.5.26 || ^9.5.20", "squizlabs/php_codesniffer": "^3.4" }, - "bin": [ - "bin/carbon" - ], + "bin": ["bin/carbon"], "type": "library", "extra": { "branch-alias": { @@ -1789,14 +1702,10 @@ "dev-master": "2.x-dev" }, "laravel": { - "providers": [ - "Carbon\\Laravel\\ServiceProvider" - ] + "providers": ["Carbon\\Laravel\\ServiceProvider"] }, "phpstan": { - "includes": [ - "extension.neon" - ] + "includes": ["extension.neon"] } }, "autoload": { @@ -1805,9 +1714,7 @@ } }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], + "license": ["MIT"], "authors": [ { "name": "Brian Nesbitt", @@ -1821,11 +1728,7 @@ ], "description": "An API extension for DateTime that supports 281 different languages.", "homepage": "https://carbon.nesbot.com", - "keywords": [ - "date", - "datetime", - "time" - ], + "keywords": ["date", "datetime", "time"], "support": { "docs": "https://carbon.nesbot.com/docs", "issues": "https://github.com/briannesbitt/Carbon/issues", @@ -1877,16 +1780,10 @@ } }, "autoload": { - "classmap": [ - "src/" - ] + "classmap": ["src/"] }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause", - "GPL-2.0-only", - "GPL-3.0-only" - ], + "license": ["BSD-3-Clause", "GPL-2.0-only", "GPL-3.0-only"], "authors": [ { "name": "David Grudl", @@ -1899,10 +1796,7 @@ ], "description": "📐 Nette Schema: validating data structures against a given Schema.", "homepage": "https://nette.org", - "keywords": [ - "config", - "nette" - ], + "keywords": ["config", "nette"], "support": { "issues": "https://github.com/nette/schema/issues", "source": "https://github.com/nette/schema/tree/v1.2.3" @@ -1952,16 +1846,10 @@ } }, "autoload": { - "classmap": [ - "src/" - ] + "classmap": ["src/"] }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause", - "GPL-2.0-only", - "GPL-3.0-only" - ], + "license": ["BSD-3-Clause", "GPL-2.0-only", "GPL-3.0-only"], "authors": [ { "name": "David Grudl", @@ -2018,9 +1906,7 @@ "ircmaxell/php-yacc": "^0.0.7", "phpunit/phpunit": "^6.5 || ^7.0 || ^8.0 || ^9.0" }, - "bin": [ - "bin/php-parse" - ], + "bin": ["bin/php-parse"], "type": "library", "extra": { "branch-alias": { @@ -2033,19 +1919,14 @@ } }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], + "license": ["BSD-3-Clause"], "authors": [ { "name": "Nikita Popov" } ], "description": "A PHP parser written in PHP", - "keywords": [ - "parser", - "php" - ], + "keywords": ["parser", "php"], "support": { "issues": "https://github.com/nikic/PHP-Parser/issues", "source": "https://github.com/nikic/PHP-Parser/tree/v4.15.3" @@ -2086,23 +1967,17 @@ "type": "library", "extra": { "laravel": { - "providers": [ - "Termwind\\Laravel\\TermwindServiceProvider" - ] + "providers": ["Termwind\\Laravel\\TermwindServiceProvider"] } }, "autoload": { - "files": [ - "src/Functions.php" - ], + "files": ["src/Functions.php"], "psr-4": { "Termwind\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], + "license": ["MIT"], "authors": [ { "name": "Nuno Maduro", @@ -2110,14 +1985,7 @@ } ], "description": "Its like Tailwind CSS, but for the console.", - "keywords": [ - "cli", - "console", - "css", - "package", - "php", - "style" - ], + "keywords": ["cli", "console", "css", "package", "php", "style"], "support": { "issues": "https://github.com/nunomaduro/termwind/issues", "source": "https://github.com/nunomaduro/termwind/tree/v1.15.1" @@ -2175,9 +2043,7 @@ } }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "Apache-2.0" - ], + "license": ["Apache-2.0"], "authors": [ { "name": "Johannes M. Schmitt", @@ -2191,12 +2057,7 @@ } ], "description": "Option Type for PHP", - "keywords": [ - "language", - "option", - "php", - "type" - ], + "keywords": ["language", "option", "php", "type"], "support": { "issues": "https://github.com/schmittjoh/php-option/issues", "source": "https://github.com/schmittjoh/php-option/tree/1.9.0" @@ -2242,9 +2103,7 @@ } }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], + "license": ["MIT"], "authors": [ { "name": "PHP-FIG", @@ -2295,9 +2154,7 @@ } }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], + "license": ["MIT"], "authors": [ { "name": "PHP-FIG", @@ -2305,11 +2162,7 @@ } ], "description": "Standard interfaces for event handling.", - "keywords": [ - "events", - "psr", - "psr-14" - ], + "keywords": ["events", "psr", "psr-14"], "support": { "issues": "https://github.com/php-fig/event-dispatcher/issues", "source": "https://github.com/php-fig/event-dispatcher/tree/1.0.0" @@ -2346,9 +2199,7 @@ } }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], + "license": ["MIT"], "authors": [ { "name": "PHP-FIG", @@ -2357,12 +2208,7 @@ ], "description": "Common interface for HTTP clients", "homepage": "https://github.com/php-fig/http-client", - "keywords": [ - "http", - "http-client", - "psr", - "psr-18" - ], + "keywords": ["http", "http-client", "psr", "psr-18"], "support": { "source": "https://github.com/php-fig/http-client/tree/master" }, @@ -2398,9 +2244,7 @@ } }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], + "license": ["MIT"], "authors": [ { "name": "PHP-FIG", @@ -2452,9 +2296,7 @@ } }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], + "license": ["MIT"], "authors": [ { "name": "PHP-FIG", @@ -2505,9 +2347,7 @@ } }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], + "license": ["MIT"], "authors": [ { "name": "PHP-FIG", @@ -2516,11 +2356,7 @@ ], "description": "Common interface for logging libraries", "homepage": "https://github.com/php-fig/log", - "keywords": [ - "log", - "psr", - "psr-3" - ], + "keywords": ["log", "psr", "psr-3"], "support": { "source": "https://github.com/php-fig/log/tree/3.0.0" }, @@ -2555,9 +2391,7 @@ } }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], + "license": ["MIT"], "authors": [ { "name": "PHP-FIG", @@ -2565,13 +2399,7 @@ } ], "description": "Common interfaces for simple caching", - "keywords": [ - "cache", - "caching", - "psr", - "psr-16", - "simple-cache" - ], + "keywords": ["cache", "caching", "psr", "psr-16", "simple-cache"], "support": { "source": "https://github.com/php-fig/simple-cache/tree/3.0.0" }, @@ -2611,9 +2439,7 @@ "ext-posix": "If you have PCNTL, you'll want the POSIX extension as well.", "ext-readline": "Enables support for arrow-key history navigation, and showing and manipulating command history." }, - "bin": [ - "bin/psysh" - ], + "bin": ["bin/psysh"], "type": "library", "extra": { "branch-alias": { @@ -2621,17 +2447,13 @@ } }, "autoload": { - "files": [ - "src/functions.php" - ], + "files": ["src/functions.php"], "psr-4": { "Psy\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], + "license": ["MIT"], "authors": [ { "name": "Justin Hileman", @@ -2641,12 +2463,7 @@ ], "description": "An interactive shell for modern PHP.", "homepage": "http://psysh.org", - "keywords": [ - "REPL", - "console", - "interactive", - "shell" - ], + "keywords": ["REPL", "console", "interactive", "shell"], "support": { "issues": "https://github.com/bobthecow/psysh/issues", "source": "https://github.com/bobthecow/psysh/tree/v0.11.12" @@ -2676,14 +2493,10 @@ }, "type": "library", "autoload": { - "files": [ - "src/getallheaders.php" - ] + "files": ["src/getallheaders.php"] }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], + "license": ["MIT"], "authors": [ { "name": "Ralph Khattar", @@ -2751,9 +2564,7 @@ } }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], + "license": ["MIT"], "authors": [ { "name": "Ben Ramsey", @@ -2762,14 +2573,7 @@ } ], "description": "A PHP library for representing and manipulating collections.", - "keywords": [ - "array", - "collection", - "hash", - "map", - "queue", - "set" - ], + "keywords": ["array", "collection", "hash", "map", "queue", "set"], "support": { "issues": "https://github.com/ramsey/collection/issues", "source": "https://github.com/ramsey/collection/tree/2.0.0" @@ -2845,23 +2649,15 @@ } }, "autoload": { - "files": [ - "src/functions.php" - ], + "files": ["src/functions.php"], "psr-4": { "Ramsey\\Uuid\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], + "license": ["MIT"], "description": "A PHP library for generating and working with universally unique identifiers (UUIDs).", - "keywords": [ - "guid", - "identifier", - "uuid" - ], + "keywords": ["guid", "identifier", "uuid"], "support": { "issues": "https://github.com/ramsey/uuid/issues", "source": "https://github.com/ramsey/uuid/tree/4.7.3" @@ -2929,14 +2725,10 @@ "psr-4": { "Symfony\\Component\\Console\\": "" }, - "exclude-from-classmap": [ - "/Tests/" - ] + "exclude-from-classmap": ["/Tests/"] }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], + "license": ["MIT"], "authors": [ { "name": "Fabien Potencier", @@ -2949,12 +2741,7 @@ ], "description": "Eases the creation of beautiful and testable command line interfaces", "homepage": "https://symfony.com", - "keywords": [ - "cli", - "command line", - "console", - "terminal" - ], + "keywords": ["cli", "command line", "console", "terminal"], "support": { "source": "https://github.com/symfony/console/tree/v6.2.5" }, @@ -2996,14 +2783,10 @@ "psr-4": { "Symfony\\Component\\CssSelector\\": "" }, - "exclude-from-classmap": [ - "/Tests/" - ] + "exclude-from-classmap": ["/Tests/"] }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], + "license": ["MIT"], "authors": [ { "name": "Fabien Potencier", @@ -3067,14 +2850,10 @@ } }, "autoload": { - "files": [ - "function.php" - ] + "files": ["function.php"] }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], + "license": ["MIT"], "authors": [ { "name": "Nicolas Grekas", @@ -3130,22 +2909,16 @@ "symfony/http-kernel": "^5.4|^6.0", "symfony/serializer": "^5.4|^6.0" }, - "bin": [ - "Resources/bin/patch-type-declarations" - ], + "bin": ["Resources/bin/patch-type-declarations"], "type": "library", "autoload": { "psr-4": { "Symfony\\Component\\ErrorHandler\\": "" }, - "exclude-from-classmap": [ - "/Tests/" - ] + "exclude-from-classmap": ["/Tests/"] }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], + "license": ["MIT"], "authors": [ { "name": "Fabien Potencier", @@ -3221,14 +2994,10 @@ "psr-4": { "Symfony\\Component\\EventDispatcher\\": "" }, - "exclude-from-classmap": [ - "/Tests/" - ] + "exclude-from-classmap": ["/Tests/"] }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], + "license": ["MIT"], "authors": [ { "name": "Fabien Potencier", @@ -3297,9 +3066,7 @@ } }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], + "license": ["MIT"], "authors": [ { "name": "Nicolas Grekas", @@ -3364,14 +3131,10 @@ "psr-4": { "Symfony\\Component\\Finder\\": "" }, - "exclude-from-classmap": [ - "/Tests/" - ] + "exclude-from-classmap": ["/Tests/"] }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], + "license": ["MIT"], "authors": [ { "name": "Fabien Potencier", @@ -3442,14 +3205,10 @@ "psr-4": { "Symfony\\Component\\HttpFoundation\\": "" }, - "exclude-from-classmap": [ - "/Tests/" - ] + "exclude-from-classmap": ["/Tests/"] }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], + "license": ["MIT"], "authors": [ { "name": "Fabien Potencier", @@ -3553,14 +3312,10 @@ "psr-4": { "Symfony\\Component\\HttpKernel\\": "" }, - "exclude-from-classmap": [ - "/Tests/" - ] + "exclude-from-classmap": ["/Tests/"] }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], + "license": ["MIT"], "authors": [ { "name": "Fabien Potencier", @@ -3632,14 +3387,10 @@ "psr-4": { "Symfony\\Component\\Mailer\\": "" }, - "exclude-from-classmap": [ - "/Tests/" - ] + "exclude-from-classmap": ["/Tests/"] }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], + "license": ["MIT"], "authors": [ { "name": "Fabien Potencier", @@ -3711,14 +3462,10 @@ "psr-4": { "Symfony\\Component\\Mime\\": "" }, - "exclude-from-classmap": [ - "/Tests/" - ] + "exclude-from-classmap": ["/Tests/"] }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], + "license": ["MIT"], "authors": [ { "name": "Fabien Potencier", @@ -3731,10 +3478,7 @@ ], "description": "Allows manipulating MIME messages", "homepage": "https://symfony.com", - "keywords": [ - "mime", - "mime-type" - ], + "keywords": ["mime", "mime-type"], "support": { "source": "https://github.com/symfony/mime/tree/v6.2.5" }, @@ -3788,17 +3532,13 @@ } }, "autoload": { - "files": [ - "bootstrap.php" - ], + "files": ["bootstrap.php"], "psr-4": { "Symfony\\Polyfill\\Ctype\\": "" } }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], + "license": ["MIT"], "authors": [ { "name": "Gert de Pagter", @@ -3811,12 +3551,7 @@ ], "description": "Symfony polyfill for ctype functions", "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], + "keywords": ["compatibility", "ctype", "polyfill", "portable"], "support": { "source": "https://github.com/symfony/polyfill-ctype/tree/v1.27.0" }, @@ -3867,17 +3602,13 @@ } }, "autoload": { - "files": [ - "bootstrap.php" - ], + "files": ["bootstrap.php"], "psr-4": { "Symfony\\Polyfill\\Intl\\Grapheme\\": "" } }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], + "license": ["MIT"], "authors": [ { "name": "Nicolas Grekas", @@ -3950,17 +3681,13 @@ } }, "autoload": { - "files": [ - "bootstrap.php" - ], + "files": ["bootstrap.php"], "psr-4": { "Symfony\\Polyfill\\Intl\\Idn\\": "" } }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], + "license": ["MIT"], "authors": [ { "name": "Laurent Bassin", @@ -4035,20 +3762,14 @@ } }, "autoload": { - "files": [ - "bootstrap.php" - ], + "files": ["bootstrap.php"], "psr-4": { "Symfony\\Polyfill\\Intl\\Normalizer\\": "" }, - "classmap": [ - "Resources/stubs" - ] + "classmap": ["Resources/stubs"] }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], + "license": ["MIT"], "authors": [ { "name": "Nicolas Grekas", @@ -4122,17 +3843,13 @@ } }, "autoload": { - "files": [ - "bootstrap.php" - ], + "files": ["bootstrap.php"], "psr-4": { "Symfony\\Polyfill\\Mbstring\\": "" } }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], + "license": ["MIT"], "authors": [ { "name": "Nicolas Grekas", @@ -4199,17 +3916,13 @@ } }, "autoload": { - "files": [ - "bootstrap.php" - ], + "files": ["bootstrap.php"], "psr-4": { "Symfony\\Polyfill\\Php72\\": "" } }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], + "license": ["MIT"], "authors": [ { "name": "Nicolas Grekas", @@ -4222,12 +3935,7 @@ ], "description": "Symfony polyfill backporting some PHP 7.2+ features to lower PHP versions", "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "polyfill", - "portable", - "shim" - ], + "keywords": ["compatibility", "polyfill", "portable", "shim"], "support": { "source": "https://github.com/symfony/polyfill-php72/tree/v1.27.0" }, @@ -4275,20 +3983,14 @@ } }, "autoload": { - "files": [ - "bootstrap.php" - ], + "files": ["bootstrap.php"], "psr-4": { "Symfony\\Polyfill\\Php80\\": "" }, - "classmap": [ - "Resources/stubs" - ] + "classmap": ["Resources/stubs"] }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], + "license": ["MIT"], "authors": [ { "name": "Ion Bazan", @@ -4305,12 +4007,7 @@ ], "description": "Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions", "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "polyfill", - "portable", - "shim" - ], + "keywords": ["compatibility", "polyfill", "portable", "shim"], "support": { "source": "https://github.com/symfony/polyfill-php80/tree/v1.27.0" }, @@ -4364,17 +4061,13 @@ } }, "autoload": { - "files": [ - "bootstrap.php" - ], + "files": ["bootstrap.php"], "psr-4": { "Symfony\\Polyfill\\Uuid\\": "" } }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], + "license": ["MIT"], "authors": [ { "name": "Grégoire Pineau", @@ -4387,12 +4080,7 @@ ], "description": "Symfony polyfill for uuid functions", "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "polyfill", - "portable", - "uuid" - ], + "keywords": ["compatibility", "polyfill", "portable", "uuid"], "support": { "source": "https://github.com/symfony/polyfill-uuid/tree/v1.27.0" }, @@ -4434,14 +4122,10 @@ "psr-4": { "Symfony\\Component\\Process\\": "" }, - "exclude-from-classmap": [ - "/Tests/" - ] + "exclude-from-classmap": ["/Tests/"] }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], + "license": ["MIT"], "authors": [ { "name": "Fabien Potencier", @@ -4516,14 +4200,10 @@ "psr-4": { "Symfony\\Component\\Routing\\": "" }, - "exclude-from-classmap": [ - "/Tests/" - ] + "exclude-from-classmap": ["/Tests/"] }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], + "license": ["MIT"], "authors": [ { "name": "Fabien Potencier", @@ -4536,12 +4216,7 @@ ], "description": "Maps an HTTP request to a set of configuration variables", "homepage": "https://symfony.com", - "keywords": [ - "router", - "routing", - "uri", - "url" - ], + "keywords": ["router", "routing", "uri", "url"], "support": { "source": "https://github.com/symfony/routing/tree/v6.2.5" }, @@ -4599,14 +4274,10 @@ "psr-4": { "Symfony\\Contracts\\Service\\": "" }, - "exclude-from-classmap": [ - "/Test/" - ] + "exclude-from-classmap": ["/Test/"] }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], + "license": ["MIT"], "authors": [ { "name": "Nicolas Grekas", @@ -4679,20 +4350,14 @@ }, "type": "library", "autoload": { - "files": [ - "Resources/functions.php" - ], + "files": ["Resources/functions.php"], "psr-4": { "Symfony\\Component\\String\\": "" }, - "exclude-from-classmap": [ - "/Tests/" - ] + "exclude-from-classmap": ["/Tests/"] }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], + "license": ["MIT"], "authors": [ { "name": "Nicolas Grekas", @@ -4785,20 +4450,14 @@ }, "type": "library", "autoload": { - "files": [ - "Resources/functions.php" - ], + "files": ["Resources/functions.php"], "psr-4": { "Symfony\\Component\\Translation\\": "" }, - "exclude-from-classmap": [ - "/Tests/" - ] + "exclude-from-classmap": ["/Tests/"] }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], + "license": ["MIT"], "authors": [ { "name": "Fabien Potencier", @@ -4864,14 +4523,10 @@ "psr-4": { "Symfony\\Contracts\\Translation\\": "" }, - "exclude-from-classmap": [ - "/Test/" - ] + "exclude-from-classmap": ["/Test/"] }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], + "license": ["MIT"], "authors": [ { "name": "Nicolas Grekas", @@ -4937,14 +4592,10 @@ "psr-4": { "Symfony\\Component\\Uid\\": "" }, - "exclude-from-classmap": [ - "/Tests/" - ] + "exclude-from-classmap": ["/Tests/"] }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], + "license": ["MIT"], "authors": [ { "name": "Grégoire Pineau", @@ -4961,11 +4612,7 @@ ], "description": "Provides an object-oriented API to generate and represent UIDs", "homepage": "https://symfony.com", - "keywords": [ - "UID", - "ulid", - "uuid" - ], + "keywords": ["UID", "ulid", "uuid"], "support": { "source": "https://github.com/symfony/uid/tree/v6.2.5" }, @@ -5019,25 +4666,17 @@ "ext-intl": "To show region name in time zone dump", "symfony/console": "To use the ServerDumpCommand and/or the bin/var-dump-server script" }, - "bin": [ - "Resources/bin/var-dump-server" - ], + "bin": ["Resources/bin/var-dump-server"], "type": "library", "autoload": { - "files": [ - "Resources/functions/dump.php" - ], + "files": ["Resources/functions/dump.php"], "psr-4": { "Symfony\\Component\\VarDumper\\": "" }, - "exclude-from-classmap": [ - "/Tests/" - ] + "exclude-from-classmap": ["/Tests/"] }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], + "license": ["MIT"], "authors": [ { "name": "Nicolas Grekas", @@ -5050,10 +4689,7 @@ ], "description": "Provides mechanisms for walking through any arbitrary PHP variable", "homepage": "https://symfony.com", - "keywords": [ - "debug", - "dump" - ], + "keywords": ["debug", "dump"], "support": { "source": "https://github.com/symfony/var-dumper/tree/v6.2.5" }, @@ -5108,9 +4744,7 @@ } }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], + "license": ["BSD-3-Clause"], "authors": [ { "name": "Tijs Verkoyen", @@ -5173,9 +4807,7 @@ } }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], + "license": ["BSD-3-Clause"], "authors": [ { "name": "Graham Campbell", @@ -5189,11 +4821,7 @@ } ], "description": "Loads environment variables from `.env` to `getenv()`, `$_ENV` and `$_SERVER` automagically.", - "keywords": [ - "dotenv", - "env", - "environment" - ], + "keywords": ["dotenv", "env", "environment"], "support": { "issues": "https://github.com/vlucas/phpdotenv/issues", "source": "https://github.com/vlucas/phpdotenv/tree/v5.5.0" @@ -5240,9 +4868,7 @@ } }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], + "license": ["MIT"], "authors": [ { "name": "Lars Moelleken", @@ -5251,11 +4877,7 @@ ], "description": "Portable ASCII library - performance optimized (ascii) string functions for php.", "homepage": "https://github.com/voku/portable-ascii", - "keywords": [ - "ascii", - "clean", - "php" - ], + "keywords": ["ascii", "clean", "php"], "support": { "issues": "https://github.com/voku/portable-ascii/issues", "source": "https://github.com/voku/portable-ascii/tree/2.0.1" @@ -5321,9 +4943,7 @@ } }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], + "license": ["MIT"], "authors": [ { "name": "Bernhard Schussek", @@ -5331,11 +4951,7 @@ } ], "description": "Assertions to validate method input/output with nice error messages.", - "keywords": [ - "assert", - "check", - "validate" - ], + "keywords": ["assert", "check", "validate"], "support": { "issues": "https://github.com/webmozarts/assert/issues", "source": "https://github.com/webmozarts/assert/tree/1.11.0" @@ -5344,6 +4960,335 @@ } ], "packages-dev": [ + { + "name": "doctrine/cache", + "version": "2.2.0", + "source": { + "type": "git", + "url": "https://github.com/doctrine/cache.git", + "reference": "1ca8f21980e770095a31456042471a57bc4c68fb" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/doctrine/cache/zipball/1ca8f21980e770095a31456042471a57bc4c68fb", + "reference": "1ca8f21980e770095a31456042471a57bc4c68fb", + "shasum": "" + }, + "require": { + "php": "~7.1 || ^8.0" + }, + "conflict": { + "doctrine/common": ">2.2,<2.4" + }, + "require-dev": { + "cache/integration-tests": "dev-master", + "doctrine/coding-standard": "^9", + "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", + "psr/cache": "^1.0 || ^2.0 || ^3.0", + "symfony/cache": "^4.4 || ^5.4 || ^6", + "symfony/var-exporter": "^4.4 || ^5.4 || ^6" + }, + "type": "library", + "autoload": { + "psr-4": { + "Doctrine\\Common\\Cache\\": "lib/Doctrine/Common/Cache" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": ["MIT"], + "authors": [ + { + "name": "Guilherme Blanco", + "email": "guilhermeblanco@gmail.com" + }, + { + "name": "Roman Borschel", + "email": "roman@code-factory.org" + }, + { + "name": "Benjamin Eberlei", + "email": "kontakt@beberlei.de" + }, + { + "name": "Jonathan Wage", + "email": "jonwage@gmail.com" + }, + { + "name": "Johannes Schmitt", + "email": "schmittjoh@gmail.com" + } + ], + "description": "PHP Doctrine Cache library is a popular cache implementation that supports many different drivers such as redis, memcache, apc, mongodb and others.", + "homepage": "https://www.doctrine-project.org/projects/cache.html", + "keywords": [ + "abstraction", + "apcu", + "cache", + "caching", + "couchdb", + "memcached", + "php", + "redis", + "xcache" + ], + "support": { + "issues": "https://github.com/doctrine/cache/issues", + "source": "https://github.com/doctrine/cache/tree/2.2.0" + }, + "funding": [ + { + "url": "https://www.doctrine-project.org/sponsorship.html", + "type": "custom" + }, + { + "url": "https://www.patreon.com/phpdoctrine", + "type": "patreon" + }, + { + "url": "https://tidelift.com/funding/github/packagist/doctrine%2Fcache", + "type": "tidelift" + } + ], + "time": "2022-05-20T20:07:39+00:00" + }, + { + "name": "doctrine/dbal", + "version": "3.6.0", + "source": { + "type": "git", + "url": "https://github.com/doctrine/dbal.git", + "reference": "85b98cb23c8af471a67abfe14485da696bcabc2e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/doctrine/dbal/zipball/85b98cb23c8af471a67abfe14485da696bcabc2e", + "reference": "85b98cb23c8af471a67abfe14485da696bcabc2e", + "shasum": "" + }, + "require": { + "composer-runtime-api": "^2", + "doctrine/cache": "^1.11|^2.0", + "doctrine/deprecations": "^0.5.3|^1", + "doctrine/event-manager": "^1|^2", + "php": "^7.4 || ^8.0", + "psr/cache": "^1|^2|^3", + "psr/log": "^1|^2|^3" + }, + "require-dev": { + "doctrine/coding-standard": "11.1.0", + "fig/log-test": "^1", + "jetbrains/phpstorm-stubs": "2022.3", + "phpstan/phpstan": "1.9.14", + "phpstan/phpstan-strict-rules": "^1.4", + "phpunit/phpunit": "9.6.3", + "psalm/plugin-phpunit": "0.18.4", + "squizlabs/php_codesniffer": "3.7.1", + "symfony/cache": "^5.4|^6.0", + "symfony/console": "^4.4|^5.4|^6.0", + "vimeo/psalm": "4.30.0" + }, + "suggest": { + "symfony/console": "For helpful console commands such as SQL execution and import of files." + }, + "bin": ["bin/doctrine-dbal"], + "type": "library", + "autoload": { + "psr-4": { + "Doctrine\\DBAL\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": ["MIT"], + "authors": [ + { + "name": "Guilherme Blanco", + "email": "guilhermeblanco@gmail.com" + }, + { + "name": "Roman Borschel", + "email": "roman@code-factory.org" + }, + { + "name": "Benjamin Eberlei", + "email": "kontakt@beberlei.de" + }, + { + "name": "Jonathan Wage", + "email": "jonwage@gmail.com" + } + ], + "description": "Powerful PHP database abstraction layer (DBAL) with many features for database schema introspection and management.", + "homepage": "https://www.doctrine-project.org/projects/dbal.html", + "keywords": [ + "abstraction", + "database", + "db2", + "dbal", + "mariadb", + "mssql", + "mysql", + "oci8", + "oracle", + "pdo", + "pgsql", + "postgresql", + "queryobject", + "sasql", + "sql", + "sqlite", + "sqlserver", + "sqlsrv" + ], + "support": { + "issues": "https://github.com/doctrine/dbal/issues", + "source": "https://github.com/doctrine/dbal/tree/3.6.0" + }, + "funding": [ + { + "url": "https://www.doctrine-project.org/sponsorship.html", + "type": "custom" + }, + { + "url": "https://www.patreon.com/phpdoctrine", + "type": "patreon" + }, + { + "url": "https://tidelift.com/funding/github/packagist/doctrine%2Fdbal", + "type": "tidelift" + } + ], + "time": "2023-02-07T22:52:03+00:00" + }, + { + "name": "doctrine/deprecations", + "version": "v1.0.0", + "source": { + "type": "git", + "url": "https://github.com/doctrine/deprecations.git", + "reference": "0e2a4f1f8cdfc7a92ec3b01c9334898c806b30de" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/doctrine/deprecations/zipball/0e2a4f1f8cdfc7a92ec3b01c9334898c806b30de", + "reference": "0e2a4f1f8cdfc7a92ec3b01c9334898c806b30de", + "shasum": "" + }, + "require": { + "php": "^7.1|^8.0" + }, + "require-dev": { + "doctrine/coding-standard": "^9", + "phpunit/phpunit": "^7.5|^8.5|^9.5", + "psr/log": "^1|^2|^3" + }, + "suggest": { + "psr/log": "Allows logging deprecations via PSR-3 logger implementation" + }, + "type": "library", + "autoload": { + "psr-4": { + "Doctrine\\Deprecations\\": "lib/Doctrine/Deprecations" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": ["MIT"], + "description": "A small layer on top of trigger_error(E_USER_DEPRECATED) or PSR-3 logging with options to disable all deprecations or selectively for packages.", + "homepage": "https://www.doctrine-project.org/", + "support": { + "issues": "https://github.com/doctrine/deprecations/issues", + "source": "https://github.com/doctrine/deprecations/tree/v1.0.0" + }, + "time": "2022-05-02T15:47:09+00:00" + }, + { + "name": "doctrine/event-manager", + "version": "2.0.0", + "source": { + "type": "git", + "url": "https://github.com/doctrine/event-manager.git", + "reference": "750671534e0241a7c50ea5b43f67e23eb5c96f32" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/doctrine/event-manager/zipball/750671534e0241a7c50ea5b43f67e23eb5c96f32", + "reference": "750671534e0241a7c50ea5b43f67e23eb5c96f32", + "shasum": "" + }, + "require": { + "php": "^8.1" + }, + "conflict": { + "doctrine/common": "<2.9" + }, + "require-dev": { + "doctrine/coding-standard": "^10", + "phpstan/phpstan": "^1.8.8", + "phpunit/phpunit": "^9.5", + "vimeo/psalm": "^4.28" + }, + "type": "library", + "autoload": { + "psr-4": { + "Doctrine\\Common\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": ["MIT"], + "authors": [ + { + "name": "Guilherme Blanco", + "email": "guilhermeblanco@gmail.com" + }, + { + "name": "Roman Borschel", + "email": "roman@code-factory.org" + }, + { + "name": "Benjamin Eberlei", + "email": "kontakt@beberlei.de" + }, + { + "name": "Jonathan Wage", + "email": "jonwage@gmail.com" + }, + { + "name": "Johannes Schmitt", + "email": "schmittjoh@gmail.com" + }, + { + "name": "Marco Pivetta", + "email": "ocramius@gmail.com" + } + ], + "description": "The Doctrine Event Manager is a simple PHP event system that was built to be used with the various Doctrine projects.", + "homepage": "https://www.doctrine-project.org/projects/event-manager.html", + "keywords": [ + "event", + "event dispatcher", + "event manager", + "event system", + "events" + ], + "support": { + "issues": "https://github.com/doctrine/event-manager/issues", + "source": "https://github.com/doctrine/event-manager/tree/2.0.0" + }, + "funding": [ + { + "url": "https://www.doctrine-project.org/sponsorship.html", + "type": "custom" + }, + { + "url": "https://www.patreon.com/phpdoctrine", + "type": "patreon" + }, + { + "url": "https://tidelift.com/funding/github/packagist/doctrine%2Fevent-manager", + "type": "tidelift" + } + ], + "time": "2022-10-12T20:59:15+00:00" + }, { "name": "fakerphp/faker", "version": "v1.21.0", @@ -5392,20 +5337,14 @@ } }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], + "license": ["MIT"], "authors": [ { "name": "François Zaninotto" } ], "description": "Faker is a PHP library that generates fake data for you.", - "keywords": [ - "data", - "faker", - "fixtures" - ], + "keywords": ["data", "faker", "fixtures"], "support": { "issues": "https://github.com/FakerPHP/Faker/issues", "source": "https://github.com/FakerPHP/Faker/tree/v1.21.0" @@ -5451,9 +5390,7 @@ } }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], + "license": ["MIT"], "authors": [ { "name": "Filipe Dobreira", @@ -5516,24 +5453,91 @@ } }, "autoload": { - "classmap": [ - "hamcrest" - ] + "classmap": ["hamcrest"] }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], + "license": ["BSD-3-Clause"], "description": "This is the PHP port of Hamcrest Matchers", - "keywords": [ - "test" - ], + "keywords": ["test"], "support": { "issues": "https://github.com/hamcrest/hamcrest-php/issues", "source": "https://github.com/hamcrest/hamcrest-php/tree/v2.0.1" }, "time": "2020-07-09T08:09:16+00:00" }, + { + "name": "kitloong/laravel-migrations-generator", + "version": "v6.8.0", + "source": { + "type": "git", + "url": "https://github.com/kitloong/laravel-migrations-generator.git", + "reference": "4486f337c2386e33eec49bf5988a041094560fe2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/kitloong/laravel-migrations-generator/zipball/4486f337c2386e33eec49bf5988a041094560fe2", + "reference": "4486f337c2386e33eec49bf5988a041094560fe2", + "shasum": "" + }, + "require": { + "doctrine/dbal": "^2.4|^3.0", + "ext-pdo": "*", + "illuminate/support": "^5.6|^6.0|^7.0|^8.0|^9.0|^10.0", + "myclabs/php-enum": "^1.6|^1.7|^1.8", + "php": ">=7.1.3" + }, + "require-dev": { + "barryvdh/laravel-ide-helper": "^2.7", + "friendsofphp/php-cs-fixer": "^2.19.0|^3.1", + "mockery/mockery": "^1.0", + "nunomaduro/larastan": "^0.4|^0.5|^0.6|^0.7|^1.0|^2.0", + "orchestra/testbench": "^3.6|^4.0|^5.0|^6.0|^7.0|^8.0", + "phpmd/phpmd": "^2.10", + "slevomat/coding-standard": "^6.0|^7.0|^8.5", + "squizlabs/php_codesniffer": "^3.5" + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "KitLoong\\MigrationsGenerator\\MigrationsGeneratorServiceProvider" + ] + } + }, + "autoload": { + "psr-4": { + "KitLoong\\MigrationsGenerator\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": ["MIT"], + "authors": [ + { + "name": "Kit Loong", + "email": "kitloong1008@gmail.com" + } + ], + "description": "Generates Laravel Migrations from an existing database", + "keywords": [ + "artisan", + "generator", + "laravel", + "lumen", + "migration", + "migrations" + ], + "support": { + "issues": "https://github.com/kitloong/laravel-migrations-generator/issues", + "source": "https://github.com/kitloong/laravel-migrations-generator/tree/v6.8.0" + }, + "funding": [ + { + "url": "https://www.buymeacoffee.com/kitloong", + "type": "custom" + } + ], + "time": "2023-02-06T15:02:31+00:00" + }, { "name": "laravel/pint", "version": "v1.6.0", @@ -5564,9 +5568,7 @@ "nunomaduro/termwind": "^1.15.1", "pestphp/pest": "^1.22.4" }, - "bin": [ - "builds/pint" - ], + "bin": ["builds/pint"], "type": "project", "autoload": { "psr-4": { @@ -5576,9 +5578,7 @@ } }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], + "license": ["MIT"], "authors": [ { "name": "Nuno Maduro", @@ -5587,13 +5587,7 @@ ], "description": "An opinionated code formatter for PHP.", "homepage": "https://laravel.com", - "keywords": [ - "format", - "formatter", - "lint", - "linter", - "php" - ], + "keywords": ["format", "formatter", "lint", "linter", "php"], "support": { "issues": "https://github.com/laravel/pint/issues", "source": "https://github.com/laravel/pint" @@ -5621,18 +5615,14 @@ "php": "^7.3|^8.0", "symfony/yaml": "^6.0" }, - "bin": [ - "bin/sail" - ], + "bin": ["bin/sail"], "type": "library", "extra": { "branch-alias": { "dev-master": "1.x-dev" }, "laravel": { - "providers": [ - "Laravel\\Sail\\SailServiceProvider" - ] + "providers": ["Laravel\\Sail\\SailServiceProvider"] } }, "autoload": { @@ -5641,9 +5631,7 @@ } }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], + "license": ["MIT"], "authors": [ { "name": "Taylor Otwell", @@ -5651,10 +5639,7 @@ } ], "description": "Docker files for running a basic Laravel application.", - "keywords": [ - "docker", - "laravel" - ], + "keywords": ["docker", "laravel"], "support": { "issues": "https://github.com/laravel/sail/issues", "source": "https://github.com/laravel/sail" @@ -5698,9 +5683,7 @@ } }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], + "license": ["BSD-3-Clause"], "authors": [ { "name": "Pádraic Brady", @@ -5761,17 +5744,13 @@ }, "type": "library", "autoload": { - "files": [ - "src/DeepCopy/deep_copy.php" - ], + "files": ["src/DeepCopy/deep_copy.php"], "psr-4": { "DeepCopy\\": "src/DeepCopy/" } }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], + "license": ["MIT"], "description": "Create deep copies (clones) of your objects", "keywords": [ "clone", @@ -5792,6 +5771,63 @@ ], "time": "2022-03-03T13:19:32+00:00" }, + { + "name": "myclabs/php-enum", + "version": "1.8.4", + "source": { + "type": "git", + "url": "https://github.com/myclabs/php-enum.git", + "reference": "a867478eae49c9f59ece437ae7f9506bfaa27483" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/myclabs/php-enum/zipball/a867478eae49c9f59ece437ae7f9506bfaa27483", + "reference": "a867478eae49c9f59ece437ae7f9506bfaa27483", + "shasum": "" + }, + "require": { + "ext-json": "*", + "php": "^7.3 || ^8.0" + }, + "require-dev": { + "phpunit/phpunit": "^9.5", + "squizlabs/php_codesniffer": "1.*", + "vimeo/psalm": "^4.6.2" + }, + "type": "library", + "autoload": { + "psr-4": { + "MyCLabs\\Enum\\": "src/" + }, + "classmap": ["stubs/Stringable.php"] + }, + "notification-url": "https://packagist.org/downloads/", + "license": ["MIT"], + "authors": [ + { + "name": "PHP Enum contributors", + "homepage": "https://github.com/myclabs/php-enum/graphs/contributors" + } + ], + "description": "PHP Enum implementation", + "homepage": "http://github.com/myclabs/php-enum", + "keywords": ["enum"], + "support": { + "issues": "https://github.com/myclabs/php-enum/issues", + "source": "https://github.com/myclabs/php-enum/tree/1.8.4" + }, + "funding": [ + { + "url": "https://github.com/mnapoli", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/myclabs/php-enum", + "type": "tidelift" + } + ], + "time": "2022-08-04T09:53:51+00:00" + }, { "name": "nunomaduro/collision", "version": "v7.0.5", @@ -5834,17 +5870,13 @@ } }, "autoload": { - "files": [ - "./src/Adapters/Phpunit/Autoload.php" - ], + "files": ["./src/Adapters/Phpunit/Autoload.php"], "psr-4": { "NunoMaduro\\Collision\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], + "license": ["MIT"], "authors": [ { "name": "Nuno Maduro", @@ -5912,14 +5944,10 @@ } }, "autoload": { - "classmap": [ - "src/" - ] + "classmap": ["src/"] }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], + "license": ["BSD-3-Clause"], "authors": [ { "name": "Arne Blankerts", @@ -5963,14 +5991,10 @@ }, "type": "library", "autoload": { - "classmap": [ - "src/" - ] + "classmap": ["src/"] }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], + "license": ["BSD-3-Clause"], "authors": [ { "name": "Arne Blankerts", @@ -6038,14 +6062,10 @@ } }, "autoload": { - "classmap": [ - "src/" - ] + "classmap": ["src/"] }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], + "license": ["BSD-3-Clause"], "authors": [ { "name": "Sebastian Bergmann", @@ -6055,11 +6075,7 @@ ], "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.", "homepage": "https://github.com/sebastianbergmann/php-code-coverage", - "keywords": [ - "coverage", - "testing", - "xunit" - ], + "keywords": ["coverage", "testing", "xunit"], "support": { "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/10.0.0" @@ -6099,14 +6115,10 @@ } }, "autoload": { - "classmap": [ - "src/" - ] + "classmap": ["src/"] }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], + "license": ["BSD-3-Clause"], "authors": [ { "name": "Sebastian Bergmann", @@ -6116,10 +6128,7 @@ ], "description": "FilterIterator implementation that filters files based on a list of suffixes.", "homepage": "https://github.com/sebastianbergmann/php-file-iterator/", - "keywords": [ - "filesystem", - "iterator" - ], + "keywords": ["filesystem", "iterator"], "support": { "issues": "https://github.com/sebastianbergmann/php-file-iterator/issues", "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/4.0.1" @@ -6163,14 +6172,10 @@ } }, "autoload": { - "classmap": [ - "src/" - ] + "classmap": ["src/"] }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], + "license": ["BSD-3-Clause"], "authors": [ { "name": "Sebastian Bergmann", @@ -6180,9 +6185,7 @@ ], "description": "Invoke callables with a timeout", "homepage": "https://github.com/sebastianbergmann/php-invoker/", - "keywords": [ - "process" - ], + "keywords": ["process"], "support": { "issues": "https://github.com/sebastianbergmann/php-invoker/issues", "source": "https://github.com/sebastianbergmann/php-invoker/tree/4.0.0" @@ -6222,14 +6225,10 @@ } }, "autoload": { - "classmap": [ - "src/" - ] + "classmap": ["src/"] }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], + "license": ["BSD-3-Clause"], "authors": [ { "name": "Sebastian Bergmann", @@ -6239,9 +6238,7 @@ ], "description": "Simple template engine.", "homepage": "https://github.com/sebastianbergmann/php-text-template/", - "keywords": [ - "template" - ], + "keywords": ["template"], "support": { "issues": "https://github.com/sebastianbergmann/php-text-template/issues", "source": "https://github.com/sebastianbergmann/php-text-template/tree/3.0.0" @@ -6281,14 +6278,10 @@ } }, "autoload": { - "classmap": [ - "src/" - ] + "classmap": ["src/"] }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], + "license": ["BSD-3-Clause"], "authors": [ { "name": "Sebastian Bergmann", @@ -6298,9 +6291,7 @@ ], "description": "Utility class for timing", "homepage": "https://github.com/sebastianbergmann/php-timer/", - "keywords": [ - "timer" - ], + "keywords": ["timer"], "support": { "issues": "https://github.com/sebastianbergmann/php-timer/issues", "source": "https://github.com/sebastianbergmann/php-timer/tree/6.0.0" @@ -6358,9 +6349,7 @@ "suggest": { "ext-soap": "*" }, - "bin": [ - "phpunit" - ], + "bin": ["phpunit"], "type": "library", "extra": { "branch-alias": { @@ -6368,17 +6357,11 @@ } }, "autoload": { - "files": [ - "src/Framework/Assert/Functions.php" - ], - "classmap": [ - "src/" - ] + "files": ["src/Framework/Assert/Functions.php"], + "classmap": ["src/"] }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], + "license": ["BSD-3-Clause"], "authors": [ { "name": "Sebastian Bergmann", @@ -6388,11 +6371,7 @@ ], "description": "The PHP Unit Testing framework.", "homepage": "https://phpunit.de/", - "keywords": [ - "phpunit", - "testing", - "xunit" - ], + "keywords": ["phpunit", "testing", "xunit"], "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", "source": "https://github.com/sebastianbergmann/phpunit/tree/10.0.11" @@ -6413,6 +6392,49 @@ ], "time": "2023-02-20T16:39:36+00:00" }, + { + "name": "psr/cache", + "version": "3.0.0", + "source": { + "type": "git", + "url": "https://github.com/php-fig/cache.git", + "reference": "aa5030cfa5405eccfdcb1083ce040c2cb8d253bf" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/cache/zipball/aa5030cfa5405eccfdcb1083ce040c2cb8d253bf", + "reference": "aa5030cfa5405eccfdcb1083ce040c2cb8d253bf", + "shasum": "" + }, + "require": { + "php": ">=8.0.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Cache\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": ["MIT"], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" + } + ], + "description": "Common interface for caching libraries", + "keywords": ["cache", "psr", "psr-6"], + "support": { + "source": "https://github.com/php-fig/cache/tree/3.0.0" + }, + "time": "2021-02-03T23:26:27+00:00" + }, { "name": "sebastian/cli-parser", "version": "2.0.0", @@ -6440,14 +6462,10 @@ } }, "autoload": { - "classmap": [ - "src/" - ] + "classmap": ["src/"] }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], + "license": ["BSD-3-Clause"], "authors": [ { "name": "Sebastian Bergmann", @@ -6496,14 +6514,10 @@ } }, "autoload": { - "classmap": [ - "src/" - ] + "classmap": ["src/"] }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], + "license": ["BSD-3-Clause"], "authors": [ { "name": "Sebastian Bergmann", @@ -6552,14 +6566,10 @@ } }, "autoload": { - "classmap": [ - "src/" - ] + "classmap": ["src/"] }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], + "license": ["BSD-3-Clause"], "authors": [ { "name": "Sebastian Bergmann", @@ -6611,14 +6621,10 @@ } }, "autoload": { - "classmap": [ - "src/" - ] + "classmap": ["src/"] }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], + "license": ["BSD-3-Clause"], "authors": [ { "name": "Sebastian Bergmann", @@ -6639,11 +6645,7 @@ ], "description": "Provides the functionality to compare PHP values for equality", "homepage": "https://github.com/sebastianbergmann/comparator", - "keywords": [ - "comparator", - "compare", - "equality" - ], + "keywords": ["comparator", "compare", "equality"], "support": { "issues": "https://github.com/sebastianbergmann/comparator/issues", "source": "https://github.com/sebastianbergmann/comparator/tree/5.0.0" @@ -6684,14 +6686,10 @@ } }, "autoload": { - "classmap": [ - "src/" - ] + "classmap": ["src/"] }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], + "license": ["BSD-3-Clause"], "authors": [ { "name": "Sebastian Bergmann", @@ -6741,14 +6739,10 @@ } }, "autoload": { - "classmap": [ - "src/" - ] + "classmap": ["src/"] }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], + "license": ["BSD-3-Clause"], "authors": [ { "name": "Sebastian Bergmann", @@ -6761,12 +6755,7 @@ ], "description": "Diff implementation", "homepage": "https://github.com/sebastianbergmann/diff", - "keywords": [ - "diff", - "udiff", - "unidiff", - "unified diff" - ], + "keywords": ["diff", "udiff", "unidiff", "unified diff"], "support": { "issues": "https://github.com/sebastianbergmann/diff/issues", "source": "https://github.com/sebastianbergmann/diff/tree/5.0.0" @@ -6809,14 +6798,10 @@ } }, "autoload": { - "classmap": [ - "src/" - ] + "classmap": ["src/"] }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], + "license": ["BSD-3-Clause"], "authors": [ { "name": "Sebastian Bergmann", @@ -6825,11 +6810,7 @@ ], "description": "Provides functionality to handle HHVM/PHP environments", "homepage": "https://github.com/sebastianbergmann/environment", - "keywords": [ - "Xdebug", - "environment", - "hhvm" - ], + "keywords": ["Xdebug", "environment", "hhvm"], "support": { "issues": "https://github.com/sebastianbergmann/environment/issues", "source": "https://github.com/sebastianbergmann/environment/tree/6.0.0" @@ -6871,14 +6852,10 @@ } }, "autoload": { - "classmap": [ - "src/" - ] + "classmap": ["src/"] }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], + "license": ["BSD-3-Clause"], "authors": [ { "name": "Sebastian Bergmann", @@ -6903,10 +6880,7 @@ ], "description": "Provides the functionality to export PHP variables for visualization", "homepage": "https://www.github.com/sebastianbergmann/exporter", - "keywords": [ - "export", - "exporter" - ], + "keywords": ["export", "exporter"], "support": { "issues": "https://github.com/sebastianbergmann/exporter/issues", "source": "https://github.com/sebastianbergmann/exporter/tree/5.0.0" @@ -6949,14 +6923,10 @@ } }, "autoload": { - "classmap": [ - "src/" - ] + "classmap": ["src/"] }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], + "license": ["BSD-3-Clause"], "authors": [ { "name": "Sebastian Bergmann", @@ -6965,9 +6935,7 @@ ], "description": "Snapshotting of global state", "homepage": "http://www.github.com/sebastianbergmann/global-state", - "keywords": [ - "global state" - ], + "keywords": ["global state"], "support": { "issues": "https://github.com/sebastianbergmann/global-state/issues", "source": "https://github.com/sebastianbergmann/global-state/tree/6.0.0" @@ -7008,14 +6976,10 @@ } }, "autoload": { - "classmap": [ - "src/" - ] + "classmap": ["src/"] }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], + "license": ["BSD-3-Clause"], "authors": [ { "name": "Sebastian Bergmann", @@ -7066,14 +7030,10 @@ } }, "autoload": { - "classmap": [ - "src/" - ] + "classmap": ["src/"] }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], + "license": ["BSD-3-Clause"], "authors": [ { "name": "Sebastian Bergmann", @@ -7121,14 +7081,10 @@ } }, "autoload": { - "classmap": [ - "src/" - ] + "classmap": ["src/"] }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], + "license": ["BSD-3-Clause"], "authors": [ { "name": "Sebastian Bergmann", @@ -7176,14 +7132,10 @@ } }, "autoload": { - "classmap": [ - "src/" - ] + "classmap": ["src/"] }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], + "license": ["BSD-3-Clause"], "authors": [ { "name": "Sebastian Bergmann", @@ -7239,14 +7191,10 @@ } }, "autoload": { - "classmap": [ - "src/" - ] + "classmap": ["src/"] }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], + "license": ["BSD-3-Clause"], "authors": [ { "name": "Sebastian Bergmann", @@ -7292,14 +7240,10 @@ } }, "autoload": { - "classmap": [ - "src/" - ] + "classmap": ["src/"] }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], + "license": ["BSD-3-Clause"], "authors": [ { "name": "Sebastian Bergmann", @@ -7350,9 +7294,7 @@ } }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], + "license": ["MIT"], "authors": [ { "name": "Freek Van de Herten", @@ -7363,10 +7305,7 @@ ], "description": "A better backtrace", "homepage": "https://github.com/spatie/backtrace", - "keywords": [ - "Backtrace", - "spatie" - ], + "keywords": ["Backtrace", "spatie"], "support": { "source": "https://github.com/spatie/backtrace/tree/1.2.2" }, @@ -7420,25 +7359,16 @@ } }, "autoload": { - "files": [ - "src/helpers.php" - ], + "files": ["src/helpers.php"], "psr-4": { "Spatie\\FlareClient\\": "src" } }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], + "license": ["MIT"], "description": "Send PHP errors to Flare", "homepage": "https://github.com/spatie/flare-client-php", - "keywords": [ - "exception", - "flare", - "reporting", - "spatie" - ], + "keywords": ["exception", "flare", "reporting", "spatie"], "support": { "issues": "https://github.com/spatie/flare-client-php/issues", "source": "https://github.com/spatie/flare-client-php/tree/1.3.5" @@ -7493,9 +7423,7 @@ } }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], + "license": ["MIT"], "authors": [ { "name": "Spatie", @@ -7505,12 +7433,7 @@ ], "description": "A beautiful error page for PHP applications.", "homepage": "https://flareapp.io/ignition", - "keywords": [ - "error", - "flare", - "laravel", - "page" - ], + "keywords": ["error", "flare", "laravel", "page"], "support": { "docs": "https://flareapp.io/docs/ignition-for-laravel/introduction", "forum": "https://twitter.com/flareappio", @@ -7574,17 +7497,13 @@ } }, "autoload": { - "files": [ - "src/helpers.php" - ], + "files": ["src/helpers.php"], "psr-4": { "Spatie\\LaravelIgnition\\": "src" } }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], + "license": ["MIT"], "authors": [ { "name": "Spatie", @@ -7594,12 +7513,7 @@ ], "description": "A beautiful error page for Laravel applications.", "homepage": "https://flareapp.io/ignition", - "keywords": [ - "error", - "flare", - "laravel", - "page" - ], + "keywords": ["error", "flare", "laravel", "page"], "support": { "docs": "https://flareapp.io/docs/ignition-for-laravel/introduction", "forum": "https://twitter.com/flareappio", @@ -7641,22 +7555,16 @@ "suggest": { "symfony/console": "For validating YAML files using the lint command" }, - "bin": [ - "Resources/bin/yaml-lint" - ], + "bin": ["Resources/bin/yaml-lint"], "type": "library", "autoload": { "psr-4": { "Symfony\\Component\\Yaml\\": "" }, - "exclude-from-classmap": [ - "/Tests/" - ] + "exclude-from-classmap": ["/Tests/"] }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], + "license": ["MIT"], "authors": [ { "name": "Fabien Potencier", @@ -7710,14 +7618,10 @@ }, "type": "library", "autoload": { - "classmap": [ - "src/" - ] + "classmap": ["src/"] }, "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], + "license": ["BSD-3-Clause"], "authors": [ { "name": "Arne Blankerts", diff --git a/database/migrations/2014_10_12_100000_create_password_reset_tokens_table.php b/database/migrations/2014_10_12_100000_create_password_reset_tokens_table.php deleted file mode 100644 index 81a7229..0000000 --- a/database/migrations/2014_10_12_100000_create_password_reset_tokens_table.php +++ /dev/null @@ -1,28 +0,0 @@ -string('email')->primary(); - $table->string('token'); - $table->timestamp('created_at')->nullable(); - }); - } - - /** - * Reverse the migrations. - */ - public function down(): void - { - Schema::dropIfExists('password_reset_tokens'); - } -}; diff --git a/database/migrations/2019_12_14_000001_create_personal_access_tokens_table.php b/database/migrations/2019_12_14_000001_create_personal_access_tokens_table.php deleted file mode 100644 index e828ad8..0000000 --- a/database/migrations/2019_12_14_000001_create_personal_access_tokens_table.php +++ /dev/null @@ -1,33 +0,0 @@ -id(); - $table->morphs('tokenable'); - $table->string('name'); - $table->string('token', 64)->unique(); - $table->text('abilities')->nullable(); - $table->timestamp('last_used_at')->nullable(); - $table->timestamp('expires_at')->nullable(); - $table->timestamps(); - }); - } - - /** - * Reverse the migrations. - */ - public function down(): void - { - Schema::dropIfExists('personal_access_tokens'); - } -}; diff --git a/database/migrations/2023_02_23_120913_create_brands_table.php b/database/migrations/2023_02_23_120913_create_brands_table.php new file mode 100644 index 0000000..6d901e7 --- /dev/null +++ b/database/migrations/2023_02_23_120913_create_brands_table.php @@ -0,0 +1,33 @@ +comment(''); + $table->bigInteger('id', true); + $table->string('brand')->comment('Nom de la marque, auto suggestion sur la table brand'); + $table->string('filter')->nullable()->comment('Champ pour gérer le filtrage des marques dans les différents select de l\'application'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('brands'); + } +}; diff --git a/database/migrations/2023_02_23_120913_create_ingredients_table.php b/database/migrations/2023_02_23_120913_create_ingredients_table.php new file mode 100644 index 0000000..95897f2 --- /dev/null +++ b/database/migrations/2023_02_23_120913_create_ingredients_table.php @@ -0,0 +1,46 @@ +comment(''); + $table->bigInteger('id', true); + $table->bigInteger('user_id')->index(); + $table->string('name')->comment('Nom du produit ou de la gamme'); + $table->string('supplier')->comment('Fournisseur'); + $table->tinyInteger('origin')->comment('Origine de l\'information (valeur de l\'enum InformationOriginEnum)'); + $table->boolean('is_sample')->unsigned()->comment('Echantillon'); + $table->tinyInteger('family')->comment('Famille Ingrédients (valeur de l\'enum FamilyIngredientEnum)'); + $table->string('packing')->nullable()->comment('Conditionnement Ingrédients - not null si family (FamilyIngredientEnum) = "Fruits et légumes" ou "Epices et aromates" - Tableau de INT des PackingIngredientEnum'); + $table->string('function')->nullable()->comment('Fonction Ingrédients - not null si family (FamilyIngredientEnum) = "Mix fonctionnel/ingrédients simples" - Tableau de INT des FunctionIngredientEnum'); + $table->text('observation')->nullable()->comment('Observations - texte libre'); + $table->string('picture')->nullable()->comment('Image de l\'ingrédient - 1 path de visuel de référence - 1 doc JPG ou JPEG (recommandé) - redimenssioner 1200x900'); + $table->string('url')->nullable()->comment('url nullable - si not null:validation URL'); + $table->text('documents')->nullable()->comment('Doc complémentaires (Annexes) - Tableau de string contenant les paths des docs uploadés associés (docs complémentaires) - 0 a 5 docs '); + $table->string('fair')->nullable()->comment('not null si origin (InformationOriginEnum) == salon'); + $table->timestamps(); + $table->softDeletes(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('ingredients'); + } +}; diff --git a/database/migrations/2023_02_23_120913_create_keywordables_table.php b/database/migrations/2023_02_23_120913_create_keywordables_table.php new file mode 100644 index 0000000..0462ba1 --- /dev/null +++ b/database/migrations/2023_02_23_120913_create_keywordables_table.php @@ -0,0 +1,35 @@ +comment(''); + $table->bigInteger('id', true); + $table->bigInteger('keyword_id')->index(); + $table->bigInteger('keywordable_id'); + $table->string('model'); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('keywordables'); + } +}; diff --git a/database/migrations/2023_02_23_120913_create_keywords_table.php b/database/migrations/2023_02_23_120913_create_keywords_table.php new file mode 100644 index 0000000..5271b5a --- /dev/null +++ b/database/migrations/2023_02_23_120913_create_keywords_table.php @@ -0,0 +1,36 @@ +comment(''); + $table->bigInteger('id', true); + $table->string('label')->comment('unique with keyword_cat'); + $table->string('keyword_cat')->comment(' unique with label (valeur de l\'enum KeywordCategoryEnum)'); + $table->timestamps(); + + $table->unique(['label', 'keyword_cat']); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('keywords'); + } +}; diff --git a/database/migrations/2023_02_23_120913_create_packagings_table.php b/database/migrations/2023_02_23_120913_create_packagings_table.php new file mode 100644 index 0000000..93d1725 --- /dev/null +++ b/database/migrations/2023_02_23_120913_create_packagings_table.php @@ -0,0 +1,48 @@ +comment(''); + $table->bigInteger('id', true); + $table->bigInteger('user_id')->index(); + $table->unsignedTinyInteger('watch_type')->comment('Type de veille (valeur de l\'enum WatchTypeEnum) (produit fini, emballage mais attention ne pas mettre "process")'); + $table->string('supplier')->comment('si watch_type (WatchTypeEnum)="produit fini" alors correspond à "Marque de produit" - si watch_type (WatchTypeEnum)= "emballage" alors correspond à "Fournisseur" '); + $table->string('name')->comment('si watch_type (WatchTypeEnum)="produit fini" alors sur front "nom du produit" - si watch_type (WatchTypeEnum)="emballage" alors sur front "emballage"'); + $table->text('product_description')->nullable()->comment('not null si watch_type (valeur de l\'enum WatchTypeEnum) = "produit fini"'); + $table->unsignedTinyInteger('origin')->comment('Origine de de l\'information (valeur de InformationOriginEnum)'); + $table->boolean('is_sample')->unsigned()->comment('Échantillon'); + $table->unsignedTinyInteger('type_packaging')->comment('Required (valeur de l\'enum TypePackagingEnum)'); + $table->unsignedTinyInteger('material')->comment('Required (valeur de l\'enum MaterialEnum)'); + $table->unsignedTinyInteger('benefit')->comment('Required (valeur de l\'enum BenefitEnum)'); + $table->text('observation')->nullable()->comment('Texte libre - nullable'); + $table->string('picture')->nullable()->comment('Image - 1 path du visuel de référence - Redimensioner 1200x900'); + $table->string('url')->nullable()->comment('url nullable - si not null: valider url avec une validation laravel'); + $table->text('documents')->nullable()->comment('Documents - Tableau de string contenant les paths des docs uploadés associés (docs complémentaires) - 0 a 5 docs (recommandé)'); + $table->string('fair')->nullable()->comment('not null si origin (valeur de l\'enum InformationOriginEnum) == salon'); + $table->timestamps(); + $table->softDeletes(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('packagings'); + } +}; diff --git a/database/migrations/2023_02_23_120913_create_process_has_process_types_table.php b/database/migrations/2023_02_23_120913_create_process_has_process_types_table.php new file mode 100644 index 0000000..36805c4 --- /dev/null +++ b/database/migrations/2023_02_23_120913_create_process_has_process_types_table.php @@ -0,0 +1,33 @@ +comment(''); + $table->bigInteger('process_id')->index(); + $table->bigInteger('process_type_id')->index(); + $table->string('value_enum')->comment('Not Null si process_type = "Préparation Viande": Tableau de INT contenant les valeurs de MeatPreparationEnum - Not Null si process_type = "Conditionnement primaire": Tableau de INT contenant les valeurs de PrimaryPackingEnum'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('process_has_process_types'); + } +}; diff --git a/database/migrations/2023_02_23_120913_create_process_types_table.php b/database/migrations/2023_02_23_120913_create_process_types_table.php new file mode 100644 index 0000000..588d5f2 --- /dev/null +++ b/database/migrations/2023_02_23_120913_create_process_types_table.php @@ -0,0 +1,32 @@ +comment(''); + $table->bigInteger('id', true); + $table->string('name')->comment('sur le front cela correspond au select "Type de process"'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('process_types'); + } +}; diff --git a/database/migrations/2023_02_23_120913_create_processes_table.php b/database/migrations/2023_02_23_120913_create_processes_table.php new file mode 100644 index 0000000..e8d4d43 --- /dev/null +++ b/database/migrations/2023_02_23_120913_create_processes_table.php @@ -0,0 +1,47 @@ +comment(''); + $table->bigInteger('id', true); + $table->bigInteger('user_id')->index(); + $table->unsignedTinyInteger('watch_type')->comment('Type de veille (valeur de l\'enum WatchTypeEnum) (produit fini, emballage, process)'); + $table->string('supplier')->comment('Fournisseur (ou Marque de produit) - Champ libre - si watch_type (WatchTypetEnum) = "Process" ou "Emballage" alors front a pour label "fournisseur" - si watch_type (WatchTypetEnum) = "Produit fini" alors front a pour label "marque du produit"'); + $table->string('name')->comment('Nom produit (ou Emballage ou nom machine) - Champ libre - si watch_type (valeur de l\'enum WatchTypetEnum) = "Process" alors front a pour label "nom machine" - si watch_type (valeur de l\'enum WatchTypetEnum) = "Emballage" - alors front a pour label "emballage" - si watch_type (valeur de l\'enum WatchTypetEnum)= "Produit fini" alors front a pour label "nom du produit"'); + $table->text('description')->nullable()->comment('Descriptif - Nullable - Not null si watch_type (valeur de l\'enum WatchTypetEnum) = "Process"'); + $table->unsignedTinyInteger('origin')->comment('Origin - (valeur de l\'enum OriginEnum) - Required'); + $table->boolean('is_test_machine')->unsigned()->comment('boolean - Test machine ? oui - non'); + $table->boolean('is_quotation')->unsigned()->comment('Boolean'); + $table->string('quotation_document')->nullable()->comment('Devis - Nullable si `is_quotation` = 0 - Not null si `is_quotation`= 1: 1 doc - 1 path à stocker en string'); + $table->unsignedTinyInteger('profit')->comment('Benefice - Required (valeur de l\'enum BenefitEnum)'); + $table->text('observation')->nullable()->comment('observations - nullable'); + $table->text('picture')->nullable()->comment('Tableau de string contenant les paths des docs uploadés associés (visuels de référence) - 0 a 5 docs JPG ou JPEG (recommandé) - Redimenssioner 1200x900 (h)'); + $table->text('documents')->nullable()->comment('Tableau de string contenant les paths des docs uploadés associés (docs complémentaires) - 0 a 5 docs (recommandé)'); + $table->string('url')->nullable()->comment('url nullable - si not null: valider url avec une validation laravel'); + $table->timestamps(); + $table->softDeletes(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('processes'); + } +}; diff --git a/database/migrations/2023_02_23_120913_create_product_comments_table.php b/database/migrations/2023_02_23_120913_create_product_comments_table.php new file mode 100644 index 0000000..66a44db --- /dev/null +++ b/database/migrations/2023_02_23_120913_create_product_comments_table.php @@ -0,0 +1,38 @@ +comment(''); + $table->bigInteger('id', true); + $table->bigInteger('product_id')->index(); + $table->string('evaluation')->comment('Appréciation globale - Required'); + $table->string('aspect')->nullable()->comment('Aspect'); + $table->string('taste')->nullable(); + $table->string('odor')->nullable(); + $table->string('texture')->nullable(); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('product_comments'); + } +}; diff --git a/database/migrations/2023_02_23_120913_create_products_table.php b/database/migrations/2023_02_23_120913_create_products_table.php new file mode 100644 index 0000000..266fb9b --- /dev/null +++ b/database/migrations/2023_02_23_120913_create_products_table.php @@ -0,0 +1,58 @@ +comment(''); + $table->bigInteger('id', true); + $table->bigInteger('user_id')->index(); + $table->bigInteger('brand_id')->index()->comment('Marque - Required - Texte libre avec auto-suggestion sur la table elle même'); + $table->string('name')->comment('Nom du produit - Required'); + $table->timestamp('entry_date')->useCurrentOnUpdate()->useCurrent()->comment('Date (date de saisie) - Required'); + $table->unsignedTinyInteger('source')->comment('Source - Required - (valeur de l\'enum SourceEnum) -> champ SELECT'); + $table->string('fair')->nullable()->comment('Salon - Affiché en front si SourceEnum = Salon Professionnel ou Salon Clients ou Salon Grand Public - Texte libre avec auto-suggestion sur la table elle même'); + $table->string('shop')->nullable()->comment('Magasin - Affiché en front si SourceEnum = Magasin - Texte libre avec auto-suggestion sur la table elle même'); + $table->string('catalogue')->nullable()->comment('Catalogue - Affiché en front si SourceEnum = Catalogue Argumentaire - Texte libre avec auto-suggestion sur la table elle même'); + $table->string('gencod', 15)->nullable()->comment('Gencod - Suite de 13 chiffres - En front, on a une vérification Ajax une fois le code saisie pour proposer une duplication'); + $table->string('picture')->nullable()->comment('Visuel de référence - Path - Taille de l\'image 1200*900'); + $table->longText('docs')->nullable()->comment('Docs complémentaires - Tableau de path - 0 a 5 docs PDF'); + $table->string('url')->nullable()->comment('URL - Validation URL+ No BO'); + $table->unsignedTinyInteger('certification')->nullable()->comment('Certification - CertificationEnum'); + $table->text('origins')->nullable()->comment('Origine - Tableau d\'Enum (entier) JSON (valeur de l\'enum OriginEnum)'); + $table->text('claims')->nullable()->comment('Autres allégations - Tableau d\'Enum (entier) JSON (valeur de l\'enum ClaimEnum)'); + $table->string('specified_claim')->nullable()->comment('Précisez l\'allégation - Required if ClaimEnum = Autres - Text libre'); + $table->unsignedTinyInteger('distribution_network')->comment('Réseau de distribution - Required (valeur de l\'enum DistributionNetworkEnum)'); + $table->unsignedTinyInteger('ray')->comment('Rayon - Required (valeur de l\'enum RayEnum)'); + $table->unsignedTinyInteger('product_range')->comment('Famille de produit - Required (valeur de l\'enum ProductRangeEnum)'); + $table->unsignedTinyInteger('geo_area')->comment('Zone géographique - Required (valeur de l\'enum GeoAreaEnum)'); + $table->integer('weight')->nullable()->comment('Poids - Unité en grammes'); + $table->integer('pvc')->nullable()->comment('PVC de l\'UVC - Stocké en centimes - Prix en euros'); + $table->text('comment')->nullable()->comment('Commentaire Libre'); + $table->boolean('is_tasted')->unsigned()->comment('Produit dégusté ? - Boolean - Required'); + $table->smallInteger('tasters_number')->nullable()->comment('Nombre de dégustateurs - Required if is_tasted = true - Max 15'); + $table->timestamps(); + $table->softDeletes()->comment('Soft delete'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('products'); + } +}; diff --git a/database/migrations/2023_02_23_120913_create_promo_distribution_networks_table.php b/database/migrations/2023_02_23_120913_create_promo_distribution_networks_table.php new file mode 100644 index 0000000..1c7e299 --- /dev/null +++ b/database/migrations/2023_02_23_120913_create_promo_distribution_networks_table.php @@ -0,0 +1,34 @@ +comment(''); + $table->bigInteger('id', true); + $table->unsignedTinyInteger('name')->comment('Required - Niveau 1 (valeur de l\'enum DistributionNetworkEnum) - Seeder niveau 2 dans le champ label (valeur de l\'enum LabelDistributionNetworkEnum)'); + $table->string('label')->comment('Seedé dans l\'application en fonction de network_name'); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('promo_distribution_networks'); + } +}; diff --git a/database/migrations/2023_02_23_120913_create_promo_types_table.php b/database/migrations/2023_02_23_120913_create_promo_types_table.php new file mode 100644 index 0000000..25e4d3e --- /dev/null +++ b/database/migrations/2023_02_23_120913_create_promo_types_table.php @@ -0,0 +1,34 @@ +comment(''); + $table->bigInteger('id')->primary(); + $table->tinyInteger('name')->comment('Required - Niveau 1 - (valeur de l\'enum TypePromoEnum) - Seeder niveau 2: champ label (valeur de l\'enum LabelTypePromoEnum)'); + $table->string('label')->comment('Seedé dans l\'application en fonction de name'); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('promo_types'); + } +}; diff --git a/database/migrations/2023_02_23_120913_create_promos_table.php b/database/migrations/2023_02_23_120913_create_promos_table.php new file mode 100644 index 0000000..12e0a72 --- /dev/null +++ b/database/migrations/2023_02_23_120913_create_promos_table.php @@ -0,0 +1,49 @@ +comment(''); + $table->bigInteger('id', true); + $table->bigInteger('user_id')->index(); + $table->bigInteger('promo_type_id')->index(); + $table->bigInteger('promo_distribution_network_id')->index(); + $table->bigInteger('brand_id')->index(); + $table->timestamp('date')->useCurrentOnUpdate()->useCurrent()->comment('Date libre - Nullable'); + $table->unsignedTinyInteger('source')->comment('(valeur de l\'enum SourceEnum)'); + $table->string('shop_name')->nullable()->comment('Nom Magasin - NOT NULL si source (valeur de l\'enum SourceEnum) = "tournée terrain" ou "remontée chef seccteur" '); + $table->string('shop_city')->nullable()->comment('Ville du magasin - NOT NULL si source (valeur de l\'enum SourceEnum) = "tournée terrain" ou "remontée chef seccteur" - Pattern: CP sur 2 chiffres + \' \' + VILLE - Pattern ex: "85 CHALLANS"'); + $table->string('sector_chief')->nullable()->comment('NOT NULL si source (valeur de l\'enum SourceEnum) = "remontée chef secteur" '); + $table->string('name')->nullable()->comment('Texte libre avec auto-suggestion sur la table promos'); + $table->tinyInteger('target')->comment('Cible (valeur de l\'enum TargetEnum)'); + $table->tinyInteger('angle')->comment('Angle (valeur de l\'enum AngleEnum)'); + $table->tinyInteger('event')->comment('Evenement (valeur de l\'enum EventEnum)'); + $table->string('url')->nullable()->comment('NOT NULL si source (valeur de l\'enum SourceEnum) = "pige web" - si not null: Validation URL'); + $table->string('press')->nullable()->comment('NOT NULL si source (valeur de l\'enum SourceEnum) = "pige presse" '); + $table->string('fair')->nullable()->comment('Salon - NOT NULL si source (valeur de l\'enum SourceEnum) = "salon / évènementiel"'); + $table->timestamps(); + $table->softDeletes(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('promos'); + } +}; diff --git a/database/migrations/2023_02_23_120913_create_surveys_table.php b/database/migrations/2023_02_23_120913_create_surveys_table.php new file mode 100644 index 0000000..51e6f5f --- /dev/null +++ b/database/migrations/2023_02_23_120913_create_surveys_table.php @@ -0,0 +1,43 @@ +comment(''); + $table->bigInteger('id', true); + $table->bigInteger('user_id')->index(); + $table->string('name')->comment('Nom de l\'étude'); + $table->string('author')->nullable()->comment('Auteur de l\'étude, champs libre'); + $table->text('comment')->comment('Note de synthèse - Required'); + $table->timestamp('date')->nullable()->comment('Date de saisie - Nullable'); + $table->text('documents')->nullable()->comment('Tableau de string contenant les paths des docs uploadés associés'); + $table->boolean('is_distributor')->unsigned()->default(false)->comment('Boolean - If true select DistributionNetworkEnum'); + $table->boolean('is_customer')->unsigned()->default(false)->comment('Boolean - If true select CustomerEnum'); + $table->unsignedTinyInteger('type')->comment('Valeur de l\'enum en fonction is_distributor ou is_customer'); + $table->timestamps(); + $table->softDeletes()->comment('Soft Delete +https://laravel.com/docs/9.x/migrations#column-method-softDeletes'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('surveys'); + } +}; diff --git a/database/migrations/2014_10_12_000000_create_users_table.php b/database/migrations/2023_02_23_120913_create_users_table.php similarity index 58% rename from database/migrations/2014_10_12_000000_create_users_table.php rename to database/migrations/2023_02_23_120913_create_users_table.php index 444fafb..54947d8 100644 --- a/database/migrations/2014_10_12_000000_create_users_table.php +++ b/database/migrations/2023_02_23_120913_create_users_table.php @@ -8,24 +8,26 @@ return new class extends Migration { /** * Run the migrations. + * + * @return void */ - public function up(): void + public function up() { Schema::create('users', function (Blueprint $table) { - $table->id(); - $table->string('name'); - $table->string('email')->unique(); - $table->timestamp('email_verified_at')->nullable(); - $table->string('password'); - $table->rememberToken(); + $table->comment(''); + $table->bigInteger('id', true); + $table->string('firstname'); + $table->string('lastname'); $table->timestamps(); }); } /** * Reverse the migrations. + * + * @return void */ - public function down(): void + public function down() { Schema::dropIfExists('users'); } diff --git a/database/migrations/2023_02_23_120914_add_foreign_keys_to_ingredients_table.php b/database/migrations/2023_02_23_120914_add_foreign_keys_to_ingredients_table.php new file mode 100644 index 0000000..d8013a8 --- /dev/null +++ b/database/migrations/2023_02_23_120914_add_foreign_keys_to_ingredients_table.php @@ -0,0 +1,32 @@ +foreign(['user_id'])->references(['id'])->on('users'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('ingredients', function (Blueprint $table) { + $table->dropForeign('ingredients_user_id_foreign'); + }); + } +}; diff --git a/database/migrations/2023_02_23_120914_add_foreign_keys_to_keywordables_table.php b/database/migrations/2023_02_23_120914_add_foreign_keys_to_keywordables_table.php new file mode 100644 index 0000000..b8b1d18 --- /dev/null +++ b/database/migrations/2023_02_23_120914_add_foreign_keys_to_keywordables_table.php @@ -0,0 +1,32 @@ +foreign(['keyword_id'])->references(['id'])->on('keywords')->onUpdate('NO ACTION')->onDelete('NO ACTION'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('keywordables', function (Blueprint $table) { + $table->dropForeign('keywordables_keyword_id_foreign'); + }); + } +}; diff --git a/database/migrations/2023_02_23_120914_add_foreign_keys_to_packagings_table.php b/database/migrations/2023_02_23_120914_add_foreign_keys_to_packagings_table.php new file mode 100644 index 0000000..45e70f3 --- /dev/null +++ b/database/migrations/2023_02_23_120914_add_foreign_keys_to_packagings_table.php @@ -0,0 +1,32 @@ +foreign(['user_id'])->references(['id'])->on('users'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('packagings', function (Blueprint $table) { + $table->dropForeign('packagings_user_id_foreign'); + }); + } +}; diff --git a/database/migrations/2023_02_23_120914_add_foreign_keys_to_process_has_process_types_table.php b/database/migrations/2023_02_23_120914_add_foreign_keys_to_process_has_process_types_table.php new file mode 100644 index 0000000..39ca9e2 --- /dev/null +++ b/database/migrations/2023_02_23_120914_add_foreign_keys_to_process_has_process_types_table.php @@ -0,0 +1,34 @@ +foreign(['process_id'])->references(['id'])->on('processes'); + $table->foreign(['process_type_id'])->references(['id'])->on('process_types'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('process_has_process_types', function (Blueprint $table) { + $table->dropForeign('process_has_process_types_process_id_foreign'); + $table->dropForeign('process_has_process_types_process_type_id_foreign'); + }); + } +}; diff --git a/database/migrations/2023_02_23_120914_add_foreign_keys_to_processes_table.php b/database/migrations/2023_02_23_120914_add_foreign_keys_to_processes_table.php new file mode 100644 index 0000000..d43f9c2 --- /dev/null +++ b/database/migrations/2023_02_23_120914_add_foreign_keys_to_processes_table.php @@ -0,0 +1,32 @@ +foreign(['user_id'])->references(['id'])->on('users')->onUpdate('NO ACTION')->onDelete('NO ACTION'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('processes', function (Blueprint $table) { + $table->dropForeign('processes_user_id_foreign'); + }); + } +}; diff --git a/database/migrations/2023_02_23_120914_add_foreign_keys_to_product_comments_table.php b/database/migrations/2023_02_23_120914_add_foreign_keys_to_product_comments_table.php new file mode 100644 index 0000000..bcabe49 --- /dev/null +++ b/database/migrations/2023_02_23_120914_add_foreign_keys_to_product_comments_table.php @@ -0,0 +1,32 @@ +foreign(['product_id'])->references(['id'])->on('products'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('product_comments', function (Blueprint $table) { + $table->dropForeign('product_comments_product_id_foreign'); + }); + } +}; diff --git a/database/migrations/2023_02_23_120914_add_foreign_keys_to_products_table.php b/database/migrations/2023_02_23_120914_add_foreign_keys_to_products_table.php new file mode 100644 index 0000000..1f148f2 --- /dev/null +++ b/database/migrations/2023_02_23_120914_add_foreign_keys_to_products_table.php @@ -0,0 +1,34 @@ +foreign(['brand_id'])->references(['id'])->on('brands'); + $table->foreign(['user_id'])->references(['id'])->on('users'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('products', function (Blueprint $table) { + $table->dropForeign('products_brand_id_foreign'); + $table->dropForeign('products_user_id_foreign'); + }); + } +}; diff --git a/database/migrations/2023_02_23_120914_add_foreign_keys_to_promos_table.php b/database/migrations/2023_02_23_120914_add_foreign_keys_to_promos_table.php new file mode 100644 index 0000000..046a54b --- /dev/null +++ b/database/migrations/2023_02_23_120914_add_foreign_keys_to_promos_table.php @@ -0,0 +1,38 @@ +foreign(['brand_id'])->references(['id'])->on('brands'); + $table->foreign(['promo_type_id'])->references(['id'])->on('promo_types'); + $table->foreign(['promo_distribution_network_id'])->references(['id'])->on('promo_distribution_networks'); + $table->foreign(['user_id'])->references(['id'])->on('users'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('promos', function (Blueprint $table) { + $table->dropForeign('promos_brand_id_foreign'); + $table->dropForeign('promos_promo_type_id_foreign'); + $table->dropForeign('promos_promo_distribution_network_id_foreign'); + $table->dropForeign('promos_user_id_foreign'); + }); + } +}; diff --git a/database/migrations/2023_02_23_120914_add_foreign_keys_to_surveys_table.php b/database/migrations/2023_02_23_120914_add_foreign_keys_to_surveys_table.php new file mode 100644 index 0000000..4b962a3 --- /dev/null +++ b/database/migrations/2023_02_23_120914_add_foreign_keys_to_surveys_table.php @@ -0,0 +1,32 @@ +foreign(['user_id'])->references(['id'])->on('users'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('surveys', function (Blueprint $table) { + $table->dropForeign('surveys_user_id_foreign'); + }); + } +};