-- Migration to create the snippets table for storing shared code.

CREATE TABLE IF NOT EXISTS `snippets` (
  `id` varchar(16) NOT NULL,
  `code` text NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
