Commit graph

542 commits

Author SHA1 Message Date
ArnabChatterjee20k
ee9f1f8645 updated database type to grids and legacy 2025-08-06 17:30:11 +05:30
ArnabChatterjee20k
320171822c replaced create attribute with a util createAttributeFromCollection method 2025-08-06 10:56:42 +05:30
ArnabChatterjee20k
066c801a45 removed $id to get updated 2025-08-05 21:56:31 +05:30
ArnabChatterjee20k
7d798f5373 added migration to self hosted version 2025-08-05 19:34:19 +05:30
Jake Barnby
97a4e5f355
Bump version 2025-07-18 21:38:35 +12:00
Jake Barnby
c852cb3ed0
Merge remote-tracking branch 'origin/1.7.x' into 1.8.x
# Conflicts:
#	composer.lock
#	src/Appwrite/Platform/Workers/Audits.php
2025-06-09 20:08:41 -04:00
fogelito
9829ba2afb Not sure we need it but ok 2025-05-29 15:40:11 +03:00
fogelito
0097a0edcd Update migration self-hosted 2025-05-29 15:37:08 +03:00
fogelito
d7653c68ce formatting 2025-05-29 14:51:18 +03:00
fogelito
0d46d4d6e9 Remove roles index 2025-05-28 15:54:58 +03:00
Jake Barnby
3158c15111
Merge remote-tracking branch 'origin/1.7.x' into 1.8.x
# Conflicts:
#	app/controllers/api/functions.php
#	app/controllers/api/project.php
#	app/controllers/api/proxy.php
#	app/controllers/api/storage.php
#	app/controllers/api/vcs.php
#	app/controllers/general.php
#	app/controllers/shared/api.php
#	app/init/database/filters.php
#	composer.json
#	composer.lock
#	src/Appwrite/Migration/Migration.php
#	src/Appwrite/Migration/Version/V15.php
#	src/Appwrite/Migration/Version/V16.php
#	src/Appwrite/Migration/Version/V17.php
#	src/Appwrite/Migration/Version/V18.php
#	src/Appwrite/Migration/Version/V19.php
#	src/Appwrite/Migration/Version/V20.php
#	src/Appwrite/Migration/Version/V21.php
#	src/Appwrite/Platform/Tasks/Migrate.php
#	src/Appwrite/Platform/Workers/Builds.php
#	src/Appwrite/Platform/Workers/Deletes.php
#	src/Appwrite/Platform/Workers/Functions.php
#	src/Appwrite/Platform/Workers/StatsResources.php
#	src/Appwrite/Platform/Workers/StatsUsage.php
2025-05-27 13:36:23 +12:00
Jake Barnby
86f7489640
Internal ID -> sequence 2025-05-26 17:42:11 +12:00
Torsten Dittmann
7531c64b31 Update version from 1.7.3 to 1.7.4 2025-05-25 19:44:51 +02:00
Steven Nguyen
295e2773f3
fix(migration): _APP_DEFAULT_REGION is not a valid env var
Across the rest of the codebase, we use _APP_REGION with 'default' as
the fallback value. This commit updates the migration to do the same.
2025-05-23 17:46:07 -07:00
Steven Nguyen
b932db34f3
Bump appwrite version to 1.7.3 2025-05-23 16:01:00 -07:00
Steven Nguyen
8ce46c791f
fix(migration): set owner and region while migrating rules
These attributes were added to the rules collection in 1.6.2, but the
migration script was not updated to set them. Because they're empty, the
1.7 migration fails while updating rules documents because region is
required.
2025-05-23 15:06:19 -07:00
Steven Nguyen
ac8105dea2
Bump appwrite version to 1.7.2 2025-05-20 17:29:32 -07:00
Jake Barnby
2a99bd4bda
Fix migrating functions with no deployments 2025-05-20 19:26:26 +12:00
Jake Barnby
502c0ad542
Fix class name 2025-05-18 23:53:54 +12:00
Steven Nguyen
5db1cff69f
Merge branch '1.6.x' into chore-sync-1.6.x 2025-05-17 14:22:13 -07:00
Eldad A. Fux
5fe5c82801
Merge pull request #9784 from appwrite/release-1.6.2
Release 1.6.2
2025-05-17 21:41:13 +02:00
Jake Barnby
32d2001aa2
Add RC version to migration 2025-05-18 03:20:46 +12:00
Jake Barnby
91f8570801
Format 2025-05-17 01:57:57 +12:00
Jake Barnby
a3722f53a5
Fix getting function for rule 2025-05-17 01:39:25 +12:00
Jake Barnby
04009699eb
Fix type + resourceType fallbacks 2025-05-17 01:37:20 +12:00
Jake Barnby
e22ef82116
Safe multi-run by self-fallback 2025-05-17 00:49:59 +12:00
Jake Barnby
be400681e7
Fix collection exists fallbacks 2025-05-17 00:18:57 +12:00
Jake Barnby
ac38418812
Update logs 2025-05-16 22:07:43 +12:00
Jake Barnby
d6fd05866a
Ignore duplicate on create collection 2025-05-16 22:06:59 +12:00
Jake Barnby
fa3894ef1c
Fix extra collection keys 2025-05-16 22:06:37 +12:00
Jake Barnby
4ce6587634
Fix key matching 2025-05-16 20:30:16 +12:00
Jake Barnby
768d005f08
Use create bulk attributes 2025-05-16 20:30:04 +12:00
Jake Barnby
4d4cfef1ad
Skip empty ID 2025-05-16 20:29:52 +12:00
Jake Barnby
2d6d79de7b
Fix names 2025-05-16 17:36:29 +12:00
Jake Barnby
59ef8077da
Skip devKeys subquery 2025-05-16 17:36:19 +12:00
Jake Barnby
43fce76c9b
Remove redundant namespace set 2025-05-16 17:35:36 +12:00
Jake Barnby
907d968a5f
Remove redundant doc migration 2025-05-16 17:25:06 +12:00
Jake Barnby
7344733165
Use db loop methods, update names 2025-05-16 17:24:11 +12:00
Jake Barnby
f12e84abc5
Merge remote-tracking branch 'origin/1.7.x' into feat-ce-migration 2025-05-16 13:46:17 +12:00
Khushboo Verma
25a13d3666 Sync with cloud 2025-05-13 15:40:21 +05:30
Khushboo Verma
a3cb7c81a2 Add V23 migration and remove coroutines 2025-05-13 15:22:09 +05:30
Matej Bačo
af0c872999 Merge branch '1.6.x' into 1.7.x 2025-05-13 10:11:39 +02:00
Khushboo Verma
b249584b92 1.7.x ce migration 2025-05-09 17:46:29 +05:30
Chirag Aggarwal
da05398389 chore: update utopia database to 0.67.x 2025-05-06 13:08:56 +00:00
Steven Nguyen
101283f345
fix: prevent update migration from clearing scopes and resetting specs 2025-04-28 09:02:06 -07:00
Steven Nguyen
8d9abd2f31
fix(vcs): add missing attributes to 1.6.x migration 2025-04-28 09:02:06 -07:00
Matej Bačo
d8103cb57e Merge branch '1.7.x' into 1.6.x 2025-04-25 12:18:04 +02:00
Steven Nguyen
8d046f021c
fix: update upgrade migration to create missing attributes
Between version 1.6.0 and 1.6.1, the migrations collection was updated
to include a destination attribute and the databases collection was
updated to include an originalId attribute. However, the upgrade
migration was not updated to create these attributes.

This PR updates the migration to create the missing attributes.
2025-04-10 16:21:12 -07:00
Matej Bačo
8e32ef1851 Merge branch '1.7.x' into feat-sites 2025-04-08 10:41:39 +02:00
Matej Bačo
69a7c23d2b Merge branch '1.6.x' into 1.7.x 2025-04-08 10:24:09 +02:00