mirror of
https://github.com/ash-project/ash_sqlite.git
synced 2024-09-20 21:32:47 +12:00
87 lines
No EOL
2.1 KiB
JSON
87 lines
No EOL
2.1 KiB
JSON
{
|
|
"attributes": [
|
|
{
|
|
"default": "nil",
|
|
"size": null,
|
|
"type": "text",
|
|
"source": "state",
|
|
"references": null,
|
|
"primary_key?": false,
|
|
"allow_nil?": true,
|
|
"generated?": false
|
|
},
|
|
{
|
|
"default": "nil",
|
|
"size": null,
|
|
"type": "uuid",
|
|
"source": "source_post_id",
|
|
"references": {
|
|
"name": "post_links_source_post_id_fkey",
|
|
"table": "posts",
|
|
"primary_key?": true,
|
|
"destination_attribute": "id",
|
|
"deferrable": false,
|
|
"destination_attribute_default": null,
|
|
"destination_attribute_generated": null,
|
|
"multitenancy": {
|
|
"global": null,
|
|
"attribute": null,
|
|
"strategy": null
|
|
},
|
|
"on_delete": null,
|
|
"on_update": null
|
|
},
|
|
"primary_key?": true,
|
|
"allow_nil?": false,
|
|
"generated?": false
|
|
},
|
|
{
|
|
"default": "nil",
|
|
"size": null,
|
|
"type": "uuid",
|
|
"source": "destination_post_id",
|
|
"references": {
|
|
"name": "post_links_destination_post_id_fkey",
|
|
"table": "posts",
|
|
"primary_key?": true,
|
|
"destination_attribute": "id",
|
|
"deferrable": false,
|
|
"destination_attribute_default": null,
|
|
"destination_attribute_generated": null,
|
|
"multitenancy": {
|
|
"global": null,
|
|
"attribute": null,
|
|
"strategy": null
|
|
},
|
|
"on_delete": null,
|
|
"on_update": null
|
|
},
|
|
"primary_key?": true,
|
|
"allow_nil?": false,
|
|
"generated?": false
|
|
}
|
|
],
|
|
"table": "post_links",
|
|
"hash": "870ACE4A2EB4F54E61458810247D3AC4259B8B5C8EEFA187F7907C58F773B063",
|
|
"repo": "Elixir.AshSqlite.TestRepo",
|
|
"identities": [
|
|
{
|
|
"name": "unique_link",
|
|
"keys": [
|
|
"source_post_id",
|
|
"destination_post_id"
|
|
],
|
|
"base_filter": null,
|
|
"index_name": "post_links_unique_link_index"
|
|
}
|
|
],
|
|
"has_create_action": true,
|
|
"custom_indexes": [],
|
|
"custom_statements": [],
|
|
"base_filter": null,
|
|
"multitenancy": {
|
|
"global": null,
|
|
"attribute": null,
|
|
"strategy": null
|
|
}
|
|
} |