module.exports = (sequelize, type) => {
    const EventRecording = sequelize.define('event_recordings', {
        id: {
            type: type.INTEGER,
            primaryKey: true,
            autoIncrement: true
        },
        certi_id: type.INTEGER,
        event_id: type.INTEGER,
        title: type.TEXT,
        meeting_id: type.TEXT,
        play_list: type.TEXT,
        recording_url: type.TEXT,
        recording_url_144p: type.TEXT,
        recording_url_240p: type.TEXT,
        recording_url_360p: type.TEXT,
        recording_url_480p: type.TEXT,
        recording_url_720p: type.TEXT,
        duration: type.TEXT,
        questions: type.TEXT,
        status: {
            type: type.INTEGER,
            defaultValue: 0
        }
    })
    return EventRecording;
}