Hi,
I am using grails 3 with the default H2 database.
For "production" I have created a war which runs under tomcat. The database
is H2 written to disk and on startup, dbCreate is set to update.
Now I fully accept that in a real live situation I would not do this but
have some type of migration facility.
But, using update, I notice that new record types, string, references in
existing record types are all added to the schema with a value of null in
existing records. But the Boolean fields that I added to the development
schema are not in this schema.
This results in reads to that domain failing with a
org.h2.jdbc.JdbcSQLException: Column "THIS_.FLIGHT" not found;
SQL statement
where flight is the added Boolean field.
There are various ways around this and I have updated the table to add
those columns.
So interested to know if this is a Boolean type field feature or something
is wrong.
Regards,
--
You received this message because you are subscribed to the Google Groups "H2
Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/h2-database.
For more options, visit https://groups.google.com/d/optout.