Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

How do I make a slug that is unique by an additional column #262

Unanswered
abishekrsrikaanth asked this question in Q&A
Discussion options

So, I have a company table and a products table. The products table has a slug column and I want the slug to be unique based on the company_id column on the products table. How do I go about doing this?

You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant

AltStyle によって変換されたページ (->オリジナル) /