diff options
author | Mathias Magnusson <mathias@magnusson.space> | 2025-08-14 18:42:27 +0200 |
---|---|---|
committer | Mathias Magnusson <mathias@magnusson.space> | 2025-08-14 18:44:44 +0200 |
commit | 815de9906a014c2eb1a4fe2bd8cf1b3077f03c9c (patch) | |
tree | 9b773698f66dbc325f7823496db30477e0cbdd07 /migrations/meta | |
parent | 923c7c6b1a6549a6c5012713a22d5cf6e478f994 (diff) | |
download | uneven-815de9906a014c2eb1a4fe2bd8cf1b3077f03c9c.tar.gz |
Add passkey authentication
Diffstat (limited to 'migrations/meta')
-rw-r--r-- | migrations/meta/0000_snapshot.json | 125 | ||||
-rw-r--r-- | migrations/meta/_journal.json | 4 |
2 files changed, 126 insertions, 3 deletions
diff --git a/migrations/meta/0000_snapshot.json b/migrations/meta/0000_snapshot.json index 245d657..ba0da3c 100644 --- a/migrations/meta/0000_snapshot.json +++ b/migrations/meta/0000_snapshot.json @@ -1,18 +1,141 @@ { "version": "6", "dialect": "sqlite", - "id": "2b9ab579-4d91-4045-b35e-b5cceebe74de", + "id": "a2343f4c-71c5-4992-b49e-d30f2a4f08c0", "prevId": "00000000-0000-0000-0000-000000000000", "tables": { "groups": { "name": "groups", "columns": { + "id": { + "name": "id", + "type": "integer", + "primaryKey": true, + "notNull": true, + "autoincrement": false + }, + "name": { + "name": "name", + "type": "text", + "primaryKey": false, + "notNull": true, + "autoincrement": false + } + }, + "indexes": {}, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "checkConstraints": {} + }, + "sessions": { + "name": "sessions", + "columns": { + "id": { + "name": "id", + "type": "integer", + "primaryKey": true, + "notNull": true, + "autoincrement": false + }, + "uuid": { + "name": "uuid", + "type": "text", + "primaryKey": false, + "notNull": true, + "autoincrement": false + }, + "user_id": { + "name": "user_id", + "type": "integer", + "primaryKey": false, + "notNull": true, + "autoincrement": false + } + }, + "indexes": { + "sessions_uuid_unique": { + "name": "sessions_uuid_unique", + "columns": [ + "uuid" + ], + "isUnique": true + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "checkConstraints": {} + }, + "users": { + "name": "users", + "columns": { + "id": { + "name": "id", + "type": "integer", + "primaryKey": true, + "notNull": true, + "autoincrement": false + }, "name": { "name": "name", "type": "text", "primaryKey": false, "notNull": true, "autoincrement": false + }, + "passkey": { + "name": "passkey", + "type": "text", + "primaryKey": false, + "notNull": false, + "autoincrement": false + }, + "passkey_id": { + "name": "passkey_id", + "type": "text", + "primaryKey": false, + "notNull": true, + "autoincrement": false + } + }, + "indexes": { + "users_name_unique": { + "name": "users_name_unique", + "columns": [ + "name" + ], + "isUnique": true + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "checkConstraints": {} + }, + "webauthn_challenges": { + "name": "webauthn_challenges", + "columns": { + "id": { + "name": "id", + "type": "integer", + "primaryKey": true, + "notNull": true, + "autoincrement": false + }, + "challenge": { + "name": "challenge", + "type": "text", + "primaryKey": false, + "notNull": true, + "autoincrement": false + }, + "key": { + "name": "key", + "type": "text", + "primaryKey": false, + "notNull": true, + "autoincrement": false } }, "indexes": {}, diff --git a/migrations/meta/_journal.json b/migrations/meta/_journal.json index ccb08a8..3f28ad0 100644 --- a/migrations/meta/_journal.json +++ b/migrations/meta/_journal.json @@ -5,8 +5,8 @@ { "idx": 0, "version": "6", - "when": 1755176694946, - "tag": "0000_parallel_overlord", + "when": 1755189001309, + "tag": "0000_bitter_xorn", "breakpoints": true } ] |