| От | Thomas Kellerer |
|---|---|
| Тема | Re: Alter view with dependence without drop view! |
| Дата | |
| Msg-id | p4qpv8$b1p$1@blaine.gmane.org обсуждение исходный текст |
| Ответ на | Alter view with dependence without drop view! (Elson Vaz <elsonlei@gmail.com>) |
| Список | pgsql-general |
Elson Vaz schrieb am 30.01.2018 um 14:40: > Hello! > > I want make change in one view that have dependence view's, so when i try to make change i'm block because of this, whatis the best solution?? > This can easily be dealt with when using a schema management tool. We use Liquibase for this and the main migration script simply drops all views before running any migration (so that tablecolumns can be removed or renamed without having to think about view dependencies). Once the table migrations are done, all views are re-created automatically. The Liquibase migration script and the SQL source for the views are stored together in Git. Thomas
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера