Closed titouancreach closed 3 years ago
Hi @titouancreach, currently immudb does not support altering tables. However we have plans to allow at least simple ALTER TABLE
statements like the one you need (adding column, renaming etc).
What version of immudb are you using? Is the data critical and used n production?
Currently the three workarounds that could be used here are:
Hello @byo
However we have plans to allow at least simple ALTER TABLE statements like the one you need (adding column, renaming etc). ❤️
I use the latest version I think (the latest docker image) immudb: v1.1.0 (git fd772C1).
I will definitively use the first option since the option 2 will make the complexity grow, and I use immudb for the data verification 🙂
Thanks for your fast answer.
Hello,
This is more a question than a feature request, but I don't know how to alter a table (is it possible ?). I forget a column when I created the table. My table contains data so I cannot drop it / recreate it. Do we have any solution here ? (I cannot find anything in the SQL reference (https://docs.immudb.io/master/reference/sql.html)
Thanks
What would you like to be added or enhanced
Why is this needed
Additional context
it looks like it's not supported yet: https://github.com/codenotary/immudb/blob/0ce8853ee9bf09ed288b4c370db3ac28f3cab9a7/embedded/sql/engine_test.go#L248