mirror of
				https://github.com/zoriya/Kyoo.git
				synced 2025-10-31 02:27:11 -04:00 
			
		
		
		
	
		
			
				
	
	
		
			5 lines
		
	
	
		
			513 B
		
	
	
	
		
			SQL
		
	
	
	
	
	
			
		
		
	
	
			5 lines
		
	
	
		
			513 B
		
	
	
	
		
			SQL
		
	
	
	
	
	
| ALTER TABLE "kyoo"."entries" ALTER COLUMN "kind" SET DATA TYPE text;--> statement-breakpoint
 | |
| DROP TYPE "kyoo"."entry_type";--> statement-breakpoint
 | |
| CREATE TYPE "kyoo"."entry_type" AS ENUM('episode', 'movie', 'special', 'extra');--> statement-breakpoint
 | |
| ALTER TABLE "kyoo"."entries" ALTER COLUMN "kind" SET DATA TYPE "kyoo"."entry_type" USING "kind"::"kyoo"."entry_type";--> statement-breakpoint
 | |
| ALTER TABLE "kyoo"."videos" ADD CONSTRAINT "rendering_unique" UNIQUE NULLS NOT DISTINCT("rendering","part","version"); |