ash_postgres/priv/resource_snapshots/test_repo/users/20220518160829.json
Zach Daniel 2a5c7ac4a2 improvement: check_migrations, rename to --check
fix: don't use `table` where we should use `schema` in migration generator
2022-05-18 13:21:58 -04:00

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"
}