{
	"version": "6",
	"dialect": "sqlite",
	"id": "16f360b6-fb61-44f3-a7f7-2bae78ebf7ca",
	"prevId": "75f0aac0-aa63-4577-bfb6-4638a008935f",
	"tables": {
		"repositories_table": {
			"name": "repositories_table",
			"columns": {
				"id": {
					"name": "id",
					"type": "text",
					"primaryKey": true,
					"notNull": true,
					"autoincrement": false
				},
				"name": {
					"name": "name",
					"type": "text",
					"primaryKey": false,
					"notNull": true,
					"autoincrement": false
				},
				"backend": {
					"name": "backend",
					"type": "text",
					"primaryKey": false,
					"notNull": true,
					"autoincrement": false
				},
				"config": {
					"name": "config",
					"type": "text",
					"primaryKey": false,
					"notNull": true,
					"autoincrement": false
				},
				"compression_mode": {
					"name": "compression_mode",
					"type": "text",
					"primaryKey": false,
					"notNull": false,
					"autoincrement": false,
					"default": "'auto'"
				},
				"status": {
					"name": "status",
					"type": "text",
					"primaryKey": false,
					"notNull": false,
					"autoincrement": false,
					"default": "'unknown'"
				},
				"last_checked": {
					"name": "last_checked",
					"type": "integer",
					"primaryKey": false,
					"notNull": false,
					"autoincrement": false
				},
				"last_error": {
					"name": "last_error",
					"type": "text",
					"primaryKey": false,
					"notNull": false,
					"autoincrement": false
				},
				"created_at": {
					"name": "created_at",
					"type": "integer",
					"primaryKey": false,
					"notNull": true,
					"autoincrement": false,
					"default": "(unixepoch())"
				},
				"updated_at": {
					"name": "updated_at",
					"type": "integer",
					"primaryKey": false,
					"notNull": true,
					"autoincrement": false,
					"default": "(unixepoch())"
				}
			},
			"indexes": {
				"repositories_table_name_unique": {
					"name": "repositories_table_name_unique",
					"columns": ["name"],
					"isUnique": true
				}
			},
			"foreignKeys": {},
			"compositePrimaryKeys": {},
			"uniqueConstraints": {},
			"checkConstraints": {}
		},
		"sessions_table": {
			"name": "sessions_table",
			"columns": {
				"id": {
					"name": "id",
					"type": "text",
					"primaryKey": true,
					"notNull": true,
					"autoincrement": false
				},
				"user_id": {
					"name": "user_id",
					"type": "integer",
					"primaryKey": false,
					"notNull": true,
					"autoincrement": false
				},
				"expires_at": {
					"name": "expires_at",
					"type": "integer",
					"primaryKey": false,
					"notNull": true,
					"autoincrement": false
				},
				"created_at": {
					"name": "created_at",
					"type": "integer",
					"primaryKey": false,
					"notNull": true,
					"autoincrement": false,
					"default": "(unixepoch())"
				}
			},
			"indexes": {},
			"foreignKeys": {
				"sessions_table_user_id_users_table_id_fk": {
					"name": "sessions_table_user_id_users_table_id_fk",
					"tableFrom": "sessions_table",
					"tableTo": "users_table",
					"columnsFrom": ["user_id"],
					"columnsTo": ["id"],
					"onDelete": "cascade",
					"onUpdate": "no action"
				}
			},
			"compositePrimaryKeys": {},
			"uniqueConstraints": {},
			"checkConstraints": {}
		},
		"users_table": {
			"name": "users_table",
			"columns": {
				"id": {
					"name": "id",
					"type": "integer",
					"primaryKey": true,
					"notNull": true,
					"autoincrement": true
				},
				"username": {
					"name": "username",
					"type": "text",
					"primaryKey": false,
					"notNull": true,
					"autoincrement": false
				},
				"password_hash": {
					"name": "password_hash",
					"type": "text",
					"primaryKey": false,
					"notNull": true,
					"autoincrement": false
				},
				"created_at": {
					"name": "created_at",
					"type": "integer",
					"primaryKey": false,
					"notNull": true,
					"autoincrement": false,
					"default": "(unixepoch())"
				},
				"updated_at": {
					"name": "updated_at",
					"type": "integer",
					"primaryKey": false,
					"notNull": true,
					"autoincrement": false,
					"default": "(unixepoch())"
				}
			},
			"indexes": {
				"users_table_username_unique": {
					"name": "users_table_username_unique",
					"columns": ["username"],
					"isUnique": true
				}
			},
			"foreignKeys": {},
			"compositePrimaryKeys": {},
			"uniqueConstraints": {},
			"checkConstraints": {}
		},
		"volumes_table": {
			"name": "volumes_table",
			"columns": {
				"id": {
					"name": "id",
					"type": "integer",
					"primaryKey": true,
					"notNull": true,
					"autoincrement": true
				},
				"name": {
					"name": "name",
					"type": "text",
					"primaryKey": false,
					"notNull": true,
					"autoincrement": false
				},
				"type": {
					"name": "type",
					"type": "text",
					"primaryKey": false,
					"notNull": true,
					"autoincrement": false
				},
				"status": {
					"name": "status",
					"type": "text",
					"primaryKey": false,
					"notNull": true,
					"autoincrement": false,
					"default": "'unmounted'"
				},
				"last_error": {
					"name": "last_error",
					"type": "text",
					"primaryKey": false,
					"notNull": false,
					"autoincrement": false
				},
				"last_health_check": {
					"name": "last_health_check",
					"type": "integer",
					"primaryKey": false,
					"notNull": true,
					"autoincrement": false,
					"default": "(unixepoch())"
				},
				"created_at": {
					"name": "created_at",
					"type": "integer",
					"primaryKey": false,
					"notNull": true,
					"autoincrement": false,
					"default": "(unixepoch())"
				},
				"updated_at": {
					"name": "updated_at",
					"type": "integer",
					"primaryKey": false,
					"notNull": true,
					"autoincrement": false,
					"default": "(unixepoch())"
				},
				"config": {
					"name": "config",
					"type": "text",
					"primaryKey": false,
					"notNull": true,
					"autoincrement": false
				},
				"auto_remount": {
					"name": "auto_remount",
					"type": "integer",
					"primaryKey": false,
					"notNull": true,
					"autoincrement": false,
					"default": true
				}
			},
			"indexes": {
				"volumes_table_name_unique": {
					"name": "volumes_table_name_unique",
					"columns": ["name"],
					"isUnique": true
				}
			},
			"foreignKeys": {},
			"compositePrimaryKeys": {},
			"uniqueConstraints": {},
			"checkConstraints": {}
		}
	},
	"views": {},
	"enums": {},
	"_meta": {
		"schemas": {},
		"tables": {},
		"columns": {}
	},
	"internal": {
		"indexes": {}
	}
}
