mirror of
https://github.com/ash-project/ash_postgres.git
synced 2024-09-21 14:03:15 +12:00
103 lines
2.3 KiB
JSON
103 lines
2.3 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?": true,
|
||
|
"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": "code",
|
||
|
"type": "text"
|
||
|
},
|
||
|
{
|
||
|
"allow_nil?": false,
|
||
|
"default": "nil",
|
||
|
"generated?": false,
|
||
|
"primary_key?": false,
|
||
|
"references": null,
|
||
|
"size": null,
|
||
|
"source": "must_be_present",
|
||
|
"type": "text"
|
||
|
},
|
||
|
{
|
||
|
"allow_nil?": true,
|
||
|
"default": "nil",
|
||
|
"generated?": false,
|
||
|
"primary_key?": false,
|
||
|
"references": null,
|
||
|
"size": null,
|
||
|
"source": "role",
|
||
|
"type": "text"
|
||
|
},
|
||
|
{
|
||
|
"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": "managers_organization_id_fkey",
|
||
|
"on_delete": null,
|
||
|
"on_update": null,
|
||
|
"primary_key?": true,
|
||
|
"schema": "public",
|
||
|
"table": "orgs"
|
||
|
},
|
||
|
"size": null,
|
||
|
"source": "organization_id",
|
||
|
"type": "uuid"
|
||
|
}
|
||
|
],
|
||
|
"base_filter": null,
|
||
|
"check_constraints": [],
|
||
|
"custom_indexes": [],
|
||
|
"custom_statements": [],
|
||
|
"has_create_action": true,
|
||
|
"hash": "F41F73F86DE4BA7AA6307842C10D56BF8744C4D653F118222FE7B626625588F2",
|
||
|
"identities": [
|
||
|
{
|
||
|
"base_filter": null,
|
||
|
"index_name": "managers_uniq_code_index",
|
||
|
"keys": [
|
||
|
"code"
|
||
|
],
|
||
|
"name": "uniq_code"
|
||
|
}
|
||
|
],
|
||
|
"multitenancy": {
|
||
|
"attribute": null,
|
||
|
"global": null,
|
||
|
"strategy": null
|
||
|
},
|
||
|
"repo": "Elixir.AshPostgres.TestRepo",
|
||
|
"schema": null,
|
||
|
"table": "managers"
|
||
|
}
|