0
Не ошибка

Migration does not include changes to types

s rapport 8 месяцев назад обновлен 8 месяцев назад 1

In Additional SQL Scripts, I've made changes to add new types used in the model. However, generating a migration does not include these changes and requires manual analysis to modify the migration script.


How can a migration be generated that includes changes to types?

CREATE TYPE billing_interval AS ENUM (
'once',
'monthly',
'yearly'
);

ХОРОШО, МНЕ ПОНРАВИЛОСЬ

Thanks Jarosław.

Оценка удовлетворенности от s rapport 8 месяцев назад
Не ошибка

Hello, 

The Additional SQL Scripts section is fully under user control and can contain any SQL statements. Therefore Vertabelo can't automatically generate migration scripts for these changes.

Best regards,

Jarosław

Сервис поддержки клиентов работает на платформе UserEcho