Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

Feauture request: Postgresql Identity column #41

Open
xorock opened this issue Mar 31, 2020 · 1 comment
Open

Feauture request: Postgresql Identity column #41

xorock opened this issue Mar 31, 2020 · 1 comment

Comments

@xorock
Copy link

xorock commented Mar 31, 2020

As of Postgresql v10, in addition to standard sequences and serial type, there is also an identity column.
Laravel has 2 methods for this:

->generatedAs($expression) | Create an identity column with specified sequence options (PostgreSQL)
-- | --
->always() | Defines the precedence of sequence values over input for an identity column (PostgreSQL)

Could You please add support for this feature?

@wolfy-j
Copy link
Member

wolfy-j commented Mar 31, 2020

Sure, we will take a look at it with Large Postgres update which also going to include the schema support. No ETA yet, feel free to create PR.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants