mirror of
https://codeberg.org/JasterV/spazio-solazzo.git
synced 2026-04-27 02:25:40 +00:00
244 lines
No EOL
5.8 KiB
JSON
244 lines
No EOL
5.8 KiB
JSON
{
|
|
"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?": false,
|
|
"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": "D4E1D8A61AAAA83530EF07DE6BB15175AE052ADE62D06E538C222576218F0289",
|
|
"identities": [],
|
|
"multitenancy": {
|
|
"attribute": null,
|
|
"global": null,
|
|
"strategy": null
|
|
},
|
|
"repo": "Elixir.SpazioSolazzo.Repo",
|
|
"schema": null,
|
|
"table": "bookings"
|
|
} |