Udpate tables usinh Heidisql
Hello,
I have a database with a lot of tables. During the development process I needed to add columns into my test database. How can I update my production database with all those changes without losing my data in production? I'm using Heidisql to manage my databases.
Thanks in advance
Greetings
Lainkes
Answer Answered by Ian Gilfillan in this comment.
Adding a column, for example:
ALTER TABLE t ADD COLUMN c INT;
will not have an impact on existing data in the table, so you shouldn't have to worry about losing data in this case.
Content reproduced on this site is the property of its respective owners,
and this content is not reviewed in advance by MariaDB. The views, information and opinions
expressed by this content do not necessarily represent those of MariaDB or any other party.