mirror of
https://github.com/ash-project/ash_hq.git
synced 2024-09-20 13:23:38 +12:00
150 lines
3.4 KiB
JSON
150 lines
3.4 KiB
JSON
|
{
|
||
|
"attributes": [
|
||
|
{
|
||
|
"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": "question",
|
||
|
"type": "text"
|
||
|
},
|
||
|
{
|
||
|
"allow_nil?": false,
|
||
|
"default": "nil",
|
||
|
"generated?": false,
|
||
|
"primary_key?": false,
|
||
|
"references": null,
|
||
|
"size": null,
|
||
|
"source": "answer",
|
||
|
"type": "text"
|
||
|
},
|
||
|
{
|
||
|
"allow_nil?": false,
|
||
|
"default": "[]",
|
||
|
"generated?": false,
|
||
|
"primary_key?": false,
|
||
|
"references": null,
|
||
|
"size": null,
|
||
|
"source": "sources",
|
||
|
"type": [
|
||
|
"array",
|
||
|
"map"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"allow_nil?": false,
|
||
|
"default": "nil",
|
||
|
"generated?": false,
|
||
|
"primary_key?": false,
|
||
|
"references": null,
|
||
|
"size": null,
|
||
|
"source": "answer_html",
|
||
|
"type": "text"
|
||
|
},
|
||
|
{
|
||
|
"allow_nil?": false,
|
||
|
"default": "nil",
|
||
|
"generated?": false,
|
||
|
"primary_key?": false,
|
||
|
"references": null,
|
||
|
"size": null,
|
||
|
"source": "success",
|
||
|
"type": "boolean"
|
||
|
},
|
||
|
{
|
||
|
"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?": false,
|
||
|
"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": "questions_user_id_fkey",
|
||
|
"on_delete": null,
|
||
|
"on_update": null,
|
||
|
"schema": "public",
|
||
|
"table": "users"
|
||
|
},
|
||
|
"size": null,
|
||
|
"source": "user_id",
|
||
|
"type": "uuid"
|
||
|
},
|
||
|
{
|
||
|
"allow_nil?": false,
|
||
|
"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": "questions_conversation_id_fkey",
|
||
|
"on_delete": "delete",
|
||
|
"on_update": null,
|
||
|
"schema": "public",
|
||
|
"table": "conversations"
|
||
|
},
|
||
|
"size": null,
|
||
|
"source": "conversation_id",
|
||
|
"type": "uuid"
|
||
|
}
|
||
|
],
|
||
|
"base_filter": null,
|
||
|
"check_constraints": [],
|
||
|
"custom_indexes": [],
|
||
|
"custom_statements": [],
|
||
|
"has_create_action": true,
|
||
|
"hash": "DC57A991C835F4953B0843E80AC60D7257545780DD6D0E8510ED06750B898D05",
|
||
|
"identities": [],
|
||
|
"multitenancy": {
|
||
|
"attribute": null,
|
||
|
"global": null,
|
||
|
"strategy": null
|
||
|
},
|
||
|
"repo": "Elixir.AshHq.Repo",
|
||
|
"schema": null,
|
||
|
"table": "questions"
|
||
|
}
|