{ "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": "start_datetime", "type": "utc_datetime" }, { "allow_nil?": false, "default": "nil", "generated?": false, "precision": null, "primary_key?": false, "references": null, "scale": null, "size": null, "source": "end_datetime", "type": "utc_datetime" }, { "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?": true, "default": "nil", "generated?": false, "precision": null, "primary_key?": false, "references": null, "scale": null, "size": null, "source": "cancellation_reason", "type": "text" }, { "allow_nil?": true, "default": "nil", "generated?": false, "precision": null, "primary_key?": false, "references": null, "scale": null, "size": null, "source": "rejection_reason", "type": "text" }, { "allow_nil?": false, "default": "\"requested\"", "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?": false, "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_space_id_fkey", "on_delete": null, "on_update": null, "primary_key?": true, "schema": "public", "table": "spaces" }, "scale": null, "size": null, "source": "space_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": "CBA4F1C24A9B1AB8A2E4EF42917C1DE5F143C74D0D175D1A29156ECCE6FD5660", "identities": [], "multitenancy": { "attribute": null, "global": null, "strategy": null }, "repo": "Elixir.SpazioSolazzo.Repo", "schema": null, "table": "bookings" }