• Tech thing

    enum Vs tinyInt

    Long story short ENUM is evil Premature optimization is the root of all evil. Very well put by Chris Komlenic. Sometimes we over optimize the database schema, as in in terms of data structures. generally we have a dilemma of using Tinyint or enum, while storing values in columns such as ‘status’, ‘isActive’, ‘isTrue’, etc….