mirror of
https://github.com/ash-project/ash_postgres.git
synced 2024-09-20 21:43:12 +12:00
73 lines
1.7 KiB
JSON
73 lines
1.7 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": "is_active",
|
||
|
"type": "boolean"
|
||
|
},
|
||
|
{
|
||
|
"allow_nil?": true,
|
||
|
"default": "nil",
|
||
|
"generated?": false,
|
||
|
"primary_key?": false,
|
||
|
"references": null,
|
||
|
"size": null,
|
||
|
"source": "name",
|
||
|
"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": "id",
|
||
|
"global": true,
|
||
|
"strategy": "attribute"
|
||
|
},
|
||
|
"name": "users_org_id_fkey",
|
||
|
"on_delete": null,
|
||
|
"on_update": null,
|
||
|
"schema": "public",
|
||
|
"table": "multitenant_orgs"
|
||
|
},
|
||
|
"size": null,
|
||
|
"source": "org_id",
|
||
|
"type": "uuid"
|
||
|
}
|
||
|
],
|
||
|
"base_filter": null,
|
||
|
"check_constraints": [],
|
||
|
"custom_indexes": [],
|
||
|
"custom_statements": [],
|
||
|
"has_create_action": true,
|
||
|
"hash": "027093DBAA02C87D9092870CF7454DC0A40EB4E5F79836A37504D0D0E4E7CEC8",
|
||
|
"identities": [],
|
||
|
"multitenancy": {
|
||
|
"attribute": null,
|
||
|
"global": null,
|
||
|
"strategy": null
|
||
|
},
|
||
|
"repo": "Elixir.AshPostgres.TestRepo",
|
||
|
"schema": null,
|
||
|
"table": "users"
|
||
|
}
|