2021-04-22 05:49:53 +12:00
|
|
|
{
|
|
|
|
"attributes": [
|
|
|
|
{
|
|
|
|
"allow_nil?": false,
|
|
|
|
"default": "fragment(\"uuid_generate_v4()\")",
|
|
|
|
"generated?": false,
|
|
|
|
"name": "id",
|
|
|
|
"primary_key?": true,
|
|
|
|
"references": null,
|
2021-11-14 07:55:49 +13:00
|
|
|
"size": null,
|
2021-04-22 05:49:53 +12:00
|
|
|
"type": "uuid"
|
|
|
|
},
|
2021-11-14 07:55:49 +13:00
|
|
|
{
|
|
|
|
"allow_nil?": true,
|
|
|
|
"default": "nil",
|
|
|
|
"generated?": false,
|
|
|
|
"name": "score",
|
|
|
|
"primary_key?": false,
|
|
|
|
"references": null,
|
|
|
|
"size": null,
|
|
|
|
"type": "bigint"
|
|
|
|
},
|
2021-04-22 05:49:53 +12:00
|
|
|
{
|
|
|
|
"allow_nil?": true,
|
|
|
|
"default": "nil",
|
|
|
|
"generated?": false,
|
|
|
|
"name": "resource_id",
|
|
|
|
"primary_key?": false,
|
|
|
|
"references": {
|
|
|
|
"destination_field": "id",
|
|
|
|
"destination_field_default": "fragment(\"uuid_generate_v4()\")",
|
|
|
|
"destination_field_generated": null,
|
|
|
|
"multitenancy": {
|
|
|
|
"attribute": null,
|
|
|
|
"global": null,
|
|
|
|
"strategy": null
|
|
|
|
},
|
2021-11-14 07:55:49 +13:00
|
|
|
"name": "comment_ratings_resource_id_fkey",
|
2021-04-22 05:49:53 +12:00
|
|
|
"on_delete": null,
|
|
|
|
"on_update": null,
|
|
|
|
"table": "comments"
|
|
|
|
},
|
2021-11-14 07:55:49 +13:00
|
|
|
"size": null,
|
2021-04-22 05:49:53 +12:00
|
|
|
"type": "uuid"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"base_filter": null,
|
|
|
|
"check_constraints": [],
|
2021-11-14 07:55:49 +13:00
|
|
|
"custom_indexes": [],
|
2021-04-22 05:49:53 +12:00
|
|
|
"has_create_action": true,
|
2021-11-14 07:55:49 +13:00
|
|
|
"hash": "05F649E4414D4489F59CD3EB03D7147689EBD2EAC32327C697D1C7DC2B9E480D",
|
2021-04-22 05:49:53 +12:00
|
|
|
"identities": [],
|
|
|
|
"multitenancy": {
|
|
|
|
"attribute": null,
|
|
|
|
"global": null,
|
|
|
|
"strategy": null
|
|
|
|
},
|
|
|
|
"repo": "Elixir.AshPostgres.TestRepo",
|
|
|
|
"table": "comment_ratings"
|
|
|
|
}
|