Postgres time type without time zone
Open
Nobody has claimed this yet.
bug
- Dominant language
- PHP
- Stars
- 4.5k
- Forks
- 884
- PR merge metrics
- No merged PRs in 30d
Description
When I write this code
$this->table('table1')->changeColumn('time', 'time', ['null' => true, 'timezone' => false]);
I have PDO error You might need to specify "USING "time"::time without time zone".
How I can set type time for column without time zone?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file or test is mentioned. Start by reproducing the PHP migration against PostgreSQL and trace the column-type handling for changeColumn; done means a nullable time column is created or altered without a time zone and the migration no longer produces the reported PDO error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php, postgresql
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100