mirror of
https://github.com/ash-project/ash_hq.git
synced 2024-09-20 13:23:38 +12:00
167 lines
No EOL
3.8 KiB
JSON
167 lines
No EOL
3.8 KiB
JSON
{
|
|
"attributes": [
|
|
{
|
|
"default": "nil",
|
|
"size": null,
|
|
"type": "text",
|
|
"source": "sanitized_name",
|
|
"references": null,
|
|
"allow_nil?": false,
|
|
"generated?": false,
|
|
"primary_key?": false
|
|
},
|
|
{
|
|
"default": "fragment(\"gen_random_uuid()\")",
|
|
"size": null,
|
|
"type": "uuid",
|
|
"source": "id",
|
|
"references": null,
|
|
"allow_nil?": false,
|
|
"generated?": false,
|
|
"primary_key?": true
|
|
},
|
|
{
|
|
"default": "nil",
|
|
"size": null,
|
|
"type": "bigint",
|
|
"source": "order",
|
|
"references": null,
|
|
"allow_nil?": false,
|
|
"generated?": false,
|
|
"primary_key?": false
|
|
},
|
|
{
|
|
"default": "nil",
|
|
"size": null,
|
|
"type": "text",
|
|
"source": "name",
|
|
"references": null,
|
|
"allow_nil?": false,
|
|
"generated?": false,
|
|
"primary_key?": false
|
|
},
|
|
{
|
|
"default": "\"\"",
|
|
"size": null,
|
|
"type": "text",
|
|
"source": "text",
|
|
"references": null,
|
|
"allow_nil?": false,
|
|
"generated?": false,
|
|
"primary_key?": false
|
|
},
|
|
{
|
|
"default": "nil",
|
|
"size": null,
|
|
"type": "text",
|
|
"source": "text_html",
|
|
"references": null,
|
|
"allow_nil?": true,
|
|
"generated?": false,
|
|
"primary_key?": false
|
|
},
|
|
{
|
|
"default": "\"Topics\"",
|
|
"size": null,
|
|
"type": "text",
|
|
"source": "category",
|
|
"references": null,
|
|
"allow_nil?": false,
|
|
"generated?": false,
|
|
"primary_key?": false
|
|
},
|
|
{
|
|
"default": "nil",
|
|
"size": null,
|
|
"type": "text",
|
|
"source": "route",
|
|
"references": null,
|
|
"allow_nil?": false,
|
|
"generated?": false,
|
|
"primary_key?": false
|
|
},
|
|
{
|
|
"default": "nil",
|
|
"size": null,
|
|
"type": "text",
|
|
"source": "sanitized_route",
|
|
"references": null,
|
|
"allow_nil?": false,
|
|
"generated?": false,
|
|
"primary_key?": false
|
|
},
|
|
{
|
|
"default": "false",
|
|
"size": null,
|
|
"type": "boolean",
|
|
"source": "default",
|
|
"references": null,
|
|
"allow_nil?": false,
|
|
"generated?": false,
|
|
"primary_key?": false
|
|
},
|
|
{
|
|
"default": "fragment(\"(now() AT TIME ZONE 'utc')\")",
|
|
"size": null,
|
|
"type": "utc_datetime_usec",
|
|
"source": "inserted_at",
|
|
"references": null,
|
|
"allow_nil?": false,
|
|
"generated?": false,
|
|
"primary_key?": false
|
|
},
|
|
{
|
|
"default": "fragment(\"(now() AT TIME ZONE 'utc')\")",
|
|
"size": null,
|
|
"type": "utc_datetime_usec",
|
|
"source": "updated_at",
|
|
"references": null,
|
|
"allow_nil?": false,
|
|
"generated?": false,
|
|
"primary_key?": false
|
|
},
|
|
{
|
|
"default": "nil",
|
|
"size": null,
|
|
"type": "uuid",
|
|
"source": "library_version_id",
|
|
"references": {
|
|
"name": "guides_library_version_id_fkey",
|
|
"table": "library_versions",
|
|
"schema": "public",
|
|
"on_delete": "delete",
|
|
"multitenancy": {
|
|
"global": null,
|
|
"attribute": null,
|
|
"strategy": null
|
|
},
|
|
"primary_key?": true,
|
|
"destination_attribute": "id",
|
|
"deferrable": false,
|
|
"match_type": null,
|
|
"match_with": null,
|
|
"on_update": null,
|
|
"destination_attribute_default": null,
|
|
"destination_attribute_generated": null
|
|
},
|
|
"allow_nil?": true,
|
|
"generated?": false,
|
|
"primary_key?": false
|
|
}
|
|
],
|
|
"table": "guides",
|
|
"hash": "3CCB6547DDB3F147C1072DDF5F413B56BEBA46F092FBB50AF1B4F4AEDE81C525",
|
|
"repo": "Elixir.AshHq.Repo",
|
|
"identities": [],
|
|
"schema": null,
|
|
"multitenancy": {
|
|
"global": null,
|
|
"attribute": null,
|
|
"strategy": null
|
|
},
|
|
"base_filter": null,
|
|
"check_constraints": [],
|
|
"custom_indexes": [],
|
|
"custom_statements": [],
|
|
"has_create_action": true
|
|
} |