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

how to change foreign key constraints in table ?can you give a example. #559

Open
haohz1987 opened this issue Mar 11, 2019 · 1 comment
Open

Comments

@haohz1987
Copy link

haohz1987 commented Mar 11, 2019

@Column(name="coin",unique=true,onUniqueConflict=Column.ConflictAction.REPLACE)
public String coin; 
@Column(name="address")
public String address;  

how to change foreign key constraints from 'coin' to 'address'

@naXa777
Copy link

naXa777 commented Mar 11, 2019

where's the foreign key constraint? I see only unique constraint.

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

2 participants