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

Errors encountered when migrating a table with generated columns #142

Open
iamadalek opened this issue May 26, 2023 · 0 comments
Open

Errors encountered when migrating a table with generated columns #142

iamadalek opened this issue May 26, 2023 · 0 comments

Comments

@iamadalek
Copy link

Receive the following error when running any migrations against a table that has generated columns:

The value specified for generated column 'sample_generated_column' in table 'lhmn_sample_table' is not allowed.

I believe that this is because the migrator attempts to write values into the generated column which is not allowed.

I created a PR that I think addresses the problem by excluding generated columns when writing: #141

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

No branches or pull requests

1 participant