add a settings entry for nr of random videos to display
This commit is contained in:
		
							
								
								
									
										11
									
								
								apiGo/database/migrations/20220505195845_randomnr.sql
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								apiGo/database/migrations/20220505195845_randomnr.sql
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,11 @@
 | 
			
		||||
-- +goose Up
 | 
			
		||||
-- +goose StatementBegin
 | 
			
		||||
alter table settings
 | 
			
		||||
    add random_nr int default  3 null;
 | 
			
		||||
-- +goose StatementEnd
 | 
			
		||||
 | 
			
		||||
-- +goose Down
 | 
			
		||||
-- +goose StatementBegin
 | 
			
		||||
alter table settings
 | 
			
		||||
    drop random_nr;
 | 
			
		||||
-- +goose StatementEnd
 | 
			
		||||
		Reference in New Issue
	
	Block a user