zerobyte/app/drizzle/20250923185007_mature_hellcat/snapshot.json
Nico 35773a6969
refactor: upgrade to drizzle v1 (#450)
* refactor: move migrations to new structure

* refactor: convert all findMany to new structure

* fix(backups-schedule): missing null matching for last backup status

* chore: move root lib to server
2026-02-01 19:14:52 +01:00

148 lines
No EOL
3.2 KiB
JSON

{
"dialect": "sqlite",
"id": "b7f1ccb8-7bb3-486f-a103-b95b331a121f",
"prevIds": [
"00a82d1d-4745-4487-83e4-42bb7aaa3e95"
],
"version": "7",
"ddl": [
{
"name": "volumes_table",
"entityType": "tables"
},
{
"type": "integer",
"notNull": false,
"autoincrement": true,
"default": null,
"generated": null,
"name": "id",
"table": "volumes_table",
"entityType": "columns"
},
{
"columns": [
"id"
],
"nameExplicit": false,
"name": "volumes_table_pk",
"table": "volumes_table",
"entityType": "pks"
},
{
"type": "text",
"notNull": true,
"autoincrement": false,
"default": null,
"generated": null,
"name": "name",
"table": "volumes_table",
"entityType": "columns"
},
{
"type": "text",
"notNull": true,
"autoincrement": false,
"default": null,
"generated": null,
"name": "path",
"table": "volumes_table",
"entityType": "columns"
},
{
"type": "text",
"notNull": true,
"autoincrement": false,
"default": null,
"generated": null,
"name": "type",
"table": "volumes_table",
"entityType": "columns"
},
{
"type": "text",
"notNull": true,
"autoincrement": false,
"default": "'unmounted'",
"generated": null,
"name": "status",
"table": "volumes_table",
"entityType": "columns"
},
{
"type": "text",
"notNull": false,
"autoincrement": false,
"default": null,
"generated": null,
"name": "last_error",
"table": "volumes_table",
"entityType": "columns"
},
{
"type": "integer",
"notNull": true,
"autoincrement": false,
"default": "(unixepoch())",
"generated": null,
"name": "last_health_check",
"table": "volumes_table",
"entityType": "columns"
},
{
"type": "integer",
"notNull": true,
"autoincrement": false,
"default": "(unixepoch())",
"generated": null,
"name": "created_at",
"table": "volumes_table",
"entityType": "columns"
},
{
"type": "integer",
"notNull": true,
"autoincrement": false,
"default": "(unixepoch())",
"generated": null,
"name": "updated_at",
"table": "volumes_table",
"entityType": "columns"
},
{
"type": "text",
"notNull": true,
"autoincrement": false,
"default": null,
"generated": null,
"name": "config",
"table": "volumes_table",
"entityType": "columns"
},
{
"type": "integer",
"notNull": true,
"autoincrement": false,
"default": "1",
"generated": null,
"name": "auto_remount",
"table": "volumes_table",
"entityType": "columns"
},
{
"columns": [
{
"value": "name",
"isExpression": false
}
],
"isUnique": true,
"where": null,
"origin": "manual",
"name": "volumes_table_name_unique",
"table": "volumes_table",
"entityType": "indexes"
}
],
"renames": []
}