
import { sequelize } from '../config/database';

async function run() {
    try {
        await sequelize.authenticate();
        console.log('✅ Connection established');

        const tableDescription = await sequelize.getQueryInterface().describeTable('workflow_templates');
        console.log('Current schema for workflow_templates:', JSON.stringify(tableDescription, null, 2));

    } catch (error: any) {
        console.error('❌ Error:', error.message);
    } finally {
        await sequelize.close();
    }
}

run();
