feat: add sha256 and pgp verification

This commit is contained in:
Alexander Daichendt 2025-01-03 09:38:16 +01:00
parent a155a9b355
commit 799cf0611c
12 changed files with 433 additions and 67 deletions

View file

@ -0,0 +1,2 @@
ALTER TABLE `cv` ADD `sha256` text;--> statement-breakpoint
ALTER TABLE `cv` ADD `pgp_signature` text;

View file

@ -0,0 +1,92 @@
{
"version": "6",
"dialect": "sqlite",
"id": "5f7163dc-e8ca-4bd2-ab41-6b244d02aaf7",
"prevId": "a68f3965-0dd6-46c6-af01-4f96061e8b11",
"tables": {
"cv": {
"name": "cv",
"columns": {
"uuid": {
"name": "uuid",
"type": "text",
"primaryKey": true,
"notNull": true,
"autoincrement": false
},
"company_name": {
"name": "company_name",
"type": "text",
"primaryKey": false,
"notNull": true,
"autoincrement": false
},
"created": {
"name": "created",
"type": "integer",
"primaryKey": false,
"notNull": false,
"autoincrement": false
},
"author": {
"name": "author",
"type": "text",
"primaryKey": false,
"notNull": true,
"autoincrement": false
},
"purpose": {
"name": "purpose",
"type": "text",
"primaryKey": false,
"notNull": true,
"autoincrement": false
},
"tooling": {
"name": "tooling",
"type": "text",
"primaryKey": false,
"notNull": true,
"autoincrement": false
},
"status": {
"name": "status",
"type": "text",
"primaryKey": false,
"notNull": false,
"autoincrement": false,
"default": "'active'"
},
"sha256": {
"name": "sha256",
"type": "text",
"primaryKey": false,
"notNull": false,
"autoincrement": false
},
"pgp_signature": {
"name": "pgp_signature",
"type": "text",
"primaryKey": false,
"notNull": false,
"autoincrement": false
}
},
"indexes": {},
"foreignKeys": {},
"compositePrimaryKeys": {},
"uniqueConstraints": {},
"checkConstraints": {}
}
},
"views": {},
"enums": {},
"_meta": {
"schemas": {},
"tables": {},
"columns": {}
},
"internal": {
"indexes": {}
}
}

View file

@ -15,6 +15,13 @@
"when": 1735735966188,
"tag": "0001_confused_wendell_rand",
"breakpoints": true
},
{
"idx": 2,
"version": "6",
"when": 1735887287143,
"tag": "0002_naive_revanche",
"breakpoints": true
}
]
}