The problem that happens when you alter a table is that some operations are
not safe, i.e. at renaming columns or
adding/removing columns at write models. More information here:
So, my idea is to create a new table adding a suffix "_[VERSION]" at the
name of the table so the application is able to use the model's last
version with no downtime, while the data from older version are entered in
the new one (working in the background).
The issue is that every time it is needed a change, it is necessary to get
all data from a table (to CSV) for finally enter all them in the new
database. But I don't think that today this can be a great problem.
What do you think about it? Any idea?
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to email@example.com.
For more options, visit https://groups.google.com/groups/opt_out.