- Fixed a bug where default value was set to empty instead of nothing
This commit is contained in:
		
							parent
							
								
									70c6cde603
								
							
						
					
					
						commit
						68a6636c06
					
				| @ -134,7 +134,7 @@ class SQLite implements AdapterInterface, MigrateInterface, SqlAdapterInterface | ||||
|         } | ||||
| 
 | ||||
|         if (in_array($type, [ 'JSON', 'TEXT', 'BLOB', 'GEOMETRY' ])) { | ||||
|             $field->default = ""; | ||||
|             unset($field->default); | ||||
|         } | ||||
| 
 | ||||
|         return $typeOnly ? $type : $type . ( $length ? "($length" . ")" : "" ); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user