115 lines
2.4 KiB
JSON
115 lines
2.4 KiB
JSON
{
|
|
"type": "diff",
|
|
"version": "10",
|
|
"dialect": "postgres",
|
|
"id": "599a945d-6169-416b-9398-fe17247d8d99",
|
|
"prevIds": [
|
|
"2041e3a9-973b-4348-98e7-0c5a0587d428"
|
|
],
|
|
"footprints": [
|
|
{
|
|
"statementType": "add_column",
|
|
"statementTarget": [
|
|
"column",
|
|
"public",
|
|
"user",
|
|
"username"
|
|
],
|
|
"writes": [
|
|
"s|col|public.user.username",
|
|
"n|col|public.user.username",
|
|
"e|col|public.user.username"
|
|
],
|
|
"reads": [
|
|
"n|tbl|public.user",
|
|
"n|sch|public"
|
|
]
|
|
},
|
|
{
|
|
"statementType": "add_column",
|
|
"statementTarget": [
|
|
"column",
|
|
"public",
|
|
"user",
|
|
"bio"
|
|
],
|
|
"writes": [
|
|
"s|col|public.user.bio",
|
|
"n|col|public.user.bio",
|
|
"e|col|public.user.bio"
|
|
],
|
|
"reads": [
|
|
"n|tbl|public.user",
|
|
"n|sch|public"
|
|
]
|
|
},
|
|
{
|
|
"statementType": "add_unique",
|
|
"statementTarget": [
|
|
"table",
|
|
"public",
|
|
"user"
|
|
],
|
|
"writes": [
|
|
"s|uq|public.user.user_username_key",
|
|
"n|uq|public.user.user_username_key",
|
|
"e|uq|public.user.user_username_key",
|
|
"n|con|public.user.user_username_key",
|
|
"n|rel|public.user_username_key"
|
|
],
|
|
"reads": [
|
|
"n|tbl|public.user",
|
|
"n|sch|public",
|
|
"n|col|public.user.username"
|
|
]
|
|
}
|
|
],
|
|
"deltas": [
|
|
{
|
|
"op": "create",
|
|
"row": {
|
|
"schema": "public",
|
|
"table": "user",
|
|
"name": "username",
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"entityType": "columns"
|
|
}
|
|
},
|
|
{
|
|
"op": "create",
|
|
"row": {
|
|
"schema": "public",
|
|
"table": "user",
|
|
"name": "bio",
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"entityType": "columns"
|
|
}
|
|
},
|
|
{
|
|
"op": "create",
|
|
"row": {
|
|
"schema": "public",
|
|
"table": "user",
|
|
"name": "user_username_key",
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
"username"
|
|
],
|
|
"nullsNotDistinct": false,
|
|
"entityType": "uniques"
|
|
}
|
|
}
|
|
]
|
|
} |