mirror of
https://github.com/ash-project/ash_hq.git
synced 2024-09-20 13:23:38 +12:00
233 lines
5.5 KiB
JSON
233 lines
5.5 KiB
JSON
|
{
|
||
|
"attributes": [
|
||
|
{
|
||
|
"allow_nil?": false,
|
||
|
"default": "nil",
|
||
|
"generated?": false,
|
||
|
"primary_key?": false,
|
||
|
"references": null,
|
||
|
"size": null,
|
||
|
"source": "sanitized_path",
|
||
|
"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?": false,
|
||
|
"default": "nil",
|
||
|
"generated?": false,
|
||
|
"primary_key?": false,
|
||
|
"references": null,
|
||
|
"size": null,
|
||
|
"source": "type",
|
||
|
"type": "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": "false",
|
||
|
"generated?": false,
|
||
|
"primary_key?": false,
|
||
|
"references": null,
|
||
|
"size": null,
|
||
|
"source": "required",
|
||
|
"type": "boolean"
|
||
|
},
|
||
|
{
|
||
|
"allow_nil?": true,
|
||
|
"default": "nil",
|
||
|
"generated?": false,
|
||
|
"primary_key?": false,
|
||
|
"references": null,
|
||
|
"size": null,
|
||
|
"source": "argument_index",
|
||
|
"type": "bigint"
|
||
|
},
|
||
|
{
|
||
|
"allow_nil?": true,
|
||
|
"default": "nil",
|
||
|
"generated?": false,
|
||
|
"primary_key?": false,
|
||
|
"references": null,
|
||
|
"size": null,
|
||
|
"source": "links",
|
||
|
"type": "map"
|
||
|
},
|
||
|
{
|
||
|
"allow_nil?": true,
|
||
|
"default": "nil",
|
||
|
"generated?": false,
|
||
|
"primary_key?": false,
|
||
|
"references": null,
|
||
|
"size": null,
|
||
|
"source": "default",
|
||
|
"type": "text"
|
||
|
},
|
||
|
{
|
||
|
"allow_nil?": true,
|
||
|
"default": "nil",
|
||
|
"generated?": false,
|
||
|
"primary_key?": false,
|
||
|
"references": null,
|
||
|
"size": null,
|
||
|
"source": "path",
|
||
|
"type": [
|
||
|
"array",
|
||
|
"text"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"allow_nil?": false,
|
||
|
"default": "nil",
|
||
|
"generated?": false,
|
||
|
"primary_key?": false,
|
||
|
"references": null,
|
||
|
"size": null,
|
||
|
"source": "order",
|
||
|
"type": "bigint"
|
||
|
},
|
||
|
{
|
||
|
"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": "options_dsl_id_fkey",
|
||
|
"on_delete": null,
|
||
|
"on_update": null,
|
||
|
"schema": "public",
|
||
|
"table": "dsls"
|
||
|
},
|
||
|
"size": null,
|
||
|
"source": "dsl_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": "options_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": "options_extension_id_fkey",
|
||
|
"on_delete": null,
|
||
|
"on_update": null,
|
||
|
"schema": "public",
|
||
|
"table": "extensions"
|
||
|
},
|
||
|
"size": null,
|
||
|
"source": "extension_id",
|
||
|
"type": "uuid"
|
||
|
}
|
||
|
],
|
||
|
"base_filter": null,
|
||
|
"check_constraints": [],
|
||
|
"custom_indexes": [],
|
||
|
"custom_statements": [
|
||
|
{
|
||
|
"code?": false,
|
||
|
"down": "DROP INDEX options_name_lower_index;",
|
||
|
"name": "name_index",
|
||
|
"up": "CREATE INDEX options_name_lower_index ON options(lower(name));\n"
|
||
|
},
|
||
|
{
|
||
|
"code?": false,
|
||
|
"down": "DROP INDEX options_name_trigram_index;",
|
||
|
"name": "trigram_index",
|
||
|
"up": "CREATE INDEX options_name_trigram_index ON options USING GIST (name gist_trgm_ops);\n"
|
||
|
},
|
||
|
{
|
||
|
"code?": false,
|
||
|
"down": "DROP INDEX options_search_index;",
|
||
|
"name": "search_index",
|
||
|
"up": "CREATE INDEX options_search_index ON options USING GIN((\n setweight(to_tsvector('english', name), 'A') ||\n setweight(to_tsvector('english', doc), 'D')\n));\n"
|
||
|
}
|
||
|
],
|
||
|
"has_create_action": true,
|
||
|
"hash": "280876F64475A9D0C93AF6595B70F7486AD49B2A729E55441416C936F1BE63E4",
|
||
|
"identities": [],
|
||
|
"multitenancy": {
|
||
|
"attribute": null,
|
||
|
"global": null,
|
||
|
"strategy": null
|
||
|
},
|
||
|
"repo": "Elixir.AshHq.Repo",
|
||
|
"schema": null,
|
||
|
"table": "options"
|
||
|
}
|