mirror of
https://github.com/ash-project/ash_hq.git
synced 2024-09-21 05:43:12 +12:00
285 lines
6.5 KiB
JSON
285 lines
6.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": "\"\"",
|
||
|
"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?": true,
|
||
|
"default": "nil",
|
||
|
"generated?": false,
|
||
|
"primary_key?": false,
|
||
|
"references": null,
|
||
|
"size": null,
|
||
|
"source": "imports",
|
||
|
"type": [
|
||
|
"array",
|
||
|
"text"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"allow_nil?": true,
|
||
|
"default": "nil",
|
||
|
"generated?": false,
|
||
|
"primary_key?": false,
|
||
|
"references": null,
|
||
|
"size": null,
|
||
|
"source": "examples",
|
||
|
"type": [
|
||
|
"array",
|
||
|
"text"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"allow_nil?": true,
|
||
|
"default": "nil",
|
||
|
"generated?": false,
|
||
|
"primary_key?": false,
|
||
|
"references": null,
|
||
|
"size": null,
|
||
|
"source": "args",
|
||
|
"type": [
|
||
|
"array",
|
||
|
"text"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"allow_nil?": true,
|
||
|
"default": "[]",
|
||
|
"generated?": false,
|
||
|
"primary_key?": false,
|
||
|
"references": null,
|
||
|
"size": null,
|
||
|
"source": "optional_args",
|
||
|
"type": [
|
||
|
"array",
|
||
|
"text"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"allow_nil?": true,
|
||
|
"default": "nil",
|
||
|
"generated?": false,
|
||
|
"primary_key?": false,
|
||
|
"references": null,
|
||
|
"size": null,
|
||
|
"source": "arg_defaults",
|
||
|
"type": "map"
|
||
|
},
|
||
|
{
|
||
|
"allow_nil?": true,
|
||
|
"default": "nil",
|
||
|
"generated?": false,
|
||
|
"primary_key?": false,
|
||
|
"references": null,
|
||
|
"size": null,
|
||
|
"source": "path",
|
||
|
"type": [
|
||
|
"array",
|
||
|
"text"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"allow_nil?": true,
|
||
|
"default": "nil",
|
||
|
"generated?": false,
|
||
|
"primary_key?": false,
|
||
|
"references": null,
|
||
|
"size": null,
|
||
|
"source": "recursive_as",
|
||
|
"type": "text"
|
||
|
},
|
||
|
{
|
||
|
"allow_nil?": false,
|
||
|
"default": "nil",
|
||
|
"generated?": false,
|
||
|
"primary_key?": false,
|
||
|
"references": null,
|
||
|
"size": null,
|
||
|
"source": "order",
|
||
|
"type": "bigint"
|
||
|
},
|
||
|
{
|
||
|
"allow_nil?": false,
|
||
|
"default": "nil",
|
||
|
"generated?": false,
|
||
|
"primary_key?": false,
|
||
|
"references": null,
|
||
|
"size": null,
|
||
|
"source": "type",
|
||
|
"type": "text"
|
||
|
},
|
||
|
{
|
||
|
"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": "dsls_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": "dsls_extension_id_fkey",
|
||
|
"on_delete": null,
|
||
|
"on_update": null,
|
||
|
"schema": "public",
|
||
|
"table": "extensions"
|
||
|
},
|
||
|
"size": null,
|
||
|
"source": "extension_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": "dsls_dsl_id_fkey",
|
||
|
"on_delete": null,
|
||
|
"on_update": null,
|
||
|
"schema": "public",
|
||
|
"table": "dsls"
|
||
|
},
|
||
|
"size": null,
|
||
|
"source": "dsl_id",
|
||
|
"type": "uuid"
|
||
|
}
|
||
|
],
|
||
|
"base_filter": null,
|
||
|
"check_constraints": [],
|
||
|
"custom_indexes": [],
|
||
|
"custom_statements": [
|
||
|
{
|
||
|
"code?": false,
|
||
|
"down": "DROP INDEX dsls_name_lower_index;",
|
||
|
"name": "name_index",
|
||
|
"up": "CREATE INDEX dsls_name_lower_index ON dsls(lower(name));\n"
|
||
|
},
|
||
|
{
|
||
|
"code?": false,
|
||
|
"down": "DROP INDEX dsls_name_trigram_index;",
|
||
|
"name": "trigram_index",
|
||
|
"up": "CREATE INDEX dsls_name_trigram_index ON dsls USING GIST (name gist_trgm_ops);\n"
|
||
|
},
|
||
|
{
|
||
|
"code?": false,
|
||
|
"down": "DROP INDEX dsls_search_index;",
|
||
|
"name": "search_index",
|
||
|
"up": "CREATE INDEX dsls_search_index ON dsls USING GIN((\n setweight(to_tsvector('english', name), 'A') ||\n setweight(to_tsvector('english', doc), 'D')\n));\n"
|
||
|
}
|
||
|
],
|
||
|
"has_create_action": true,
|
||
|
"hash": "0B14F4C3EB4751D846DCFCD660770D2476F8A22F30636C18D0A545A6C158ED0D",
|
||
|
"identities": [],
|
||
|
"multitenancy": {
|
||
|
"attribute": null,
|
||
|
"global": null,
|
||
|
"strategy": null
|
||
|
},
|
||
|
"repo": "Elixir.AshHq.Repo",
|
||
|
"schema": null,
|
||
|
"table": "dsls"
|
||
|
}
|