]> git.mxchange.org Git - friendica.git/commitdiff
Add composer script for update db structure
authorArt4 <art4@wlabs.de>
Tue, 11 Feb 2025 08:57:56 +0000 (08:57 +0000)
committerArt4 <art4@wlabs.de>
Tue, 11 Feb 2025 08:57:56 +0000 (08:57 +0000)
composer.json

index 7b2ba0181730326cc5f46643c074972ae9a50bd3..35cd757aecb7f7d11fb034d9d43bf6b7e1033edf 100644 (file)
                        "bin/dev/php-cs-fixer/vendor/bin/php-cs-fixer fix"
                ],
                "cs:fix-develop": "TARGET_BRANCH=develop COMMAND=fix bin/dev/fix-codestyle.sh",
+               "db:update-structure": "bin/console.php dbstructure dumpsql > database.sql",
                "install:prod": "@composer install -o --no-dev"
        }
 }