Add options and remove smileys_enabled from messages table 
							
								 
							December 02, 2015, 12:21:54 am 
							
						 
					
					
						We should add an options field to the messages table (varchar(255)). It would be a serialized array (PHP or JSON serializer) of options.  
						
					
				 
				
						
						
							Re: Add options and remove smileys_enabled from messages table 
							
								 
							
								Reply #1  – December 02, 2015, 10:18:00 am 
							 
							
						 
					
					
						I think  in 1.1 we only support mysql > 5.0.5xx so I think  varchar can go up to 65,535 if you needed it to ... so there should be no need to use text, a varchar(1024) should work and provide lots of potential space without having to use a BLOB type.  That said I have no idea what postgre will support, but I guess we could use varchar for one and text of the other? 
						
					
				 
				
						
						
							Re: Add options and remove smileys_enabled from messages table 
							
								 
							
								Reply #2  – December 02, 2015, 11:18:13 am 
							 
							
						 
					
					
						I'm not sure it matters since the body is already a text field. Either way, that's something we can test at some point.