mirror of
https://github.com/ash-project/ash_postgres.git
synced 2024-09-20 21:43:12 +12:00
53 lines
1.2 KiB
JSON
53 lines
1.2 KiB
JSON
|
{
|
||
|
"attributes": [
|
||
|
{
|
||
|
"allow_nil?": false,
|
||
|
"default": "fragment(\"uuid_generate_v4()\")",
|
||
|
"generated?": false,
|
||
|
"name": "id",
|
||
|
"primary_key?": true,
|
||
|
"references": null,
|
||
|
"type": "uuid"
|
||
|
},
|
||
|
{
|
||
|
"allow_nil?": true,
|
||
|
"default": "nil",
|
||
|
"generated?": false,
|
||
|
"name": "post_id",
|
||
|
"primary_key?": false,
|
||
|
"references": {
|
||
|
"destination_field": "id",
|
||
|
"multitenancy": {
|
||
|
"attribute": null,
|
||
|
"global": null,
|
||
|
"strategy": null
|
||
|
},
|
||
|
"name": "special_name_fkey",
|
||
|
"on_delete": "delete",
|
||
|
"on_update": "update",
|
||
|
"table": "posts"
|
||
|
},
|
||
|
"type": "uuid"
|
||
|
},
|
||
|
{
|
||
|
"allow_nil?": true,
|
||
|
"default": "nil",
|
||
|
"generated?": false,
|
||
|
"name": "title",
|
||
|
"primary_key?": false,
|
||
|
"references": null,
|
||
|
"type": "text"
|
||
|
}
|
||
|
],
|
||
|
"base_filter": null,
|
||
|
"has_create_action": true,
|
||
|
"hash": "8946E82C6BEEC8DD5645BB4592C8418F778411905A8654B888BF1917510F922A",
|
||
|
"identities": [],
|
||
|
"multitenancy": {
|
||
|
"attribute": null,
|
||
|
"global": null,
|
||
|
"strategy": null
|
||
|
},
|
||
|
"repo": "Elixir.AshPostgres.TestRepo",
|
||
|
"table": "comments"
|
||
|
}
|