php-telegram-bot / laravel

Laravel package for PHP Telegram Bot Library
Other
168 stars 50 forks source link

Add all missing migrations up until 0.70.0 of core #23

Closed noplanman closed 3 years ago

noplanman commented 4 years ago

This still needs to take the prefix into account.

Do we overwrite the entire Laravel prefix here or does the prefix need to be added to the Laravel one?

I've added the try-catch blocks to make sure that migrations will also go through for tables that have been manually updated. Not sure how best to ensure that the table is in a 100% correct state. Maybe check each call specifically with an if conditional?

Fixes #13 Fixes #20

@asafov @akalongman