rainlab / translate-plugin

Enables multi-lingual sites
Other
125 stars 88 forks source link

Add checking for existence of rainlab translate tables #718

Closed cyril-design closed 1 year ago

cyril-design commented 1 year ago

Could the plugin check for the existence of tables ? (I had problems with Migrate command...)

if (!Schema::hasTable('rainlab_translate_attributes')) {
(...)

Thanks !

daftspunk commented 1 year ago

Hi @cyril-design

It can be common if plugins have some overlaps. It may be better to introduce a flag to the migrate command for this. Something like php artisan october:migrate --skip-errors which will proceed past any exceptions and treat the migration as applied even if it fails.

cyril-design commented 1 year ago

Thanks for your reply !

daftspunk commented 1 year ago

This will be available in v3.4

php artisan october:migrate --skip-errors