Revert "Add column translation_texts.commentary"
				
					
				
			This reverts commit 7c6520c91c.
			
			
This commit is contained in:
		
							parent
							
								
									7c6520c91c
								
							
						
					
					
						commit
						82fb7fa284
					
				
					 1 changed files with 2 additions and 5 deletions
				
			
		| 
						 | 
				
			
			@ -16,12 +16,9 @@ CREATE TABLE translation_texts (
 | 
			
		|||
    translation_id BIGINT    NOT NULL REFERENCES translations (id),
 | 
			
		||||
    lang_id        BIGINT    NOT NULL REFERENCES languages (id),
 | 
			
		||||
    value          TEXT      NOT NULL,
 | 
			
		||||
    commentary     TEXT,
 | 
			
		||||
 | 
			
		||||
--  CONSTRAINT name                    CHECK (condition)
 | 
			
		||||
    CONSTRAINT value_is_sane_text      CHECK (is_sane_text(value)),
 | 
			
		||||
    CONSTRAINT commentary_is_sane_text CHECK (commentary IS NULL OR
 | 
			
		||||
                                              is_sane_text(commentary))
 | 
			
		||||
--  CONSTRAINT name               CHECK (condition)
 | 
			
		||||
    CONSTRAINT value_is_sane_text CHECK (is_sane_text(value))
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
CREATE UNIQUE INDEX translations_word_index ON translations (word_id, index);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue