Commit graph

258 commits

Author SHA1 Message Date
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
shimon
bbbbedfd83 migration bucketInternalId 2023-05-14 10:43:44 +03:00
Steven Nguyen
afd2c7a065
Update migration to set bucket permissions in metadata table 2023-05-03 12:15:37 -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
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
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
c60d7764e4
Fix cache key 2023-04-11 22:27:49 +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
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
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
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
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
Matej Bačo
0a177713f0 Implement migration for mimeType 2022-12-07 11:01:58 +00:00
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
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
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
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
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
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
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