delete map user_type as it is no longer required (#309)

This commit is contained in:
Ulf Gebhardt 2025-08-14 08:08:14 +01:00 committed by GitHub
parent cf80f35b5c
commit aa13c44cba
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 15807 additions and 15901 deletions

View File

@ -17,7 +17,7 @@ export class mapApi {
try {
const map = await directusClient.request(
readItems('maps' as any, {
fields: ['*', { user_type: ['name'] }],
fields: ['*'],
filter: { url: { _eq: this.url } } as any,
limit: 500,
}),

View File

@ -1,47 +0,0 @@
{
"collection": "maps",
"field": "user_type",
"type": "uuid",
"meta": {
"collection": "maps",
"conditions": null,
"display": null,
"display_options": null,
"field": "user_type",
"group": null,
"hidden": true,
"interface": "select-dropdown-m2o",
"note": null,
"options": {
"template": "{{name}}"
},
"readonly": false,
"required": false,
"sort": 9,
"special": [
"m2o"
],
"translations": null,
"validation": null,
"validation_message": null,
"width": "full"
},
"schema": {
"name": "user_type",
"table": "maps",
"data_type": "uuid",
"default_value": null,
"max_length": null,
"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": "types",
"foreign_key_column": "id"
}
}

View File

@ -1,25 +0,0 @@
{
"collection": "maps",
"field": "user_type",
"related_collection": "types",
"meta": {
"junction_field": null,
"many_collection": "maps",
"many_field": "user_type",
"one_allowed_collections": null,
"one_collection": "types",
"one_collection_field": null,
"one_deselect_action": "nullify",
"one_field": null,
"sort_field": null
},
"schema": {
"table": "maps",
"column": "user_type",
"foreign_key_table": "types",
"foreign_key_column": "id",
"constraint_name": "maps_user_type_foreign",
"on_update": "NO ACTION",
"on_delete": "SET NULL"
}
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff