{ "attributes": [ { "allow_nil?": false, "default": "nil", "generated?": false, "primary_key?": false, "references": null, "size": null, "source": "sanitized_name", "type": "text" }, { "allow_nil?": false, "default": "fragment(\"uuid_generate_v4()\")", "generated?": false, "primary_key?": true, "references": null, "size": null, "source": "id", "type": "uuid" }, { "allow_nil?": false, "default": "nil", "generated?": false, "primary_key?": false, "references": null, "size": null, "source": "name", "type": "text" }, { "allow_nil?": true, "default": "nil", "generated?": false, "primary_key?": false, "references": null, "size": null, "source": "file", "type": "text" }, { "allow_nil?": true, "default": "nil", "generated?": false, "primary_key?": false, "references": null, "size": null, "source": "line", "type": "bigint" }, { "allow_nil?": false, "default": "nil", "generated?": false, "primary_key?": false, "references": null, "size": null, "source": "arity", "type": "bigint" }, { "allow_nil?": false, "default": "nil", "generated?": false, "primary_key?": false, "references": null, "size": null, "source": "type", "type": "text" }, { "allow_nil?": true, "default": "nil", "generated?": false, "primary_key?": false, "references": null, "size": null, "source": "heads", "type": [ "array", "text" ] }, { "allow_nil?": true, "default": "nil", "generated?": false, "primary_key?": false, "references": null, "size": null, "source": "heads_html", "type": [ "array", "text" ] }, { "allow_nil?": false, "default": "\"\"", "generated?": false, "primary_key?": false, "references": null, "size": null, "source": "doc", "type": "text" }, { "allow_nil?": true, "default": "nil", "generated?": false, "primary_key?": false, "references": null, "size": null, "source": "doc_html", "type": "text" }, { "allow_nil?": false, "default": "nil", "generated?": false, "primary_key?": false, "references": null, "size": null, "source": "order", "type": "bigint" }, { "allow_nil?": false, "default": "fragment(\"now()\")", "generated?": false, "primary_key?": false, "references": null, "size": null, "source": "inserted_at", "type": "utc_datetime_usec" }, { "allow_nil?": false, "default": "fragment(\"now()\")", "generated?": false, "primary_key?": false, "references": null, "size": null, "source": "updated_at", "type": "utc_datetime_usec" }, { "allow_nil?": true, "default": "nil", "generated?": false, "primary_key?": false, "references": { "destination_attribute": "id", "destination_attribute_default": null, "destination_attribute_generated": null, "multitenancy": { "attribute": null, "global": null, "strategy": null }, "name": "functions_library_version_id_fkey", "on_delete": "delete", "on_update": null, "schema": "public", "table": "library_versions" }, "size": null, "source": "library_version_id", "type": "uuid" }, { "allow_nil?": true, "default": "nil", "generated?": false, "primary_key?": false, "references": { "destination_attribute": "id", "destination_attribute_default": null, "destination_attribute_generated": null, "multitenancy": { "attribute": null, "global": null, "strategy": null }, "name": "functions_module_id_fkey", "on_delete": null, "on_update": null, "schema": "public", "table": "modules" }, "size": null, "source": "module_id", "type": "uuid" } ], "base_filter": null, "check_constraints": [], "custom_indexes": [ { "concurrently": false, "fields": [ "searchable" ], "include": null, "message": null, "name": null, "prefix": null, "table": null, "unique": false, "using": "GIN", "where": null } ], "custom_statements": [ { "code?": false, "down": "ALTER TABLE functions\n DROP COLUMN searchable\n", "name": "search_column", "up": "ALTER TABLE functions\n ADD COLUMN searchable tsvector\n GENERATED ALWAYS AS (\n setweight(to_tsvector('english', name), 'A') ||\n setweight(to_tsvector('english', doc), 'B')\n ) STORED;\n" } ], "has_create_action": true, "hash": "81BDEBE11C76E38DBA11C26E1E6CD0D9836BEECB0689C1D9B5642E27506838B3", "identities": [], "multitenancy": { "attribute": null, "global": null, "strategy": null }, "repo": "Elixir.AshHq.Repo", "schema": null, "table": "functions" }