dsql-admin/dsql-app/package-shared/data/defaultFields.json
Benjamin Toby 8b7ea057d0 Updates
2024-12-06 14:24:26 +01:00

46 lines
1.1 KiB
JSON
Executable File

[
{
"fieldName": "id",
"dataType": "BIGINT",
"notNullValue": true,
"primaryKey": true,
"autoIncrement": true
},
{
"fieldName": "uuid",
"dataType": "UUID",
"defaultValueLiteral": "UUID()"
},
{
"fieldName": "date_created",
"dataType": "VARCHAR(250)",
"nullValue": true
},
{
"fieldName": "date_created_code",
"dataType": "BIGINT",
"nullValue": true
},
{
"fieldName": "date_created_timestamp",
"dataType": "TIMESTAMP",
"defaultValueLiteral": "CURRENT_TIMESTAMP"
},
{
"fieldName": "date_updated",
"dataType": "VARCHAR(250)",
"nullValue": true
},
{
"fieldName": "date_updated_code",
"dataType": "BIGINT",
"nullValue": true
},
{
"fieldName": "date_updated_timestamp",
"dataType": "TIMESTAMP",
"defaultValueLiteral": "CURRENT_TIMESTAMP",
"onUpdateLiteral": "CURRENT_TIMESTAMP"
}
]