{ "attributes": [ { "default": "\"active\"", "size": null, "type": "text", "source": "state", "references": null, "allow_nil?": true, "generated?": false, "primary_key?": false }, { "default": "nil", "size": null, "type": "uuid", "source": "source_post_id", "references": { "name": "post_links_source_post_id_fkey", "table": "posts", "on_delete": null, "multitenancy": { "global": null, "attribute": null, "strategy": null }, "primary_key?": true, "destination_attribute": "id", "deferrable": false, "on_update": null, "destination_attribute_default": null, "destination_attribute_generated": null }, "allow_nil?": false, "generated?": false, "primary_key?": true }, { "default": "nil", "size": null, "type": "uuid", "source": "destination_post_id", "references": { "name": "post_links_destination_post_id_fkey", "table": "posts", "on_delete": null, "multitenancy": { "global": null, "attribute": null, "strategy": null }, "primary_key?": true, "destination_attribute": "id", "deferrable": false, "on_update": null, "destination_attribute_default": null, "destination_attribute_generated": null }, "allow_nil?": false, "generated?": false, "primary_key?": true } ], "table": "post_links", "hash": "160D65E5F78855E4B9DE8907FD2B26299E7DCABCF667DAD9898309BA8AAA2B74", "repo": "Elixir.AshSqlite.TestRepo", "identities": [ { "name": "unique_link", "keys": [ "source_post_id", "destination_post_id" ], "base_filter": null, "index_name": "post_links_unique_link_index" } ], "multitenancy": { "global": null, "attribute": null, "strategy": null }, "base_filter": null, "custom_indexes": [], "custom_statements": [], "has_create_action": true }