2.2.0 Migrations
All checks were successful
Docker Deploy / build-and-push (push) Successful in 3m30s
All checks were successful
Docker Deploy / build-and-push (push) Successful in 3m30s
This commit is contained in:
22
drizzle/0004_happy_namorita.sql
Normal file
22
drizzle/0004_happy_namorita.sql
Normal file
@@ -0,0 +1,22 @@
|
||||
CREATE TABLE `passkey_challenges` (
|
||||
`id` text PRIMARY KEY NOT NULL,
|
||||
`challenge` text NOT NULL,
|
||||
`user_id` text,
|
||||
`expires_at` integer NOT NULL
|
||||
);
|
||||
--> statement-breakpoint
|
||||
CREATE UNIQUE INDEX `passkey_challenges_challenge_unique` ON `passkey_challenges` (`challenge`);--> statement-breakpoint
|
||||
CREATE TABLE `passkeys` (
|
||||
`id` text PRIMARY KEY NOT NULL,
|
||||
`user_id` text NOT NULL,
|
||||
`public_key` text NOT NULL,
|
||||
`counter` integer NOT NULL,
|
||||
`device_type` text NOT NULL,
|
||||
`backed_up` integer NOT NULL,
|
||||
`transports` text,
|
||||
`last_used_at` integer,
|
||||
`created_at` integer,
|
||||
FOREIGN KEY (`user_id`) REFERENCES `users`(`id`) ON UPDATE no action ON DELETE no action
|
||||
);
|
||||
--> statement-breakpoint
|
||||
CREATE INDEX `passkeys_user_id_idx` ON `passkeys` (`user_id`);
|
||||
1315
drizzle/meta/0004_snapshot.json
Normal file
1315
drizzle/meta/0004_snapshot.json
Normal file
File diff suppressed because it is too large
Load Diff
@@ -29,6 +29,13 @@
|
||||
"when": 1768842088321,
|
||||
"tag": "0003_amusing_wendigo",
|
||||
"breakpoints": true
|
||||
},
|
||||
{
|
||||
"idx": 4,
|
||||
"version": "6",
|
||||
"when": 1768876902359,
|
||||
"tag": "0004_happy_namorita",
|
||||
"breakpoints": true
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user