Skip to content
This repository has been archived by the owner on Oct 15, 2020. It is now read-only.

Fix UNSIGNED integer key for PostgreSQL #79

Merged
merged 1 commit into from
Sep 3, 2020
Merged

Conversation

mvorisek
Copy link
Member

@mvorisek mvorisek commented Sep 2, 2020

@mvorisek mvorisek changed the title Fix postresql Fix UNSIGNED integer key for PostgreSQL Sep 2, 2020
Copy link
Collaborator

@georgehristov georgehristov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would really like to see proper use of OOP in such cases (having specific routine in the specific class and not checking the object type) but this is okay as quickfix
In this case we should maybe add call to $this->getSqlFieldInteger($options) and skip adding 'unsigned' in Migration\Postresql::getSqlFieldInteger

@mvorisek mvorisek merged commit 3ae5b57 into develop Sep 3, 2020
@mvorisek mvorisek deleted the fix_postresql branch September 3, 2020 11:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants