mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 10:26:08 +01:00 
			
		
		
		
	
		
			
	
	
		
			12 lines
		
	
	
		
			297 B
		
	
	
	
		
			MySQL
		
	
	
	
	
	
		
		
			
		
	
	
			12 lines
		
	
	
		
			297 B
		
	
	
	
		
			MySQL
		
	
	
	
	
	
|  | CREATE TABLE `options_mig` (
 | ||
|  | 	`opt_name`	TEXT NOT NULL PRIMARY KEY,
 | ||
|  | 	`opt_value`	TEXT,
 | ||
|  | 	`date_modified` INT
 | ||
|  | );
 | ||
|  | 
 | ||
|  | INSERT INTO options_mig (opt_name, opt_value, date_modified)
 | ||
|  |     SELECT opt_name, opt_value, date_modified FROM options;
 | ||
|  | 
 | ||
|  | DROP TABLE options;
 | ||
|  | ALTER TABLE options_mig RENAME TO options;
 |