chiliec / yii2-vote

Provides voting for any model :+1: :-1:
BSD 3-Clause "New" or "Revised" License
72 stars 29 forks source link

Adding migration support for Postgresql #33

Closed Skatox closed 7 years ago

Skatox commented 7 years ago

I was trying your component in postgres, in order to alter columns you have to do it in separated commands and Yii2 doesn't offer support for this (it will be in 2.1) so I detect if it's postgres and do the right commands.

Also, there are no unsigned fields in postgres, that's why I had to remove it in the DB creation.

chiliec commented 7 years ago

Thank you! Sorry for too long time standby, I missed that.