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

Allow primary key columns in contract states #39

Merged
merged 1 commit into from
Oct 29, 2023

Conversation

Jurshsmith
Copy link
Member

We have been building the migrations with the assumption that users will not require a primary key in their contract states. As a result, the build crashes when users specify a primary in their contract state migrations. This commit attempts to fix this issue by retaining the state version primary key and removing the "PRIMARY KEY" keyword specified in the user migration when building state versions migrations.

We have been building the migrations with the assumption that users
will not require a primary key in their contract states. As a result, the
build crashes when users specify a primary in their contract state migrations.
This commit attempts to fix this issue by retaining  the state version primary key
and removing the "PRIMARY KEY" keyword specified in the user migration when
building state versions migrations.
@Jurshsmith Jurshsmith merged commit 99411ed into main Oct 29, 2023
3 checks passed
@Jurshsmith Jurshsmith deleted the allow-primary-key-columns-in-contract-states branch October 29, 2023 12:27
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.

1 participant