Damodar Lohani
83d56a2f36
fix(indexes): set explicit lengths + orders on new indexes (greptile P1)
...
All four new indexes left lengths/orders as empty arrays; greptile
flagged the inconsistency vs every existing string-attribute index in
the file (e.g. _key_team uses [LENGTH_KEY], _key_unique uses
[LENGTH_KEY, LENGTH_KEY]).
- memberships._key_team_confirm: [LENGTH_KEY, 0] for (string, boolean)
+ [ORDER_ASC, ORDER_ASC]
- projects._key_teamInternalId: [LENGTH_KEY] + [ORDER_ASC]
- platforms._key_project_id: [LENGTH_KEY] + [ORDER_ASC]
- webhooks._key_project_id: [LENGTH_KEY] + [ORDER_ASC]
2026-05-06 04:44:58 +00:00
Damodar Lohani
94c968e941
feat(indexes): add 4 missing indexes (CLO-2333)
...
- memberships: _key_team_confirm on (teamInternalId, confirm) for team-membership confirm-state queries
- projects: _key_teamInternalId on teamInternalId for team-scoped project lookups
- platforms: _key_project_id on projectId for user-facing-id lookups
- webhooks: _key_project_id on projectId for user-facing-id lookups
Re-applies the indexes from the stale PR #9629 (1.7.x base, conflicting)
onto a fresh 1.9.x branch. None of these are in 1.9.x today; existing
similar indexes target projectInternalId / teamId rather than the
user-facing projectId / teamInternalId queries this addresses.
2026-05-06 04:35:29 +00:00
Matej Bačo
bb80e50d01
Self review after refactor
2026-03-27 14:00:44 +01:00
Matej Bačo
a06aaaf9ca
Remove Db schema changes
2026-03-24 13:55:54 +01:00
Matej Bačo
a8f43f3486
Update DB schema
2026-03-24 13:36:11 +01:00
Damodar Lohani
ead7d03c6c
Feat: Add project status attribute
...
Add project status attribute to platform collections and set default status in project creation
2026-02-11 01:18:21 +00:00
Matej Bačo
14a96a2b56
Remove unnessessary attributes
2026-01-28 14:50:17 +01:00
Matej Bačo
b317f85fb6
Fix depricated schema
2026-01-21 16:27:09 +01:00
Matej Bačo
497e5f8d00
tests fixes
2026-01-10 16:57:23 +01:00
Matej Bačo
3d4b29e0f1
Merge branch '1.8.x' into chore-php-types
2026-01-10 16:42:38 +01:00
Matej Bačo
dad21a912e
PR review changes
2026-01-10 16:35:09 +01:00
Shmuel Fogel and GitHub
2c5bc32f7e
Merge pull request #11072 from appwrite/platform-rules-collections
...
Sync platform rules + common targets tables
2026-01-06 13:59:41 +02:00
Matej Bačo
1db12e78ef
AI code review
2026-01-05 14:42:03 +01:00
fogelito
b6aeaffe8b
Remove region index
2026-01-04 12:20:22 +02:00
fogelito
65883122e3
rules changes
2026-01-04 12:16:59 +02:00
Matej Bačo
8d1acef95d
Implement project labels
2025-12-31 15:44:18 +01:00
Hemachandar and GitHub
c1e50c7abd
Write to new resource attributes in keys ( #11003 )
...
* Write to new resource attributes in `keys`
* temp for tests
* list keys
* add subqueries
* lint
2025-12-30 17:09:59 +05:30
Matej Bačo
c0c1d693c2
DB schema update for keys
2025-12-23 13:06:25 +01:00
Matej Bačo
c69382f29f
Fix invalid index
2025-12-19 16:11:43 +01:00
Matej Bačo and GitHub
859d146e85
Apply suggestions from code review
2025-12-19 13:41:18 +01:00
Matej Bačo
69d5ce0f55
Switch over to resource-based key DB structure
2025-12-19 13:40:32 +01:00
Matej Bačo
0a3877a900
New DB schema
2025-12-19 13:09:34 +01:00
Hemachandar
5ae148f026
Add logs to rules
2025-12-16 10:59:16 +05:30
fogelito
2c1655e450
Update audit lib & platform
2025-08-13 13:08:31 +03:00
Jake Barnby
43493f71aa
Remove invalid collections
2025-05-16 22:10:13 +12:00
Jake Barnby
a23548fba5
Add domains + dnsRecords to platform
2025-05-16 14:57:18 +12:00
Darshan
d50b3f1519
fix: indexes on changed attributes.
2025-05-13 17:25:01 +05:30
Matej Bačo
af0c872999
Merge branch '1.6.x' into 1.7.x
2025-05-13 10:11:39 +02:00
Matej Bačo
3b38b6bb57
Migration review fixes
2025-05-12 16:52:13 +02:00
Matej Bačo
841d260b5f
PlatformDB migration preparations
2025-04-29 11:31:06 +02:00
Matej Bačo
9993cca484
Merge branch '1.7.x' into feat-development-keys
2025-04-17 15:51:31 +02:00
Chirag Aggarwal
b4b356e61f
chore: add queries and search to listing devkeys
2025-04-09 11:14:02 +00:00
Chirag Aggarwal
7aecd3814a
fix: minor mistakes in devkeys naming and initialization
2025-04-09 09:15:36 +00:00
fogelito
4396c5f0fc
Update indexes console
2025-04-07 08:48:53 +03:00
Chirag Aggarwal and GitHub
9df221d333
Merge branch '1.6.x' into feat-development-keys
2025-03-14 19:42:31 +05:30
Matej Bačo
d77dbebe8b
Merge branch '1.7.x' into feat-sites
2025-03-14 13:53:34 +01:00
Matej Bačo
f6fc425c98
Add rule attributes
2025-03-14 09:37:44 +01:00
Matej Bačo
f75acfa503
Remove deploymentUpdatePolicy, add trigger
2025-03-08 19:19:05 +01:00
Matej Bačo
92b696ea21
Introduce type-relevant attributes to rules
2025-03-07 10:14:45 +01:00
Matej Bačo
2ba84bf93f
Rule search param fix
2025-02-25 10:47:47 +01:00
Matej Bačo
a56086f8bf
Basics of rules rework
2025-02-23 21:34:14 +01:00
Chirag Aggarwal
431eea2787
Merge branch '1.6.x' into feat-development-keys
2025-02-21 09:24:04 +00:00
Chirag Aggarwal
0dba22c606
chore: updated installations collection
2025-02-17 05:57:30 +00:00
Matej Bačo
e8af2338ec
Add oauth attributes to installation
2025-02-10 11:05:35 +01:00
Chirag Aggarwal
d5e775416d
chore: added devkeys collections to new file, and formatting
2025-01-27 10:36:40 +00:00
Darshan
c7b2a90a0c
feat: split collections.
2025-01-02 10:18:47 +05:30