CREATE TABLE `page_meta` (
  `id` INT UNSIGNED NOT NULL AUTO_INCREMENT,
  `page_key` VARCHAR(50) NOT NULL,
  `label` VARCHAR(100) NOT NULL,
  `meta_title` VARCHAR(70) DEFAULT NULL,
  `meta_description` VARCHAR(160) DEFAULT NULL,
  `updated_at` DATETIME DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  UNIQUE KEY `page_key` (`page_key`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

INSERT INTO `page_meta` (`page_key`, `label`) VALUES
  ('home', 'Inicio (/)'),
  ('contacto', 'Contacto (/contacto)'),
  ('nosotros', 'Sobre nosotros (/nosotros)'),
  ('planes', 'Planes (/planes)'),
  ('publicar', 'Publicar (/publicar)');
