Skip to content

How can I create a composite primary key and a unique index on a table #943

Closed Answered by sinisaos
AmazingAkai asked this question in Q&A
Discussion options

You must be logged in to vote

@AmazingAkai For now, you can do this using empty migration and editing the run() method with raw SQL as described in this link.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by AmazingAkai
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants