-- +migrate Up
CREATE TABLE IF NOT EXISTS `card_licenses` (
	`license_id` BIGINT UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY COMMENT 'ライセンスID',
	`issue_id` BIGINT UNSIGNED NOT NULL COMMENT '発行単位ID',
	`card_license_key` VARCHAR(255) NOT NULL COMMENT 'カードライセンスキー',
	`activated_at` TIMESTAMP COMMENT '取り込み日時'
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci;

-- +migrate Down
DROP TABLE `card_licenses`;