When using mysql the normal text attribute has a fixed size. When this size is reached then the json will be cut off and becomes invalid. Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
		
			
				
	
	
		
			16 lines
		
	
	
		
			335 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			335 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
'use strict'
 | 
						|
 | 
						|
module.exports = {
 | 
						|
  up: function (queryInterface, Sequelize) {
 | 
						|
    return queryInterface.changeColumn('Users', 'history', {
 | 
						|
      type: Sequelize.TEXT('long')
 | 
						|
    })
 | 
						|
  },
 | 
						|
 | 
						|
  down: function (queryInterface, Sequelize) {
 | 
						|
    return queryInterface.changeColumn('Users', 'history', {
 | 
						|
      type: Sequelize.TEXT
 | 
						|
    })
 | 
						|
  }
 | 
						|
}
 |