Commit graph

43 commits

Author SHA1 Message Date
Christy Jacob
aac46cd5fe fix: migration issues 2023-09-06 19:59:42 +00:00
Christy Jacob
5cfabc7a12 fix: migrations fix and update changelog 2023-09-06 19:25:07 +00:00
Matej Bačo
1a6530fb57 Fix project variables 2023-09-05 10:21:36 +02:00
Steven Nguyen
ceb1188e8a
Override forEachDocument() to skip the cache collection
Skip the cache collection because:

1. There may be * in the $id of the document which causes problems
   when paginating with a cursor.
1. Nothing was done to the cache collection so we don't need to process
   it.
2023-09-04 13:25:27 -07:00
Steven Nguyen
c7929572f3
Fix builds migration 2023-09-04 09:04:15 -07:00
Steven Nguyen
605ee2f7c5
Update create deployment default commands
Default to function commands only if commands weren't supplied.
2023-09-04 09:04:15 -07:00
Steven Nguyen
87b0851092
Fix executions migrations 2023-09-02 19:13:15 -07:00
Steven Nguyen
9aeb15c337
Fix variables migration
Set new resourceType attribute to function since all variables were
function variables.
2023-09-02 18:35:26 -07:00
Steven Nguyen
f317d33fc7
Skip migrating domains without project because it would throw an error 2023-09-02 18:06:50 -07:00
Steven Nguyen
03c2a16306
Fix update migrations for functions and deployments
- Create additional attributes for the deployments collection.
- Set the commands attribute for the functions and deployments based on
  runtime.
2023-09-02 17:29:38 -07:00
Steven Nguyen
c8d6ac0267
Update migration script to not remove schedule from functions 2023-08-31 08:40:53 -07:00
Steven Nguyen
bd89fd4bf5
Fix domains migration
The previous approach tried to migrate the 'rules' collection, but that
didn't work because the data was in the 'domains' collection.

Since the 'domains' collection was removed, the migration is now done
when migrating the 'projects' collection by fetching the domains and
then creating the rule documents.
2023-08-30 14:22:06 -07:00
Jake Barnby
e15a9ac280
Clean up attributes to be deleted 2023-08-22 19:36:46 -04:00
Jake Barnby
6f775a2411
Review updates 2023-08-22 19:14:23 -04:00
Jake Barnby
97429bf57f
Merge remote-tracking branch 'origin/feat-git-integration-update-migration' into revert-some-migrations
# Conflicts:
#	src/Appwrite/Migration/Version/V19.php
2023-08-22 10:10:46 -04:00
Steven Nguyen
7e6eb59cdf
Additional updates from index changes 2023-08-21 17:12:10 -07:00
Steven Nguyen
8ebfbf04b8
Revert usage/stats migrations
We won't releasing the usage changes this release because the migrations
would be too big/complex.
2023-08-21 15:53:30 -07:00
Steven Nguyen
45be279b75
Skip updating _uid attribute and _permission index
These updates make use of the PDO to manually execute a SQL statement,
but the PDO is not available in the new migration platform task. So
that we can move forward with the release, we will skip these updates
and then figure it out in a subsequent release.
2023-08-21 15:53:30 -07:00
Steven Nguyen
f3fbb2fb56
Fix Migration task after it was converted to a Platform task 2023-08-21 15:53:30 -07:00
Steven Nguyen
280e066fd4
Update 1.4 migration 2023-08-21 15:53:30 -07:00
Jake Barnby
2d53c73e7a
Remove extra line 2023-08-17 22:15:33 -04:00
Jake Barnby
dbba62fe24
Remove permission index and _uid column type change migrations 2023-08-17 22:14:55 -04:00
Steven Nguyen
ccd8c86e88
Skip updating _uid attribute and _permission index
These updates make use of the PDO to manually execute a SQL statement,
but the PDO is not available in the new migration platform task. So
that we can move forward with the release, we will skip these updates
and then figure it out in a subsequent release.
2023-08-17 17:17:13 -07:00
Steven Nguyen
436600547c
Fix Migration task after it was converted to a Platform task 2023-08-17 17:17:12 -07:00
Steven Nguyen
586ad1984c
Update 1.4 migration 2023-08-17 17:15:35 -07:00
fogelito
e620525460 Extra line 2023-08-01 13:24:28 +03:00
fogelito
aaa2f18bf9 uid varchar 2023-08-01 13:23:39 +03:00
Damodar Lohani
8dc5c2cb4c Merge remote-tracking branch 'origin/1.4.x' into feat-custom-smtp 2023-07-19 07:24:58 +00:00
Shmuel Fogel
2c15f0bc7b
Update src/Appwrite/Migration/Version/V19.php
Co-authored-by: Jake Barnby <jakeb994@gmail.com>
2023-06-21 09:43:29 +03:00
fogelito
5ae534d291 Addressing comments 2023-06-11 10:59:44 +03:00
fogelito
371f195f3a Iterator messages 2023-06-08 10:53:40 +03:00
fogelito
46d5159fd0 Small typo 2023-06-07 10:45:48 +03:00
fogelito
214bc4af56 Add buckets 2023-06-07 10:32:46 +03:00
fogelito
9827d80f9c Add buckets 2023-06-07 10:30:35 +03:00
fogelito
b7536d62e2 lint 2023-06-07 10:26:55 +03:00
fogelito
4c1fe6ce7c out comment document Migration 2023-06-07 10:15:21 +03:00
fogelito
8b9ab096b7 Add index 2023-06-07 10:01:00 +03:00
fogelito
1fea564735 Add index 2023-06-07 09:59:13 +03:00
fogelito
2a9b76b205 Separates for 2 queries 2023-06-07 09:46:24 +03:00
fogelito
105d0a5212 migrateBuckets 2023-06-06 18:47:11 +03:00
fogelito
29fef07019 composer.lock 2023-06-06 18:45:06 +03:00
fogelito
c889bf54d3 V19 2023-06-06 18:36:05 +03:00
Damodar Lohani
787a41a52d added migration 2023-03-17 01:21:46 +00:00