mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2025-12-12 23:36:00 +00:00
delete map user_type as it is no longer required (#309)
This commit is contained in:
parent
cf80f35b5c
commit
aa13c44cba
@ -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,
|
||||
}),
|
||||
|
||||
@ -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"
|
||||
}
|
||||
}
|
||||
@ -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
Loading…
x
Reference in New Issue
Block a user