Query
CREATE TABLE `sessions` (
`session_id_hash` text PRIMARY KEY NOT NULL,
`user_id` integer NOT NULL,
`created_at` text NOT NULL,
`last_seen_at` text NOT NULL,
`expires_at` text NOT NULL,
`ip_address` text,
`user_agent` text,
FOREIGN KEY (`user_id`) REFERENCES `users`(`id`) ON UPDATE no action ON DELETE cascade
)