Data types

MV framework supports the following 21 data types for building models: "bool", "int", "float", "char", "url", "redirect", "email", "phone", "password", "text", "enum", "parent", "order", "date", "date_time", "image", "multi_images", "file", "many_to_one", "many_to_many", "group".

Based on data types in PHP class we specify the data types for SQL table fields. Details about how to specify data types in MySQL tables are given below in the description of each data type (for SQLite it is optional since there are no such limitations on data types as it is in MySQL).