ash_postgres/priv/resource_snapshots/test_repo/accounts/20240327211150.json

67 lines
No EOL
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": "boolean",
"source": "is_active",
"references": null,
"primary_key?": false,
"allow_nil?": true,
"generated?": false
},
{
"default": "nil",
"size": null,
"type": "uuid",
"source": "user_id",
"references": {
"name": "accounts_user_id_fkey",
"table": "users",
"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": "accounts",
"hash": "91E32D9EB389743A8F1C9CC024CD8E0CA45EE5DDB37484B324E0ACFA54E89784",
"repo": "Elixir.AshPostgres.TestRepo",
"multitenancy": {
"global": null,
"attribute": null,
"strategy": null
},
"schema": null,
"identities": [],
"has_create_action": true,
"custom_indexes": [],
"custom_statements": [],
"base_filter": null,
"check_constraints": []
}