2022-11-10 14:47:06 +13:00
|
|
|
{
|
|
|
|
"attributes": [
|
|
|
|
{
|
|
|
|
"allow_nil?": true,
|
|
|
|
"default": "nil",
|
|
|
|
"generated?": false,
|
|
|
|
"primary_key?": false,
|
|
|
|
"references": null,
|
|
|
|
"size": null,
|
|
|
|
"source": "refresh_token",
|
|
|
|
"type": "text"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"allow_nil?": true,
|
|
|
|
"default": "nil",
|
|
|
|
"generated?": false,
|
|
|
|
"primary_key?": false,
|
|
|
|
"references": null,
|
|
|
|
"size": null,
|
|
|
|
"source": "access_token_expires_at",
|
|
|
|
"type": "utc_datetime_usec"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"allow_nil?": true,
|
|
|
|
"default": "nil",
|
|
|
|
"generated?": false,
|
|
|
|
"primary_key?": false,
|
|
|
|
"references": null,
|
|
|
|
"size": null,
|
|
|
|
"source": "access_token",
|
|
|
|
"type": "text"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"allow_nil?": false,
|
|
|
|
"default": "nil",
|
|
|
|
"generated?": false,
|
|
|
|
"primary_key?": false,
|
|
|
|
"references": null,
|
|
|
|
"size": null,
|
|
|
|
"source": "uid",
|
|
|
|
"type": "text"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"allow_nil?": false,
|
|
|
|
"default": "nil",
|
|
|
|
"generated?": false,
|
|
|
|
"primary_key?": false,
|
|
|
|
"references": null,
|
|
|
|
"size": null,
|
2022-11-30 16:32:13 +13:00
|
|
|
"source": "strategy",
|
2022-11-10 14:47:06 +13:00
|
|
|
"type": "text"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"allow_nil?": false,
|
2022-11-30 16:32:13 +13:00
|
|
|
"default": "fragment(\"uuid_generate_v4()\")",
|
2022-11-10 14:47:06 +13:00
|
|
|
"generated?": false,
|
|
|
|
"primary_key?": true,
|
|
|
|
"references": null,
|
|
|
|
"size": null,
|
|
|
|
"source": "id",
|
|
|
|
"type": "uuid"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"allow_nil?": true,
|
|
|
|
"default": "nil",
|
|
|
|
"generated?": false,
|
|
|
|
"primary_key?": false,
|
|
|
|
"references": {
|
|
|
|
"destination_attribute": "id",
|
|
|
|
"destination_attribute_default": null,
|
|
|
|
"destination_attribute_generated": null,
|
|
|
|
"multitenancy": {
|
|
|
|
"attribute": null,
|
|
|
|
"global": null,
|
|
|
|
"strategy": null
|
|
|
|
},
|
|
|
|
"name": "user_identities_user_id_fkey",
|
|
|
|
"on_delete": null,
|
|
|
|
"on_update": null,
|
|
|
|
"schema": "public",
|
2022-11-23 09:09:41 +13:00
|
|
|
"table": "user"
|
2022-11-10 14:47:06 +13:00
|
|
|
},
|
|
|
|
"size": null,
|
|
|
|
"source": "user_id",
|
|
|
|
"type": "uuid"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"base_filter": null,
|
|
|
|
"check_constraints": [],
|
|
|
|
"custom_indexes": [],
|
|
|
|
"custom_statements": [],
|
|
|
|
"has_create_action": true,
|
2022-11-30 16:32:13 +13:00
|
|
|
"hash": "17B4CEEA4E648DF739AD38C1A090B8A97EB9B2A0C9A8F1DFE0B9C3A1842785BE",
|
2022-11-10 14:47:06 +13:00
|
|
|
"identities": [
|
|
|
|
{
|
|
|
|
"base_filter": null,
|
2022-11-30 16:32:13 +13:00
|
|
|
"index_name": "user_identities_unique_on_strategy_and_uid_and_user_id_index",
|
2022-11-10 14:47:06 +13:00
|
|
|
"keys": [
|
2022-11-30 16:32:13 +13:00
|
|
|
"strategy",
|
2022-11-10 14:47:06 +13:00
|
|
|
"uid",
|
|
|
|
"user_id"
|
|
|
|
],
|
2022-11-30 16:32:13 +13:00
|
|
|
"name": "unique_on_strategy_and_uid_and_user_id"
|
2022-11-10 14:47:06 +13:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"multitenancy": {
|
|
|
|
"attribute": null,
|
|
|
|
"global": null,
|
|
|
|
"strategy": null
|
|
|
|
},
|
|
|
|
"repo": "Elixir.Example.Repo",
|
|
|
|
"schema": null,
|
|
|
|
"table": "user_identities"
|
2022-11-30 16:32:13 +13:00
|
|
|
}
|