mirror of
https://github.com/ash-project/ash_postgres.git
synced 2024-09-20 21:43:12 +12:00
65 lines
1.5 KiB
JSON
65 lines
1.5 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": "likes",
|
||
|
"primary_key?": false,
|
||
|
"references": null,
|
||
|
"type": "bigint"
|
||
|
},
|
||
|
{
|
||
|
"allow_nil?": true,
|
||
|
"default": "nil",
|
||
|
"generated?": false,
|
||
|
"name": "post_id",
|
||
|
"primary_key?": false,
|
||
|
"references": {
|
||
|
"destination_field": "id",
|
||
|
"destination_field_default": null,
|
||
|
"destination_field_generated": null,
|
||
|
"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,
|
||
|
"check_constraints": [],
|
||
|
"has_create_action": true,
|
||
|
"hash": "AC27C8DBB84D6687136A96A5E1393042E31235B847365E5DB26DE57F5FC55604",
|
||
|
"identities": [],
|
||
|
"multitenancy": {
|
||
|
"attribute": null,
|
||
|
"global": null,
|
||
|
"strategy": null
|
||
|
},
|
||
|
"repo": "Elixir.AshPostgres.TestRepo",
|
||
|
"table": "comments"
|
||
|
}
|