diff --git a/app/init/constants.php b/app/init/constants.php index 5e4edfd97d..63f52c82a5 100644 --- a/app/init/constants.php +++ b/app/init/constants.php @@ -32,7 +32,7 @@ const APP_PROJECT_ACCESS = 24 * 60 * 60; // 24 hours const APP_FILE_ACCESS = 24 * 60 * 60; // 24 hours const APP_CACHE_UPDATE = 24 * 60 * 60; // 24 hours const APP_CACHE_BUSTER = 4318; -const APP_VERSION_STABLE = '1.6.2'; +const APP_VERSION_STABLE = '1.6.2-RC1'; const APP_DATABASE_ATTRIBUTE_EMAIL = 'email'; const APP_DATABASE_ATTRIBUTE_ENUM = 'enum'; const APP_DATABASE_ATTRIBUTE_IP = 'ip'; diff --git a/src/Appwrite/Migration/Migration.php b/src/Appwrite/Migration/Migration.php index 14c8a9cce2..56b9465a1b 100644 --- a/src/Appwrite/Migration/Migration.php +++ b/src/Appwrite/Migration/Migration.php @@ -92,7 +92,7 @@ abstract class Migration '1.5.11' => 'V20', '1.6.0' => 'V21', '1.6.1' => 'V21', - '1.6.2' => 'V21', + '1.6.2-RC1' => 'V21', ]; /** diff --git a/src/Appwrite/Platform/Tasks/Migrate.php b/src/Appwrite/Platform/Tasks/Migrate.php index 4efa78ed4b..de254e4e07 100644 --- a/src/Appwrite/Platform/Tasks/Migrate.php +++ b/src/Appwrite/Platform/Tasks/Migrate.php @@ -29,7 +29,7 @@ class Migrate extends Action $this ->desc('Migrate Appwrite to new version') /** @TODO APP_VERSION_STABLE needs to be defined */ - ->param('version', APP_VERSION_STABLE, new Text(8), 'Version to migrate to.', true) + ->param('version', APP_VERSION_STABLE, new Text(9), 'Version to migrate to.', true) ->inject('dbForPlatform') ->inject('getProjectDB') ->inject('register')