mirror of
https://github.com/team-alembic/ash_authentication.git
synced 2024-09-21 13:53:25 +12:00
119 lines
No EOL
2.7 KiB
JSON
119 lines
No EOL
2.7 KiB
JSON
{
|
|
"attributes": [
|
|
{
|
|
"default": "nil",
|
|
"size": null,
|
|
"type": "text",
|
|
"source": "refresh_token",
|
|
"references": null,
|
|
"allow_nil?": true,
|
|
"generated?": false,
|
|
"primary_key?": false
|
|
},
|
|
{
|
|
"default": "nil",
|
|
"size": null,
|
|
"type": "utc_datetime_usec",
|
|
"source": "access_token_expires_at",
|
|
"references": null,
|
|
"allow_nil?": true,
|
|
"generated?": false,
|
|
"primary_key?": false
|
|
},
|
|
{
|
|
"default": "nil",
|
|
"size": null,
|
|
"type": "text",
|
|
"source": "access_token",
|
|
"references": null,
|
|
"allow_nil?": true,
|
|
"generated?": false,
|
|
"primary_key?": false
|
|
},
|
|
{
|
|
"default": "nil",
|
|
"size": null,
|
|
"type": "text",
|
|
"source": "uid",
|
|
"references": null,
|
|
"allow_nil?": false,
|
|
"generated?": false,
|
|
"primary_key?": false
|
|
},
|
|
{
|
|
"default": "nil",
|
|
"size": null,
|
|
"type": "text",
|
|
"source": "strategy",
|
|
"references": null,
|
|
"allow_nil?": false,
|
|
"generated?": false,
|
|
"primary_key?": false
|
|
},
|
|
{
|
|
"default": "fragment(\"gen_random_uuid()\")",
|
|
"size": null,
|
|
"type": "uuid",
|
|
"source": "id",
|
|
"references": null,
|
|
"allow_nil?": false,
|
|
"generated?": false,
|
|
"primary_key?": true
|
|
},
|
|
{
|
|
"default": "nil",
|
|
"size": null,
|
|
"type": "uuid",
|
|
"source": "user_id",
|
|
"references": {
|
|
"name": "user_identities_user_id_fkey",
|
|
"table": "user",
|
|
"schema": "public",
|
|
"on_delete": null,
|
|
"multitenancy": {
|
|
"global": null,
|
|
"strategy": null,
|
|
"attribute": null
|
|
},
|
|
"primary_key?": true,
|
|
"destination_attribute": "id",
|
|
"deferrable": false,
|
|
"match_type": null,
|
|
"match_with": null,
|
|
"on_update": null,
|
|
"destination_attribute_default": null,
|
|
"destination_attribute_generated": null
|
|
},
|
|
"allow_nil?": true,
|
|
"generated?": false,
|
|
"primary_key?": false
|
|
}
|
|
],
|
|
"table": "user_identities",
|
|
"hash": "9ED472E910FD711BEFFEAAACF1199466AB34B7FF41C5C076F1A95188FC3D60C6",
|
|
"repo": "Elixir.Example.Repo",
|
|
"identities": [
|
|
{
|
|
"name": "unique_on_strategy_and_uid_and_user_id",
|
|
"keys": [
|
|
"strategy",
|
|
"uid",
|
|
"user_id"
|
|
],
|
|
"all_tenants?": false,
|
|
"index_name": "user_identities_unique_on_strategy_and_uid_and_user_id_index",
|
|
"base_filter": null
|
|
}
|
|
],
|
|
"schema": null,
|
|
"multitenancy": {
|
|
"global": null,
|
|
"strategy": null,
|
|
"attribute": null
|
|
},
|
|
"base_filter": null,
|
|
"check_constraints": [],
|
|
"custom_indexes": [],
|
|
"custom_statements": [],
|
|
"has_create_action": true
|
|
} |