mirror of
https://github.com/VibedByKaKi/t3-code-android-nightly.git
synced 2026-10-11 12:51:15 +02:00
Prepare Relay production infrastructure for the PlanetScale PS_20 HA topology, upgrade Effect and Alchemy to compatible betas, reconcile migration state, and preserve patched MCP session termination behavior.\n\nCo-authored-by: codex <codex@users.noreply.github.com>
139 lines
2.9 KiB
JSON
139 lines
2.9 KiB
JSON
{
|
|
"version": "7",
|
|
"dialect": "sqlite",
|
|
"id": "ee36cc15-6c63-4de0-8639-6bef5960b627",
|
|
"prevIds": ["00000000-0000-0000-0000-000000000000"],
|
|
"ddl": [
|
|
{
|
|
"name": "posts",
|
|
"entityType": "tables"
|
|
},
|
|
{
|
|
"name": "users",
|
|
"entityType": "tables"
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"notNull": false,
|
|
"autoincrement": true,
|
|
"default": null,
|
|
"generated": null,
|
|
"name": "id",
|
|
"entityType": "columns",
|
|
"table": "posts"
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"notNull": true,
|
|
"autoincrement": false,
|
|
"default": null,
|
|
"generated": null,
|
|
"name": "user_id",
|
|
"entityType": "columns",
|
|
"table": "posts"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"notNull": true,
|
|
"autoincrement": false,
|
|
"default": null,
|
|
"generated": null,
|
|
"name": "title",
|
|
"entityType": "columns",
|
|
"table": "posts"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"notNull": true,
|
|
"autoincrement": false,
|
|
"default": null,
|
|
"generated": null,
|
|
"name": "body",
|
|
"entityType": "columns",
|
|
"table": "posts"
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"notNull": true,
|
|
"autoincrement": false,
|
|
"default": "(unixepoch())",
|
|
"generated": null,
|
|
"name": "created_at",
|
|
"entityType": "columns",
|
|
"table": "posts"
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"notNull": false,
|
|
"autoincrement": true,
|
|
"default": null,
|
|
"generated": null,
|
|
"name": "id",
|
|
"entityType": "columns",
|
|
"table": "users"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"notNull": true,
|
|
"autoincrement": false,
|
|
"default": null,
|
|
"generated": null,
|
|
"name": "email",
|
|
"entityType": "columns",
|
|
"table": "users"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"notNull": true,
|
|
"autoincrement": false,
|
|
"default": null,
|
|
"generated": null,
|
|
"name": "name",
|
|
"entityType": "columns",
|
|
"table": "users"
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"notNull": true,
|
|
"autoincrement": false,
|
|
"default": "(unixepoch())",
|
|
"generated": null,
|
|
"name": "created_at",
|
|
"entityType": "columns",
|
|
"table": "users"
|
|
},
|
|
{
|
|
"columns": ["user_id"],
|
|
"tableTo": "users",
|
|
"columnsTo": ["id"],
|
|
"onUpdate": "NO ACTION",
|
|
"onDelete": "CASCADE",
|
|
"nameExplicit": false,
|
|
"name": "fk_posts_user_id_users_id_fk",
|
|
"entityType": "fks",
|
|
"table": "posts"
|
|
},
|
|
{
|
|
"columns": ["id"],
|
|
"nameExplicit": false,
|
|
"name": "posts_pk",
|
|
"table": "posts",
|
|
"entityType": "pks"
|
|
},
|
|
{
|
|
"columns": ["id"],
|
|
"nameExplicit": false,
|
|
"name": "users_pk",
|
|
"table": "users",
|
|
"entityType": "pks"
|
|
},
|
|
{
|
|
"columns": ["email"],
|
|
"nameExplicit": false,
|
|
"name": "users_email_unique",
|
|
"entityType": "uniques",
|
|
"table": "users"
|
|
}
|
|
],
|
|
"renames": []
|
|
}
|