public static function migration()
{
return ['text' => 'string("$FIELDNAME$")', 'email' => 'string("$FIELDNAME$")', 'textarea' => 'text("$FIELDNAME$")', 'radio' => 'string("$FIELDNAME$")', 'checkbox' => 'tinyInteger("$FIELDNAME$")->default($STATE$)', 'date' => 'date("$FIELDNAME$")', 'datetime' => 'dateTime("$FIELDNAME$")', 'relationship' => 'integer("$RELATIONSHIP$_id")->references("id")->on("$RELATIONSHIP$")', 'file' => 'string("$FIELDNAME$")', 'photo' => 'string("$FIELDNAME$")', 'password' => 'string("$FIELDNAME$")', 'money' => 'decimal("$FIELDNAME$", 15, 2)', 'enum' => 'enum("$FIELDNAME$", [$VALUES$])'];
}