-- ============================================
-- Identity Context 数据库初始化
-- ============================================

CREATE DATABASE IF NOT EXISTS rwa_identity 
DEFAULT CHARACTER SET utf8mb4 
COLLATE utf8mb4_unicode_ci;

USE rwa_identity;

-- 初始化账户序列号生成器
INSERT INTO account_sequence_generator (id, current_sequence) VALUES (1, 0)
ON DUPLICATE KEY UPDATE id = id;
