diff --git a/app/config/collections.php b/app/config/collections.php index 60eeaf40a8..ed5e94eb65 100644 --- a/app/config/collections.php +++ b/app/config/collections.php @@ -3269,6 +3269,7 @@ $consoleCollections = array_merge([ 'filters' => [], ], [ + // To be removed once all project are using shared tables '$id' => ID::custom('shareTables'), 'type' => Database::VAR_BOOLEAN, 'format' => '', diff --git a/app/controllers/api/projects.php b/app/controllers/api/projects.php index 994f842184..330f89dffd 100644 --- a/app/controllers/api/projects.php +++ b/app/controllers/api/projects.php @@ -144,7 +144,7 @@ App::post('/v1/projects') // One in 20 projects use shared tables $shareTables = !\mt_rand(0, 19); - // Allow overriding in development mode + // Allow overriding in development mode, to be removed once all project are using shared tables if (App::isDevelopment()) { $shareTables = (bool) $request->getHeader('x-appwrite-share-tables', false); }