mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-04-11 21:39:33 +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:
parent
aac6f69ea2
commit
e39ddc7c17
@ -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 tableName = "contact"
|
||||||
|
|
||||||
val contactId = Column[Ident]("contactid", this)
|
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 kind = Column[ContactKind]("kind", this)
|
||||||
val personId = Column[Ident]("pid", this)
|
val personId = Column[Ident]("pid", this)
|
||||||
val orgId = Column[Ident]("oid", this)
|
val orgId = Column[Ident]("oid", this)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user