mirror of
				https://github.com/TheAnachronism/docspell.git
				synced 2025-11-03 18:00:11 +00:00 
			
		
		
		
	Rename column 'value' to 'value_'
In sql 'value' is a reserved word and should not be used (unless quoted). Postgresql and MariaDB are ok with it, but the new version of h2 is now complaining.
This commit is contained in:
		@@ -0,0 +1 @@
 | 
			
		||||
alter table "contact" rename column "value" to "value_";
 | 
			
		||||
@@ -0,0 +1 @@
 | 
			
		||||
alter table `contact` rename column `value` to `value_`;
 | 
			
		||||
@@ -0,0 +1 @@
 | 
			
		||||
alter table "contact" rename column "value" to "value_";
 | 
			
		||||
@@ -30,7 +30,7 @@ object RContact {
 | 
			
		||||
    val tableName = "contact"
 | 
			
		||||
 | 
			
		||||
    val contactId = Column[Ident]("contactid", this)
 | 
			
		||||
    val value = Column[String]("value", this)
 | 
			
		||||
    val value = Column[String]("value_", this)
 | 
			
		||||
    val kind = Column[ContactKind]("kind", this)
 | 
			
		||||
    val personId = Column[Ident]("pid", this)
 | 
			
		||||
    val orgId = Column[Ident]("oid", this)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user