Hmm, in fact, I've just noticed that according to the documentation, there
is no way to rename a constraint... Would be good to have that option as
well...

2016-02-14 18:08 GMT+01:00 Lukas Eder <lukas.e...@gmail.com>:

> Hello,
>
> This would be nice to have, low prio.
>
> Add support for alternative DDL syntaxes in order to improve database
> interoperability. E.g. support PostgreSQL's simpler column renaming syntax (
> http://www.postgresql.org/docs/9.5/static/sql-altertable.html)
>
> ALTER TABLE distributors RENAME COLUMN address TO city;
>
>
> In addition to H2's (
> http://www.h2database.com/html/grammar.html#alter_table_alter_column)
>
> ALTER TABLE TEST ALTER COLUMN NAME RENAME TO TEXT;
>
>
> The same applies for renaming constraints...
>
> Cheers,
> Lukas
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "H2 Database" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/h2-database/8zt8k8hU1jA/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> h2-database+unsubscr...@googlegroups.com.
> To post to this group, send email to h2-database@googlegroups.com.
> Visit this group at https://groups.google.com/group/h2-database.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 h2-database+unsubscr...@googlegroups.com.
To post to this group, send email to h2-database@googlegroups.com.
Visit this group at https://groups.google.com/group/h2-database.
For more options, visit https://groups.google.com/d/optout.

Reply via email to