Skip to content

Drop trigger based primary key support for Rails 6 #1669

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

Merged

Conversation

yahonda
Copy link
Collaborator

@yahonda yahonda commented Mar 8, 2018

It is planned to support identity type based primary key support
in Oracle enhanced adapter 6.
The current implementation of primary key generation is very complicated.
To make it simple, Oracle enhanced adapter 6 will drop
trigger based primary key support.

rake db:structure:dump still dumps triggers
if structure_dump: db_stored_code is configured
for those who maintain triggers by themselves.

Closes #1643

It is planned to support identity type based primary key support
in Oracle enhanced adapter 6.
The current implementation of primary key generation is very complicated.
To make it simple, Oracle enhanced adapter 6 will drop
trigger based primary key support.

`rake db:structure:dump` still dumps triggers
if `structure_dump: db_stored_code` is configured
for those who maintain triggers by themselves.

Closes rsim#1643
@JenniferMB
Copy link

How does one transition a stable production application currently under RoR 5.2.3 and Oracle enhanced adapter 5.2.8, that allows its database to manage triggers and sequence numbers by setting sequence_name to :autogenerated, to RoR 6 and Oracle enhanced adapter 6?

@yahonda
Copy link
Collaborator Author

yahonda commented May 11, 2021

Let me consider restoring this behavior.

yahonda added a commit to yahonda/oracle-enhanced that referenced this pull request Jun 15, 2021
…primary_key_support"

This reverts commit 7fc1f99, reversing
changes made to 4630a39.
yahonda added a commit to yahonda/oracle-enhanced that referenced this pull request Jun 28, 2021
…primary_key_support"

This reverts commit 7fc1f99, reversing
changes made to 4630a39.
yahonda added a commit to yahonda/oracle-enhanced that referenced this pull request Jul 6, 2021
…primary_key_support"

This reverts commit 7fc1f99, reversing
changes made to 4630a39.
@matthewtusker
Copy link

Have you decided on restoring this behaviour? It has been nearly 3 years and we need this.

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.

Drop trigger based primary key support
3 participants