dsql-admin/dsql-app/package-shared/data/defaultFields.json

46 lines
1.1 KiB
JSON
Raw Normal View History

2024-12-06 13:24:26 +00:00
[
{
"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"
}
]