var tableName = sequelize.define("tableName", {
Country: {
type: Sequelize.STRING
}
PhoneCode: {
type:Sequelize.INTEGER
}
Capital: {
type: Sequelize.STRING
},
IndependenceYear: {
type: Sequelize.INTEGER
},
},
{
freezeTableName: true //This allows the model name to be as set as specified above, irrespective of capitalization.
},
{
tableName.sync({force: false}) //Forcing the sync to "false" will override the defualt "true", which will DROP this TABLE if it already exists whenevner running this code...
}
});