1
0
Fork 0
mirror of synced 2024-06-02 02:25:17 +12:00
budibase/qa-core/src/tests/public-api/tables/fixtures/table.json
2022-09-05 18:28:53 +01:00

94 lines
2 KiB
JSON

{
"name": "test",
"primaryDisplay": "sasa",
"schema": {
"Auto ID": {
"autocolumn": true,
"constraints": {
"numericality": {
"greaterThanOrEqualTo": "",
"lessThanOrEqualTo": ""
},
"presence": false,
"type": "number"
},
"icon": "ri-magic-line",
"name": "Auto ID",
"subtype": "autoID",
"type": "number"
},
"Created At": {
"autocolumn": true,
"constraints": {
"datetime": {
"earliest": "",
"latest": ""
},
"length": {},
"presence": false,
"type": "string"
},
"icon": "ri-magic-line",
"name": "Created At",
"subtype": "createdAt",
"type": "datetime"
},
"Created By": {
"autocolumn": true,
"constraints": {
"presence": false,
"type": "array"
},
"fieldName": "test12-Created By",
"icon": "ri-magic-line",
"name": "Created By",
"relationshipType": "many-to-many",
"subtype": "createdBy",
"tableId": "ta_users",
"type": "link"
},
"sasa": {
"constraints": {
"length": {
"maximum": null
},
"presence": {
"allowEmpty": false
},
"type": "string"
},
"name": "sasa",
"type": "string"
},
"Updated At": {
"autocolumn": true,
"constraints": {
"datetime": {
"earliest": "",
"latest": ""
},
"length": {},
"presence": false,
"type": "string"
},
"icon": "ri-magic-line",
"name": "Updated At",
"subtype": "updatedAt",
"type": "datetime"
},
"Updated By": {
"autocolumn": true,
"constraints": {
"presence": false,
"type": "array"
},
"fieldName": "test12-Updated By",
"icon": "ri-magic-line",
"name": "Updated By",
"relationshipType": "many-to-many",
"subtype": "updatedBy",
"tableId": "ta_users",
"type": "link"
}
}
}