mirror of
				https://git.tt-rss.org/fox/tt-rss.git
				synced 2025-11-04 05:41:29 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			11 lines
		
	
	
		
			318 B
		
	
	
	
		
			PL/PgSQL
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			318 B
		
	
	
	
		
			PL/PgSQL
		
	
	
	
	
	
begin;
 | 
						|
 | 
						|
alter table ttrss_feed_categories add column parent_cat integer;
 | 
						|
update ttrss_feed_categories set parent_cat = NULL;
 | 
						|
 | 
						|
alter table ttrss_feed_categories add constraint "$2" FOREIGN KEY (parent_cat) REFERENCES ttrss_feed_categories(id) ON DELETE SET NULL;
 | 
						|
 | 
						|
update ttrss_version set schema_version = 93;
 | 
						|
 | 
						|
commit;
 |