Commit graph

361 commits

Author SHA1 Message Date
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
Torsten Dittmann
35b7a2ee96 fix: linter 2022-11-15 15:22:57 +01:00
Torsten Dittmann
522ae8d538 feat: migration for 1.1.x 2022-11-15 13:59:35 +01:00
Torsten Dittmann
825738ced9 chore: prepare 1.1.x 2022-11-14 22:42:48 +01:00
Christy Jacob
6bfb76b620 Merge branch 'master' of https://github.com/appwrite/appwrite into feat-db-pools 2022-10-18 07:57:34 +00:00
Torsten Dittmann
bc66efa1a5 chore: prepare 1.0.3 2022-10-12 12:03:55 +02:00
Torsten Dittmann
757a3f8651 chore: prepare 1.0.2 2022-09-30 12:27:26 +02:00
Steven Nguyen
c97fea37c0 Fix migration for audit
`time` attribute should be a DateTime type rather than int.
2022-09-29 19:15:54 +00:00
Christy Jacob
3b802e9ba6 Merge branch 'master' of github.com:appwrite/appwrite into feat-db-pools 2022-09-27 20:59:50 +05:30
Torsten Dittmann
95d322dc36 feat: prepare 1.0.1 release 2022-09-14 21:03:00 +02:00
Torsten Dittmann
fab87c7f00 fix: migration for abuse time column 2022-09-14 19:40:03 +02:00
Torsten Dittmann
64926c7f4c fix: functions execute permissions on migration 2022-09-14 13:57:02 +02:00
Torsten Dittmann
bdd67b0127 fix: user migration not happening twice 2022-09-14 13:02:14 +02:00
Torsten Dittmann
89f18f36b5 fix: migration permissions fix 2022-09-14 12:19:52 +02:00
Torsten Dittmann
620d864d17 fix: migration prevent second password 2022-09-14 12:10:27 +02:00
Torsten Dittmann
78cd9ea71a chore: prepare 1.0.0 release 2022-09-14 11:00:13 +02:00
Torsten Dittmann
9c59deca1d fix: create scheduleUpdatedAt attribute on migration 2022-09-14 10:21:32 +02:00
Torsten Dittmann
e416f9b017 fix: new functions enabled index 2022-09-14 09:26:22 +02:00
Torsten Dittmann
5e5ca0ba16 adapt to review 2022-09-14 09:12:17 +02:00
Torsten Dittmann
ae0919a3d5 fix: add role:member migration 2022-09-13 18:54:03 +02:00
Torsten Dittmann
22038daa0e chore: remove old broken migrations 2022-09-12 16:20:53 +02:00
Torsten Dittmann
e0267da7ac fix: migrate variables 2022-09-12 16:06:05 +02:00
Torsten Dittmann
a7ef1367b8 chore: fix linter 2022-09-12 15:54:12 +02:00
Torsten Dittmann
75e80a210c fix: stats migration 2022-09-12 15:53:00 +02:00
Torsten Dittmann
704fd8693c fix: migrate executions and write permissions 2022-09-12 11:55:54 +02:00
Torsten Dittmann
21d40f4849 fix: qa 2022-09-09 19:50:05 +02:00
Torsten Dittmann
4822e326f2 add more logic 2022-09-09 14:44:04 +02:00
Torsten Dittmann
a059ec11e7 add some fixes 2022-09-09 11:38:54 +02:00
Torsten Dittmann
b19b9d450f feat: migration of 1.0.0 2022-09-08 18:46:18 +02:00
Torsten Dittmann
ee80bf7ca7 feat: introduce 1.0.0 migration 2022-09-07 10:43:05 +02:00
Christy Jacob
d3308a4d42 Merge branch 'master' of github.com:appwrite/appwrite into feat-db-pools 2022-08-24 14:40:06 +05:30
Jake Barnby
9c260164ef Merge remote-tracking branch 'origin/feat-datetime-attributes-with-database-query-update' into refactor-permissions-inc-queries-update-datetime-fixes
# Conflicts:
#	app/controllers/api/databases.php
#	app/controllers/api/storage.php
#	app/controllers/general.php
#	app/controllers/shared/api.php
#	composer.json
#	composer.lock
2022-08-14 23:46:34 +12:00
Jake Barnby
b007acfa95 ID updates 2022-08-14 22:33:36 +12:00
Steven
610ec1a6a4 Update database query syntax 2022-08-14 05:44:55 +00:00
Torsten Dittmann
80258efc7f feat: prepare 0.15.3 2022-07-22 17:53:50 +02:00
Torsten Dittmann
3a963fab0b fix: remove unnecessary conditions 2022-07-20 15:27:27 +02:00
Torsten Dittmann
5f773c30cb fix: migration of attributes and indexes 2022-07-20 15:15:52 +02:00
Christy Jacob
cbccaf9527 feat: update migration 2022-07-16 00:58:15 +04:00
Torsten Dittmann
6683e5f8ec prepare: 0.15.2 2022-07-06 13:25:42 +02:00
Torsten Dittmann
95181b0a7f prepare: 0.15.1 release 2022-06-29 13:36:35 +02:00
Torsten Dittmann
7028bc1415 fix: internal id twice 2022-06-29 12:31:11 +02:00
Torsten Dittmann
8ee78137e6 fix: internal attribute and index key on migration 2022-06-29 01:07:48 +02:00
Torsten Dittmann
def1c35377 chore: add more comments 2022-06-27 18:44:39 +02:00
Torsten Dittmann
ff219cf91a fix: project internal id migration 2022-06-27 18:26:24 +02:00
Torsten Dittmann
c0649f7385 fix: migration 2022-06-27 18:22:29 +02:00
Torsten Dittmann
c3c6d00a9c fix: case for console projects 2022-06-27 16:58:57 +02:00
Torsten Dittmann
d945cb2a72 fix: remove var dump 2022-06-27 13:58:21 +02:00
Torsten Dittmann
d36e5b0167 fix: migration speed 2022-06-27 13:46:32 +02:00
Torsten Dittmann
f240a11c54 fix: migrate bucket files 2022-06-27 13:10:04 +02:00
Torsten Dittmann
129653a6d6 fix: migrate databaseId 2022-06-24 18:46:13 +02:00
Torsten Dittmann
2c328c744d chore: run linter 2022-06-24 18:37:41 +02:00
Torsten Dittmann
ababeef84d fix: update files on migration 2022-06-24 18:15:51 +02:00
Torsten Dittmann
016d6939d5 fix: buckets 2022-06-24 16:04:42 +02:00
Torsten Dittmann
8e3ed52924 style: add more comments to migration 2022-06-23 10:50:53 +02:00
Torsten Dittmann
d26baf1f57 fix: migration and add more tests 2022-06-23 10:18:23 +02:00
Torsten Dittmann
a37f84da01 fix: migration 2022-06-22 23:11:42 +02:00
Torsten Dittmann
604c7e4992 fix: database layer migration 2022-06-22 15:52:21 +02:00
Torsten Dittmann
12f49f66be chore: run formatter 2022-06-21 20:05:31 +02:00
Torsten Dittmann
21d4a8c14c style: fix order 2022-06-21 20:05:12 +02:00
Torsten Dittmann
786abc5672 chore: add comments to migration 2022-06-21 19:59:20 +02:00
Torsten Dittmann
fc36e6c2d0 fix: migration for custom collections and buckets 2022-06-21 19:39:05 +02:00
Torsten Dittmann
467246cc73 fix: migrate webhooks and users 2022-06-21 18:32:04 +02:00
Torsten Dittmann
61cb9b2713 fix: migration for internal ids on documents 2022-06-21 17:59:11 +02:00
Torsten Dittmann
718f4f1b5d fix: migration to modify tables 2022-06-21 15:46:05 +02:00
Torsten Dittmann
ef6768433c feat: migrate createdAt and updatedAt to collections 2022-06-21 12:48:56 +02:00
Torsten Dittmann
87f79509a0 feat: migration for 0.15 collections 2022-06-21 12:17:18 +02:00
Torsten Dittmann
16dffdb0bf chore update version 2022-06-19 09:40:25 +00:00
Everly Precia Suresh
616e813229 add comment when fall-through is intentional in a non-empty case body 2022-06-02 22:18:42 +00:00
Everly Precia Suresh
19300ccdd7 format files in app, src, tests 2022-05-23 14:54:50 +00:00
Torsten Dittmann
977c829155
Merge pull request #3251 from appwrite/prepare-0-14-2
chore: prepare 0.14.2 release
2022-05-19 17:11:32 +02:00
Torsten Dittmann
a00a35a02c chore: prepare 0.14.2 release 2022-05-19 15:19:51 +02:00
Torsten Dittmann
0a559a3562 tests: add more migration tests 2022-05-19 14:17:18 +02:00
Torsten Dittmann
706ecc6b40 fix: migration method 2022-05-19 13:53:11 +02:00
Torsten Dittmann
2fcbaee0b6 Revert "push debug logs"
This reverts commit 4cbf3b1e12.
2022-05-19 11:53:06 +02:00
Torsten Dittmann
4cbf3b1e12 push debug logs 2022-05-19 11:49:48 +02:00
Torsten Dittmann
27be739d5e feat: improve migration speed 2022-05-19 11:29:01 +02:00
Torsten Dittmann
a44a951285 chore: prepare 0.14.1 release 2022-05-18 17:09:06 +02:00
Torsten Dittmann
bb0db796f7 feat: account update status 2022-05-16 11:58:17 +02:00
Torsten Dittmann
e68c48a713 fix: make numbers more readable 2022-05-16 11:27:25 +02:00
Torsten Dittmann
5b6900ac84 fix: migration 2022-05-16 11:14:23 +02:00
Torsten Dittmann
39b994c958 fix: migration 2022-05-13 14:49:31 +02:00
Torsten Dittmann
50415d5b37 fix: migration for subqueries 2022-05-13 14:32:18 +02:00
Torsten Dittmann
03723c0f90 tests: remove unused event 2022-05-12 19:24:54 +02:00
Torsten Dittmann
936fed3b13 chore: update versions 2022-05-08 20:53:20 +02:00