Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add support for smallserial alias for postgres #1915

Merged
merged 2 commits into from
Nov 12, 2020
Merged

add support for smallserial alias for postgres #1915

merged 2 commits into from
Nov 12, 2020

Conversation

MasterOdin
Copy link
Member

Debated on whether to make this against master or 0.next, and decided for 0.next as this is a breaking chang, albeit a small one.

Closes (properly) #1693

Using the column type smallinteger with identity = true will produce SMALLSERIAL data type. This mirrors the usage of biginteger producing BIGSERIAL.

Signed-off-by: Matthew Peveler <matt.peveler@gmail.com>
@MasterOdin
Copy link
Member Author

Docs need to be added for this, but not sure where best to place them. Should I make a new section to describe this behavior, or just append it to column options as a note?

@MasterOdin
Copy link
Member Author

@dereuromark any word on PR?

@dereuromark
Copy link
Member

Is it worth its own section? Otherwise appending sounds reasonable for now.

@MasterOdin
Copy link
Member Author

@dereuromark done

@dereuromark dereuromark merged commit 1777515 into cakephp:0.next Nov 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants