realtor-lp-backend/sqlx-data.json

1572 lines
36 KiB
JSON

{
"db": "PostgreSQL",
"05a794cb8f74d38e21c59094af5e0ac12284cdb4bc3a4ecd53c6dff764fa435e": {
"describe": {
"columns": [
{
"name": "id",
"ordinal": 0,
"type_info": "Uuid"
},
{
"name": "title",
"ordinal": 1,
"type_info": "Varchar"
},
{
"name": "description",
"ordinal": 2,
"type_info": "Text"
},
{
"name": "realtor_id",
"ordinal": 3,
"type_info": "Uuid"
},
{
"name": "media: _",
"ordinal": 4,
"type_info": "Text"
},
{
"name": "project_condition: _",
"ordinal": 5,
"type_info": "Varchar"
},
{
"name": "project_type: _",
"ordinal": 6,
"type_info": "Varchar"
},
{
"name": "project_state: _",
"ordinal": 7,
"type_info": "Varchar"
},
{
"name": "country",
"ordinal": 8,
"type_info": "Varchar"
},
{
"name": "city",
"ordinal": 9,
"type_info": "Varchar"
},
{
"name": "district",
"ordinal": 10,
"type_info": "Varchar"
},
{
"name": "admin_tag",
"ordinal": 11,
"type_info": "Varchar"
},
{
"name": "floors",
"ordinal": 12,
"type_info": "Int2"
},
{
"name": "finish_date",
"ordinal": 13,
"type_info": "Date"
},
{
"name": "order_index",
"ordinal": 14,
"type_info": "Int4"
},
{
"name": "time_created",
"ordinal": 15,
"type_info": "Timestamptz"
},
{
"name": "last_updated",
"ordinal": 16,
"type_info": "Timestamptz"
}
],
"nullable": [
false,
true,
false,
false,
false,
false,
false,
false,
false,
false,
false,
true,
false,
false,
false,
false,
false
],
"parameters": {
"Left": [
"Uuid"
]
}
},
"query": "SELECT \n id,\n title,\n description,\n realtor_id,\n media as \"media: _\",\n project_condition as \"project_condition: _\",\n project_type as \"project_type: _\",\n project_state as \"project_state: _\",\n country,\n city, \n district,\n admin_tag,\n floors,\n finish_date,\n order_index,\n time_created,\n last_updated\nFROM project WHERE id = $1;\n"
},
"066b243662a9077b8c5ce72277930c746558b1725a15faa7c235b63b00fde59c": {
"describe": {
"columns": [
{
"name": "id",
"ordinal": 0,
"type_info": "Uuid"
},
{
"name": "title",
"ordinal": 1,
"type_info": "Varchar"
},
{
"name": "description",
"ordinal": 2,
"type_info": "Text"
},
{
"name": "realtor_id",
"ordinal": 3,
"type_info": "Uuid"
},
{
"name": "media: _",
"ordinal": 4,
"type_info": "Text"
},
{
"name": "project_condition: _",
"ordinal": 5,
"type_info": "Varchar"
},
{
"name": "project_type: _",
"ordinal": 6,
"type_info": "Varchar"
},
{
"name": "project_state: _",
"ordinal": 7,
"type_info": "Varchar"
},
{
"name": "country",
"ordinal": 8,
"type_info": "Varchar"
},
{
"name": "city",
"ordinal": 9,
"type_info": "Varchar"
},
{
"name": "district",
"ordinal": 10,
"type_info": "Varchar"
},
{
"name": "admin_tag",
"ordinal": 11,
"type_info": "Varchar"
},
{
"name": "floors",
"ordinal": 12,
"type_info": "Int2"
},
{
"name": "finish_date",
"ordinal": 13,
"type_info": "Date"
},
{
"name": "order_index",
"ordinal": 14,
"type_info": "Int4"
},
{
"name": "time_created",
"ordinal": 15,
"type_info": "Timestamptz"
},
{
"name": "last_updated",
"ordinal": 16,
"type_info": "Timestamptz"
}
],
"nullable": [
false,
true,
false,
false,
false,
false,
false,
false,
false,
false,
false,
true,
false,
false,
false,
false,
false
],
"parameters": {
"Left": [
"Uuid"
]
}
},
"query": "SELECT \n id,\n title,\n description,\n realtor_id,\n media as \"media: _\",\n project_condition as \"project_condition: _\",\n project_type as \"project_type: _\",\n project_state as \"project_state: _\",\n country,\n city, \n district,\n admin_tag,\n floors,\n finish_date,\n order_index,\n time_created,\n last_updated\nFROM project WHERE realtor_id = $1;\n"
},
"1de871eb06903280d3be4e4ef8f67cde596807784e726ff62d03c2c9f6d6ba76": {
"describe": {
"columns": [
{
"name": "id",
"ordinal": 0,
"type_info": "Uuid"
},
{
"name": "name",
"ordinal": 1,
"type_info": "Varchar"
},
{
"name": "bio",
"ordinal": 2,
"type_info": "Varchar"
},
{
"name": "phone_number",
"ordinal": 3,
"type_info": "Varchar"
},
{
"name": "email",
"ordinal": 4,
"type_info": "Varchar"
},
{
"name": "profile_picture_url",
"ordinal": 5,
"type_info": "Varchar"
},
{
"name": "show_projects",
"ordinal": 6,
"type_info": "Bool"
},
{
"name": "shortcode",
"ordinal": 7,
"type_info": "Varchar"
},
{
"name": "remax_agent_id",
"ordinal": 8,
"type_info": "Int4"
},
{
"name": "time_created",
"ordinal": 9,
"type_info": "Timestamptz"
},
{
"name": "last_updated",
"ordinal": 10,
"type_info": "Timestamptz"
}
],
"nullable": [
false,
false,
false,
false,
true,
false,
false,
false,
true,
false,
false
],
"parameters": {
"Left": [
"Text"
]
}
},
"query": "SELECT * FROM realtor WHERE shortcode = $1;"
},
"2482798d8601fd41678197770bf51af67cd962d210ff65b9236f24f0425d7341": {
"describe": {
"columns": [
{
"name": "id",
"ordinal": 0,
"type_info": "Uuid"
},
{
"name": "name",
"ordinal": 1,
"type_info": "Varchar"
},
{
"name": "bio",
"ordinal": 2,
"type_info": "Varchar"
},
{
"name": "phone_number",
"ordinal": 3,
"type_info": "Varchar"
},
{
"name": "email",
"ordinal": 4,
"type_info": "Varchar"
},
{
"name": "profile_picture_url",
"ordinal": 5,
"type_info": "Varchar"
},
{
"name": "show_projects",
"ordinal": 6,
"type_info": "Bool"
},
{
"name": "shortcode",
"ordinal": 7,
"type_info": "Varchar"
},
{
"name": "remax_agent_id",
"ordinal": 8,
"type_info": "Int4"
},
{
"name": "time_created",
"ordinal": 9,
"type_info": "Timestamptz"
},
{
"name": "last_updated",
"ordinal": 10,
"type_info": "Timestamptz"
}
],
"nullable": [
false,
false,
false,
false,
true,
false,
false,
false,
true,
false,
false
],
"parameters": {
"Left": [
"Uuid",
"Varchar",
"Varchar",
"Varchar",
"Varchar",
"Varchar",
"Bool",
"Varchar",
"Int4",
"Timestamptz"
]
}
},
"query": "INSERT INTO realtor (\n id, name, bio, phone_number, email, profile_picture_url, show_projects, shortcode, remax_agent_id, time_created, last_updated\n) VALUES (\n $1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $10\n) RETURNING *;"
},
"39cc220eaa29a94125da6d2baf3fc82a26c1ee626f3ecacb2b1cab3151cbe00c": {
"describe": {
"columns": [
{
"name": "id",
"ordinal": 0,
"type_info": "Uuid"
},
{
"name": "project_id",
"ordinal": 1,
"type_info": "Uuid"
},
{
"name": "realtor_id",
"ordinal": 2,
"type_info": "Uuid"
},
{
"name": "media: _",
"ordinal": 3,
"type_info": "Text"
},
{
"name": "property_type: _",
"ordinal": 4,
"type_info": "Varchar"
},
{
"name": "property_sale_type: _",
"ordinal": 5,
"type_info": "Varchar"
},
{
"name": "country",
"ordinal": 6,
"type_info": "Varchar"
},
{
"name": "city",
"ordinal": 7,
"type_info": "Varchar"
},
{
"name": "district",
"ordinal": 8,
"type_info": "Varchar"
},
{
"name": "price_usd",
"ordinal": 9,
"type_info": "Float8"
},
{
"name": "rooms",
"ordinal": 10,
"type_info": "Int2"
},
{
"name": "bathrooms",
"ordinal": 11,
"type_info": "Float4"
},
{
"name": "area",
"ordinal": 12,
"type_info": "Float4"
},
{
"name": "admin_tag",
"ordinal": 13,
"type_info": "Varchar"
},
{
"name": "time_created",
"ordinal": 14,
"type_info": "Timestamptz"
},
{
"name": "last_updated",
"ordinal": 15,
"type_info": "Timestamptz"
}
],
"nullable": [
false,
true,
false,
false,
false,
false,
true,
true,
true,
false,
false,
false,
false,
true,
false,
false
],
"parameters": {
"Left": [
"Uuid"
]
}
},
"query": "SELECT \n id,\n project_id,\n realtor_id,\n media as \"media: _\",\n property_type as \"property_type: _\",\n property_sale_type as \"property_sale_type: _\",\n country,\n city,\n district,\n price_usd,\n rooms,\n bathrooms,\n area,\n admin_tag,\n time_created,\n last_updated\nFROM property WHERE id = $1;"
},
"3acc0efdfdf6fd4e86b0f197cd27b7378507b82915127b76a6cf76a8f7cb5618": {
"describe": {
"columns": [
{
"name": "id",
"ordinal": 0,
"type_info": "Uuid"
},
{
"name": "who_was",
"ordinal": 1,
"type_info": "Uuid"
},
{
"name": "ip_address",
"ordinal": 2,
"type_info": "Varchar"
},
{
"name": "browser_width",
"ordinal": 3,
"type_info": "Int4"
},
{
"name": "browser_height",
"ordinal": 4,
"type_info": "Int4"
},
{
"name": "user_agent",
"ordinal": 5,
"type_info": "Varchar"
},
{
"name": "time_created",
"ordinal": 6,
"type_info": "Timestamptz"
}
],
"nullable": [
false,
true,
false,
false,
false,
false,
false
],
"parameters": {
"Left": [
"Uuid"
]
}
},
"query": "SELECT * FROM trackable WHERE id = $1;"
},
"45b2fd6a4b72efa359a9f8da7d7dede96bd0d2451abd0127f9e4b89bd1e69c1d": {
"describe": {
"columns": [
{
"name": "id",
"ordinal": 0,
"type_info": "Uuid"
},
{
"name": "title",
"ordinal": 1,
"type_info": "Varchar"
},
{
"name": "description",
"ordinal": 2,
"type_info": "Text"
},
{
"name": "realtor_id",
"ordinal": 3,
"type_info": "Uuid"
},
{
"name": "media: _",
"ordinal": 4,
"type_info": "Text"
},
{
"name": "project_condition: _",
"ordinal": 5,
"type_info": "Varchar"
},
{
"name": "project_type: _",
"ordinal": 6,
"type_info": "Varchar"
},
{
"name": "project_state: _",
"ordinal": 7,
"type_info": "Varchar"
},
{
"name": "country",
"ordinal": 8,
"type_info": "Varchar"
},
{
"name": "city",
"ordinal": 9,
"type_info": "Varchar"
},
{
"name": "district",
"ordinal": 10,
"type_info": "Varchar"
},
{
"name": "admin_tag",
"ordinal": 11,
"type_info": "Varchar"
},
{
"name": "floors",
"ordinal": 12,
"type_info": "Int2"
},
{
"name": "finish_date",
"ordinal": 13,
"type_info": "Date"
},
{
"name": "order_index",
"ordinal": 14,
"type_info": "Int4"
},
{
"name": "time_created",
"ordinal": 15,
"type_info": "Timestamptz"
},
{
"name": "last_updated",
"ordinal": 16,
"type_info": "Timestamptz"
}
],
"nullable": [
false,
true,
false,
false,
false,
false,
false,
false,
false,
false,
false,
true,
false,
false,
false,
false,
false
],
"parameters": {
"Left": [
"Uuid",
"Varchar",
"Text",
"Uuid",
"Text",
"Varchar",
"Varchar",
"Varchar",
"Varchar",
"Varchar",
"Varchar",
"Varchar",
"Int2",
"Date",
"Int4",
"Timestamptz"
]
}
},
"query": "INSERT INTO project (\n id,\n title,\n description,\n realtor_id,\n media,\n project_condition,\n project_type,\n project_state,\n country,\n city, \n district,\n admin_tag,\n floors,\n finish_date,\n order_index,\n time_created,\n last_updated\n) VALUES (\n $1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $16\n) RETURNING \n id,\n title,\n description,\n realtor_id,\n media as \"media: _\",\n project_condition as \"project_condition: _\",\n project_type as \"project_type: _\",\n project_state as \"project_state: _\",\n country,\n city, \n district,\n admin_tag,\n floors,\n finish_date,\n order_index,\n time_created,\n last_updated;"
},
"5cb3e189c5a575ebe13353f8824ac7baa96a9937ab7735216e064583f6cd68bc": {
"describe": {
"columns": [
{
"name": "id",
"ordinal": 0,
"type_info": "Uuid"
},
{
"name": "title",
"ordinal": 1,
"type_info": "Varchar"
},
{
"name": "description",
"ordinal": 2,
"type_info": "Text"
},
{
"name": "realtor_id",
"ordinal": 3,
"type_info": "Uuid"
},
{
"name": "media: _",
"ordinal": 4,
"type_info": "Text"
},
{
"name": "project_condition: _",
"ordinal": 5,
"type_info": "Varchar"
},
{
"name": "project_type: _",
"ordinal": 6,
"type_info": "Varchar"
},
{
"name": "project_state: _",
"ordinal": 7,
"type_info": "Varchar"
},
{
"name": "country",
"ordinal": 8,
"type_info": "Varchar"
},
{
"name": "city",
"ordinal": 9,
"type_info": "Varchar"
},
{
"name": "district",
"ordinal": 10,
"type_info": "Varchar"
},
{
"name": "admin_tag",
"ordinal": 11,
"type_info": "Varchar"
},
{
"name": "floors",
"ordinal": 12,
"type_info": "Int2"
},
{
"name": "finish_date",
"ordinal": 13,
"type_info": "Date"
},
{
"name": "order_index",
"ordinal": 14,
"type_info": "Int4"
},
{
"name": "time_created",
"ordinal": 15,
"type_info": "Timestamptz"
},
{
"name": "last_updated",
"ordinal": 16,
"type_info": "Timestamptz"
}
],
"nullable": [
false,
true,
false,
false,
false,
false,
false,
false,
false,
false,
false,
true,
false,
false,
false,
false,
false
],
"parameters": {
"Left": [
"Uuid",
"Varchar",
"Text",
"Uuid",
"Text",
"Varchar",
"Varchar",
"Varchar",
"Varchar",
"Varchar",
"Varchar",
"Varchar",
"Int2",
"Date",
"Int4",
"Timestamptz"
]
}
},
"query": "UPDATE project SET \n title = $2,\n description = $3,\n realtor_id = $4,\n media = $5,\n project_condition = $6,\n project_type = $7,\n project_state = $8,\n country = $9,\n city = $10,\n district = $11,\n admin_tag = $12,\n floors = $13,\n finish_date = $14,\n order_index = $15,\n last_updated = $16\nWHERE id = $1\nRETURNING \n id,\n title,\n description,\n realtor_id,\n media as \"media: _\",\n project_condition as \"project_condition: _\",\n project_type as \"project_type: _\",\n project_state as \"project_state: _\",\n country,\n city, \n district,\n admin_tag,\n floors,\n finish_date,\n order_index,\n time_created,\n last_updated;"
},
"7464713d873ea4ad81fdbaef816eb57ce3bdcdf3aa669036e05158e230abd82c": {
"describe": {
"columns": [
{
"name": "id",
"ordinal": 0,
"type_info": "Uuid"
},
{
"name": "thing_id",
"ordinal": 1,
"type_info": "Uuid"
},
{
"name": "thing_pk: _",
"ordinal": 2,
"type_info": "Varchar"
},
{
"name": "trackable_id",
"ordinal": 3,
"type_info": "Uuid"
},
{
"name": "time_created",
"ordinal": 4,
"type_info": "Timestamptz"
}
],
"nullable": [
false,
false,
false,
false,
false
],
"parameters": {
"Left": [
"Uuid",
"Uuid",
"Varchar",
"Uuid",
"Timestamptz"
]
}
},
"query": "INSERT INTO view (\n id, thing_id, thing_pk, trackable_id, time_created\n) VALUES (\n $1, $2, $3, $4, $5\n) RETURNING \nid, thing_id, thing_pk as \"thing_pk: _\", trackable_id, time_created"
},
"9affd78ec46e47dc9b7239e41c6e88b3aa96f48bf95ffe8faae35fcee6f5af9f": {
"describe": {
"columns": [
{
"name": "id",
"ordinal": 0,
"type_info": "Uuid"
},
{
"name": "project_id",
"ordinal": 1,
"type_info": "Uuid"
},
{
"name": "realtor_id",
"ordinal": 2,
"type_info": "Uuid"
},
{
"name": "media: _",
"ordinal": 3,
"type_info": "Text"
},
{
"name": "property_type: _",
"ordinal": 4,
"type_info": "Varchar"
},
{
"name": "property_sale_type: _",
"ordinal": 5,
"type_info": "Varchar"
},
{
"name": "country",
"ordinal": 6,
"type_info": "Varchar"
},
{
"name": "city",
"ordinal": 7,
"type_info": "Varchar"
},
{
"name": "district",
"ordinal": 8,
"type_info": "Varchar"
},
{
"name": "price_usd",
"ordinal": 9,
"type_info": "Float8"
},
{
"name": "rooms",
"ordinal": 10,
"type_info": "Int2"
},
{
"name": "bathrooms",
"ordinal": 11,
"type_info": "Float4"
},
{
"name": "area",
"ordinal": 12,
"type_info": "Float4"
},
{
"name": "admin_tag",
"ordinal": 13,
"type_info": "Varchar"
},
{
"name": "time_created",
"ordinal": 14,
"type_info": "Timestamptz"
},
{
"name": "last_updated",
"ordinal": 15,
"type_info": "Timestamptz"
}
],
"nullable": [
false,
true,
false,
false,
false,
false,
true,
true,
true,
false,
false,
false,
false,
true,
false,
false
],
"parameters": {
"Left": [
"Uuid"
]
}
},
"query": "SELECT \n id,\n project_id,\n realtor_id,\n media as \"media: _\",\n property_type as \"property_type: _\",\n property_sale_type as \"property_sale_type: _\",\n country,\n city,\n district,\n price_usd,\n rooms,\n bathrooms,\n area,\n admin_tag,\n time_created,\n last_updated\nFROM property WHERE realtor_id = $1;"
},
"a6525881c04a3ddf038d566b8a41dc2e4670a20c0c6e4a0687a927538661db56": {
"describe": {
"columns": [
{
"name": "id",
"ordinal": 0,
"type_info": "Uuid"
},
{
"name": "project_id",
"ordinal": 1,
"type_info": "Uuid"
},
{
"name": "realtor_id",
"ordinal": 2,
"type_info": "Uuid"
},
{
"name": "media: _",
"ordinal": 3,
"type_info": "Text"
},
{
"name": "property_type: _",
"ordinal": 4,
"type_info": "Varchar"
},
{
"name": "property_sale_type: _",
"ordinal": 5,
"type_info": "Varchar"
},
{
"name": "country",
"ordinal": 6,
"type_info": "Varchar"
},
{
"name": "city",
"ordinal": 7,
"type_info": "Varchar"
},
{
"name": "district",
"ordinal": 8,
"type_info": "Varchar"
},
{
"name": "price_usd",
"ordinal": 9,
"type_info": "Float8"
},
{
"name": "rooms",
"ordinal": 10,
"type_info": "Int2"
},
{
"name": "bathrooms",
"ordinal": 11,
"type_info": "Float4"
},
{
"name": "area",
"ordinal": 12,
"type_info": "Float4"
},
{
"name": "admin_tag",
"ordinal": 13,
"type_info": "Varchar"
},
{
"name": "time_created",
"ordinal": 14,
"type_info": "Timestamptz"
},
{
"name": "last_updated",
"ordinal": 15,
"type_info": "Timestamptz"
}
],
"nullable": [
false,
true,
false,
false,
false,
false,
true,
true,
true,
false,
false,
false,
false,
true,
false,
false
],
"parameters": {
"Left": [
"Uuid",
"Uuid",
"Uuid",
"Text",
"Varchar",
"Varchar",
"Varchar",
"Varchar",
"Varchar",
"Float8",
"Int2",
"Float4",
"Float4",
"Varchar",
"Timestamptz"
]
}
},
"query": "UPDATE property SET\n project_id = $2,\n realtor_id = $3,\n media = $4,\n property_type = $5,\n property_sale_type = $6,\n country = $7,\n city = $8,\n district = $9,\n price_usd = $10,\n rooms = $11,\n bathrooms = $12,\n area = $13,\n admin_tag = $14,\n last_updated = $15\nWHERE id = $1\nRETURNING \n id,\n project_id,\n realtor_id,\n media as \"media: _\",\n property_type as \"property_type: _\",\n property_sale_type as \"property_sale_type: _\",\n country,\n city,\n district,\n price_usd,\n rooms,\n bathrooms,\n area,\n admin_tag,\n time_created,\n last_updated;"
},
"b64e2047bd463a7fd60c3c11ba087bc6f6ec7729bd7bd08dc0444265e9f42690": {
"describe": {
"columns": [
{
"name": "id",
"ordinal": 0,
"type_info": "Uuid"
},
{
"name": "who_was",
"ordinal": 1,
"type_info": "Uuid"
},
{
"name": "ip_address",
"ordinal": 2,
"type_info": "Varchar"
},
{
"name": "browser_width",
"ordinal": 3,
"type_info": "Int4"
},
{
"name": "browser_height",
"ordinal": 4,
"type_info": "Int4"
},
{
"name": "user_agent",
"ordinal": 5,
"type_info": "Varchar"
},
{
"name": "time_created",
"ordinal": 6,
"type_info": "Timestamptz"
}
],
"nullable": [
false,
true,
false,
false,
false,
false,
false
],
"parameters": {
"Left": [
"Uuid",
"Uuid",
"Varchar",
"Int4",
"Int4",
"Varchar",
"Timestamptz"
]
}
},
"query": "INSERT INTO trackable (\n id, who_was, ip_address, browser_width, browser_height, user_agent, time_created\n) VALUES(\n $1, $2, $3, $4, $5, $6, $7\n) RETURNING *;"
},
"ba31aaf3792054e90629a08ef393136e77d7300eb7ef111a0decc97c05d9cc87": {
"describe": {
"columns": [
{
"name": "id",
"ordinal": 0,
"type_info": "Uuid"
},
{
"name": "project_id",
"ordinal": 1,
"type_info": "Uuid"
},
{
"name": "realtor_id",
"ordinal": 2,
"type_info": "Uuid"
},
{
"name": "media: _",
"ordinal": 3,
"type_info": "Text"
},
{
"name": "property_type: _",
"ordinal": 4,
"type_info": "Varchar"
},
{
"name": "property_sale_type: _",
"ordinal": 5,
"type_info": "Varchar"
},
{
"name": "country",
"ordinal": 6,
"type_info": "Varchar"
},
{
"name": "city",
"ordinal": 7,
"type_info": "Varchar"
},
{
"name": "district",
"ordinal": 8,
"type_info": "Varchar"
},
{
"name": "price_usd",
"ordinal": 9,
"type_info": "Float8"
},
{
"name": "rooms",
"ordinal": 10,
"type_info": "Int2"
},
{
"name": "bathrooms",
"ordinal": 11,
"type_info": "Float4"
},
{
"name": "area",
"ordinal": 12,
"type_info": "Float4"
},
{
"name": "admin_tag",
"ordinal": 13,
"type_info": "Varchar"
},
{
"name": "time_created",
"ordinal": 14,
"type_info": "Timestamptz"
},
{
"name": "last_updated",
"ordinal": 15,
"type_info": "Timestamptz"
}
],
"nullable": [
false,
true,
false,
false,
false,
false,
true,
true,
true,
false,
false,
false,
false,
true,
false,
false
],
"parameters": {
"Left": [
"Uuid",
"Uuid",
"Uuid",
"Text",
"Varchar",
"Varchar",
"Varchar",
"Varchar",
"Varchar",
"Float8",
"Int2",
"Float4",
"Float4",
"Varchar",
"Timestamptz"
]
}
},
"query": "INSERT INTO property (\n id,\n project_id,\n realtor_id,\n media,\n property_type,\n property_sale_type,\n country,\n city,\n district,\n price_usd,\n rooms,\n bathrooms,\n area,\n admin_tag,\n time_created,\n last_updated\n) VALUES (\n $1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $15\n) RETURNING \n id,\n project_id,\n realtor_id,\n media as \"media: _\",\n property_type as \"property_type: _\",\n property_sale_type as \"property_sale_type: _\",\n country,\n city,\n district,\n price_usd,\n rooms,\n bathrooms,\n area,\n admin_tag,\n time_created,\n last_updated;"
},
"c571a9279bdcec6420fd1f80d8777832d13e135353a3d40aaf9549c5e80eccab": {
"describe": {
"columns": [
{
"name": "id",
"ordinal": 0,
"type_info": "Uuid"
},
{
"name": "name",
"ordinal": 1,
"type_info": "Varchar"
},
{
"name": "bio",
"ordinal": 2,
"type_info": "Varchar"
},
{
"name": "phone_number",
"ordinal": 3,
"type_info": "Varchar"
},
{
"name": "email",
"ordinal": 4,
"type_info": "Varchar"
},
{
"name": "profile_picture_url",
"ordinal": 5,
"type_info": "Varchar"
},
{
"name": "show_projects",
"ordinal": 6,
"type_info": "Bool"
},
{
"name": "shortcode",
"ordinal": 7,
"type_info": "Varchar"
},
{
"name": "remax_agent_id",
"ordinal": 8,
"type_info": "Int4"
},
{
"name": "time_created",
"ordinal": 9,
"type_info": "Timestamptz"
},
{
"name": "last_updated",
"ordinal": 10,
"type_info": "Timestamptz"
}
],
"nullable": [
false,
false,
false,
false,
true,
false,
false,
false,
true,
false,
false
],
"parameters": {
"Left": [
"Uuid",
"Varchar",
"Varchar",
"Varchar",
"Varchar",
"Varchar",
"Bool",
"Int4",
"Timestamptz"
]
}
},
"query": "UPDATE realtor SET\n name = $2,\n bio = $3,\n phone_number = $4,\n email = $5,\n profile_picture_url = $6,\n show_projects = $7,\n remax_agent_id = $8,\n last_updated = $9\nWHERE id = $1\nRETURNING *;"
},
"e9fb0b1fe0e33d2a8aa4bc20be141a9f4bcd68d1c69af1dce93c43c8ba96ebc1": {
"describe": {
"columns": [
{
"name": "id",
"ordinal": 0,
"type_info": "Uuid"
},
{
"name": "realtor_id",
"ordinal": 1,
"type_info": "Uuid"
},
{
"name": "clickable: _",
"ordinal": 2,
"type_info": "Varchar"
},
{
"name": "trackable_id",
"ordinal": 3,
"type_info": "Uuid"
},
{
"name": "time_created",
"ordinal": 4,
"type_info": "Timestamptz"
}
],
"nullable": [
false,
false,
false,
false,
false
],
"parameters": {
"Left": [
"Uuid",
"Uuid",
"Varchar",
"Uuid",
"Timestamptz"
]
}
},
"query": "INSERT INTO click (\n id, realtor_id, clickable, trackable_id, time_created\n) VALUES (\n $1, $2, $3, $4, $5\n) RETURNING \n id,\n realtor_id,\n clickable as \"clickable: _\",\n trackable_id,\n time_created;"
},
"f0886a67a7e0e9a6582b8852352bc3f7076a89884c5cc653c1399e733578362f": {
"describe": {
"columns": [
{
"name": "id",
"ordinal": 0,
"type_info": "Uuid"
},
{
"name": "who_was",
"ordinal": 1,
"type_info": "Uuid"
},
{
"name": "ip_address",
"ordinal": 2,
"type_info": "Varchar"
},
{
"name": "browser_width",
"ordinal": 3,
"type_info": "Int4"
},
{
"name": "browser_height",
"ordinal": 4,
"type_info": "Int4"
},
{
"name": "user_agent",
"ordinal": 5,
"type_info": "Varchar"
},
{
"name": "time_created",
"ordinal": 6,
"type_info": "Timestamptz"
}
],
"nullable": [
false,
true,
false,
false,
false,
false,
false
],
"parameters": {
"Left": [
"Text"
]
}
},
"query": "SELECT * FROM trackable WHERE ip_address = $1;"
},
"f7824e34ab77274c6428a02e14dc5b807be14c74f278b96ea311be620bd81608": {
"describe": {
"columns": [
{
"name": "id",
"ordinal": 0,
"type_info": "Uuid"
},
{
"name": "name",
"ordinal": 1,
"type_info": "Varchar"
},
{
"name": "bio",
"ordinal": 2,
"type_info": "Varchar"
},
{
"name": "phone_number",
"ordinal": 3,
"type_info": "Varchar"
},
{
"name": "email",
"ordinal": 4,
"type_info": "Varchar"
},
{
"name": "profile_picture_url",
"ordinal": 5,
"type_info": "Varchar"
},
{
"name": "show_projects",
"ordinal": 6,
"type_info": "Bool"
},
{
"name": "shortcode",
"ordinal": 7,
"type_info": "Varchar"
},
{
"name": "remax_agent_id",
"ordinal": 8,
"type_info": "Int4"
},
{
"name": "time_created",
"ordinal": 9,
"type_info": "Timestamptz"
},
{
"name": "last_updated",
"ordinal": 10,
"type_info": "Timestamptz"
}
],
"nullable": [
false,
false,
false,
false,
true,
false,
false,
false,
true,
false,
false
],
"parameters": {
"Left": [
"Uuid"
]
}
},
"query": "SELECT * FROM realtor WHERE id = $1;"
}
}