diff --git a/migrations/0002_naive_revanche.sql b/migrations/0002_naive_revanche.sql new file mode 100644 index 0000000..fb06ba7 --- /dev/null +++ b/migrations/0002_naive_revanche.sql @@ -0,0 +1,2 @@ +ALTER TABLE `cv` ADD `sha256` text;--> statement-breakpoint +ALTER TABLE `cv` ADD `pgp_signature` text; \ No newline at end of file diff --git a/migrations/meta/0002_snapshot.json b/migrations/meta/0002_snapshot.json new file mode 100644 index 0000000..915a00b --- /dev/null +++ b/migrations/meta/0002_snapshot.json @@ -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": {} + } +} \ No newline at end of file diff --git a/migrations/meta/_journal.json b/migrations/meta/_journal.json index 9cf610b..ec30978 100644 --- a/migrations/meta/_journal.json +++ b/migrations/meta/_journal.json @@ -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 } ] } \ No newline at end of file diff --git a/src/components/verification/AddCVVerification.astro b/src/components/verification/AddCVVerification.astro index eb23c58..de7b818 100644 --- a/src/components/verification/AddCVVerification.astro +++ b/src/components/verification/AddCVVerification.astro @@ -1,6 +1,5 @@