CREATE TABLE `quick_notes` (
  `id` integer PRIMARY KEY NOT NULL,
  `user_id` integer NOT NULL,
  `content` text NOT NULL,
  `created_at` integer DEFAULT (unixepoch('subsec') * 1000) NOT NULL,
  `updated_at` integer DEFAULT (unixepoch('subsec') * 1000) NOT NULL,
  FOREIGN KEY (`user_id`) REFERENCES `users`(`id`) ON UPDATE no action ON DELETE cascade
);
--> statement-breakpoint
CREATE UNIQUE INDEX `quick_notes_user_id_unique` ON `quick_notes` (`user_id`);
