Datbase mssql
Directus Version: 11.13.2
Directus cannot handle nvarchar(-1) which should be nvarchar(max) instead;
Expected behaviour is to apply schema with a column that is nvarchar max
ALTER TABLE [tbl_ordernotes] ALTER COLUMN [ordernote_value] nvarchar(-1) null - Incorrect syntax near ')'.
schema.yaml
...
schema:
name: ordernote_value
table: tbl_ordernotes
data_type: varchar
default_value: null
max_length: -1
numeric_precision: null
numeric_scale: null
is_nullable: true
is_unique: false
is_indexed: false
is_primary_key: false
is_generated: false
generation_expression: null
has_auto_increment: false
foreign_key_table: null
foreign_key_column: null
...