davedevelopment / phpmig

Simple migrations system for php
Other
569 stars 92 forks source link

Avoid errors in AWS Redshift creating the schema #153

Closed ganeko closed 3 years ago

ganeko commented 3 years ago

When phpmig launches the query to create the schema, Redshift returns:

ERROR:  timestamp or timestamptz do not support precision.

Since indicating the precision is optional, I think it has more advantages not to indicate it, making this adapter compatible with more services in a simple way.

ganeko commented 3 years ago

These changes are not enough to cover all the needs of AWS Redsfhit, therefore I close the PR.