{ "attributes": [ { "default": "\"active\"", "size": null, "type": "text", "source": "state", "references": null, "primary_key?": false, "allow_nil?": true, "generated?": false }, { "default": "nil", "size": null, "type": "uuid", "source": "source_post_id", "references": { "name": "post_links_source_post_id_fkey", "table": "posts", "schema": "public", "destination_attribute": "id", "multitenancy": { "global": null, "strategy": null, "attribute": null }, "primary_key?": true, "on_update": null, "on_delete": null, "deferrable": false, "index?": false, "destination_attribute_default": null, "destination_attribute_generated": null, "match_with": null, "match_type": null }, "primary_key?": true, "allow_nil?": false, "generated?": false }, { "default": "nil", "size": null, "type": "uuid", "source": "destination_post_id", "references": { "name": "post_links_destination_post_id_fkey", "table": "posts", "schema": "public", "destination_attribute": "id", "multitenancy": { "global": null, "strategy": null, "attribute": null }, "primary_key?": true, "on_update": null, "on_delete": null, "deferrable": false, "index?": false, "destination_attribute_default": null, "destination_attribute_generated": null, "match_with": null, "match_type": null }, "primary_key?": true, "allow_nil?": false, "generated?": false } ], "table": "post_links", "hash": "3725FF19BB06D2840E2ADCAE060458215E8726EF0D855BB4898A66086137BD53", "repo": "Elixir.AshPostgres.TestRepo", "schema": null, "identities": [ { "name": "unique_link", "keys": [ "source_post_id", "destination_post_id" ], "where": null, "nils_distinct?": true, "all_tenants?": false, "base_filter": null, "index_name": "post_links_unique_link_index" } ], "multitenancy": { "global": null, "strategy": null, "attribute": null }, "base_filter": null, "custom_indexes": [], "custom_statements": [], "check_constraints": [], "has_create_action": true }