-- Migration 0001: create_migration_tracker
-- Auto-generated from database/schema.sql by database/build_migrations.php
-- Do not hand-edit this file — edit schema.sql and re-run that script instead.

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- =====================================================================
-- SECTION 0 — MIGRATION TRACKING
-- =====================================================================

CREATE TABLE IF NOT EXISTS schema_migrations (
    id           BIGINT UNSIGNED AUTO_INCREMENT PRIMARY KEY,
    migration    VARCHAR(191)    NOT NULL,
    batch        INT UNSIGNED    NOT NULL,
    applied_at   DATETIME        NOT NULL DEFAULT CURRENT_TIMESTAMP,
    UNIQUE KEY uk_schema_migrations_migration (migration)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;


SET FOREIGN_KEY_CHECKS = 1;
