mirror of
https://github.com/ash-project/ash_postgres.git
synced 2024-09-20 13:33:50 +12:00
2a5c7ac4a2
fix: don't use `table` where we should use `schema` in migration generator
62 lines
No EOL
1.4 KiB
JSON
62 lines
No EOL
1.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?": 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_field": "id",
|
|
"destination_field_default": null,
|
|
"destination_field_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": [],
|
|
"has_create_action": true,
|
|
"hash": "B8098B00555AB33A5833083A543A54D937B3C4C76AFE35507729D823BB18A5E2",
|
|
"identities": [],
|
|
"multitenancy": {
|
|
"attribute": "org_id",
|
|
"global": true,
|
|
"strategy": "attribute"
|
|
},
|
|
"repo": "Elixir.AshPostgres.TestRepo",
|
|
"schema": null,
|
|
"table": "users"
|
|
} |