What's the best way to deprecate a column in a database schema?

后端 未结 2 1013
闹比i
闹比i 2021-02-05 21:30

After reading through many of the questions here about DB schema migration and versions, I\'ve come up with a scheme to safely update DB schema during our update process. The b

2条回答
  •  抹茶落季
    2021-02-05 22:36

    Maybe you should refactor to use views over your tables, where the views never include the deprocated columns.

提交回复
热议问题