{ "attributes": [ { "allow_nil?": false, "default": "fragment(\"gen_random_uuid()\")", "generated?": false, "precision": null, "primary_key?": true, "references": null, "scale": null, "size": null, "source": "id", "type": "uuid" }, { "allow_nil?": false, "default": "nil", "generated?": false, "precision": null, "primary_key?": false, "references": null, "scale": null, "size": null, "source": "date", "type": "date" }, { "allow_nil?": false, "default": "nil", "generated?": false, "precision": null, "primary_key?": false, "references": null, "scale": null, "size": null, "source": "customer_name", "type": "text" }, { "allow_nil?": false, "default": "nil", "generated?": false, "precision": null, "primary_key?": false, "references": null, "scale": null, "size": null, "source": "customer_email", "type": "text" }, { "allow_nil?": false, "default": "nil", "generated?": false, "precision": null, "primary_key?": false, "references": null, "scale": null, "size": null, "source": "start_time", "type": "time" }, { "allow_nil?": false, "default": "nil", "generated?": false, "precision": null, "primary_key?": false, "references": null, "scale": null, "size": null, "source": "end_time", "type": "time" }, { "allow_nil?": true, "default": "nil", "generated?": false, "precision": null, "primary_key?": false, "references": null, "scale": null, "size": null, "source": "customer_phone", "type": "text" }, { "allow_nil?": true, "default": "nil", "generated?": false, "precision": null, "primary_key?": false, "references": null, "scale": null, "size": null, "source": "customer_comment", "type": "text" }, { "allow_nil?": false, "default": "\"reserved\"", "generated?": false, "precision": null, "primary_key?": false, "references": null, "scale": null, "size": null, "source": "state", "type": "text" }, { "allow_nil?": false, "default": "fragment(\"(now() AT TIME ZONE 'utc')\")", "generated?": false, "precision": null, "primary_key?": false, "references": null, "scale": null, "size": null, "source": "inserted_at", "type": "utc_datetime_usec" }, { "allow_nil?": false, "default": "fragment(\"(now() AT TIME ZONE 'utc')\")", "generated?": false, "precision": null, "primary_key?": false, "references": null, "scale": null, "size": null, "source": "updated_at", "type": "utc_datetime_usec" }, { "allow_nil?": true, "default": "nil", "generated?": false, "precision": null, "primary_key?": false, "references": { "deferrable": false, "destination_attribute": "id", "destination_attribute_default": null, "destination_attribute_generated": null, "index?": false, "match_type": null, "match_with": null, "multitenancy": { "attribute": null, "global": null, "strategy": null }, "name": "bookings_asset_id_fkey", "on_delete": null, "on_update": null, "primary_key?": true, "schema": "public", "table": "assets" }, "scale": null, "size": null, "source": "asset_id", "type": "uuid" }, { "allow_nil?": true, "default": "nil", "generated?": false, "precision": null, "primary_key?": false, "references": { "deferrable": false, "destination_attribute": "id", "destination_attribute_default": null, "destination_attribute_generated": null, "index?": false, "match_type": null, "match_with": null, "multitenancy": { "attribute": null, "global": null, "strategy": null }, "name": "bookings_time_slot_template_id_fkey", "on_delete": null, "on_update": null, "primary_key?": true, "schema": "public", "table": "time_slot_templates" }, "scale": null, "size": null, "source": "time_slot_template_id", "type": "uuid" }, { "allow_nil?": true, "default": "nil", "generated?": false, "precision": null, "primary_key?": false, "references": { "deferrable": false, "destination_attribute": "id", "destination_attribute_default": null, "destination_attribute_generated": null, "index?": true, "match_type": null, "match_with": null, "multitenancy": { "attribute": null, "global": null, "strategy": null }, "name": "bookings_user_id_fkey", "on_delete": "nilify", "on_update": null, "primary_key?": true, "schema": "public", "table": "users" }, "scale": null, "size": null, "source": "user_id", "type": "uuid" } ], "base_filter": null, "check_constraints": [], "custom_indexes": [], "custom_statements": [], "has_create_action": true, "hash": "1480C13D76AD8CE079362CC851CF250063914A40A6CA48182E3D3B5D83CD174A", "identities": [], "multitenancy": { "attribute": null, "global": null, "strategy": null }, "repo": "Elixir.SpazioSolazzo.Repo", "schema": null, "table": "bookings" }