ash_sqlite/priv/resource_snapshots/test_repo/comments/20230923051130.json
2023-09-23 01:32:12 -04:00

117 lines
No EOL
2.7 KiB
JSON

{
"attributes": [
{
"default": "nil",
"size": null,
"type": "uuid",
"source": "id",
"references": null,
"primary_key?": true,
"allow_nil?": false,
"generated?": false
},
{
"default": "nil",
"size": null,
"type": "text",
"source": "title",
"references": null,
"primary_key?": false,
"allow_nil?": true,
"generated?": false
},
{
"default": "nil",
"size": null,
"type": "bigint",
"source": "likes",
"references": null,
"primary_key?": false,
"allow_nil?": true,
"generated?": false
},
{
"default": "nil",
"size": null,
"type": "utc_datetime_usec",
"source": "arbitrary_timestamp",
"references": null,
"primary_key?": false,
"allow_nil?": true,
"generated?": false
},
{
"default": "nil",
"size": null,
"type": "utc_datetime_usec",
"source": "created_at",
"references": null,
"primary_key?": false,
"allow_nil?": false,
"generated?": false
},
{
"default": "nil",
"size": null,
"type": "uuid",
"source": "post_id",
"references": {
"name": "special_name_fkey",
"table": "posts",
"on_delete": "delete",
"on_update": "update",
"destination_attribute_generated": null,
"destination_attribute_default": null,
"multitenancy": {
"global": null,
"attribute": null,
"strategy": null
},
"destination_attribute": "id",
"primary_key?": true,
"deferrable": false
},
"primary_key?": false,
"allow_nil?": true,
"generated?": false
},
{
"default": "nil",
"size": null,
"type": "uuid",
"source": "author_id",
"references": {
"name": "comments_author_id_fkey",
"table": "authors",
"on_delete": null,
"on_update": null,
"destination_attribute_generated": null,
"destination_attribute_default": null,
"multitenancy": {
"global": null,
"attribute": null,
"strategy": null
},
"destination_attribute": "id",
"primary_key?": true,
"deferrable": false
},
"primary_key?": false,
"allow_nil?": true,
"generated?": false
}
],
"table": "comments",
"hash": "F8021D06DAA6DBAA04DD4560E664905182EA32587D0087EC9F8BD145E40A8432",
"repo": "Elixir.AshSqlite.TestRepo",
"multitenancy": {
"global": null,
"attribute": null,
"strategy": null
},
"custom_indexes": [],
"base_filter": null,
"identities": [],
"custom_statements": [],
"has_create_action": true
}