mirror of
				https://github.com/Unleash/unleash.git
				synced 2025-10-27 11:02:16 +01:00 
			
		
		
		
	#80 Add schema change
This commit is contained in:
		
							parent
							
								
									0ad2bde14a
								
							
						
					
					
						commit
						53c92db954
					
				
							
								
								
									
										1
									
								
								migrations/20150210152531-006-rename-eventtype.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								migrations/20150210152531-006-rename-eventtype.js
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1 @@ | |||||||
|  | module.exports = require('../lib/migrationRunner').create('006-rename-eventtype'); | ||||||
							
								
								
									
										2
									
								
								migrations/sql/006-rename-eventtype.down.sql
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								migrations/sql/006-rename-eventtype.down.sql
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,2 @@ | |||||||
|  | UPDATE events SET type=feature-revive WHERE type=feature-revived; | ||||||
|  | UPDATE events SET type=feature-archive WHERE type=feature-archived; | ||||||
							
								
								
									
										2
									
								
								migrations/sql/006-rename-eventtype.up.sql
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								migrations/sql/006-rename-eventtype.up.sql
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,2 @@ | |||||||
|  | UPDATE events SET type=feature-revived WHERE type=feature-revive; | ||||||
|  | UPDATE events SET type=feature-archived WHERE type=feature-archive; | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user