mirror of
https://github.com/ash-project/ash_postgres.git
synced 2024-09-20 13:33:50 +12:00
67 lines
1.6 KiB
JSON
67 lines
1.6 KiB
JSON
|
{
|
||
|
"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": "text",
|
||
|
"source": "description",
|
||
|
"references": null,
|
||
|
"primary_key?": false,
|
||
|
"allow_nil?": true,
|
||
|
"generated?": false
|
||
|
},
|
||
|
{
|
||
|
"default": "nil",
|
||
|
"size": null,
|
||
|
"type": "uuid",
|
||
|
"source": "author_id",
|
||
|
"references": {
|
||
|
"name": "profile_author_id_fkey",
|
||
|
"table": "authors",
|
||
|
"multitenancy": {
|
||
|
"global": null,
|
||
|
"attribute": null,
|
||
|
"strategy": null
|
||
|
},
|
||
|
"primary_key?": true,
|
||
|
"destination_attribute": "id",
|
||
|
"schema": "public",
|
||
|
"deferrable": false,
|
||
|
"destination_attribute_default": null,
|
||
|
"destination_attribute_generated": null,
|
||
|
"on_delete": null,
|
||
|
"on_update": null,
|
||
|
"match_with": null,
|
||
|
"match_type": null
|
||
|
},
|
||
|
"primary_key?": false,
|
||
|
"allow_nil?": true,
|
||
|
"generated?": false
|
||
|
}
|
||
|
],
|
||
|
"table": "profile",
|
||
|
"hash": "4D5319352707FBF8EEEC4221C202ABF4F77AFE3A931697795D125CBB87F8F78C",
|
||
|
"repo": "Elixir.AshPostgres.TestRepo",
|
||
|
"multitenancy": {
|
||
|
"global": null,
|
||
|
"attribute": null,
|
||
|
"strategy": null
|
||
|
},
|
||
|
"schema": "profiles",
|
||
|
"identities": [],
|
||
|
"has_create_action": true,
|
||
|
"custom_indexes": [],
|
||
|
"custom_statements": [],
|
||
|
"base_filter": null,
|
||
|
"check_constraints": []
|
||
|
}
|