Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
{
"db_name": "PostgreSQL",
"query": "\n INSERT INTO property_definitions (\n id,\n team_id,\n user_id,\n display_name,\n data_type,\n is_multi_select,\n specific_entity_type\n )\n VALUES ($1, $2, $3, $4, $5, $6, $7)\n RETURNING\n id,\n team_id,\n user_id,\n database_id,\n display_name,\n data_type as \"data_type: DataType\",\n is_multi_select,\n specific_entity_type as \"specific_entity_type: Option<EntityType>\",\n created_at,\n updated_at\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "id",
"type_info": "Uuid"
},
{
"ordinal": 1,
"name": "team_id",
"type_info": "Uuid"
},
{
"ordinal": 2,
"name": "user_id",
"type_info": "Text"
},
{
"ordinal": 3,
"name": "database_id",
"type_info": "Uuid"
},
{
"ordinal": 4,
"name": "display_name",
"type_info": "Text"
},
{
"ordinal": 5,
"name": "data_type: DataType",
"type_info": {
"Custom": {
"name": "property_data_type",
"kind": {
"Enum": [
"BOOLEAN",
"DATE",
"NUMBER",
"STRING",
"SELECT_NUMBER",
"SELECT_STRING",
"ENTITY",
"LINK",
"TAG",
"DATE_RANGE"
]
}
}
}
},
{
"ordinal": 6,
"name": "is_multi_select",
"type_info": "Bool"
},
{
"ordinal": 7,
"name": "specific_entity_type: Option<EntityType>",
"type_info": {
"Custom": {
"name": "property_entity_type",
"kind": {
"Enum": [
"CHANNEL",
"CHAT",
"DOCUMENT",
"PROJECT",
"THREAD",
"USER",
"COMPANY",
"TASK",
"CALL_RECORD",
"CALENDAR_EVENT",
"INITIATIVE",
"CONTACT",
"DATABASE_ROW"
]
}
}
}
},
{
"ordinal": 8,
"name": "created_at",
"type_info": "Timestamptz"
},
{
"ordinal": 9,
"name": "updated_at",
"type_info": "Timestamptz"
}
],
"parameters": {
"Left": [
"Uuid",
"Uuid",
"Text",
"Text",
{
"Custom": {
"name": "property_data_type",
"kind": {
"Enum": [
"BOOLEAN",
"DATE",
"NUMBER",
"STRING",
"SELECT_NUMBER",
"SELECT_STRING",
"ENTITY",
"LINK",
"TAG",
"DATE_RANGE"
]
}
}
},
"Bool",
{
"Custom": {
"name": "property_entity_type",
"kind": {
"Enum": [
"CHANNEL",
"CHAT",
"DOCUMENT",
"PROJECT",
"THREAD",
"USER",
"COMPANY",
"TASK",
"CALL_RECORD",
"CALENDAR_EVENT",
"INITIATIVE",
"CONTACT",
"DATABASE_ROW"
]
}
}
}
]
},
"nullable": [
false,
true,
true,
true,
false,
false,
false,
true,
false,
false
]
},
"hash": "e64643f74d6c1b430217edb121d0534776165c0574856a35c390e50995de288e"
}