mirror of
https://github.com/ash-project/ash_postgres.git
synced 2024-09-21 14:03:15 +12:00
46 lines
1 KiB
JSON
46 lines
1 KiB
JSON
|
{
|
||
|
"attributes": [
|
||
|
{
|
||
|
"allow_nil?": true,
|
||
|
"default": "fragment(\"uuid_generate_v4()\")",
|
||
|
"name": "id",
|
||
|
"primary_key?": true,
|
||
|
"references": null,
|
||
|
"type": "binary_id"
|
||
|
},
|
||
|
{
|
||
|
"allow_nil?": true,
|
||
|
"default": "nil",
|
||
|
"name": "name",
|
||
|
"primary_key?": false,
|
||
|
"references": null,
|
||
|
"type": "text"
|
||
|
},
|
||
|
{
|
||
|
"allow_nil?": true,
|
||
|
"default": "nil",
|
||
|
"name": "org_id",
|
||
|
"primary_key?": false,
|
||
|
"references": {
|
||
|
"destination_field": "id",
|
||
|
"multitenancy": {
|
||
|
"attribute": "id",
|
||
|
"global": true,
|
||
|
"strategy": "attribute"
|
||
|
},
|
||
|
"table": "multitenant_orgs"
|
||
|
},
|
||
|
"type": "binary_id"
|
||
|
}
|
||
|
],
|
||
|
"base_filter": null,
|
||
|
"hash": "E002C30D8504AE54786D51906ABEA774DABDD941FB906546FF60E48DF8C1D903",
|
||
|
"identities": [],
|
||
|
"multitenancy": {
|
||
|
"attribute": null,
|
||
|
"global": false,
|
||
|
"strategy": "context"
|
||
|
},
|
||
|
"repo": "Elixir.AshPostgres.TestRepo",
|
||
|
"table": "multitenant_posts"
|
||
|
}
|