Skip to content
Discussion options

You must be logged in to vote

For example, I have an item with a slug, which I have set to be unique in the database. When I use the copy action in cp/runway/my-resource, I get an error message with a constraint error, as the item is duplicated with the same slug.

I don't think I should disable the duplicate option, as the slug is required. I was hoping the slug would be adjusted with like my-item-2 to preserve uniqueness.

Ahh, I understand you now.

Runway doesn't really have a concept of "slugs" in the same way that entries do. You can add a slug field to a blueprint, but it doesn't get treated differently to any other field.

This is why Runway doesn't do the "appending" stuff out-of-the-box. However, you can achie…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@jerome2710
Comment options

Comment options

You must be logged in to vote
1 reply
@jerome2710
Comment options

Answer selected by jerome2710
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants