1
0
Fork 0
mirror of synced 2024-05-17 11:12:41 +12:00
appwrite/bin/upgrade
Steven Nguyen 75f7459c40
Create a dedicated upgrade task
Before, we used the same command for both installation and upgrades.
This lead to problems because developers would try to upgrade in the
wrong folder and end up creating a new installation.

This new upgrade command validates the existence of an existing
installation before proceeding with the upgrade to ensure no new
installation is created when upgrading.
2023-08-30 09:55:18 -07:00

3 lines
51 B
Bash
Executable file

#!/bin/sh
php /usr/src/code/app/cli.php upgrade $@