mirror of
https://github.com/appwrite/appwrite
synced 2026-05-22 16:38:32 +00:00
add: lengths to column indexes.
This commit is contained in:
parent
ffec769f4a
commit
ad34cf3a62
1 changed files with 7 additions and 0 deletions
|
|
@ -42,6 +42,13 @@ class ColumnIndex extends Model
|
|||
'example' => [],
|
||||
'array' => true,
|
||||
])
|
||||
->addRule('lengths', [
|
||||
'type' => self::TYPE_INTEGER,
|
||||
'description' => 'Index columns length.',
|
||||
'default' => [],
|
||||
'example' => [],
|
||||
'array' => true,
|
||||
])
|
||||
->addRule('orders', [
|
||||
'type' => self::TYPE_STRING,
|
||||
'description' => 'Index orders.',
|
||||
|
|
|
|||
Loading…
Reference in a new issue