diff --git a/app/controllers/api/projects.php b/app/controllers/api/projects.php index c51697bf95..5464014b48 100644 --- a/app/controllers/api/projects.php +++ b/app/controllers/api/projects.php @@ -152,10 +152,10 @@ App::post('/v1/projects') throw new Exception(Exception::PROJECT_RESERVED_PROJECT, "'console' is a reserved project."); } - // TODO: One in 20 projects use shared tables. Temporary until all projects are using shared tables. + // TODO: 1 in 5 projects use shared tables. Temporary until all projects are using shared tables. if ( ( - !\mt_rand(0, 19) + !\mt_rand(0, 4) && System::getEnv('_APP_DATABASE_SHARED_TABLES', 'enabled') === 'enabled' && System::getEnv('_APP_EDITION', 'self-hosted') !== 'self-hosted' ) || diff --git a/composer.lock b/composer.lock index 7fc372d624..30d5ed74e0 100644 --- a/composer.lock +++ b/composer.lock @@ -1556,16 +1556,16 @@ }, { "name": "utopia-php/database", - "version": "0.49.9", + "version": "0.49.10", "source": { "type": "git", "url": "https://github.com/utopia-php/database.git", - "reference": "ee93c14b99820f791c669648854f094fe399a085" + "reference": "216209121bc97a2010f67a39c561fafe1e936bec" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/database/zipball/ee93c14b99820f791c669648854f094fe399a085", - "reference": "ee93c14b99820f791c669648854f094fe399a085", + "url": "https://api.github.com/repos/utopia-php/database/zipball/216209121bc97a2010f67a39c561fafe1e936bec", + "reference": "216209121bc97a2010f67a39c561fafe1e936bec", "shasum": "" }, "require": { @@ -1606,9 +1606,9 @@ ], "support": { "issues": "https://github.com/utopia-php/database/issues", - "source": "https://github.com/utopia-php/database/tree/0.49.9" + "source": "https://github.com/utopia-php/database/tree/0.49.10" }, - "time": "2024-05-12T23:58:34+00:00" + "time": "2024-05-20T02:14:20+00:00" }, { "name": "utopia-php/domains",