ash_postgres/priv/resource_snapshots/test_repo/comment_ratings/20240327211150.json

67 lines
1.6 KiB
JSON
Raw Normal View History

{
"attributes": [
{
"default": "fragment(\"gen_random_uuid()\")",
"size": null,
"type": "uuid",
"source": "id",
"references": null,
"primary_key?": true,
"allow_nil?": false,
"generated?": false
},
{
"default": "nil",
"size": null,
"type": "bigint",
"source": "score",
"references": null,
"primary_key?": false,
"allow_nil?": true,
"generated?": false
},
{
"default": "nil",
"size": null,
"type": "uuid",
"source": "resource_id",
"references": {
"name": "comment_ratings_resource_id_fkey",
"table": "comments",
"multitenancy": {
"global": null,
"attribute": null,
"strategy": null
},
"primary_key?": true,
"destination_attribute": "id",
"schema": null,
"deferrable": false,
"destination_attribute_default": "fragment(\"gen_random_uuid()\")",
"destination_attribute_generated": false,
"on_delete": null,
"on_update": null,
"match_with": null,
"match_type": null
},
"primary_key?": false,
"allow_nil?": true,
"generated?": false
}
],
"table": "comment_ratings",
"hash": "F5F7409C3174AEDA4167846E09BF6F8BC65F84BAEAE72398854734449437956A",
"repo": "Elixir.AshPostgres.TestRepo",
"multitenancy": {
"global": null,
"attribute": null,
"strategy": null
},
"schema": null,
"identities": [],
"has_create_action": true,
"custom_indexes": [],
"custom_statements": [],
"base_filter": null,
"check_constraints": []
}