mirror of
https://github.com/ash-project/ash_postgres.git
synced 2024-09-20 21:43:12 +12:00
98004f3251
improvement: relax ash version requirement
113 lines
No EOL
2.6 KiB
JSON
113 lines
No EOL
2.6 KiB
JSON
{
|
|
"attributes": [
|
|
{
|
|
"allow_nil?": false,
|
|
"default": "fragment(\"uuid_generate_v4()\")",
|
|
"generated?": false,
|
|
"name": "id",
|
|
"primary_key?": true,
|
|
"references": null,
|
|
"size": null,
|
|
"type": "uuid"
|
|
},
|
|
{
|
|
"allow_nil?": true,
|
|
"default": "nil",
|
|
"generated?": false,
|
|
"name": "title",
|
|
"primary_key?": false,
|
|
"references": null,
|
|
"size": null,
|
|
"type": "text"
|
|
},
|
|
{
|
|
"allow_nil?": true,
|
|
"default": "nil",
|
|
"generated?": false,
|
|
"name": "likes",
|
|
"primary_key?": false,
|
|
"references": null,
|
|
"size": null,
|
|
"type": "bigint"
|
|
},
|
|
{
|
|
"allow_nil?": true,
|
|
"default": "nil",
|
|
"generated?": false,
|
|
"name": "arbitrary_timestamp",
|
|
"primary_key?": false,
|
|
"references": null,
|
|
"size": null,
|
|
"type": "utc_datetime_usec"
|
|
},
|
|
{
|
|
"allow_nil?": false,
|
|
"default": "fragment(\"now()\")",
|
|
"generated?": false,
|
|
"name": "created_at",
|
|
"primary_key?": false,
|
|
"references": null,
|
|
"size": null,
|
|
"type": "utc_datetime_usec"
|
|
},
|
|
{
|
|
"allow_nil?": true,
|
|
"default": "nil",
|
|
"generated?": false,
|
|
"name": "post_id",
|
|
"primary_key?": false,
|
|
"references": {
|
|
"destination_field": "id",
|
|
"destination_field_default": null,
|
|
"destination_field_generated": null,
|
|
"multitenancy": {
|
|
"attribute": null,
|
|
"global": null,
|
|
"strategy": null
|
|
},
|
|
"name": "special_name_fkey",
|
|
"on_delete": "delete",
|
|
"on_update": "update",
|
|
"table": "posts"
|
|
},
|
|
"size": null,
|
|
"type": "uuid"
|
|
},
|
|
{
|
|
"allow_nil?": true,
|
|
"default": "nil",
|
|
"generated?": false,
|
|
"name": "author_id",
|
|
"primary_key?": false,
|
|
"references": {
|
|
"destination_field": "id",
|
|
"destination_field_default": null,
|
|
"destination_field_generated": null,
|
|
"multitenancy": {
|
|
"attribute": null,
|
|
"global": null,
|
|
"strategy": null
|
|
},
|
|
"name": "comments_author_id_fkey",
|
|
"on_delete": null,
|
|
"on_update": null,
|
|
"table": "authors"
|
|
},
|
|
"size": null,
|
|
"type": "uuid"
|
|
}
|
|
],
|
|
"base_filter": null,
|
|
"check_constraints": [],
|
|
"custom_indexes": [],
|
|
"has_create_action": true,
|
|
"hash": "8C7B9F47D65676E7A767135486DDFCBC6719A2D5B493D3E97DF23F181632045D",
|
|
"identities": [],
|
|
"multitenancy": {
|
|
"attribute": null,
|
|
"global": null,
|
|
"strategy": null
|
|
},
|
|
"repo": "Elixir.AshPostgres.TestRepo",
|
|
"table": "comments"
|
|
} |