Files
Homarr/packages/db/migrations/sqlite/0009_stale_roulette.sql
2026-01-15 21:54:44 +01:00

8 lines
219 B
SQL

CREATE TABLE `apiKey` (
`id` text PRIMARY KEY NOT NULL,
`apiKey` text NOT NULL,
`salt` text NOT NULL,
`userId` text NOT NULL,
FOREIGN KEY (`userId`) REFERENCES `user`(`id`) ON UPDATE no action ON DELETE cascade
);