// SPDX-FileCopyrightText: 2025 Contributors to the CitrineOS Project // // SPDX-License-Identifier: Apache-2.0 import { DataTypes, QueryInterface } from 'sequelize'; export async function up(queryInterface: QueryInterface): Promise { await queryInterface.addColumn('Certificates', 'certificateFileHash', { type: DataTypes.STRING, unique: true, }); } export async function down(queryInterface: QueryInterface): Promise { await queryInterface.removeColumn('Certificates', 'certificateFileHash'); }