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
Christy Jacob
11f2ee8a1c
feat: prep for 1.4.2
2023-09-06 18:22:04 +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
24bd21e980
Update version
2023-08-30 16:05:51 -04: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
d1c0bccb59
Merge tag '1.3.8' into cloud-1.3.x
2023-08-04 14:12:58 -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
3f9cedcc44
Prepare 1.3.8 release
2023-07-19 22:49:51 -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
e26062ca87
Prepare 1.3.8 release
2023-07-18 22:21: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
fogelito
46d5159fd0
Small typo
2023-06-07 10:45:48 +03:00
fogelito
f729aaec2b
version overwrite
2023-06-07 10:40:15 +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
Christy Jacob
329b6b93bf
chore: update changelog
2023-06-03 20:11:01 +05:30
Torsten Dittmann
21b41c475d
chore: prepre 1.3.6
2023-06-02 15:21:05 +02:00
Christy Jacob
a3474f8a3b
feat: prepare 1.3.5 release
2023-05-30 16:15:13 +00:00
shimon
bbbbedfd83
migration bucketInternalId
2023-05-14 10:43:44 +03:00
Steven Nguyen
d7bbfb55ed
Prepare 1.3.4 release
2023-05-03 13:39:05 -07:00
Steven Nguyen
afd2c7a065
Update migration to set bucket permissions in metadata table
2023-05-03 12:15:37 -07:00
Steven Nguyen
1e5dc3ad6f
Bump version to 1.3.3
2023-04-28 12:29:46 -07:00
Steven Nguyen
d0cfad9085
Prevent migration from overriding existing data
...
For users already on 1.3.1, after upgrading to 1.3.2, the migration
script would override existing auths, password history, team prefs, and
(relationship) attribute options with empty values. This commit fixes
the migration to set to an existing value if there was one.
2023-04-28 12:20:30 -07:00
Damodar Lohani
b1bbc9dfbd
Merge remote-tracking branch 'origin/master' into feat-custom-smtp
2023-04-28 07:11:17 +00:00
Torsten Dittmann
43a6945d30
fix: migration
2023-04-24 13:21:31 +02:00
Torsten Dittmann
5ee3c592a4
chore: release 1.3.2
2023-04-24 13:10:28 +02:00
Torsten Dittmann
ff82a24a4b
feat: migration
2023-04-24 13:00:23 +02:00
Damodar Lohani
d394715b56
Merge remote-tracking branch 'origin/master' into feat-custom-smtp
2023-04-13 01:35:56 +00:00
Torsten Dittmann
7ca70b2ab9
Merge branch 'master' of https://github.com/appwrite/appwrite into chore-prepare-1-3-1
2023-04-12 18:51:00 +02:00
Torsten Dittmann
d2b2d18134
chore: prepare 1.3.1 release
2023-04-12 18:13:49 +02:00
Torsten Dittmann
3009168350
fix: migration for 1.3.x
2023-04-12 17:48:36 +02:00
Jake Barnby
a01dd3fc41
Add options key to attributes
2023-04-12 02:49:47 +12:00
Jake Barnby
43946cade5
Add teams migration
2023-04-12 00:33:29 +12:00
Jake Barnby
b0a6190394
Only iterate attributes once
2023-04-12 00:05:19 +12:00
Jake Barnby
d46f3092e5
Remove redis and unused imports
2023-04-12 00:04:53 +12:00
Jake Barnby
a2cb3c135f
Fix migration of floats
2023-04-11 23:42:06 +12:00
Jake Barnby
0f1c1fda9e
Quote attribute name
2023-04-11 22:30:45 +12:00
Jake Barnby
c60d7764e4
Fix cache key
2023-04-11 22:27:49 +12:00
Jake Barnby
28a9a373b1
Fix binding
2023-04-11 22:27:29 +12:00
Jake Barnby
5689d47d41
Merge remote-tracking branch 'origin/1.3.x' into feat-db-update-migrations
...
# Conflicts:
# src/Appwrite/Migration/Version/V18.php
2023-03-23 15:05:35 +13:00
Damodar Lohani
c094a40a53
Update Migration.php
2023-03-17 07:09:50 +05:45
Damodar Lohani
6e4592dab4
Update migration V18.php
2023-03-17 07:08:47 +05:45
Damodar Lohani
787a41a52d
added migration
2023-03-17 01:21:46 +00:00
Matej Bačo
a4b31f6472
Fix after merge
2023-03-15 09:20:25 +01:00
Matej Bačo
d10c7c7775
Merge branch 'feat-db-pools-master' into feat-executor-v3-sync
2023-03-15 08:59:42 +01:00
Matej Bačo
4c5eaaa502
Remove leftover break
2023-03-14 19:49:11 +01:00
Matej Bačo
ae512cee1c
Fix formatting
2023-03-14 19:46:59 +01:00
Matej Bačo
c01fcb130c
Merge branch 'feat-db-pools-master' into feat-db-pools-sync
2023-03-14 12:58:54 +01:00
Jake Barnby
c06b38773c
Merge remote-tracking branch 'origin/1.3.x' into feat-db-update-migrations
...
# Conflicts:
# src/Appwrite/Migration/Migration.php
# src/Appwrite/Migration/Version/V18.php
2023-02-28 16:59:14 +13:00
Damodar Lohani
6b6f9edbd6
Merge branch '1.3.x' into feat-13x-master-sync
2023-02-21 07:38:46 +05:45
Damodar Lohani
9f3e815167
Merge branch 'feat-password-history' into feat-password-dictionary
2023-02-20 07:56:17 +05:45
Damodar Lohani
5acd78463a
Merge remote-tracking branch 'origin/feat-db-pools' into feat-db-pools-master-sync
2023-02-16 00:44:29 +00:00
Damodar Lohani
171f30adb1
Merge remote-tracking branch 'origin/master' into feat-db-pools-master-sync
2023-02-16 00:29:37 +00:00
Torsten Dittmann
244c4e1795
Merge branch 'master' of https://github.com/appwrite/appwrite into 1.2.x
2023-02-15 17:54:23 +01:00
shimon
bb98033aed
few last updates
2023-02-15 11:21:31 +02:00
Jake Barnby
d543705a54
Migration for database update
2023-02-15 20:35:24 +13:00
shimon
2bfe18d225
Merge branch 'feat-db-pools' of github.com:appwrite/appwrite into feat-new-usage-stats
...
Conflicts:
app/config/collections.php
app/workers/functions.php
composer.lock
2023-02-14 11:09:36 +02:00
Damodar Lohani
3215e8d8df
Merge remote-tracking branch 'origin/feat-db-pools' into feat-db-pools-master-sync
2023-02-14 04:54:02 +00:00
Steven Nguyen
7790079bb2
Bump version to 1.2.1
2023-02-13 15:55:54 -08:00
shimon
5850a454e0
addressing comments
2023-02-05 22:07:46 +02:00
shimon
d33f8cc910
Migration v17
2023-01-31 20:49:26 +02:00
Damodar Lohani
9e4f66cac4
update migration
2023-01-31 06:52:40 +00:00
Damodar Lohani
45bc0f4066
fix migration
2023-01-31 06:51:43 +00:00
Damodar Lohani
f15dd063fd
Update src/Appwrite/Migration/Version/V18.php
...
Co-authored-by: Matej Bačo <matejbacocom@gmail.com>
2023-01-29 15:11:42 +05:45
fogelito
c4ae047833
Merge branch 'master' of github.com:appwrite/appwrite into feat-technical-debt-2
...
Conflicts:
app/init.php
composer.json
composer.lock
2023-01-16 10:24:37 +02:00
Damodar Lohani
92e020b209
fix migration name
2023-01-16 06:41:44 +00:00
Damodar Lohani
16b80e1ef8
new migration
2023-01-16 05:04:35 +00:00
Damodar Lohani
f41e3b1e8f
Merge remote-tracking branch 'origin/master' into feat-db-pools-master-sync
2023-01-12 07:25:23 +00:00
Matej Bačo
070edcf55a
Fix buckets migration
2022-12-27 14:55:32 +01:00
Matej Bačo
7532309bbb
Apply suggestions from code review
2022-12-27 10:31:49 +01:00
Matej Bačo
d63c429d3e
Implement 1.2 migration
2022-12-27 08:35:55 +01:00
Matej Bačo
804dbb867c
Re-add migration, add missing env vars
2022-12-27 08:24:34 +01:00
Matej Bačo
4d33ba6db1
Fix big in migration class
2022-12-26 13:16:01 +01:00
Matej Bačo
bbe29e9aa7
Preparations for 1.2.0
2022-12-26 13:06:35 +01:00
Christy Jacob
ff9bccf1ff
Revert "Feat: Build output size"
2022-12-20 18:26:56 +05:30
Matej Bačo
b014eda788
PR review changes
2022-12-20 12:48:11 +01:00
Matej Bačo
1a33ffa867
Linter fix
2022-12-18 08:37:53 +01:00
Matej Bačo
8f363eae7a
Fix bugs
2022-12-18 08:35:16 +01:00
Matej Bačo
ab68bb4ea1
Merge branch 'feat-db-pools' into feat-build-size
2022-12-18 08:21:41 +01:00
Matej Bačo
c5da386d67
PR review changes
2022-12-18 08:20:50 +01:00
Christy Jacob
90e93f3255
Merge branch 'master' of https://github.com/appwrite/appwrite into feat-db-pools
2022-12-16 15:42:40 +00:00
Matej Bačo
4ee8fd5629
Add cache clean
2022-12-16 10:39:53 +01:00
fogelito
8ade726932
Changing Role + Permissions namespace
2022-12-14 18:04:06 +02:00
fogelito
f96128e14f
Changing Id
2022-12-14 17:42:25 +02:00
Matej Bačo
d702f3581f
Fix bug
2022-12-12 13:52:22 +01:00
Matej Bačo
de0de5f225
Linter fix
2022-12-12 13:45:21 +01:00
Matej Bačo
fe27670e1f
New attribute + migration
2022-12-12 13:39:43 +01:00
Christy Jacob
69d5a25c62
Merge branch 'master' of github.com:appwrite/appwrite into feat-db-pools
2022-12-07 15:39:44 +04:00
Matej Bačo
0a177713f0
Implement migration for mimeType
2022-12-07 11:01:58 +00:00
Torsten Dittmann
b382031ae7
chore: release 1.1.1
2022-11-23 18:43:48 +01:00
Christy Jacob
fc0b8730a9
Merge branch 'master' of https://github.com/appwrite/appwrite into feat-db-pools
2022-11-18 07:56:43 +00:00
Christy Jacob
080abbbb79
Merge branch 'master' of github.com:appwrite/appwrite into feat-add-console
2022-11-17 20:26:10 +05:30
Torsten Dittmann
dd34dfce22
fix: migration for oauthproviders
2022-11-17 15:33:46 +01:00
Torsten Dittmann
bba9284c3e
chore: add comments to v16 migration
2022-11-17 14:58:16 +01:00
Torsten Dittmann
d1eae37577
fix: make migration for oauth providers non-destructive
2022-11-17 14:57:27 +01:00
Torsten Dittmann
36cc6d8621
chore: prepare 1.1.1 release
2022-11-17 14:38:49 +01:00
Torsten Dittmann
53adb4e114
fix: migration for oauth providers
2022-11-17 12:38:09 +01:00
Torsten Dittmann
eb5e853f2d
fix: migration for stats region
2022-11-17 11:31:24 +01:00