-- Tracking table for `bin/console db:migrate` (the new CLI that applies
-- db/updates/*.sql idempotently for existing installs). Identical DDL to the
-- one in db/init/init.sql; included here for installs that predate the table.
CREATE TABLE IF NOT EXISTS `core_migrations` (
  `id` INT UNSIGNED NOT NULL AUTO_INCREMENT,
  `filename` VARCHAR(255) NOT NULL,
  `applied_at` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  UNIQUE KEY `uq_core_migration` (`filename`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
