Elwig: Update database to include new BKI wine varieties
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				Test / Run tests (push) Successful in 2m43s
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	Test / Run tests (push) Successful in 2m43s
				
			This commit is contained in:
		
							
								
								
									
										17
									
								
								Elwig/Resources/Sql/32-33.sql
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								Elwig/Resources/Sql/32-33.sql
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,17 @@
 | 
			
		||||
-- schema version 32 to 33
 | 
			
		||||
 | 
			
		||||
ALTER TABLE wine_variety ADD COLUMN max_qualid TEXT NOT NULL DEFAULT 'QUW';
 | 
			
		||||
UPDATE wine_quality_level SET qualid = 'ALW' WHERE qualid = 'AUL';
 | 
			
		||||
UPDATE wine_variety SET comment = 'Muscato' WHERE sortid = 'MO';
 | 
			
		||||
 | 
			
		||||
INSERT INTO wine_variety (sortid, type, max_qualid, name, comment) VALUES
 | 
			
		||||
('DR', 'W', 'QUW', 'Donauriesling', NULL),
 | 
			
		||||
('DV', 'W', 'QUW', 'Donauveltliner', NULL),
 | 
			
		||||
('BN', 'W', 'RSW', 'Bronner', NULL),
 | 
			
		||||
('CB', 'W', 'RSW', 'Cabernet Blanc', NULL),
 | 
			
		||||
('CJ', 'R', 'RSW', 'Cabernet Jura', NULL),
 | 
			
		||||
('JO', 'W', 'RSW', 'Johanniter', NULL),
 | 
			
		||||
('OR', 'W', 'RSW', 'Orangetraube', NULL),
 | 
			
		||||
('PI', 'R', 'RSW', 'Pinot Nova', NULL),
 | 
			
		||||
('RE', 'R', 'RSW', 'Regent', NULL),
 | 
			
		||||
('SI', 'W', 'RSW', 'Solaris', NULL);
 | 
			
		||||
		Reference in New Issue
	
	Block a user