Prateek Banga
350549db7d
Merge branch '1.5.x' of https://github.com/appwrite/appwrite into feat-add-messaging-response-models
2023-09-14 02:17:34 +05:30
Christy Jacob
b9675f736b
Update src/Appwrite/Migration/Version/V19.php
...
Co-authored-by: Steven Nguyen <1477010+stnguyen90@users.noreply.github.com>
2023-09-06 23:32:49 -04:00
Christy Jacob
732a2b4a98
chore: linter
2023-09-06 22:10:43 +00:00
Christy Jacob
4250a634d3
Merge branch 'fix-migration-issues' of https://github.com/appwrite/appwrite into fix-migration-issues
2023-09-06 22:08:55 +00:00
Christy Jacob
c439202d3c
chore: review comments
2023-09-06 22:08:26 +00:00
Christy Jacob
d96a6d7883
Apply suggestions from code review
...
Co-authored-by: Steven Nguyen <1477010+stnguyen90@users.noreply.github.com>
2023-09-06 18:06:31 -04:00
Christy Jacob
ec9ecb6cd4
chore: linter
2023-09-06 20:08:07 +00:00
Christy Jacob
430ec73a98
fix: incorrect attribute name
2023-09-06 20:01:43 +00:00
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
prateek banga
e104e6d0f2
Merge branch 'feat-add-messaging-collections-in-config' into feat-add-messaging-providers
2023-08-31 18:16:48 +05:30
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
Jake Barnby
3c3326260a
Merge remote-tracking branch 'origin/cl-1.4.x' into feat-git-integration
...
# Conflicts:
# composer.lock
2023-08-17 17:39:26 -04:00
prateek banga
92e587769a
resolve merge conflicts
2023-08-16 15:16:45 +05:30
Jake Barnby
efe81f5723
Merge branch 'cl-1.4.x' into v19-migration
2023-08-11 19:29:12 -04:00
prateek banga
9057a50a10
rename provider param in config
2023-08-07 15:54:00 +05:30
Matej Bačo
906f86fbb8
Merge branch 'cloud-1.4.x' into feat-git-integration
2023-08-06 09:31:32 +02:00
Steven Nguyen
d960f85da6
Merge branch '1.4.x' into cloud-1.4.x
2023-08-04 18:07:33 -07:00
Steven Nguyen
aa3c2faed9
Merge tag '1.3.8' into cloud-1.3.x-2
2023-08-04 13:55:07 -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
Steven Nguyen
611524476b
Merge branch 'master' into feat-master-to-1.4.x
2023-07-26 13:33:49 -07:00
Steven Nguyen
cd78706944
Update migration for audit collection
...
1. Remove the userInternalId attribute
2. Replace userId in audit documents with userInternalId and put
userId in data
2023-07-19 22:49:51 -07:00
Damodar Lohani
8dc5c2cb4c
Merge remote-tracking branch 'origin/1.4.x' into feat-custom-smtp
2023-07-19 07:24:58 +00:00
Steven Nguyen
26334b79bf
Update migration for audit collection
...
1. Remove the userInternalId attribute
2. Replace userId in audit documents with userInternalId and put
userId in data
2023-07-12 14:37:26 -07: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