2020-09-11 12:26:47 +12:00
|
|
|
{
|
|
|
|
"attributes": [
|
|
|
|
{
|
2021-01-24 16:45:15 +13:00
|
|
|
"allow_nil?": false,
|
2020-09-11 12:26:47 +12:00
|
|
|
"default": "fragment(\"uuid_generate_v4()\")",
|
2021-01-24 16:45:15 +13:00
|
|
|
"generated?": false,
|
2020-09-11 12:26:47 +12:00
|
|
|
"name": "id",
|
|
|
|
"primary_key?": true,
|
|
|
|
"references": null,
|
|
|
|
"type": "binary_id"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"allow_nil?": true,
|
|
|
|
"default": "nil",
|
2021-01-24 16:45:15 +13:00
|
|
|
"generated?": false,
|
2020-09-11 12:26:47 +12:00
|
|
|
"name": "post_id",
|
|
|
|
"primary_key?": false,
|
|
|
|
"references": {
|
|
|
|
"destination_field": "id",
|
2021-01-24 16:45:15 +13:00
|
|
|
"multitenancy": {
|
|
|
|
"attribute": null,
|
|
|
|
"global": null,
|
|
|
|
"strategy": null
|
|
|
|
},
|
2020-09-11 12:26:47 +12:00
|
|
|
"table": "posts"
|
|
|
|
},
|
|
|
|
"type": "binary_id"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"allow_nil?": true,
|
|
|
|
"default": "nil",
|
2021-01-24 16:45:15 +13:00
|
|
|
"generated?": false,
|
2020-09-11 12:26:47 +12:00
|
|
|
"name": "title",
|
|
|
|
"primary_key?": false,
|
|
|
|
"references": null,
|
|
|
|
"type": "text"
|
|
|
|
}
|
|
|
|
],
|
2021-01-24 16:45:15 +13:00
|
|
|
"base_filter": null,
|
|
|
|
"hash": "4144E61762BA12123F8970C4DFB17E4A131EBD80C86D79FDE381E1B9BCF8CA22",
|
2020-09-11 12:26:47 +12:00
|
|
|
"identities": [],
|
2021-01-24 16:45:15 +13:00
|
|
|
"multitenancy": {
|
|
|
|
"attribute": null,
|
|
|
|
"global": null,
|
|
|
|
"strategy": null
|
|
|
|
},
|
2020-09-11 12:26:47 +12:00
|
|
|
"repo": "Elixir.AshPostgres.TestRepo",
|
|
|
|
"table": "comments"
|
|
|
|
}
|